CN100531207C - Method and apparatus for matching service type of point-to-point protocol on ethernet - Google Patents

Method and apparatus for matching service type of point-to-point protocol on ethernet Download PDF

Info

Publication number
CN100531207C
CN100531207C CNB2005101257466A CN200510125746A CN100531207C CN 100531207 C CN100531207 C CN 100531207C CN B2005101257466 A CNB2005101257466 A CN B2005101257466A CN 200510125746 A CN200510125746 A CN 200510125746A CN 100531207 C CN100531207 C CN 100531207C
Authority
CN
China
Prior art keywords
matching
cos
user
request
access device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005101257466A
Other languages
Chinese (zh)
Other versions
CN1863204A (en
Inventor
吴局业
张轶炯
夏开军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101257466A priority Critical patent/CN100531207C/en
Publication of CN1863204A publication Critical patent/CN1863204A/en
Application granted granted Critical
Publication of CN100531207C publication Critical patent/CN100531207C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and device for matching point-to-point protocol service types on Ethernet, where access device receives conservation request message; judging matching mode set on the access device; if the matching mode is inconsistent with set matching mode inputted by device manager, refusing to answer the request of the user; otherwise judging whether service types carried in the user-sent message is empty; according to the judging result, answering or refusing to answer the request of the user. And the invention fully uses access device resources and different custom services for users to assure more users with specific service requests can access as the access number of access devices reaches the access limit, and can customize service types for users at some access port.

Description

The matching process of the COS of the point-to-point protocol on the Ethernet and equipment
Technical field
The present invention relates to the matching process and the equipment of the COS in the network, the coupling that particularly relates to the COS by the point-to-point protocol on the Ethernet provides the matching process and the equipment of service for the user.
Background technology
Point-to-point protocol on the Ethernet (PPPoE) belongs to link layer protocol, its major function is the connection that point-to-point is provided on Ethernet, set up the PPP session, and the method for encapsulation PPP information bag, having realized setting up the function of PPP(Point-to-Point Protocol) session to a plurality of purposes on shared ethernet, is the complementarity agreement that ppp protocol is used in wider scope.The PPPoE agreement provides a kind of ability of utilizing bridging device to insert the far-end access concentrator for main frame, under this model, each main frame can be with its ppp protocol stack, what offer the user is a common user interface, this make access control, charging and other service all be at single the user's rather than at site or main frame.Will set up point-to-point connection on Ethernet, each PPP session must be known the Ethernet hardware address of opposite end, must set up unique Session ID.PPPoE solves this two problems by the discovery stage:
PPPOE is divided into two stages, and first stage is the discovery stage, is used for obtaining the Ethernet hardware address of opposite end and is the SessionID (session identification) of host assignment PPPOE, and second stage is the PPP session stage.The payload in discovery stage (Payload) is each TAG (option) of PPPoE.The PPP session stage is encapsulated in the PPP message in the ethernet frame as the payload of PPPoE and transmits.
The stage of wherein finding can be divided into four steps:
The first step: main frame is broadcasted a PADI (PPPoE find stage initialization) bag in this Ethernet, and the service type information of main frame being wanted to obtain in this bag is included in name and is called in the attribute of Service-Name (COS).The value of this attribute must be a character string with the UTF-8 of nonblank character end.When its length field is 0, show that any service can be received by main frame.
Second step: all access concentrators in the Ethernet are after receiving this initialization bag, the requested service wherein and the service that oneself can provide are compared, wherein main frame provides the access concentrator of this service to beam back PADO (PPPoE finds that the service in stage provides message) bag for this reason, can not provide the concentrator of this service can not send out the PADO bag.
The 3rd step: main frame may be received the PADO bag of a plurality of concentrators, main frame is by the content of PADO, from the service available access concentrator of beaming back the PADO bag, select one according to certain condition, and beam back a conversation request bag PADR (PPPoE find stage request message) (non-broadcasting) to it, in this bag once more with the information of conceivable service be included in the Service-Name attribute.
The 4th step: chosen access concentrator just begins to prepare to enter the PPP session stage after receiving conversation request bag PADR.It can produce this section pppoe session of a session identification with unique sign it and main frame.And this specific session identification is included in session confirms to send back to main frame among the bag PADS (PPPoE finds the session confirmation message in stage), if there be not wrong the generation, just enter into the PPP session stage, and if main frame is receiving there is not the wrong PPP session stage that takes place also to enter into after bag is confirmed in session.
In the prior art, PPPoE user passes through the Service-Name attribute the needed Service Notification access concentrator of user with needed service in PADI and PADR message, access concentrator is after the request of receiving, compare with the own service that can provide, if can provide such service just the user to be responded, otherwise do not respond user's access request.Especially, if user's Service-Name is empty, then unconditionally responds the user and insert request; If user's Service-Name is not empty, then inquire about all Service-Name that dispose on the access device, if the inquiry failure, then refusal is responded.
There is following unreasonable part in the prior art, can not satisfies the needs of practical application fully:
1. insert to the access concentrator request with the Service-Name attribute of null value as if the user, prior art can the unconditional user of response be asked, and allows the user to insert.Because the number that access concentrator allows to insert is limited, if a large amount of users inserts with the Service-Name attribute of null value, then certainly will cause among the follow-up user, can't access device even have the Service-Name attribute (user that clear and definite service request is promptly arranged) of non-NULL, can not satisfy for there being clear and definite COS requesting users that the application demand of access service is provided.
2. at user's Service-Name non-NULL, but do not have on the access concentrator under the situation of corresponding Service-Name, prior art can be refused the user is responded, this moment is not if dispose full Service-Name attribute on the access concentrator, be when having empty Service-Name attribute on the access device, the user also can't insert, and causes the access capability of equipment not make full use of.
3. in the prior art, the Service-Name that disposes on the access concentrator be its COS that can provide, but the service that the Service-Name that is disposed is on the access device to refuse to provide can not be provided, promptly can't realize the application demand that the user who asks some COS is refused to insert.
Summary of the invention
The present invention expands the matching process of Service-Name attribute in the PPPoE agreement, with solve prior art can not make full use of in some cases the access device resource with can not be to the defective of the different services of customization under the port.
According to the present invention, the matching process of the COS of the point-to-point protocol on a kind of Ethernet is provided, may further comprise the steps:
Access device receive comprise the request message of conversation request bag of information of conceivable service;
Judge the matching way that is provided with on the access device;
If the input of the matching way that is provided with on the judgment device and equipment manager that matching way is set is inconsistent, then refusal is responded user's request;
If the matching way that is provided with on the judgment device is consistent with the matching way that is provided with of equipment manager input, carry out following steps:
Judge whether the COS of carrying in the message of user's transmission is empty;
Respond or refuse to respond user's request according to the result who judges.
According to the present invention, the matching process of the COS of the point-to-point protocol on a kind of Ethernet also is provided, may further comprise the steps:
Access device receive comprise the request message of conversation request bag of information of conceivable service;
Judge whether the matching principle that is provided with on the access device is reverse matching principle;
If the result who judges is for being to judge further then whether the matching way that is provided with on the access device is accurate matching way;
If the result who judges for being, then judge the user with COS whether be sky;
If the result who judges is not for, then with equipment on the COS that disposes mate, the match is successful, then responds user's request, coupling is unsuccessful, then refusal is responded user's request;
If judge the user with the result of COS for being, judge then whether access device exists and not have the COS that is provided with, if having, then the match is successful, responds user's request, permission user access; If no, think that then it fails to match, the request of refusing user's;
Judge the user with the step of COS, if the result who judges judges then for not whether access device exists the COS of coupling fully,, then respond user's request if having, allow the user to insert; If no, think that then it fails to match, the request of refusing user's.
According to the present invention, the matching process of the COS of the point-to-point protocol on a kind of Ethernet also is provided, may further comprise the steps:
Access device receive comprise the request message of conversation request bag of information of conceivable service;
Judge whether the matching principle that is provided with on the access device is the forward matching principle;
If the result who judges is for being to judge further then whether the matching way that is provided with on the access device is the fuzzy matching mode;
Whether the COS of judging the user is empty, if empty, then need not the configuration on the judgment device, unconditionally responds user's access request, if not empty, then whether there is the COS that does not have configuration on the judgment device, if exist, respond user's access request; If do not exist, then user institute is mated with the COS attribute that is disposed on the character string in the COS and the equipment, if the match is successful, then respond user's access request, get nowhere the then access request of refusing user's if mate.
The matching way of described setting comprises accurate matching way and fuzzy matching mode.When the matching way of described setting was accurate matching way, whether the COS of carrying in the message according to user's transmission was that the step that empty judged result is responded may further comprise the steps:
If the result who judges judges then for being whether N COS on the access device disposes completely, N is the maximum number of the configurable COS of access device;
If have the COS that does not have configuration, then respond user's request;
The COS that does not if there is no have configuration, then refusal is responded user's request.
According to a scheme of the present invention, after access device receives the step of request message, can also comprise step:
Judge the matching principle that is provided with on the access device;
If the input of the matching principle that is provided with on the judgment device and equipment manager that matching principle is set is inconsistent, then refusal is responded user's request;
If the matching principle that is provided with of the matching principle that is provided with on the judgment device and equipment manager input is consistent, then carry out the step of the matching way that is provided with on the described judgment device and step subsequently.
The matching principle of wherein said setting comprises forward matching principle and reverse matching principle.The step of the matching way that is provided with on the described judgement access device is that the character string of the matching way that will equipment manager be provided with on the character string that matching way is set and the access device of input compares definite.
The matching principle of wherein said setting is the forward matching principle, and when described matching way was accurate matching way, whether the COS of carrying in the message that the described user of judgement sends was empty; The step of responding or refuse response user's request according to the result who judges comprises:
If the result who judges judges then for being whether access device disposes the affair type that is at the expiration of a mourning period,, respond user's request if then the match is successful; If not, then the request of refusing user's is advanced;
If the result who judges is not, judge then whether access device exists the COS of coupling fully:
If there is the COS of coupling fully, then with equipment on the COS that disposes mate, if the match is successful, then respond user's request, if coupling is unsuccessful, then refusal is responded user's request;
The if there is no COS of coupling, then refusal response user's request fully.
The matching principle of wherein said setting is reverse matching principle, and when described matching way was accurate matching way, whether the COS of carrying in the message that the described user of judgement sends was empty; The step of responding or refuse response user's request according to the result who judges comprises:
If the result who judges is not for, then with equipment on the COS that disposes mate, the match is successful, responds user's request, coupling is unsuccessful, then refusal is responded user's request;
If the result who judges then judges the COS that whether access device exists does not have configuration for being, if exist, then the match is successful, responds user's request; If there is no, then it fails to match, the request of refusing user's.
According to the present invention, the matching unit of the COS of the point-to-point protocol on a kind of Ethernet also is provided, comprising:
The matching principle judgment means is used to judge that the matching principle that is provided with on the access device is whether consistent with the matching principle of the equipment of equipment manager input;
The matching way judgment means, judge the matching principle that is provided with in described matching principle judgment means after, be used to judge that the matching way that is provided with on the access device is whether consistent with the matching way of the setting of equipment manager input;
The user with the COS decision maker, judge the matching way that is provided with in described matching way judgment means after, be used to judge the user with COS whether empty;
COS configuration and coupling are determined device, are used to judge whether access device disposes is at the expiration of a mourning period the affair type and judges whether access device exists the COS that disposes fully;
Response/refusal is determined device, respectively for described matching principle judgment means, described matching way judgment means, described user with COS decision maker and the configuration of described COS and coupling determine that the judged result of device responds.
Technical scheme of the present invention has overcome the defective that exists in the prior art.Under accurate matching way and forward matching principle situation, when having the Service-Name that does not have configuration in the access device, then the Service-Name with null value is responded to the user of access concentrator request service, if there is not the Service-Name that does not have configuration in the equipment, then do not respond user's request, having guaranteed more has the user of clear and definite service request to insert when the access number of access device reaches the access restriction.Under fuzzy matching mode and forward matching principle situation, if user's Service-Name is a non-NULL, but do not have on the access concentrator under the situation of corresponding Service-Name, this moment is if exist the Service-Name that does not have configuration on the access device, also user's request message is responded, made full use of the access capability of equipment.Under reverse matching principle, the user that can dispose asking the COS that some equipment can provide refuses to respond, like this can be at the user customized service type of certain access interface.
Description of drawings
Fig. 1 represents the flow chart of matching process of the present invention;
Fig. 2 is the flow chart of the matching process of the present invention embodiment adopting accurate matching way;
Fig. 3 is the flow chart of the matching process of the present invention embodiment adopting the fuzzy matching mode;
Fig. 4 is the flow chart that the present invention adopts the matching process of forward matching principle and accurate matching way combination;
Fig. 5 is the flow chart that the present invention adopts the matching process of reverse matching principle and accurate matching way combination;
Fig. 6 is the block diagram of matching unit of the COS of the point-to-point protocol on the Ethernet of the present invention.
Embodiment
The scheme of the matching process of the COS of the point-to-point protocol on the Ethernet of the present invention expands the matching process of Service-Name in the PPPoE agreement, can dispose three kinds of situations and realize different demands respectively.Because user institute requested service type leaves in the Service-Name attribute as character string, after having determined that matched rule is accurate coupling or fuzzy matching, the coupling of the Service-Name that disposes is equal to the coupling of character string fully on user's Service-Name and the access device, when specific implementation, can determine the method for string matching as required, for example, have only and when the character string that is disposed on user and the access device is identical, just think coupling, or when a character string comprises another character string, think coupling.
According to the matching process of the COS of the point-to-point protocol on the Ethernet of the present invention, matching way can be divided into accurate matching way and fuzzy matching mode.
The basic procedure of matching process of the COS of the point-to-point protocol on the Ethernet of the present invention is described below in conjunction with Fig. 1.Access device receives conversation request bag PADR (PPPoE finds the request message in stage), in this bag, comprise the information of conceivable service.At first judge the matching way that is provided with on the access device, if the input of this matching way and equipment manager that matching way is set is inconsistent, then refusal is responded user's request.If the input of this matching way and equipment manager that matching way is set is consistent, judge further then whether the COS of carrying in the message that the user sends is empty.The method of described judgement matching way is that the character string of the matching way that will equipment manager be provided with on the character string that matching way is set and the access device of input compares definite.The described user of judgement with COS whether be empty result for not the time, refusal is responded user's request.If the result who judges is for being that promptly user's COS is a sky, then responds user's request.
Fig. 2 is the flow chart of the matching process of the present invention embodiment adopting accurate matching way.Access device receives conversation request bag PADR, in this bag, comprise the information of conceivable service.At step S1, judge the matching way that is provided with on the access device, the character string of the matching way that is provided with on the character string that matching way is set that is about to the equipment manager input and the access device compares and determines whether to be accurate matching way, if the result of judgement is for being then to enter step S2; If the result who judges thinks promptly that for not set matching way is the fuzzy matching mode, process enters step S4, the request of refusing user's.At step S2, judge whether the COS of carrying in the message of user's transmission is empty.If the result who judges is for being that promptly user's COS is a sky, then enters step S3.At step S3, judge whether N COS on the access device disposes completely, N is the maximum number of the configurable COS of access device.If, promptly do not have the COS that does not have configuration for not, then enter step S4, refusal is responded user's request.If, promptly wherein have the COS that does not have configuration for being, then enter step S6, respond.If promptly the user with COS be empty, when being set to accurately mate, equipment must exist the COS that not have to dispose just can respond the user.If the result that step S2 judges is for denying, if promptly user's COS is not empty, then enter step S5, compare with the COS that disposes on the matching unit, determine whether to exist the COS of coupling fully, if there is no the COS of mating fully, then enter step S4, refusal is responded user's request, otherwise enters step S6, responds.
Fig. 3 is the flow chart of the matching process of the present invention embodiment adopting the fuzzy matching mode.Access device receives conversation request bag PADR, in this bag, comprise the information of conceivable service.At step S11, judge the matching way that is provided with on the access device, the character string of the matching way that is provided with on the character string that matching way is set of equipment manager input soon and the access device compares and determines whether to be the fuzzy matching mode, if the result who judges is for being then to enter step S12; If the result who judges thinks promptly that for not set matching way is accurate matching way, process enters step S14, and refusal is responded user's request.At step S12, judge whether the COS of carrying in the message of user's transmission is empty.If the result who judges is for being, promptly user's COS be a sky, and then process enters step S16, and whether the COS that need not to dispose on the consideration equipment mates fully, unconditionally responds the user and inserts request.If the result who judges is for denying, the COS that is the user is not for empty, then enter step S13, not whether configuration is full for N the COS that the comparison query access device is disposed, if all configuration is full for user's COS, if configuration is not full, then enter step S15, further judge whether to exist the COS of coupling fully, the if there is no COS of mating fully at step S15, then enter step S14, refusal is responded user's request; If there is the COS of coupling fully, then enter step S16, respond user's request.
The method according to this invention outside setting accurate coupling or fuzzy matching mode, can increase the setting matching principle, and the matching principle of setting has forward matching principle and reverse matching principle.Under equal conditions, the result of these two kinds of matching principles is just in time opposite.Under the situation of reverse matching principle, if the COS of customer requirements is configured on access device, then refusal is responded user's access request.And under the situation of forward matching principle,, then respond this user's access request on access device if the COS of customer requirements has been configured, allow this user to insert.
The user can be provided with the combination of different matching principles and different matching way as required, therefore can make up multiple matching process.
Specify the matching process of an alternative embodiment of the invention below in conjunction with Fig. 4.Fig. 4 is the flow process that the present invention adopts the matching process of forward matching principle and accurate matching way combination.
Access device receives conversation request bag PADR, in this bag, comprise the information of conceivable service, at step S0, judge whether the matching principle that is provided with on the access device is the forward matching principle.If the result who judges, thinks promptly that the matching principle that is provided with on the equipment is reverse matching principle for not being, process enters step S4, the request of refusing user's; If the result who judges is for being then to enter step S1.
At step S1, further judge the matching way that is provided with on the access device, the character string of the matching way that is provided with on the character string that matching way is set of equipment manager input soon and the access device compares and determines whether to be accurate matching way, if the result who judges is for being then to enter step S2; If the result who judges thinks promptly that for not set matching way is the fuzzy matching mode, process enters step S4, the request of refusing user's.
At step S2, judge whether the COS of carrying in the message of user's transmission is empty.If the result who judges is for being then to enter step S3.If the result who judges then enters step S5 for not.
At step S5, judge whether access device exists the COS of coupling fully, if having, then with equipment on the COS that disposes mate, if the match is successful, then respond user's request, allow the user to insert, if coupling is unsuccessful, then refusal is responded user's request.Do not have the COS of coupling fully if judged result is an access device, then enter step S4, refusal is responded user's request.
At step S3, judge whether access device disposes the affair type that is at the expiration of a mourning period, if then the match is successful, enter step S6, respond user's request, allow the user to insert; If not, think that then it fails to match, enter step S4, the request of refusing user's.
Embodiment below in conjunction with Fig. 5 specifies the flow process that the present invention adopts the matching process of reverse matching principle and accurate matching way combination.
When setting on the equipment is reverse matching principle and accurate coupling combination,, judge whether the matching principle that is provided with on the access device is reverse matching principle at step S10.If the result who judges, thinks promptly that the matching principle that is provided with on the equipment is the forward matching principle for not being, process enters step S14, the request of refusing user's; If the result who judges is for being then to enter step S11.
At step S11, further judge the matching way that is provided with on the access device, the character string of the matching way that is provided with on the character string that matching way is set of equipment manager input soon and the access device compares and determines whether to be accurate matching way, if the result who judges is for being then to enter step S12; If the result who judges thinks promptly that for not set matching way is the fuzzy matching mode, process enters step S14, the request of refusing user's.
At step S12, judge whether the COS of carrying in the message of user's transmission is empty.If the result who judges is for being then to enter step S13.If the result who judges then enters step S15 for not, judge whether access device exists the COS of coupling fully, if exist, then with equipment on the COS that disposes mate, the match is successful, then enters step S14, refusal response user's request; If do not exist, then enter step S16, respond user's request.
At step S13, judge whether access device disposes the affair type that is at the expiration of a mourning period, if, then entering step S14, refusal is responded user's request, otherwise enters step S16, responds user's request, allows the user to insert.
Under other the matching principle and the situation of matching way combination, can expand out different embodiment and coupling flow chart according to top Fig. 1 to Fig. 3.
Setting on equipment is the situation that forward matching principle and fuzzy matching mode make up, the flow process of matching process of the present invention may further comprise the steps: whether the COS of judging the user is empty, if it is empty, then need not the configuration on the judgment device, the unconditional access request of responding the user, if not empty, then whether there is the COS that does not have configuration on the judgment device, if exist, respond user's access request; If do not exist, then user institute is mated with the COS attribute that is disposed on the character string in the COS and the equipment, if the match is successful, then respond user's access request, get nowhere the then access request of refusing user's if mate.
When the setting on the equipment be reverse matching principle and fuzzy matching mode make up situation the time, the flow process of matching process of the present invention may further comprise the steps: judge the user with the COS attribute whether be empty, if empty, then refusal is responded user's access request; If be empty, then with equipment on the COS attribute that disposed be complementary, if there is the COS of coupling, then refusing user's inserts, and as if not existing, then responds user's access request.
Fig. 6 is the block diagram of embodiment of matching unit of the COS of the point-to-point protocol on the Ethernet of the present invention.The information that comprises the conceivable service of institute among the conversation request bag PADR that receives according to access device, matching principle judgment means judge that the matching principle of the setting whether matching principle that is provided with on the access device is imported with equipment manager is consistent.Judge the matching principle that is provided with on the access device be will the equipment manager input the character string that matching principle is set and access device on the character string of the matching principle that is provided with compare to determine that the matching principle that is provided with is forward matching principle or reverse matching principle.If the matching principle of judging and the matching principle of setting are inconsistent, then respond user's access request by response/refusal device refusal.And if consistent with the matching principle that is provided with, then judge further that by the matching way judgment means matching way that is provided with on the access device is whether consistent with the matching way of the setting of equipment manager input, the character string of the matching way that is provided with on the character string that matching way is set that is about to the equipment manager input and the access device compares to determine that the matching way of setting is accurate matching way or fuzzy matching mode.If the matching way of judging and the matching way of setting are inconsistent, then respond user's access request by response/refusal device refusal.And if the matching way of judging is consistent with the matching way of setting, then by the COS judgment means judge the user with COS whether empty, with determine that by COS configuration and coupling device judges whether access device disposes and be at the expiration of a mourning period the affair type and judge whether access device exists the COS of configuration fully, by responses/refusal device according to the definite access request of refusing the response user of the result of judgement.
Those skilled in the art is after having understood the foregoing description, can change or replace it, for example, described COS configuration and the definite device of coupling can determine that device constitutes by the definite device of COS configuration and the service type matching of separating, respectively execution function separately.Described response/refusal device can constitute by responding device and refusing to respond device, carries out function separately respectively.Do not have in the present invention under the situation of configurations match principle, above-mentioned matching unit can not equipped the matching principle judgment means.This matching unit is applicable to the matching process of realizing Fig. 2 and Fig. 3, omits its narration at this.
The present invention has been described in detail according to a plurality of embodiment, but matching process of the present invention is not limited to described combined method and flow chart herein, and Xu Shu embodiment is illustrative here, rather than determinate.Common those skilled in the art of this area can carry out various changes, replacement or combination under the situation that does not break away from the spirit and scope of the present invention, protection scope of the present invention limits according to appending claims.

Claims (13)

1. the matching process of the COS of the point-to-point protocol on the Ethernet may further comprise the steps:
Access device receive comprise the request message of conversation request bag of information of conceivable service;
Judge the matching way that is provided with on the access device;
If the input of the matching way that is provided with on the judgment device and equipment manager that matching way is set is inconsistent, then refusal is responded user's request;
If the matching way that is provided with on the judgment device is consistent with the matching way that is provided with of equipment manager input, carry out following steps:
Judge whether the COS of carrying in the message of user's transmission is empty;
Respond or refuse to respond user's request according to the result who judges.
2. according to the matching process of claim 1, the matching way of wherein said setting comprises accurate matching way and fuzzy matching mode.
3. according to the matching process of claim 2, wherein when the matching way of described setting was accurate matching way, whether the COS of carrying in the message according to user's transmission was that the step that empty judged result is responded may further comprise the steps:
If the result who judges judges then for being whether N COS on the access device disposes completely, N is the maximum number of the configurable COS of access device;
If have the COS that does not have configuration, then respond user's request;
The COS that does not if there is no have configuration, then refusal is responded user's request.
4. according to the matching process of any claim of claim 1-3, the step of the matching way that is provided with on the wherein said judgement access device be will the equipment manager input the character string that matching way is set and access device on the character string of the matching way that is provided with compare definite.
5. according to the matching process of claim 1, wherein after access device receives the step of request message, also comprise step:
Judge the matching principle that is provided with on the access device;
If the input of the matching principle that is provided with on the judgment device and equipment manager that matching principle is set is inconsistent, then refusal is responded user's request;
If the matching principle that is provided with of the matching principle that is provided with on the judgment device and equipment manager input is consistent, then carry out the step of the matching way that is provided with on the described judgment device and step subsequently.
6. according to the matching process of claim 5, the matching principle of wherein said setting comprises forward matching principle and reverse matching principle.
7. according to the matching process of claim 5, the step of the matching way that is provided with on the wherein said judgement access device be will the equipment manager input the character string that matching way is set and access device on the character string of the matching way that is provided with compare definite.
8. according to the matching process of claim 6, the matching principle of wherein said setting is the forward matching principle, and when described matching way was accurate matching way, whether the COS of carrying in the message that the described user of judgement sends was empty; The step of responding or refuse response user's request according to the result who judges comprises:
If the result who judges judges then for being whether access device disposes the affair type that is at the expiration of a mourning period,, respond user's request if then the match is successful; If not, the then request of refusing user's;
If the result who judges judges then for not whether access device exists the COS of coupling fully;
If there is the COS of coupling fully, then with equipment on the COS that disposes mate, if the match is successful, then respond user's request, if coupling is unsuccessful, then refusal is responded user's request;
The if there is no COS of coupling, then refusal response user's request fully.
9. according to the matching process of claim 6, the matching principle of wherein said setting is reverse matching principle, and when described matching way was accurate matching way, whether the COS of carrying in the message that the described user of judgement sends was empty; The step of responding or refuse response user's request according to the result who judges comprises:
If the result who judges is not for, then with equipment on the COS that disposes mate, the match is successful, responds user's request, coupling is unsuccessful, then refusal is responded user's request;
If the result who judges then judges the COS that whether access device exists does not have configuration for being, if exist, then the match is successful, responds user's request; If there is no, then it fails to match, the request of refusing user's.
10. according to Claim 8 or 9 matching process, wherein said COS is specially character string; It is described that the match is successful is meant that the character string that is disposed on described COS that the user asks and the access device is identical.
11. according to Claim 8 or 9 matching process, wherein said COS is specially character string; It is described that the match is successful is meant that one of them character string in the character string that is disposed on described COS that the user asks and the access device comprises another character string.
12. the matching unit of the COS of the point-to-point protocol on the Ethernet is characterized in that comprising:
The matching principle judgment means is used to judge that the matching principle that is provided with on the access device is whether consistent with the matching principle of the equipment of equipment manager input;
The matching way judgment means, judge the matching principle that is provided with in described matching principle judgment means after, be used to judge that the matching way that is provided with on the access device is whether consistent with the matching way of the setting of equipment manager input;
The user with the COS decision maker, judge the matching way that is provided with in described matching way judgment means after, be used to judge the user with COS whether empty;
COS configuration and coupling are determined device, are used to judge whether access device disposes is at the expiration of a mourning period the affair type and judges whether access device exists the COS that disposes fully;
Response/refusal is determined device, respectively for described matching principle judgment means, described matching way judgment means, described user with COS decision maker and the configuration of described COS and coupling determine that the judged result of device responds.
13. the matching unit according to claim 12 is characterized in that: described COS configuration and coupling determine that device comprises that COS disposes definite device and the service type matching is determined device; Described response/refusal device comprises responds device and refusal response device.
CNB2005101257466A 2005-12-01 2005-12-01 Method and apparatus for matching service type of point-to-point protocol on ethernet Expired - Fee Related CN100531207C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101257466A CN100531207C (en) 2005-12-01 2005-12-01 Method and apparatus for matching service type of point-to-point protocol on ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101257466A CN100531207C (en) 2005-12-01 2005-12-01 Method and apparatus for matching service type of point-to-point protocol on ethernet

Publications (2)

Publication Number Publication Date
CN1863204A CN1863204A (en) 2006-11-15
CN100531207C true CN100531207C (en) 2009-08-19

Family

ID=37390531

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101257466A Expired - Fee Related CN100531207C (en) 2005-12-01 2005-12-01 Method and apparatus for matching service type of point-to-point protocol on ethernet

Country Status (1)

Country Link
CN (1) CN100531207C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101772054B (en) * 2009-01-04 2013-01-23 上海贝尔阿尔卡特股份有限公司 Method and device for establishing communication connection between protocol server boards and line terminal board
US8341207B2 (en) * 2010-04-07 2012-12-25 Apple Inc. Apparatus and method for matching users for online sessions

Also Published As

Publication number Publication date
CN1863204A (en) 2006-11-15

Similar Documents

Publication Publication Date Title
US5951637A (en) Bandwidth reservation system
US7174378B2 (en) Co-location service system equipped with global load balancing (GLB) function among dispersed IDCS
CN102281251A (en) Device, system and method for realizing intelligent household application
WO2011150610A1 (en) Method and system for dynamically adjusting bandwidth services, and broadband policy system
CN101257420A (en) Point-to-point protocol accessing method, system as well as access node equipment
CN101001177A (en) Single logical network interface for advanced load balancing and fail-over functionality
WO2010145255A1 (en) Method and apparatus for determining gateway and method and system for sending message
WO2010149115A1 (en) Machine-to-machine communication system, tandem terminal and terminal control method
CN101197711A (en) Method, device and system for implementing unified authentication management
CN108011961A (en) Voice interactive system based on mixing cloud service
CN100531207C (en) Method and apparatus for matching service type of point-to-point protocol on ethernet
CN105763442B (en) The unbroken PON system of masterslave switchover LACP aggregated links and method
US20040125748A1 (en) Handling traffic flows in a mobile communications network
CN113595991A (en) HTTP interface gateway, communication system and communication method
EP1912411B1 (en) Method and system for service preparation of a residential network access device
CN104993980A (en) Long connection application access safety control method and system
CN100574207C (en) The method of a kind of Operation and Maintenance client and remote equipment direct communication
KR20110016525A (en) Communication apparatus and control method thereof, p2p server system and control method thereof
Cisco WAN Link Protocols
CN110737505B (en) Virtual storage access method adopting virtual channel
Cisco PPP Commands
CN101364931A (en) Platform and method for data transmission between different information systems
US11812287B2 (en) Broadband access for 5G capable residential gateways
CN103166953B (en) A kind of network safety system and method
Hata A bridging VPN for connecting wireless sensor networks to data centers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090819

CF01 Termination of patent right due to non-payment of annual fee