CN101674239B - Method and device for providing web service - Google Patents

Method and device for providing web service Download PDF

Info

Publication number
CN101674239B
CN101674239B CN2009101741575A CN200910174157A CN101674239B CN 101674239 B CN101674239 B CN 101674239B CN 2009101741575 A CN2009101741575 A CN 2009101741575A CN 200910174157 A CN200910174157 A CN 200910174157A CN 101674239 B CN101674239 B CN 101674239B
Authority
CN
China
Prior art keywords
service message
pseudo
thread
professional
local
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
CN2009101741575A
Other languages
Chinese (zh)
Other versions
CN101674239A (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 CN2009101741575A priority Critical patent/CN101674239B/en
Publication of CN101674239A publication Critical patent/CN101674239A/en
Application granted granted Critical
Publication of CN101674239B publication Critical patent/CN101674239B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a method for providing web service. The method comprises the following steps: receiving first service message containing service pseudo-wire header and service Ethernet header from the connection between origin address provider edge device PE and opposite terminal PE by the origin address provider edge device PE, judging whether the destination link-layer address of Ethernet header is the link-layer address of the origin address PE; if so, sending the user data of the first service message to applique circuit corresponding to the service according to the service pseudo-wire header; if not, sending the second service message to redundant side PE from the connection of origin address PE and redundant side PE, wherein the second service message contains service pseudo-wire header so that the redundant side PE can send the user data to applique circuit corresponding to the service according to the service pseudo-wire header. The embodiment of the invention also discloses a corresponding device. In the embodiment of the invention, only one connection between the origin address PE and the redundant side PE is needed to build for all services and the extensibility is better.

Description

Method of providing services on the Internet and device thereof
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method of providing services on the Internet and device thereof.
Background technology
(Pseudo Wire Emulation Edge-to-Edge is on packet switching network (PSN, Packet Switch Network), the tunnel to be provided PWE3) to the pseudo wire emulation of edge-to-edge; So that some business of emulation, for example frame relay (FR, Frame Relay); The Layer 2 virtual private network of asynchronous transfer mode (ATM, Asynchronous TransportMode) (VPN, Virtual Private Network) agreement; Can be through this agreement with traditional network; FR for example, ATM etc. interconnect with packet switching network, thereby realize the expansion of the shared and network of resource.
The basic conveying member of PWE3 network and the effect as follows:
(1) adhere to link (AC, Attachment Circuit): (CE is CustomerEdge) to connection link or virtual link between the provider edge devices (PE, Provider Edge) for customer edge.All last user's messages of AC generally all require the intact opposite end that is forwarded to go, and comprise user's two or three layer protocol messages.
(2) pseudo-line (PW, Pseudo Wire): briefly, pseudo-line is exactly that virtual circuit adds the tunnel.PW is for the PWE3 system, similarly be a local AC to a direct channel between the AC of opposite end, accomplish user's Layer 2 data transparent transmission.
(3) transponder (Forwarders): PE receives that AC/PW goes up the Frame that transmits, and by the selected PW/AC that E-Packets and use of transponder, transponder in fact is exactly transmitting of PWE3.
(4) tunnel (Tunnels): be used to carry PW, can carry many PW on the tunnel.The tunnel is the direct channel between a local PE and the opposite end PE, accomplishes the data penetration transmission between the PE.
(5) encapsulation: the message of the last transmission of PW uses the PW encapsulation format and the technology of standard.
(6) PW signaling protocol: the PW signaling protocol is the realization basis of PWE3, is used for creating and safeguarding PW.
(7) service quality (QoS, Quality of Service):, be mapped to the QoS priority of on common network, transmitting and transmit according to the precedence information of user's two layer message head.
In order to guarantee professional high availability; The different levels of network all need be supported redundancy; Make when resources such as the network node that is using, link, passage break down, can switch on other redundant available resources, guarantee that network can continue to provide the service of regulation.The PW redundancy has defined subsequent use PW, is used for the main PW that uses of protection when the master breaks down with PW.
The application scenarios of the PW redundancy scheme that prior art mainly adopts is as shown in Figure 1: a CE8 inserts a plurality of users; And be connected to a PE12 and the 2nd PE16 through an AC10 and the 2nd AC14 dual homed respectively; The one PE12 and the 2nd PE16 pass through core net 22 to the 3rd PE20 through a PW18 and the 2nd PW24 respectively, and the 2nd CE26 then singly returns and is connected to the 3rd PE20.The one PE12 and the 2nd PE16 confirm that according to predetermined algorithm business that a CE6 inserts inserts the main usefulness/stand-by state of a PE12 and inserts the main usefulness/stand-by state of the 2nd PE16 through the 2nd AC14 through an AC10, and the same moment can only have one to be in the master and to use state.Created between the one PE12 and the 2nd PE16 that pseudo-line connects the 3rd PW4 between frame.
The service message processing method of above-mentioned PW redundancy scheme is following:
The one PE12 receives the service message that a PW18 sends; Service message is except user data; Also comprise professional pseudo-the end of a thread and service link layer head, professional pseudo-the end of a thread is the PW18 head, each professional corresponding pseudo-the end of a thread of business; If a PE12 is the main state of use, then the user data in a PE12 the service message that the one PW18 is sent sends to an AC10 of professional correspondence.If a PE12 is a stand-by state; Then a PE12 is replaced by pseudo-the end of a thread between frame with the professional pseudo-the end of a thread in the service message; Pseudo-the end of a thread between each professional corresponding frame; The service link layer is changed to link layer header between frame first watch, and through being connected between local end PE 12 and the redundant side PE16, promptly pseudo-line connects the service message of PW4 after replacing and is forwarded to the 2nd PE16 between frame.
When the one PE12 received the user data of AC10 transmission, a PE12 was encapsulated as the service message that carries professional pseudo-the end of a thread and link layer header with user data, and according to the pseudo-the end of a thread of this business this service message was sent to the 3rd PE20 through a PW18.
The one PE12 receives when pseudo-line connects the service message of the 3rd PW4 transmission between frame; This service message is except user data; Comprise that also the frame top-stitching connects link layer header between PW4 head and frame; Pseudo-line connects the PW4 head between the frame according to service message, and the user data in the service message is sent on the professional corresponding AC10.
Connect the 3rd PW4 through pseudo-line between frame and can reach following purpose: suppose that a PE12 is the main state of using when initial; Connection as the 3rd PE20 to the PE12; For example carry the tunnel of a PW18, break down, and the 3rd PE20 switches to the 2nd PW24 from a PW18; But when the activestandby state of a PE12 and the 2nd PE16 does not also switch; Successively through the 2nd PW24, the 2nd PE16, the 3rd PW4, a PE12, an AC10 to the CE6, reduce the professional packet loss time from the service message of the 3rd PE20 to a CE6 direction, reduced the professional extent of damage.
In research and practice process to prior art; Inventor of the present invention finds, in the service message processing method of above-mentioned PW redundancy scheme, because local terminal connects from pseudo-line between frame; Be local end PE with redundant side PE between be connected and send before the service message; Professional pseudo-the end of a thread of service message is replaced by pseudo-the end of a thread between frame, therefore, need be being connected between local end PE of each service creation and the redundant side PE; So that redundant side can be distinguished each business according to pseudo-the end of a thread between frame, send to the user data in the service message on the professional corresponding attachment circuit.So, when traffic carrying capacity is big, local end PE will be very huge with the quantity that is connected between the redundant side PE, and autgmentability is relatively poor.
Summary of the invention
The embodiment of the invention provides a kind of the method and the device thereof of providing services on the Internet that be connected that is required to be between local end PE of all service creations and the redundant side PE.
The embodiment of the invention provides a kind of method of providing services on the Internet, and comprising: local terminal provider edge devices PE is from receiving first service message that carries professional pseudo-the end of a thread and professional Ethernet header with being connected of opposite end PE; Whether the purpose link layer address of judging Ethernet header is the link layer address of local end PE; If then the user data in first service message is sent to professional corresponding attachment circuit according to the pseudo-the end of a thread of business; Otherwise, sending second service message from being connected between local end PE and the redundant side PE to redundant side PE, second service message carries professional pseudo-the end of a thread, so that redundant side PE according to the pseudo-the end of a thread of business, sends to professional corresponding attachment circuit with user data.
The embodiment of the invention provides another kind of method of providing services on the Internet, and comprising: local end PE is adhered to the circuit receiving subscriber data from what connect, user data is packaged into first service message that carries professional pseudo-the end of a thread and professional Ethernet header; Judge whether local end PE is normal with being connected of opposite end PE; If, then with first service message from sending with being connected of opposite end PE to opposite end PE; Otherwise send second service message from being connected between local end PE and the redundant side PE to redundant side PE; Second service message carries professional pseudo-the end of a thread; So that redundant side PE is according to the pseudo-the end of a thread of business, first service message is sent to being connected of professional corresponding and opposite end PE.
The embodiment of the invention provides another kind of method of providing services on the Internet, and comprising: local end PE is from first service message that receives the redundant side transmission that is connected between local end PE and the redundant side PE, and first service message carries professional pseudo-the end of a thread and professional Ethernet header; Whether the purpose link layer address of judging Ethernet header is the link layer address of local end PE; If then the user data in first service message is sent to professional corresponding attachment circuit according to the pseudo-the end of a thread of business; Otherwise according to the pseudo-the end of a thread of business second service message is sent to being connected of professional corresponding and opposite end, second service message comprises professional pseudo-the end of a thread, Ethernet header and user data.
The embodiment of the invention provides a kind of device of providing services on the Internet, and comprising: receiver module is used for from receiving first service message that carries professional pseudo-the end of a thread and Ethernet header with being connected of opposite end PE; Judge module is used to judge whether the purpose link layer address of Ethernet header is the link layer address of device, if, then trigger first sending module and carry out associative operation, carry out associative operation otherwise trigger second sending module; First sending module is used for according to the pseudo-the end of a thread of business the user data of first service message being sent to professional corresponding attachment circuit; Second sending module; Be used for from being connected to redundant side PE and sending second service message between device and the redundant side PE; Second service message carries professional pseudo-the end of a thread, so that redundant side PE according to the pseudo-the end of a thread of business, sends to professional corresponding attachment circuit with user data.
The embodiment of the invention provides another kind of device of providing services on the Internet, and comprising: receiver module is used for from what connect adhering to the circuit receiving subscriber data; Package module is used for user data is packaged into first service message that carries professional pseudo-the end of a thread and Ethernet header; Judge module, whether be used for judgment means normal with being connected of opposite end PE, if, then trigger first sending module and carry out associative operation, carry out associative operation otherwise trigger second sending module; First sending module is used for first service message from sending with being connected to opposite end PE of opposite end PE; Second sending module; Be used for from being connected to redundant side PE and sending second service message between device and the redundant side PE; Second service message carries professional pseudo-the end of a thread, so that redundant side PE is according to the pseudo-the end of a thread of business, first service message is sent to being connected of professional corresponding and opposite end PE.
The embodiment of the invention provides another kind of device of providing services on the Internet, and comprising: receiver module, be used for from first service message that receives the redundant side transmission that is connected between device and the redundant side PE, and first service message carries professional pseudo-the end of a thread and professional Ethernet header; Judge module is used to judge whether the purpose link layer address of Ethernet header is the link layer address of local end PE, if, then trigger first sending module and carry out associative operation, carry out associative operation otherwise trigger second sending module; First sending module is used for according to the pseudo-the end of a thread of business the user data of first service message being sent to professional corresponding attachment circuit; Second sending module is used for according to the pseudo-the end of a thread of business second service message being sent to being connected of professional corresponding and opposite end, and second service message comprises professional pseudo-the end of a thread, Ethernet header and user data.
Can find out that from above technical scheme the embodiment of the invention has the following advantages:
In the embodiment of the invention; Local end PE has been carried professional pseudo-the end of a thread of first service message from local end PE and second service message that is connected transmission between the redundant side PE; After making that redundant side PE receives second service message from being connected between local end PE and the redundant side PE; Can distinguish each business according to professional pseudo-the end of a thread of first service message, and need not distinguish each business, therefore according to pseudo-the end of a thread between frame; Only be required to be being connected between local end PE of all service creations and the redundant side PE, autgmentability is better.
Description of drawings
Fig. 1 is the flow chart of an embodiment of the method for providing services on the Internet in the embodiment of the invention;
Fig. 2 is the flow chart of another embodiment of the method for providing services on the Internet in the embodiment of the invention;
Fig. 3 is another embodiment of the method for providing services on the Internet in the embodiment of the invention, and local terminal is to the process chart that adheres to the service message that circuit receives from connecting;
Fig. 4 is another embodiment of the method for providing services on the Internet in the embodiment of the invention, and local terminal is to the process chart of the service message that receives from pseudo-line between frame;
Fig. 5 is the flow chart of another embodiment of the method for providing services on the Internet in the embodiment of the invention;
Fig. 6 is another embodiment of the method for providing services on the Internet in the embodiment of the invention, and local terminal is to the process chart that adheres to the service message that circuit receives from connecting;
Fig. 7 is another embodiment of the method for providing services on the Internet in the embodiment of the invention, and local terminal is to the process chart from the service message that receives between frame;
Fig. 8 is the application scenarios figure of another embodiment of the method for providing services on the Internet in the embodiment of the invention;
Fig. 9 is the sketch map of an embodiment of the device of providing services on the Internet in the embodiment of the invention;
Figure 10 is the sketch map of another embodiment of the device of providing services on the Internet in the embodiment of the invention;
Figure 11 is the sketch map of another embodiment of the device of providing services on the Internet in the embodiment of the invention;
Figure 12 is the application scenarios figure of the PW redundancy scheme that mainly adopts of prior art.
Embodiment
The embodiment of the invention provides a kind of the method for providing services on the Internet and the device thereof that are connected that are required to be between local end PE of all service creations and the redundant side PE.Below be elaborated respectively.
See also Fig. 1, one embodiment comprises of the method for providing services on the Internet in the embodiment of the invention:
101, local end PE is from receiving first service message that carries professional pseudo-the end of a thread and professional Ethernet header with being connected of opposite end PE;
In the embodiment of the invention, an end CE equipment dual homed inserts local end PE and redundant side PE, and other end CE tables of equipment is returned and inserted opposite end PE; And PE connects Internet Protocol (IP, Internet Protocol)/multiprotocol label switching (MPLS; Multiple Protocol Label Switch) network; The IP/MPLS network provides transparent two layers of pipeline to connect for PE equipment, connects such as virtual special local area network service (VPLS, Virtual PrivateLAN Service).
For ease of describing, in the embodiment of the invention, medium access control (MAC, Medium AccessControl) address is also referred to as link layer address.
When opposite end PE will send from user data that the AC link receives through pseudo-alignment local end PE, user data is packaged into first service message that carries professional pseudo-the end of a thread and professional Ethernet header.
102, local end PE judges whether the purpose link layer address of the professional Ethernet header of first service message is the link layer address of local end PE, if then carry out 103, otherwise carry out 104;
103, local end PE sends to professional corresponding attachment circuit according to professional pseudo-the end of a thread of first service message with the user data in first service message;
104, local end PE is from send second service message being connected to redundant side PE between local end PE and the redundant side PE; Second service message carries the pseudo-the end of a thread of said business; So that redundant side PE is according to professional pseudo-the end of a thread of first service message, the user data of first service message is sent to professional corresponding attachment circuit.
Need to prove here, be connected between frame that pseudo-line is connected or ether is direct-connected or switch network connects between local end PE and the redundant side PE;
When between local end PE and the redundant side PE be connected to that pseudo-line is connected between frame the time, second service message comprises: link layer header between pseudo-the end of a thread and frame between first service message, frame; When being connected to the direct-connected or switch network of ether when being connected between local end PE and the redundant side PE, second service message is first service message.
In the present embodiment; Local end PE from receive being connected of opposite end PE carry first service message of professional pseudo-the end of a thread and Ethernet header after; If the purpose link layer address of Ethernet header is not the link layer address of local end PE; Then from being connected between local end PE and the redundant side PE sending second service message to redundant side PE; Second service message carries professional pseudo-the end of a thread, so that redundant side PE is according to professional pseudo-the end of a thread of first service message, the user data of first service message is sent to professional corresponding attachment circuit.It is thus clear that in the present embodiment, redundant side PE can distinguish each business according to professional pseudo-the end of a thread of first service message; And need not distinguish each business according to pseudo-the end of a thread between frame; Therefore, only be required to be being connected between local end PE of all service creations and the redundant side PE, autgmentability is better.
For ease of understanding, to be connected to that pseudo-line is connected to example between frame between local end PE and the redundant side PE, the foregoing description is elaborated below.
See also Fig. 2, another embodiment of the method for providing services on the Internet in the embodiment of the invention comprises:
201, local end PE is from receiving first service message that carries professional pseudo-the end of a thread and professional Ethernet header with being connected of opposite end PE;
Need to prove that here about the target MAC (Media Access Control) address of above-mentioned professional Ethernet header, opposite end PE can currently be in the master and be set to the above-mentioned purpose MAC Address with the local end PE of state or the MAC Address of redundant side PE, this is a prior art, does not specifically give unnecessary details.Therefore; Except active and standby when using state what switch local end PE and redundant side PE; The target MAC (Media Access Control) address that professional Ethernet header might occur is outside the MAC Address of an end of stand-by state (being local end PE or redundant side PE), and the target MAC (Media Access Control) address of professional Ethernet header is the MAC Address of master with an end of state under the normal condition.
202, local end PE judges whether the purpose link layer address of professional Ethernet header is the local end PE link layer address, if then carry out 203, otherwise carry out 204;
Local end PE judges whether the target MAC (Media Access Control) address of the professional Ethernet header of this service message is the local end PE MAC Address, if then carry out 203, otherwise carry out 204 after receive first service message with being connected of opposite end PE.
203, local end PE sends to professional corresponding attachment circuit according to the pseudo-the end of a thread of business with the user data in first service message;
For instance, opposite end PE is pseudo-the end of a thread of business of each business configuration, makes local end PE or redundant side PE distinguish each business according to the pseudo-the end of a thread of this business, and the user data in first service message is sent to professional corresponding attachment circuit.
204, local end PE encapsulates first service message and obtains comprising between first service message, frame second service message of link layer header between pseudo-the end of a thread and frame; And connect from pseudo-line between frame and to send second service message to redundant side PE; So that redundant side PE according to professional pseudo-the end of a thread of first service message, sends to professional corresponding attachment circuit with user data.
If judge in 202 that the target MAC (Media Access Control) address of first service message is not the local end PE MAC Address; Then local end PE encapsulates first service message and obtains second service message, and second service message comprises between user data, professional pseudo-the end of a thread, professional Ethernet header, frame link layer header between pseudo-the end of a thread and frame from inside to outside successively.
Then; Local end PE connects from pseudo-line between frame sends second service message to redundant side PE; Thereby professional pseudo-the end of a thread that has kept first service message; So that redundant side PE is from after pseudo-line receives second service message between frame, can be according to professional pseudo-the end of a thread of first service message, the user data of first service message is sent to professional corresponding attachment circuit.
In addition; Also need to prove; If only consider local end PE after receive service message with being connected of opposite end PE, use when transmitting this message that pseudo-line connects between frame, then local end PE from connect adhere to circuit and receive user data after; User data is packaged into the service message that carries professional pseudo-the end of a thread and professional Ethernet header, and this service message is sent to opposite end PE from the connection of the PE to the opposite end; Local end PE connects from pseudo-line between frame and receives service message, can peel off between the frame of this service message pseudo-the end of a thread between link layer header and frame, according to professional pseudo-the end of a thread of the service message after peeling off, the user data of service message is sent to professional corresponding attachment circuit.
Under the normal condition in 201, pseudo-line connection can reach following purpose in the present embodiment between the use frame:
Suppose that local end PE is the main state of using when initial, when opposite end PE when the connection of local end PE is broken down, for example system does not carry out the situation of active and standby switching with state;
When opposite end PE has switched the physical outlet information of opposite end PE to the pseudo-line of local end PE; For example switched to and carried the tunnel of opposite end PE to the pseudo-line of redundant side PE; Make opposite end PE when the pseudo-line of local end PE is carried on normal tunnel; Opposite end PE from the user data that adheres to circuit and receive successively through pseudo-line connection, local end PE the connection of opposite end PE to the pseudo-line of local end PE, opposite end PE to redundant side PE, redundant side PE, frame, adhere to circuit to CE equipment; Can not recover professional thereby system need not carry out active and standby switching with state, reduce the professional packet loss time, reduce the professional extent of damage.
In the present embodiment, local end PE from receive being connected of opposite end PE carry first service message of professional pseudo-the end of a thread and professional Ethernet header after, if the target MAC (Media Access Control) address of professional Ethernet header is not the MAC Address of local end PE; Then encapsulate second service message that first service message obtains carrying professional pseudo-the end of a thread, and connect from pseudo-line between frame and to send second service message, make the redundant side PE can be according to the pseudo-the end of a thread of business to redundant side PE; The user data of first service message is sent to professional corresponding attachment circuit; Therefore, in the present embodiment, need not distinguish each business according to pseudo-the end of a thread between frame; All business can only be used to connect between a frame and protect, and autgmentability is better.
For instance, local end PE can send from opposite end PE be connected the service message that receives the time, use that pseudo-line connects between frame, simultaneously, local end PE also can send from connect adhere to the user data that circuit receives the time, use that pseudo-line connects between frame.
Therefore; The embodiment of the invention provides another embodiment of the method for providing services on the Internet; Among this embodiment local end PE to from the handling process of the service message that receives being connected of opposite end PE referring to embodiment illustrated in fig. 2, do not give unnecessary details here, Fig. 3 and Fig. 4 illustrate respectively among this embodiment; Local end PE is to the handling process of adhering to the user data that circuit receives from connecting, and local end PE is to the handling process of the service message that receives from pseudo-line between frame.
See also Fig. 3, local end PE is to comprising from the handling process of adhering to the service message that circuit receives that connects:
301, local end PE is adhered to the circuit receiving subscriber data from what connect;
It is corresponding one by one with business to adhere to circuit, and local end PE can be distinguished each business according to adhering to circuit.Therefore, local end PE can confirm that after adhere to circuit and receive user data which business this user data is.
302, user data is packaged into first service message that carries professional pseudo-the end of a thread and professional Ethernet header;
Local end PE is according to after adhering to circuit and confirming that which business this user data is; To adhere to the user data that circuit receives from this and be packaged into first service message that carries professional pseudo-the end of a thread and professional Ethernet header, the target MAC (Media Access Control) address of professional Ethernet header is the MAC Address of opposite end PE.
303, whether the local end PE judgement is normal with being connected of opposite end PE, if then carry out 304, otherwise carry out 305;
For instance; The normal situation of the malunion of local end PE and opposite end PE comprises the tunnel failure that carries local end PE pseudo-line of PE to the opposite end; Or PE connects the link failure of IP/MPLS network, when the malunion of local end PE and opposite end PE often, local end PE and opposite end PE can detect.
304, local end PE according to the pseudo-the end of a thread of business with first service message from sending with being connected of opposite end PE to opposite end PE;
For instance, if 303 judge normal with being connected of opposite end PE, then local end PE according to the pseudo-the end of a thread of business with first service message sending from professional correspondence with being connected of opposite end PE to opposite end PE.
305, local end PE with first service message further encapsulation obtain second service message, second service message comprises: link layer header between pseudo-the end of a thread and frame between first service message, frame, and connect from pseudo-line between frame and to send second service message to redundant side PE.
For instance; If 303 judgements are normal with the malunion of opposite end PE; Then local end PE to first service message further encapsulation obtain second service message, second service message comprises between user data, professional pseudo-the end of a thread, professional Ethernet header, frame link layer header between pseudo-the end of a thread and frame from inside to outside successively.
Then; Local end PE connects from pseudo-line between frame sends second service message to redundant side PE; So that redundant side PE receives second service message from pseudo-line between frame; Can be according to professional pseudo-the end of a thread of first service message, with first service message from sending to opposite end PE with being connected of opposite end PE with professional corresponding redundant end PE.
See also Fig. 4, local end PE comprises the handling process of the service message that receives from pseudo-line between frame:
401, local end PE connects reception first service message from pseudo-line between frame, and first service message carries professional pseudo-the end of a thread and professional Ethernet header;
Local end PE connects the service message that receives from pseudo-line between frame and comprises successively from inside to outside: link layer header between pseudo-the end of a thread and frame between user data, professional pseudo-the end of a thread, professional Ethernet header, frame.
402, local end PE judges whether the purpose link layer location of the professional Ethernet header of first service message is the local end PE link layer address, if then carry out 403, otherwise carry out 404;
For instance; Local end PE pseudo-line between frame connects after reception first service message; Can peel off between the frame of first service message pseudo-the end of a thread between link layer header and frame, the service message after peeling off comprises from inside to outside successively: user data, professional pseudo-the end of a thread, professional Ethernet header.
Peel off between frame after the encapsulation of pseudo-line; Local end PE judges whether the target MAC (Media Access Control) address of the professional Ethernet header of service message is the local end PE MAC Address; If; Confirm that then this service message is redundant side PE and sends to local end PE from receiving with being connected of opposite end PE and connecting through pseudo-line between frame, should the user data of this service message be sent to the connecting circuit that adheres to; If local end PE judges that the target MAC (Media Access Control) address of the professional Ethernet header of service message is not the local end PE MAC Address; Confirm that then service message is that redundant side PE adheres to the circuit reception and sends to local end PE from pseudo-line connection between frame from what connect, should be with service message from local end PE and being connected of opposite end PE sending to opposite end PE.
403, local end PE sends to professional corresponding attachment circuit according to the pseudo-the end of a thread of business with the user data of first service message;
Local end PE is according to professional pseudo-the end of a thread of first service message, and the user data of first service message is sent to professional corresponding attachment circuit, and concrete executive mode is not given unnecessary details for existing known technology here.
404, local end PE sends to being connected of professional corresponding and opposite end according to professional pseudo-the end of a thread of first service message with second service message, and second service message comprises: the professional pseudo-the end of a thread of the user data of first service message, first service message and the professional Ethernet header of first service message.
Local end PE is according to professional pseudo-the end of a thread of first service message; Second service message that will comprise the user data of first service message, professional pseudo-the end of a thread, professional Ethernet header sends to the local end PE of professional correspondence and being connected of opposite end PE; Concrete executive mode is not given unnecessary details for existing known technology here.
Under the normal condition in shown in Figure 2 201, in the present embodiment, use between frame pseudo-line to connect, can also reach following purpose except reaching in the foregoing description the illustrative purposes:
When the connection that detects opposite end PE when local end PE is broken down; Local end PE from the user data that adheres to circuit and receive successively through the pseudo-line of pseudo-line connection between frame, redundant side PE, redundant side PE PE to the opposite end to the opposite end PE; Thereby need not carrying out active and standby switching with state, system can not recover professional; Reduce the professional packet loss time, reduced the professional extent of damage.
In the present embodiment, local end PE connects professional pseudo-the end of a thread and the professional Ethernet header that second service message that sends has carried first service message from pseudo-line between frame, makes redundant side PE from after pseudo-line receives second service message between frame; Can distinguish each business according to professional pseudo-the end of a thread of first service message; And redundant side PE can confirm the outbound course of service message according to the target MAC (Media Access Control) address of the professional Ethernet header of first service message, therefore; In the present embodiment; Need not distinguish each business according to pseudo-the end of a thread between frame, only be required to be being connected between local end PE of all service creations and the redundant side PE, autgmentability is better.
For ease of understanding, be connected to example with the direct-connected or switch network of ether that is connected between local end PE and the redundant side PE below, the method for netting of providing services on the Internet in the embodiment of the invention is elaborated.
See also Fig. 5, the embodiment of the invention also provides another embodiment of the method for providing services on the Internet, comprising:
501, local end PE is from receiving first service message that carries professional pseudo-the end of a thread and professional Ethernet header with being connected of opposite end PE;
In the present embodiment, for ease of describing, with being connected to abbreviate as between frame and connecting between local end PE and the redundant side PE.
501 see also shown in Figure 2 201 explanation.
502, local end PE judges whether the purpose link layer address of the professional Ethernet header of first service message is the link layer address of local end PE, if then carry out 503, otherwise carry out 504;
503, local end PE sends to professional corresponding attachment circuit according to professional pseudo-the end of a thread of first service message with the user data of first service message;
503 see also shown in Figure 2 203 explanation.
504, local end PE is from send first service message being connected to redundant side PE between local end PE and the redundant side PE; So that redundant side PE sends to professional corresponding attachment circuit according to professional pseudo-the end of a thread of first service message with the user data of first service message, be connected to the direct-connected or switch network of ether between frame and connect.
504 are with shown in Figure 2 204 difference: in 504; First service message that local end PE will be carried professional pseudo-the end of a thread directly sends to redundant side PE through connecting (the direct-connected or switch network connection of ether) between frame; Connecting between 504 frame is to be created on the ether layer of public network; Therefore, local end PE is between the frame on the ether layer that is based upon public network, to connect first service message is directly multiplexing, has kept professional pseudo-the end of a thread of first service message.
In addition; Also need to prove; If only consider local end PE to send from opposite end PE be connected the service message that receives the time use that pseudo-line connects between frame; Then local end PE from connect adhere to the circuit receiving subscriber data after, this user data is packaged into the service message that carries professional pseudo-the end of a thread and professional Ethernet header, according to the pseudo-the end of a thread of business with this service message from sending with being connected of opposite end PE to opposite end PE; Local end PE is from connect receiving the service message that carries professional pseudo-the end of a thread and professional Ethernet header between frame, according to the pseudo-the end of a thread of this business the user data of service message is sent to professional corresponding attachment circuit.
It is understandable that, under the normal condition in shown in Figure 2 201, in the present embodiment, use to connect between frame to reach following purpose:
Suppose that local end PE is the main state of using when initial, when opposite end PE (system does not carry out the situation of active and standby switching with state) when the connection of local end PE is broken down;
When opposite end PE has switched the physical outlet information (as switch to carrying opposite end PE tunnel to the pseudo-line of redundant side PE) of opposite end PE to the pseudo-line of local end PE; Make opposite end PE when the pseudo-line of local end PE is carried on normal tunnel; Opposite end PE from the user data that adheres to circuit and receive successively through opposite end PE to connection, local end PE the pseudo-line of local end PE, redundant side PE, frame, adhere to circuit to CE equipment; Thereby need not carrying out active and standby switching with state, system can not recover professional; Reduce the professional packet loss time, reduced the professional extent of damage.
In the present embodiment, local end PE from receive being connected of opposite end PE carry first service message of professional pseudo-the end of a thread and professional Ethernet header after, if the target MAC (Media Access Control) address of the professional Ethernet header of first service message is not the MAC Address of local end PE; Then local end PE is with the directly multiplexing connection between frame of first service message (the direct-connected or switch network connection of ether); Thereby make redundant side PE after receive first service message between frame, can distinguish each business according to professional pseudo-the end of a thread of first service message, therefore; In the present embodiment; Need not distinguish each business according to pseudo-the end of a thread between frame, all business only need to use to connect between a frame to be protected, and autgmentability is better.
It is understandable that, can be both local end PE to send from opposite end PE be connected the service message that receives the time use between frame and connect, also can be simultaneously local end PE to send from connect adhere to the user data that circuit receives the time use between frame and connect.
Therefore; The embodiment of the invention provides another embodiment of the method for providing services on the Internet; Among this embodiment local end PE to from the handling process of the service message that receives being connected of opposite end PE referring to embodiment illustrated in fig. 5, do not give unnecessary details here, Fig. 6 and Fig. 7 illustrate respectively among this embodiment; Local end PE is to the handling process of adhering to the user data that circuit receives from connecting; And local end PE to the handling process of the service message that between frame, receives (the present embodiment, for ease of describing, with between local end PE and the redundant side PE be connected to abbreviate as between frame connect).
See also Fig. 6, local end PE is to comprising from the handling process of adhering to the service message that circuit receives that connects:
601, local end PE is adhered to the circuit receiving subscriber data from what connect;
601 see also shown in Figure 3 301 explanation.
602, local end PE is packaged into user data first service message that carries professional pseudo-the end of a thread and professional Ethernet header;
602 see also shown in Figure 3 302 explanation.
603, whether the local end PE judgement is normal with being connected of opposite end PE, if then carry out 604, otherwise carry out 605;
603 see also 303 explanation.
604, local end PE according to professional pseudo-the end of a thread of first service message with first service message from sending with being connected of opposite end PE to opposite end PE;
604 see also shown in Figure 3 304 explanation.
605, local end PE is sent from connecting between frame first service message to redundant side PE.
If 603 judgements are normal with the malunion of opposite end PE; Then local end PE is directly sent from connecting (the direct-connected or switch network connection of ether) between frame first service message to redundant side PE; Thereby the professional pseudo-the end of a thread that has kept first service message makes redundant side PE distinguish each business according to the pseudo-the end of a thread of this business.
See also Fig. 7, local end PE is to comprising from the handling process that connects the service message that (ether direct-connected or switch network connect) receive between frame:
701, local end PE receives first service message from connecting between frame, and first service message carries professional pseudo-the end of a thread and professional Ethernet header;
In the present embodiment; No matter be that redundant side PE connects from receiving and send between frame with being connected of opposite end PE; Still redundant side PE encapsulation sends to the service message that connects between frame behind the user data that adheres to the circuit reception that connects; All directly multiplexingly between the frame that is based upon on the public network ether layer, connect, therefore, local end PE comprises from connecting first service message that receives between frame from inside to outside successively: user data, professional pseudo-the end of a thread, professional Ethernet header.
702, local end PE judges whether the target MAC (Media Access Control) address of the professional Ethernet header of first service message is the MAC Address of local end PE, if then carry out 703, otherwise carry out 704;
Local end PE is behind connection reception first service message between frame; Whether the target MAC (Media Access Control) address of judging the professional Ethernet header of first service message is the MAC Address of local end PE; If; Confirm that then this service message is that redundant side PE connects from receiving and send between frame with being connected of opposite end PE; Should the user data of this service message be sent to the connecting circuit that adheres to, otherwise confirm that this service message is redundant side PE and receives and send between frame and connect from the circuit that adheres to that connects, should with this service message from the transmission that is connected of opposite end PE.
703, local end PE sends to professional corresponding attachment circuit according to professional pseudo-the end of a thread of first service message with the user data of first service message;
704, local end PE sends to being connected of professional corresponding and opposite end PE according to professional pseudo-the end of a thread of first service message with first service message.
Local end PE is according to professional pseudo-the end of a thread of first service message, and first service message is sent to the professional corresponding connection of PE to the opposite end, and concrete executive mode is not given unnecessary details for having known technology now here.
Under the normal condition in shown in Figure 2 201, in the present embodiment, use connect between frame except can reach embodiment illustrated in fig. 5 in the illustrative purposes, can also reach following purpose:
When the connection that detects opposite end PE when local end PE is broken down; Local end PE from the user data that adheres to circuit and receive successively through the pseudo-line of connection between frame, redundant side PE, redundant side PE PE to the opposite end to the opposite end PE; Thereby need not carrying out active and standby switching with state, system can not recover professional; Reduce the professional packet loss time, reduced the professional extent of damage.
In the present embodiment, local end PE is directly sent first service message from connecting (ether direct-connected or switch network connect) between frame, makes redundant side PE after receive first service message between frame; Can distinguish each business according to professional pseudo-the end of a thread of first service message; And redundant side PE can confirm the outbound course of service message according to the target MAC (Media Access Control) address of the professional Ethernet header of first service message, therefore; In the present embodiment; Need not distinguish each business according to pseudo-the end of a thread between frame, all business only need to use to connect between a frame to be protected, and autgmentability is better.
The description angle of the method for providing services on the Internet of the foregoing description is: local end PE from receive service message being connected of opposite end PE after processing method.
Knowing in conjunction with Fig. 3 and embodiment illustrated in fig. 6, is adhere to processing method circuit receive service message after of local end PE from connecting if describe angle, and then the method for providing services on the Internet in the embodiment of the invention comprises;
Local end PE is adhered to the circuit receiving subscriber data from what connect; Local end PE is packaged into user data first service message that carries professional pseudo-the end of a thread and professional Ethernet header; Local end PE judges whether local end PE is normal with being connected of opposite end PE; If, then local end PE with first service message from sending with being connected of opposite end PE to opposite end PE; Otherwise local end PE is sent second service message from being connected to redundant side PE between local end PE and the redundant side PE; Second service message carries professional pseudo-the end of a thread of first service message; So that redundant side PE is according to the pseudo-the end of a thread of business, first service message is sent to being connected of professional corresponding and opposite end PE.
Know that in conjunction with Fig. 4 and embodiment illustrated in fig. 7 if to describe angle be local end PE from receiving the processing method behind the service message being connected between local end PE and the redundant side PE, then the method for providing services on the Internet in the embodiment of the invention comprises:
Local end PE receives first service message that redundant side sends from being connected between local end PE and the redundant side PE, and first service message carries professional pseudo-the end of a thread and professional Ethernet header; Local end PE judges whether the purpose link layer address of professional Ethernet header is the link layer address of local end PE; If then local end PE sends to professional corresponding attachment circuit according to the pseudo-the end of a thread of business with the user data in first service message; Otherwise local end PE sends to being connected of professional corresponding and opposite end according to the pseudo-the end of a thread of business with second service message, and second service message comprises professional pseudo-the end of a thread, Ethernet header and user data.
For ease of understanding, below with the method for providing services on the Internet in the concrete application scenarios explanation embodiment of the invention shown in Figure 8.
Fig. 8 is the application scenarios figure of another embodiment of method that provides services on the Internet in the embodiment of the invention.As shown in Figure 8; The IP/MPLS network connects PE equipment; PE114 is connected Service Gateway (SGW through AC116 respectively with 124 with AC126; Service Gateway) 120, to each business (the for example circuit emulation service of a base station), PE 106 sets up PW 112 and PW 122 with PE 114 and PE 124 respectively.According to circumstances, PE 106 may insert simultaneously and have many consumers, and therefore, PE 106 may set up a lot of PW with PE114 and PE124, to be forwarded to customer service SGW120 and to be forwarded to the user from SGW120.
The IP/MPLS network connects for PE equipment provides VPLS: PE106 connects the IP/MPLS network through a physics ether interface; PE 114 is connected the IP/MPLS network with ether interface 138 with ether interface 140 respectively with PE 124.
Corresponding business, PE114 and PE124 backup each other, and PW112 and PW122 also backup each other, and AC116 and AC126 also backup each other.PW118 is the connection between PE114 and the PE124, all is public to all business, and PW118 is not associated with any concrete AC, and supposition always has a virtual AC corresponding with PW118 and always normal in the control plane negotiations process.
PE114 is following to the handling process from the service message of ether interface 138 output: PE114 receives the service message that carries professional pseudo-the end of a thread and professional Ethernet header from ether interface 138, judges whether the target MAC (Media Access Control) address of this business Ethernet header is the local end PE MAC Address; If then the user data of service message is sent to professional corresponding attachment circuit according to professional pseudo-the end of a thread of service message; Otherwise the service message that encapsulation receives comprises service message from inside to outside successively: link layer header between user data, professional pseudo-the end of a thread, professional Ethernet header, PW118 head and frame, and from the service message of PW118 after redundant side PE sends this encapsulation.
PE114 is following to the handling process of the user data that AC116 sends: PE114 is from the AC116 receiving subscriber data; User data is packaged into the service message that carries professional pseudo-the end of a thread and professional Ethernet header; If it is normal with being connected of PE106; Service message after then will encapsulating sends to opposite end PE from ether interface 138; Otherwise the service message after will encapsulating further encapsulates, and the service message after the further encapsulation is comprised from inside to outside successively: link layer header between user data, professional pseudo-the end of a thread, professional Ethernet header, PW118 head and frame, and from the service message of PW118 after PE124 sends further encapsulation.
PE114 is following to the handling process of the service message that PW118 sends: receive service message from PW118 and (comprise successively from inside to outside: link layer header between user data, professional pseudo-the end of a thread, professional Ethernet header, PW118 head and frame); Peel off link layer header and PW118 head between the frame of service message; If the target MAC (Media Access Control) address of the professional Ethernet header of the service message after peeling off is the local end PE MAC Address, then the user data of service message is sent to the AC116 of professional correspondence according to professional pseudo-the end of a thread of service message; Otherwise the professional pseudo-the end of a thread according to service message sends to professional corresponding PW112 with service message.
1. as SGW during to the link occurs fault of PE, be assumed to be the AC116 fault between SGW120 and the PE114, and the business on the PE114 is mainly to use state when initial, handling process comprises the steps:
When (1) PE114 detected AC116 and breaks down, PE114 and PE124 upgraded service condition through pre-defined algorithm, make after the renewal, and the last business of PE114 is a stand-by state, and the last business of PE124 is the main state of using.
(2) PE114 and PE124 send the service condition updating message to PE106, specifically can for: it is stand-by state that PE 114 indicates its professional corresponding PW for PE106 transmit status notification message through the PW signaling; It is the main state of using that PE124 indicates its professional corresponding PW for PE106 transmit status notification message through the PW signaling.
(3) PE106 receives after the service condition updating message of PE114 and PE124 transmission; Will be from adhering to the pseudo-line of output of the service message that circuit receives; Switch to PW122 from PW112; The flow that is about to receive from AC is jumped label forwarding item (NHLFE, Next Hop Label ForwardEntry) from next of PW 112 and is switched on the NHLFE of PW 122.
Need to prove that here in (1) afterwards, can also comprise the steps: that PE 114 goes to enable the isolation of ether interface 138 and PW118, PE 124 enables the isolation of ether interface 140 and PW118, to avoid the loop phenomenon of multicast message.
2. when the AC116 fault recovery between SGW120 and the PE114, handling process comprises the steps:
When 1. PE114 detects the AC116 fault recovery; PE114 and PE124 recomputate service condition through pre-defined algorithm, if the service condition that recomputates and original the same then end process, otherwise suppose that the business on the PE124 is to lead the state of using when initial; Upgrade service condition through pre-defined algorithm; Make after the renewal, the last business of PE114 is that the master uses state, and the last business of PE124 is a stand-by state.
2. PE114 and PE124 send the service condition updating message to PE106, specifically can for: it is the main state of using that PE 114 indicates its professional corresponding PW for PE106 transmit status notification message through the PW signaling; It is stand-by state that PE124 indicates its professional corresponding PW for PE106 transmit status notification message through the PW signaling.
3. PE106 receives after the service condition updating message of PE114 and PE124 transmission; To be connected from being connected with the PW122 of PE124 to switch to the PW112 of PE114 from the pseudo-line of output that adheres to the service message that circuit receives, the flow of soon receiving from AC switches on the NHLFE of PW 112 from the NHLFE of PW 122.
Need to prove that here after 1., can also comprise the steps: that PE 114 enables the isolation of E-SAP138 and PW118, PE 124 goes to enable the isolation of E-SAP140 and PW118, to avoid the loop phenomenon of multicast message.
3. detect (possibly be to carry the tunnel failure of PW112 or the link failure that PE114 connects the IP/MPLS network) when breaking down with being connected of PE106 as PE114, handling process comprises the steps:
When (one) PE 114 detects and breaks down with being connected of PE106; PE 114 sends a free address resolution protocol (gratuitous Address Resolution Protocol from PW118; Gratuitous ARP) message; The purpose of free address analysis protocol message and the local end PE IP address of the label distribution protocol conversation (Target-Label Distribution Protocol session) that source IP address is opposite end PE, source MAC is the local end PE MAC Address;
(2) after PE106 receives free address analysis protocol message, upgrade the physical outlet information of next jumping label NHLFE of PW 112.
4. when PE114 detected the fault recovery that is connected with PE106, handling process comprised the steps:
When (one) PE 114 detects the fault recovery that is connected with PE106; PE 114 sends a free address analysis protocol message from ether interface 138; The purpose of free address analysis protocol message and the local end PE IP address of the label distribution protocol conversation that source IP address is opposite end PE, source MAC is the local end PE MAC Address;
(2) after PE106 receives free address analysis protocol message, upgrade the physical outlet information of next jumping label NHLFE of PW 112.
In the present embodiment, PE114 sends before the service message from PW118, has all kept professional pseudo-the end of a thread of service message; Make PE124 to distinguish each business, and PE124 can confirm the outbound course of service message according to the target MAC (Media Access Control) address of service message according to professional pseudo-the end of a thread of service message; Therefore, in the present embodiment, need not distinguish each business according to pseudo-the end of a thread between frame; All business only need to connect PW118 between frame of use to be protected, and autgmentability is better.
Describe Fig. 2, Fig. 3 and application scenarios embodiment illustrated in fig. 4 in embodiment illustrated in fig. 8 in detail; Because Fig. 5, Fig. 6 and embodiment illustrated in fig. 7 and Fig. 2, Fig. 3 and difference embodiment illustrated in fig. 3 only are; Replaced pseudo-line connection between frame with connecting (the direct-connected or switch network connection of ether) between frame; Handling process when foregoing description breaks down with fault recovery is applicable to Fig. 5, Fig. 6 and embodiment illustrated in fig. 7 too; Therefore, be not described in detail Fig. 5, Fig. 6 and application scenarios embodiment illustrated in fig. 7.
Below, the device of providing services on the Internet in the embodiment of the invention is elaborated, see also Fig. 9, one embodiment comprises of the device of providing services on the Internet in the embodiment of the invention:
Receiver module 901 is used for from receiving first service message that carries professional pseudo-the end of a thread and Ethernet header with being connected of opposite end PE;
Judge module 902 is used to judge whether the purpose link layer address of Ethernet header is the link layer address of device, if, then trigger first sending module 903 and carry out associative operation, carry out associative operation otherwise trigger second sending module 904;
First sending module 903 is used for according to the pseudo-the end of a thread of business the user data of first service message being sent to professional corresponding attachment circuit;
Second sending module 904; Be used for from being connected to redundant side PE and sending second service message between device and the redundant side PE; Second service message carries professional pseudo-the end of a thread, so that redundant side PE according to the pseudo-the end of a thread of business, sends to professional corresponding attachment circuit with user data.
In the device of providing services on the Internet in the present embodiment; Receiver module 901 from receive being connected of opposite end PE carry the service message of professional pseudo-the end of a thread and professional Ethernet header after; Judge module 902 judges whether the target MAC (Media Access Control) address of this business Ethernet header is the local terminal MAC Address; If not then second sending module 904 is from being connected to redundant side PE and sending second service message between device and the redundant side PE, second service message carries professional pseudo-the end of a thread of first service message; So that redundant side PE is according to professional pseudo-the end of a thread of first service message, the user data of first service message is sent to professional corresponding attachment circuit.It is thus clear that in the present embodiment, redundant side PE can distinguish each business according to professional pseudo-the end of a thread of first service message; And need not distinguish each business according to pseudo-the end of a thread between frame; Therefore, only be required to be being connected between local end PE of all service creations and the redundant side PE, autgmentability is better.
See also Figure 10, the embodiment of the invention also provides another embodiment of the device of providing services on the Internet, comprising:
Receiver module 1001 is used for from what connect adhering to the circuit receiving subscriber data;
Package module 1002 is used for user data is packaged into first service message that carries professional pseudo-the end of a thread and Ethernet header;
Judge module 1003, whether be used for judgment means normal with being connected of opposite end PE, if, then trigger first sending module 1003 and carry out associative operation, carry out associative operation otherwise trigger second sending module 1004;
First sending module 1004 is used for first service message from sending with being connected to opposite end PE of opposite end PE;
Second sending module 1005; Be used for from being connected to redundant side PE and sending second service message between device and the redundant side PE; Second service message carries professional pseudo-the end of a thread of first service message; So that redundant side PE is according to the pseudo-the end of a thread of business, first service message is sent to being connected of professional corresponding and opposite end PE.
See also Figure 11, the embodiment of the invention also provides another embodiment of the device of providing services on the Internet, comprising:
Receiver module 1101 is used for from first service message that receives the redundant side transmission that is connected between device and the redundant side PE, and first service message carries professional pseudo-the end of a thread and professional Ethernet header;
Judge module 1102 is used to judge whether the purpose link layer address of Ethernet header is the link layer address of local end PE, if, then trigger first sending module 1103 and carry out associative operation, carry out associative operation otherwise trigger second sending module 1104;
First sending module 1103 is used for according to the pseudo-the end of a thread of business the user data of first service message being sent to professional corresponding attachment circuit;
Second sending module 1104 is used for according to the pseudo-the end of a thread of business second service message being sent to being connected of professional corresponding and opposite end, and second service message comprises professional pseudo-the end of a thread, Ethernet header and user data.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
More than method of providing services on the Internet and device thereof that the embodiment of the invention provided have been carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a method of providing services on the Internet is characterized in that, comprising:
Local terminal provider edge devices PE is from receiving first service message that carries professional pseudo-the end of a thread and professional Ethernet header with being connected of opposite end PE;
Whether the purpose link layer address of judging said Ethernet header is the link layer address of said local end PE;
If then the user data in first service message is sent to professional corresponding attachment circuit according to the pseudo-the end of a thread of said business;
Otherwise; From being connected between said local end PE and the redundant side PE sending second service message to said redundant side PE; Said second service message carries the pseudo-the end of a thread of said business, so that redundant side PE according to the pseudo-the end of a thread of said business, sends to professional corresponding attachment circuit with said user data.
2. method of providing services on the Internet according to claim 1 is characterized in that, is connected between frame that pseudo-line is connected or ether is direct-connected or switch network connects between said local end PE and the redundant side PE;
When between local end PE and the redundant side PE be connected to that pseudo-line is connected between frame the time, second service message comprises: link layer header between pseudo-the end of a thread and frame between first service message, frame;
When being connected to the direct-connected or switch network of ether when being connected between local end PE and the redundant side PE, second service message is first service message.
3. method of providing services on the Internet according to claim 1 is characterized in that, said method also comprises:
When said local end PE detects said when breaking down with being connected of opposite end PE; Said local end PE is sent free address analysis protocol message from being connected between said local end PE and the redundant side PE; The purpose of said free address analysis protocol message and source IP address are the IP address of said local end PE of the label distribution protocol conversation of said opposite end PE, and the source link layer address is the link layer address of said local end PE;
After said opposite end PE receives the free address analysis protocol message of said local end PE transmission, be updated to the physical outlet information of the pseudo-line of said local end PE.
4. method of providing services on the Internet according to claim 1 is characterized in that, said method also comprises:
When said local end PE detects the fault recovery that is connected with said opposite end PE; Said local end PE is sent free address analysis protocol message from said with being connected of opposite end PE; The purpose of said free address analysis protocol message and source IP address are the IP address of said local end PE of the label distribution protocol conversation of opposite end, and the source link layer address is the link layer address of said local end PE;
After said opposite end PE receives the free address analysis protocol message of said local end PE transmission, be updated to the physical outlet information of the pseudo-line of said local end PE.
5. method of providing services on the Internet according to claim 1 is characterized in that, said method also comprises:
When said local end PE is main use state, and when detecting the adhering to circuit and break down of connection, then said local end PE and said redundant side PE pass through the pre-defined algorithm update mode, and making said local end PE is stand-by state, and said redundant side PE leads the state of using;
Said local end PE and said redundant side PE send the service condition updating message to said opposite end PE;
Said opposite end PE will switch to the pseudo-line of said redundant side PE from adhering to the pseudo-line of output of the service message that circuit receives from the pseudo-line to said local end PE after receiving said updating message.
6. a method of providing services on the Internet is characterized in that, comprising:
Local end PE is adhered to the circuit receiving subscriber data from what connect, said user data is packaged into first service message that carries professional pseudo-the end of a thread and professional Ethernet header;
Judge whether said local end PE is normal with being connected of opposite end PE;
If, then with first service message from sending with being connected of said opposite end PE to said opposite end PE;
Otherwise send second service message from being connected between said local end PE and the redundant side PE to said redundant side PE; Second service message carries the pseudo-the end of a thread of said business; So that redundant side PE is according to the pseudo-the end of a thread of said business, first service message is sent to being connected of professional corresponding and opposite end PE.
7. method of providing services on the Internet according to claim 6 is characterized in that, is connected between frame that pseudo-line is connected or ether is direct-connected or switch network connects between said local end PE and the redundant side PE;
When between local end PE and the redundant side PE be connected to that pseudo-line is connected between frame the time, second service message comprises: link layer header between pseudo-the end of a thread and frame between first service message, frame;
When being connected to the direct-connected or switch network of ether when being connected between local end PE and the redundant side PE, second service message is first service message.
8. a method of providing services on the Internet is characterized in that, comprising:
Local end PE receives first service message that redundant side sends from being connected between local end PE and the redundant side PE, and first service message carries professional pseudo-the end of a thread and professional Ethernet header;
Whether the purpose link layer address of judging said Ethernet header is the link layer address of said local end PE;
If then the user data in first service message is sent to professional corresponding attachment circuit according to the pseudo-the end of a thread of said business;
Otherwise according to the pseudo-the end of a thread of said business second service message is sent to being connected of professional corresponding and opposite end, second service message comprises the pseudo-the end of a thread of said business, said Ethernet header and said user data.
9. method of providing services on the Internet according to claim 8 is characterized in that, is connected between frame that pseudo-line is connected or ether is direct-connected or switch network connects between said local end PE and the redundant side PE.
10. a device of providing services on the Internet is characterized in that, comprising:
Receiver module is used for from receiving first service message that carries professional pseudo-the end of a thread and Ethernet header with being connected of opposite end PE;
Judge module is used to judge whether the purpose link layer address of said Ethernet header is the link layer address of said device, if, then trigger first sending module and carry out associative operation, carry out associative operation otherwise trigger second sending module;
First sending module is used for according to the pseudo-the end of a thread of said business the user data of first service message being sent to professional corresponding attachment circuit;
Second sending module; Be used for sending second service message from being connected between said device and the redundant side PE to said redundant side PE; Said second service message carries the pseudo-the end of a thread of said business; So that redundant side PE according to the pseudo-the end of a thread of said business, sends to professional corresponding attachment circuit with said user data.
11. a device of providing services on the Internet is characterized in that, comprising:
Receiver module is used for from what connect adhering to the circuit receiving subscriber data;
Package module is used for said user data is packaged into first service message that carries professional pseudo-the end of a thread and Ethernet header;
Judge module is used to judge whether said device is normal with being connected of opposite end PE, if, then trigger first sending module and carry out associative operation, carry out associative operation otherwise trigger second sending module;
First sending module is used for first service message from sending with being connected to said opposite end PE of said opposite end PE;
Second sending module; Be used for sending second service message from being connected between said device and the redundant side PE to said redundant side PE; Second service message carries the pseudo-the end of a thread of said business; So that redundant side PE is according to the pseudo-the end of a thread of said business, first service message is sent to being connected of professional corresponding and opposite end PE.
12. a device of providing services on the Internet is characterized in that, comprising:
Receiver module is used for receiving first service message that redundant side sends from being connected between said device and the redundant side PE, and first service message carries professional pseudo-the end of a thread and professional Ethernet header;
Judge module is used to judge whether the purpose link layer address of said Ethernet header is the link layer address of local end PE, if, then trigger first sending module and carry out associative operation, carry out associative operation otherwise trigger second sending module;
First sending module is used for according to the pseudo-the end of a thread of said business the user data of first service message being sent to professional corresponding attachment circuit;
Second sending module is used for according to the pseudo-the end of a thread of said business second service message being sent to being connected of professional corresponding and opposite end, and second service message comprises the pseudo-the end of a thread of said business, said Ethernet header and said user data.
CN2009101741575A 2009-10-10 2009-10-10 Method and device for providing web service Expired - Fee Related CN101674239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101741575A CN101674239B (en) 2009-10-10 2009-10-10 Method and device for providing web service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101741575A CN101674239B (en) 2009-10-10 2009-10-10 Method and device for providing web service

Publications (2)

Publication Number Publication Date
CN101674239A CN101674239A (en) 2010-03-17
CN101674239B true CN101674239B (en) 2012-04-25

Family

ID=42021234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101741575A Expired - Fee Related CN101674239B (en) 2009-10-10 2009-10-10 Method and device for providing web service

Country Status (1)

Country Link
CN (1) CN101674239B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035729B (en) * 2010-11-22 2013-03-20 杭州华三通信技术有限公司 Multicast data forwarding method
CN102255805B (en) * 2011-07-06 2015-03-25 华为技术有限公司 Message transmission method, message forwarding method and devices
CN102891788B (en) * 2011-07-20 2017-08-08 南京中兴软件有限责任公司 VPLS service establishing methods and device
CN109819058B (en) * 2017-11-20 2021-08-27 北京华为数字技术有限公司 Method, device and system for forwarding service data
CN110618768B (en) * 2019-03-18 2021-05-04 北京无限光场科技有限公司 Information presentation method and device
CN115065614B (en) * 2022-06-22 2023-10-13 杭州云合智网技术有限公司 Method for identifying multi-activity service connectivity of VPWS

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625176A (en) * 2003-12-03 2005-06-08 华为技术有限公司 Realization method of edge to edge pseudo-line simulation protocol
CN101262301A (en) * 2007-03-09 2008-09-10 上海贝尔阿尔卡特股份有限公司 A PW label correction processing method and its device in MPLS transmission network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625176A (en) * 2003-12-03 2005-06-08 华为技术有限公司 Realization method of edge to edge pseudo-line simulation protocol
CN101262301A (en) * 2007-03-09 2008-09-10 上海贝尔阿尔卡特股份有限公司 A PW label correction processing method and its device in MPLS transmission network

Also Published As

Publication number Publication date
CN101674239A (en) 2010-03-17

Similar Documents

Publication Publication Date Title
CN101710877B (en) Method, device and system for processing traffic flow based on pseudowire
US20210176178A1 (en) Pseudowire protection using a standby pseudowire
US8179900B2 (en) Edge node redundant system in label switching network
CN102664788B (en) CE dual-homed link protection method in MPLS L3VPN and system thereof
CN102571426B (en) Double-homing protection method and device
CN102724118B (en) Label distribution method and device
US8130775B2 (en) Mechanism for protecting a pseudo-wire
CN101674239B (en) Method and device for providing web service
CN102025586B (en) Intercommunicating method, device and system for multiple protocol label switching network and Ethernet
CN101931520A (en) Switching method and system
CN111490933B (en) Bidirectional forwarding detection switching method and edge device
CN110324225B (en) Method and device for processing message
US11146484B2 (en) Method, device, and system for deferring switchback
WO2010007603A2 (en) Establishing pseudowires in packet switching networks
CN102820990A (en) Method and device for switching service protection
CN101783743B (en) Business protection method and switching node
CN111447095B (en) Bidirectional forwarding detection switching method, bidirectional forwarding detection module and edge device
CN102594651A (en) Service protection method in PBB H-VPLS network
CN102255759B (en) Method and device for transmitting data message based on PW (Packet Writing) redundant backup
US20120269056A1 (en) Method, device, and system for protecting semi-ring network
CN102255805B (en) Message transmission method, message forwarding method and devices
CN100466615C (en) Method and apparatus for processing direct connected network route
CN103716220B (en) A kind of data transmission method and its device
CN102611603B (en) The foundation of the static tunnel MPLS forwarding table, data transmission method and device
CN107835126B (en) Message forwarding method and system

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120425

Termination date: 20161010