CN101505274B - Method, system and apparatus for pseudowire status notification - Google Patents

Method, system and apparatus for pseudowire status notification Download PDF

Info

Publication number
CN101505274B
CN101505274B CN200910119126XA CN200910119126A CN101505274B CN 101505274 B CN101505274 B CN 101505274B CN 200910119126X A CN200910119126X A CN 200910119126XA CN 200910119126 A CN200910119126 A CN 200910119126A CN 101505274 B CN101505274 B CN 101505274B
Authority
CN
China
Prior art keywords
circuit
group
pseudo
state
place
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
CN200910119126XA
Other languages
Chinese (zh)
Other versions
CN101505274A (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.)
Shenzhen Zhitong World Technology Service 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 CN200910119126XA priority Critical patent/CN101505274B/en
Publication of CN101505274A publication Critical patent/CN101505274A/en
Application granted granted Critical
Publication of CN101505274B publication Critical patent/CN101505274B/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, a system and a device for notifying a pseudo-wire status, wherein the realization of the method comprises the following steps of: judging a division mode of a group where a PW is positioned if an AC status or a PSN status of the PW changes; constructing a first notification message if the group where the PW is positioned is divided according to the AC status and the PSN status of all PWs in the group does not change, wherein the first notification message contains a group identification of the group and the current AC status of the PW corresponding to the group identification; constructing a second notification message if the group where the PW is positioned is divided according to the PSN status and the AC status of all the PWs in the group does not change, wherein the second notification message contains the group identification of the group and the current PSN status of the PW corresponding to the group identification; and sending the first notification message or the second notification message. The implementation mode realizes the respective notification of the AC status and the PSN status by carrying the AC status or the PSN status in the notification messages, and reduces the quantity of protocol messages.

Description

A kind of mthods, systems and devices of pseudowire status notification
Technical field
The present invention relates to communication technical field, particularly a kind of mthods, systems and devices of pseudowire status notification.
Background technology
The pseudo wire emulation of edge-to-edge (Pseudo-Wire Emulation Edge to Edge, PWE3) be packet switching network (Packet Switched Network, PSN) imitate asynchronous transfer mode (Asynchronous Transfer Mode in as far as possible truly, ATM), frame relay, Ethernet, the time division multiplexing of low speed (Time Division Multiplexing, TDM) circuit and Synchronous Optical Network (SynchronousOptical Network, SONET)/(Synchronous Digital Hierarchy SDH) waits professional basic act and a kind of two layer service bearing technologies of feature to SDH (Synchronous Digital Hierarchy).
Exposure draft 4447 (Request for Comment 4447, RFC4447) increased group identification (Group identification in newly, Group id) description, according to place in circuit (Attachment Circuit, AC) state or PSN state divide into groups pseudo-circuit, represent that with Group id this group comprises those pseudo-circuits; If group is to divide according to the AC state, then pseudo-circuit has identical AC state in the group, and all pseudo-circuit AC states all can conversion in the group during AC state transformation; If group is to divide according to the PSN state, then pseudo-circuit has identical PSN state in the group, and the PSN state of all pseudo-circuits all can conversion in the group during PSN state transformation.(Status) changes when the PW state, can carry out batch and announces the PW state by sending announcement (notification) message that has a Groupid, can reduce protocol massages quantity.Above-mentioned PW state comprises AC state and PSN state.
The notifying method of PW state is: (Provider Edge, PE) equipment sends the PW state that notification message is carried Group id and the pseudo-circuit corresponding with above-mentioned Group id for Provider Edge.After another PE equipment is received this notification message, the PW state of the pseudo-circuit of above-mentioned Group id correspondence is updated to PW state in the notice message.
Above-mentioned notice message comprises Group id and PW Status; Wherein Group id comprises the pseudo-circuit that comprises in the group, and PW Status comprises the AC state and the PSN state of above-mentioned pseudo-circuit.
PW Status form is as shown in table 1:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|1|0| PW?Status?(0x096A) | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Status?Code |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Table 1
In RFC4447, the description of Status is as shown in table 2:
Bitmask (Bit Mask) is described (Description)
===========================================================
0x00000000-Pseudowire?forwarding(clear?all?failures) [CRTL]
0x00000001-Pseudowire?Not?Forwarding [CRTL]
0x00000002-Local?Attachment?Circuit(ingress)Receive?Fault [CRTL]
0x00000004-Local?Attachment?Circuit(egress)Transmit?Fault [CRTL]
0x00000008-Local?PSN-facing?PW(ingress)Receive?Fault [CRTL]
0x00000010-Local?PSN-facing?PW(egress)Transmit?Fault [CRTL]
Table 2
The inventor finds that in realizing process of the present invention there is following problem in prior art: the PW Status in the notice message has represented AC state and PSN state simultaneously, cause: in the group of dividing with the AC state of pseudo-circuit, if difference in the PSN state existence group of pseudo-circuit needs to announce the PW state one by one and upgrades the AC state after the AC state changes; In the group of dividing with the PSN state of pseudo-circuit, if the AC state existence group interpolation different time of pseudo-circuit after the PSN state changes, need to announce the PW state one by one and upgrade the PSN state; Thereby protocol massages quantity is many.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of mthods, systems and devices of pseudowire status notification, can reduce protocol massages quantity in AC state or PSN state existence group interpolation different time.
The method embodiment of pseudowire status notification provided by the present invention can be achieved through the following technical solutions:
If the place in circuit state or the packet switching network state of pseudo-circuit change, then judge the dividing mode of described pseudo-circuit place group;
If the group at described pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in described group does not all change, then construct first notice message, described first notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit of described group;
If the group at described pseudo-circuit place is divided according to the packet switching network state, and the place in circuit state of all the pseudo-circuits in described group does not all change, then construct second notice message, described second notice message comprises group identification and the described group of current group switching network state of discerning corresponding pseudo-circuit of described group;
Send described first notice message, or described second notice message.
The embodiment of the invention also provides the method for another kind of pseudowire status notification, comprising:
Receive notice message, described notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit; Or described notice message comprises the packet switching network state of the current pseudo-circuit of group identification and described group of identification correspondence;
If described notice message comprise group identification and with the described group of current place in circuit state of discerning corresponding pseudo-circuit, then upgrade and the described group of place in circuit state of discerning corresponding pseudo-circuit according to the current place in circuit state of described pseudo-circuit;
If described notice message comprises group identification and the described group of current group switching network state of discerning corresponding pseudo-circuit, then upgrade and the described group of packet switching network state of discerning corresponding pseudo-circuit according to the current packet switching network state of described pseudo-circuit.
The embodiment of the invention also provides a kind of system of pseudowire status notification, comprises, and first provider edge equipment, second provider edge equipment,
First provider edge equipment is used for judging the dividing mode of described pseudo-circuit place group when the place in circuit state of pseudo-circuit or packet switching network state change;
If the group at described pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in described group does not all change, then construct first notice message, described first notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit of described group;
If the group at described pseudo-circuit place is divided according to the packet switching network state, and all the pseudo-circuit place in circuit states in described group all do not change, then construct second notice message, described second notice message comprises group identification and the described group of current group switching network state of discerning corresponding pseudo-circuit of described group;
Send described first notice message, or described second notice message;
Second provider edge equipment is used to receive described first notice message or described second notice message, and described first notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit; Described second notice message comprises the packet switching network state of the current pseudo-circuit of group identification and described group of identification correspondence;
If receive first notice message, then upgrade and the described group of place in circuit state of discerning corresponding pseudo-circuit according to the current place in circuit state of described pseudo-circuit;
If receive second notice message, then upgrade and the described group of packet switching network state of discerning corresponding pseudo-circuit according to the current packet switching network state of described pseudo-circuit.
The embodiment of the invention also provides a kind of provider edge equipment, comprising:
Judging unit is used for judging the dividing mode of described pseudo-circuit place group when the place in circuit state of pseudo-circuit or packet switching network state change;
The notice message structural unit, be used to construct notice message, if the group at described pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in described group does not all change, and then described notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit of described group; If the group at described pseudo-circuit place is divided according to the packet switching network state, and all the pseudo-circuit place in circuit states in described group all do not change, and then described notice message comprises group identification and the described group of current group switching network state of discerning corresponding pseudo-circuit of described group;
The notice message transmitting element is used to send described notice message.
The embodiment of the invention also provides another kind of provider edge equipment, comprising:
The notice message receiving element is used to receive notice message;
The notice message resolution unit is used to resolve described notice message and obtains: group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit; Or, resolve described notice message and obtain: the packet switching network state of the current pseudo-circuit of group identification and described group of identification correspondence;
State updating unit is used for upgrading and the described group of place in circuit state of discerning corresponding pseudo-circuit according to the group identification that obtains with the described group of current place in circuit state of discerning corresponding pseudo-circuit; Perhaps, upgrade and the described group of packet switching network state of discerning corresponding pseudo-circuit according to the group identification that obtains and the described group of current group switching network state of discerning corresponding pseudo-circuit.
Technique scheme has following beneficial effect: by carry AC state or PSN state in notice message, realization AC state and PSN state are announced respectively, thereby make, in the group of dividing with the AC state, if in the PSN state existence group interpolation different time of pseudo-circuit, can use the notice message that comprises group identification to announce in batches the AC state; In the group of dividing,, reduce protocol massages quantity if difference in the AC state existence group of pseudo-circuit can use the notice message that comprises group identification to announce in batches the PSN state with the PSN state.
Description of drawings
Fig. 1 is the embodiment of the invention one a method flow schematic diagram;
Fig. 2 is the embodiment of the invention two method flow schematic diagrames;
Fig. 3 is the embodiment of the invention three method schematic flow sheets;
Fig. 4 is the embodiment of the invention four system configuration schematic diagrames;
Fig. 5 is the embodiment of the invention five provider edge equipment structural representations;
Fig. 6 is the embodiment of the invention six provider edge equipment structural representations.
Embodiment
Embodiment one, and as shown in Figure 1, the technical problem that the embodiment of the invention will solve provides a kind of method of pseudowire status notification, comprising:
Step 101:, then judge the dividing mode of above-mentioned pseudo-circuit place group if the place in circuit state (AC state) or the packet switching network state (PSN state) of pseudo-circuit change;
Step 102: if the group at above-mentioned pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in above-mentioned group does not all change, then construct first notice message, above-mentioned first notice message comprises group identification and the above-mentioned group of current place in circuit state of discerning corresponding pseudo-circuit of above-mentioned group;
If the group at above-mentioned pseudo-circuit place is divided according to the packet switching network state, and the place in circuit state of all the pseudo-circuits in above-mentioned group does not all change, then construct second notice message, above-mentioned second notice message comprises group identification and the above-mentioned group of current group switching network state of discerning corresponding pseudo-circuit of above-mentioned group;
Step 103: send above-mentioned first notice message, or second notice message.
The executive agent of said method can be PE equipment, by in notice message, carrying AC state or PSN state, realization AC state and PSN state are announced respectively, thereby make, in the group of dividing with the AC state, if in the PSN state existence group interpolation different time of pseudo-circuit, can use the notice message that comprises group identification to announce in batches the AC state; In the group of dividing, if difference in the AC state existence group of pseudo-circuit with the PSN state; Can use the notice message that comprises group identification to announce in batches the PSN state, reduce protocol massages quantity.
Embodiment two, and is corresponding with embodiment two, and as shown in Figure 2, the embodiment of the invention also provides the method for another kind of pseudowire status notification, comprising:
Step 201: receive notice message, above-mentioned notice message comprises group identification and the above-mentioned group of current place in circuit state of discerning corresponding pseudo-circuit; Or above-mentioned notice message comprises the packet switching network state of the current pseudo-circuit of group identification and above-mentioned group of identification correspondence;
Step 202: if above-mentioned notice message comprise group identification and with the above-mentioned group of current place in circuit state of discerning corresponding pseudo-circuit, then upgrade and the above-mentioned group of place in circuit state of discerning corresponding pseudo-circuit according to the current place in circuit state of above-mentioned pseudo-circuit;
If above-mentioned notice message comprises group identification and the above-mentioned group of current group switching network state of discerning corresponding pseudo-circuit, then upgrade and the above-mentioned group of packet switching network state of discerning corresponding pseudo-circuit according to the current packet switching network state of above-mentioned pseudo-circuit.
The executive agent of said method can be PE equipment, by in notice message, carrying AC state or PSN state, realization AC state and PSN state are announced respectively, thereby make, in the group of dividing with the AC state, if in the PSN state existence group interpolation different time of pseudo-circuit, can use the notice message that comprises group identification to announce in batches the AC state; In the group of dividing, if difference in the AC state existence group of pseudo-circuit with the PSN state; Can use the notice message that comprises group identification to announce in batches the PSN state.
Alternatively, the AC state of above-mentioned current pseudo-circuit or PSN state are represented by state mask and conditional code; What wherein the state mask was represented to announce is AC state or PSN state, and conditional code is represented the state value of state mask advertised states.
Above-mentioned place in circuit state according to the current place in circuit state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to above-mentioned state mask, conditional code and original mode bit, upgrade the place in circuit state of the pseudo-circuit corresponding according to new mode bit with group identification;
Above-mentioned packet switching network state according to the current packet switching network state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to above-mentioned state mask, conditional code and original mode bit, upgrade the packet switching network state of the pseudo-circuit corresponding according to new mode bit with group identification.
Above-mentioned execution mode has provided the method for a kind of AC of carrying state or PSN state, will be described in more detail in subsequent embodiment.
Embodiment three, and the embodiment of the invention gives the more specifically execution mode based on embodiment one and embodiment two; For the convenient transmit leg of narrating notice message is called PE1, the recipient of notice message is called PE2.
The notification message format is as shown in table 3:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| Notification (0x0001) | Message?Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Message?ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Status?(TLV) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PW?Status?TLV |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PWId?FEC?TLV?or?Generalized?ID?FEC?TLV |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Table 3
Can carry Group id in the PWId FEC TLV or Generalized IDFEC TLV field in the notification message shown in the table, the form of Group id is as shown in table 4:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PWid?(0x80) |C| PW?type |PW?info?Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Group?id |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PW?ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface?Parameter Sub-TLV |
| ″ |
| ″ |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Table 4
The form of PW Status is as shown in table 5:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|1|0| PW?Status?(0x096A) | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Status?Mask |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Status?Code |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Table 5
Increase state mask (Status Mask) in original PW Status, which or several mode bit with the expression announcement is; State with conditional code (Status Code) expression announcement;
For example, if announcement AC state, then Status Mask=0x06 represents AC status fault (ACDown);
After PE2 receives notice message, resolve notice message and obtain PW Status, can calculate the mode bit (StatusNew) that makes new advances according to original mode bit (StatusOld) by following computational methods then:
StatusNew=(StatusOld?&(~StatusMask))|StatusCode
, ﹠amp in the above-mentioned arithmetic expression; For two expression formulas are carried out step-by-steps " with ";~be that an expression formula is carried out step-by-step " non-" (negate); | for two expression formulas are carried out step-by-steps " or ".
Illustrate:
Step 301:PE1 is according to AC state assignment Group id 1; PE2 Group id 1 related 3 PW; Here be assumed to be 3 PW, the bar number of PW can be for a plurality of arbitrarily; Above-mentioned being also referred to as sometimes according to physical interface according to AC state assignment Groupid distributed Group id;
If port one (PORT1) is normal (UP), the PW1 state is UP, and the state of PW2 and PW3 is DOWN; Then the state of the last PW1 of PE2 is 0x00000000 (AC and a PW fault-free), and the state of PW2 and PW3 is 0x00000018 (AC UP, PSN Down);
During step 302:PORT1 down, PE1 sends 1 announcement (notification) message that has Group id 1; Wherein the form of PW Status can be as shown in table 6:
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|1|0| PW?Status(0x096A) | 0x08 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 0x00000006 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 0x00000006 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Table 6
After step 303:PE2 received notification, the state that finds related PW to calculate PW1 according to the method described above was 0x00000006 (AC DOWN), and the state of PW2 and PW3 is 0x0000001E (ACDOWN, PSN DOWN); Just can upgrade the port status among the PE2 then according to the state that aforementioned calculation goes out.
Above-mentioned execution mode, by carry the AC state in notice message, realization AC state is announced separately, thereby make, in the group of dividing with the AC state, if the PSN state existence group interpolation different time of pseudo-circuit can use the notice message that comprises group identification to announce in batches the AC state; In the group of dividing, if the AC state existence group interpolation different time of pseudo-circuit with the PSN state; The method and the above-mentioned announcement AC status method embodiment of announcement PSN state are similar, distinctive points is state mask (Status Mask) assignment is expression announcement PSN state, Status Code represents the current state of PSN, thereby can use the notice message that comprises group identification to announce in batches the PSN state, reduce protocol massages quantity.
Present embodiment has provided giving an example of notification message, Group id and PW Status form, is understandable that their concrete form can change, so the concrete form of above-mentioned form should not be construed as the qualification to the embodiment of the invention.
Embodiment four, and as shown in Figure 4, the embodiment of the invention also provides a kind of system of pseudowire status notification, comprise, and first provider edge equipment 401, second provider edge equipment 402,
First provider edge equipment 401 is used for judging the dividing mode of above-mentioned pseudo-circuit place group when the place in circuit state of pseudo-circuit or packet switching network state change;
If the group at above-mentioned pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in above-mentioned group does not all change, then construct first notice message, above-mentioned first notice message comprises group identification and the above-mentioned group of current place in circuit state of discerning corresponding pseudo-circuit of above-mentioned group;
If the group at above-mentioned pseudo-circuit place is divided according to the packet switching network state, and all the pseudo-circuit place in circuit states in above-mentioned group all do not change, then construct second notice message, above-mentioned second notice message comprises group identification and the above-mentioned group of current group switching network state of discerning corresponding pseudo-circuit of above-mentioned group;
Send above-mentioned first notice message, or second notice message;
Second provider edge equipment 402 is used to receive above-mentioned first notice message or above-mentioned second notice message, and above-mentioned first notice message comprises group identification and the above-mentioned group of current place in circuit state of discerning corresponding pseudo-circuit; Above-mentioned second notice message comprises the packet switching network state of the current pseudo-circuit of group identification and above-mentioned group of identification correspondence;
If receive first notice message, then upgrade and the above-mentioned group of place in circuit state of discerning corresponding pseudo-circuit according to the current place in circuit state of above-mentioned pseudo-circuit;
If receive second notice message, then upgrade and the above-mentioned group of packet switching network state of discerning corresponding pseudo-circuit according to the current packet switching network state of above-mentioned pseudo-circuit.
Alternatively, the current place in circuit state of above-mentioned pseudo-circuit or current group switching network state are represented by state mask and conditional code;
Then, above-mentioned place in circuit state according to the current place in circuit state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to above-mentioned state mask, conditional code and original mode bit, upgrade the place in circuit state of the pseudo-circuit corresponding according to new mode bit with group identification;
Above-mentioned packet switching network state according to the current packet switching network state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to above-mentioned state mask, conditional code and original mode bit, upgrade the packet switching network state of the pseudo-circuit corresponding according to new mode bit with group identification.
Embodiment five, and as shown in Figure 5, the embodiment of the invention also provides a kind of provider edge equipment, comprising:
Judging unit 501 is used for judging the dividing mode of above-mentioned pseudo-circuit place group when the place in circuit state of pseudo-circuit or packet switching network state change;
Notice message structural unit 502, be used to construct notice message, if the group at above-mentioned pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in above-mentioned group does not all change, and then above-mentioned notice message comprises group identification and the above-mentioned group of current place in circuit state of discerning corresponding pseudo-circuit of above-mentioned group;
If the group at above-mentioned pseudo-circuit place is divided according to the packet switching network state, and all the pseudo-circuit place in circuit states in above-mentioned group all do not change, and then above-mentioned notice message comprises group identification and the above-mentioned group of current group switching network state of discerning corresponding pseudo-circuit of above-mentioned group.
Notice message transmitting element 503 is used to send above-mentioned notice message.
Alternatively, the current place in circuit state of above-mentioned pseudo-circuit or current group switching network state are represented by state mask and conditional code.
Embodiment six, and as shown in Figure 6, the embodiment of the invention also provides another kind of provider edge equipment, comprising: notice message receiving element 601 is used to receive notice message;
Notice message resolution unit 602 is used to resolve above-mentioned notice message and obtains organizing identification and the above-mentioned group of current place in circuit state of discerning corresponding pseudo-circuit; Or, resolve above-mentioned notice message and obtain: the packet switching network state of the current pseudo-circuit of group identification and above-mentioned group of identification correspondence;
State updating unit 603 is used for upgrading and the above-mentioned group of place in circuit state of discerning corresponding pseudo-circuit according to the group identification that obtains with the above-mentioned group of current place in circuit state of discerning corresponding pseudo-circuit; Perhaps, upgrade and the above-mentioned group of packet switching network state of discerning corresponding pseudo-circuit according to the group identification that obtains and the above-mentioned group of current group switching network state of discerning corresponding pseudo-circuit.
Alternatively, the current place in circuit state of above-mentioned pseudo-circuit or current group switching network state are represented by state mask and conditional code;
Then, above-mentioned place in circuit state according to the current place in circuit state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises: calculate new mode bit according to above-mentioned state mask, conditional code and original mode bit, upgrade and organize the place in circuit state of the corresponding pseudo-circuit of identification according to new mode bit;
Above-mentioned packet switching network state according to the current packet switching network state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises: calculate new mode bit according to above-mentioned state mask, conditional code and original mode bit, upgrade and organize the packet switching network state of the corresponding pseudo-circuit of identification according to new mode bit.
Above-mentioned execution mode, by in notice message, carrying AC state or PSN state, realization AC state and PSN state are announced respectively, thereby make, in the group of dividing with the AC state, if in the PSN state existence group interpolation different time of pseudo-circuit, can use the notice message that comprises group identification to announce in batches the AC state; In the group of dividing, if difference in the AC state existence group of pseudo-circuit with the PSN state; Can use the notice message that comprises group identification to announce in batches the PSN state, reduce protocol massages quantity.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than the mthods, systems and devices of a kind of pseudowire status notification that the embodiment of the invention provided are described in detail, used specific case herein 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 all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. the method for a pseudowire status notification is characterized in that, comprising:
If the place in circuit state or the packet switching network state of pseudo-circuit change, then judge the dividing mode of described pseudo-circuit place group;
If the group at described pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in described group does not all change, then construct first notice message, described first notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit of described group;
If the group at described pseudo-circuit place is divided according to the packet switching network state, and the place in circuit state of all the pseudo-circuits in described group does not all change, then construct second notice message, described second notice message comprises group identification and the described group of current group switching network state of discerning corresponding pseudo-circuit of described group;
Send described first notice message, or described second notice message.
2. according to the described method of claim 1, it is characterized in that the current place in circuit state or the current group switching network state of described pseudo-circuit are represented by state mask and conditional code.
3. the method for a pseudowire status notification is characterized in that, comprising:
Receive notice message, described notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit; Or described notice message comprises the packet switching network state of the current pseudo-circuit of group identification and described group of identification correspondence;
If described notice message comprise group identification and with the described group of current place in circuit state of discerning corresponding pseudo-circuit, then upgrade and the described group of place in circuit state of discerning corresponding pseudo-circuit according to the current place in circuit state of described pseudo-circuit;
If described notice message comprises group identification and the described group of current group switching network state of discerning corresponding pseudo-circuit, then upgrade and the described group of packet switching network state of discerning corresponding pseudo-circuit according to the current packet switching network state of described pseudo-circuit.
4. according to the described method of claim 3, it is characterized in that place in circuit state or packet switching network state that described pseudo-circuit is current are represented by state mask and conditional code;
Described place in circuit state according to the current place in circuit state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to described state mask, conditional code and original mode bit, upgrade the place in circuit state of the pseudo-circuit corresponding according to new mode bit with group identification;
Described packet switching network state according to the current packet switching network state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to described state mask, conditional code and original mode bit, upgrade the packet switching network state of the pseudo-circuit corresponding according to new mode bit with group identification.
5. the system of a pseudowire status notification comprises, first provider edge equipment, second provider edge equipment is characterized in that:
First provider edge equipment is used for judging the dividing mode of described pseudo-circuit place group when the place in circuit state of pseudo-circuit or packet switching network state change;
If the group at described pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in described group does not all change, then construct first notice message, described first notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit of described group;
If the group at described pseudo-circuit place is divided according to the packet switching network state, and all the pseudo-circuit place in circuit states in described group all do not change, then construct second notice message, described second notice message comprises group identification and the described group of current group switching network state of discerning corresponding pseudo-circuit of described group;
Send described first notice message, or described second notice message;
Second provider edge equipment is used to receive described first notice message or described second notice message, and described first notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit; Described second notice message comprises the packet switching network state of the current pseudo-circuit of group identification and described group of identification correspondence;
If receive first notice message, then upgrade and the described group of place in circuit state of discerning corresponding pseudo-circuit according to the current place in circuit state of described pseudo-circuit;
If receive second notice message, then upgrade and the described group of packet switching network state of discerning corresponding pseudo-circuit according to the current packet switching network state of described pseudo-circuit.
6. according to the described system of claim 5, it is characterized in that the current place in circuit state or the current group switching network state of described pseudo-circuit are represented by state mask and conditional code;
Described place in circuit state according to the current place in circuit state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to described state mask, conditional code and original mode bit, upgrade the place in circuit state of the pseudo-circuit corresponding according to new mode bit with group identification;
Described packet switching network state according to the current packet switching network state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to described state mask, conditional code and original mode bit, upgrade the packet switching network state of the pseudo-circuit corresponding according to new mode bit with group identification.
7. a provider edge equipment is characterized in that, comprising:
Judging unit is used for judging the dividing mode of described pseudo-circuit place group when the place in circuit state of pseudo-circuit or packet switching network state change;
The notice message structural unit, be used to construct notice message, if the group at described pseudo-circuit place is divided according to the place in circuit state, and the packet switching network state of all the pseudo-circuits in described group does not all change, and then described notice message comprises group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit of described group; If the group at described pseudo-circuit place is divided according to the packet switching network state, and all the pseudo-circuit place in circuit states in described group all do not change, and then described notice message comprises group identification and the described group of current group switching network state of discerning corresponding pseudo-circuit of described group;
The notice message transmitting element is used to send described notice message.
8. according to the described provider edge equipment of claim 7, it is characterized in that the current place in circuit state or the current group switching network state of described pseudo-circuit are represented by state mask and conditional code.
9. a provider edge equipment is characterized in that, comprising:
The notice message receiving element is used to receive notice message;
The notice message resolution unit is used to resolve described notice message and obtains: group identification and the described group of current place in circuit state of discerning corresponding pseudo-circuit; Or, resolve described notice message and obtain: the packet switching network state of the current pseudo-circuit of group identification and described group of identification correspondence;
State updating unit is used for upgrading and the described group of place in circuit state of discerning corresponding pseudo-circuit according to the group identification that obtains with the described group of current place in circuit state of discerning corresponding pseudo-circuit; Perhaps, upgrade and the described group of packet switching network state of discerning corresponding pseudo-circuit according to the group identification that obtains and the described group of current group switching network state of discerning corresponding pseudo-circuit.
10. according to the described provider edge equipment of claim 9, it is characterized in that,
The current place in circuit state or the current group switching network state of described pseudo-circuit are represented by state mask and conditional code;
Described place in circuit state according to the current place in circuit state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to described state mask, conditional code and original mode bit, upgrade the place in circuit state of the pseudo-circuit corresponding according to new mode bit with group identification;
Described packet switching network state according to the current packet switching network state renewal of the pseudo-circuit pseudo-circuit corresponding with group identification comprises:
Calculate new mode bit according to described state mask, conditional code and original mode bit, upgrade the packet switching network state of the pseudo-circuit corresponding according to new mode bit with group identification.
CN200910119126XA 2009-03-02 2009-03-02 Method, system and apparatus for pseudowire status notification Expired - Fee Related CN101505274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910119126XA CN101505274B (en) 2009-03-02 2009-03-02 Method, system and apparatus for pseudowire status notification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910119126XA CN101505274B (en) 2009-03-02 2009-03-02 Method, system and apparatus for pseudowire status notification

Publications (2)

Publication Number Publication Date
CN101505274A CN101505274A (en) 2009-08-12
CN101505274B true CN101505274B (en) 2011-07-06

Family

ID=40977348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910119126XA Expired - Fee Related CN101505274B (en) 2009-03-02 2009-03-02 Method, system and apparatus for pseudowire status notification

Country Status (1)

Country Link
CN (1) CN101505274B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929392A (en) * 2005-09-06 2007-03-14 华为技术有限公司 Management method for binding chain circuit state
EP1770902A1 (en) * 2004-07-12 2007-04-04 ZTE Corporation Pseudo wire label reflector, edge apparatus, two-layer virtual private network, and the method to provide pseudo wire service
CN101047636A (en) * 2006-06-07 2007-10-03 华为技术有限公司 Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1770902A1 (en) * 2004-07-12 2007-04-04 ZTE Corporation Pseudo wire label reflector, edge apparatus, two-layer virtual private network, and the method to provide pseudo wire service
CN1929392A (en) * 2005-09-06 2007-03-14 华为技术有限公司 Management method for binding chain circuit state
CN101047636A (en) * 2006-06-07 2007-10-03 华为技术有限公司 Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network

Also Published As

Publication number Publication date
CN101505274A (en) 2009-08-12

Similar Documents

Publication Publication Date Title
CN102823205B (en) Aggregating data traffic from access domains
US8503329B2 (en) Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers
CN101505227B (en) Method, device and system for implementing point to multi-point pseudowire
EP2033377B1 (en) Forced medium access control (MAC) learning in bridged ethernet networks
CN114826891A (en) Method, device and system for communication among controllers in TSN (traffic service network)
CN107968751B (en) Information processing method and device
CN103944828A (en) Method and equipment for transmitting protocol messages
CN105554175A (en) ARP backup method in PW (Pseudo-wires) redundancy scene
JP2008167331A (en) Extended maintenance domain level management method, communication apparatus, program, and data structure
EP2852115B1 (en) Information processing method, apparatus and system in trill networks
CN109167729B (en) Topology discovery method and device and multi-service transmission network system
CN111163003A (en) Topology discovery method of wireless multi-control-domain SDN
CN104184667B (en) Flux of multicast moving method and device in a kind of SPB network of M in M-modes
CN103107932A (en) Method and device for establishing MAC-IN-MAC channel
CN101505274B (en) Method, system and apparatus for pseudowire status notification
CN102238040B (en) Method for monitoring CE (Customer Edge router) and routing device
CN101237319A (en) Time synchronization method in Ethernet ring network and Ethernet ring system
CN102801618B (en) A kind of method and device determining three layer data paths in ethernet ring network
JP2009239450A (en) Route change type network device and system
CN103647709A (en) ARP form item establishing method and device
KR20120051632A (en) Method for clock synchronization in distributed system having ring topology and apparatus for the same
CN106301645A (en) A kind of time synchronization implementation method based on clean culture, device and the network equipment
CN107800583B (en) Message transmission method and device
Kim et al. Enhanced linear protection switching methods supporting dual node interconnection in packet transport networks
CN100502306C (en) Service switching method and system for the boundary devices of the Ethernet operator

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
TR01 Transfer of patent right

Effective date of registration: 20170818

Address after: 201, room 1, building A, No. 518053, front Bay Road, Qianhai, Shenzhen Shenzhen cooperation zone, Guangdong, China

Patentee after: Shenzhen Zhitong World Technology Service Co. Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

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

Granted publication date: 20110706

Termination date: 20200302

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