Summary of the invention
Embodiments of the invention provide a kind of methods, devices and systems that the business datum of client device is transmitted, and to realize saving Internet resources, reduce the Capability Requirement to CE.
A kind of device that the business datum of client device is transmitted, comprise the first supplier edge device PE1, described PE1 is connected with the first client edge device CE1 by the first place in circuit AC1, by active link, be connected with the second client edge device CE2, by interface channel, be connected with the second supplier edge device PE2, described PE1 specifically comprises:
The first primary processing module, for when described active link is normal, after receiving the business datum that described CE1 sends by described AC1, sends to described CE2 by described business datum by described active link;
The second primary processing module, for when described active link is normal, after receiving the business datum that described PE2 sends by described interface channel, sends to described CE2 by described business datum by described active link.
The system that the business datum of client device is transmitted, comprising:
The first supplier edge device PE1, for being connected with the first client edge device CE1 by the first place in circuit AC1, by active link, be connected with the second client edge device CE2, by interface channel, be connected with the second supplier edge device PE2, when described active link is normal, when receive the business datum that described CE1 sends by described AC1 or receiving that described PE2 sends by described interface channel business datum after, described business datum is sent to described CE2 by described active link;
The second supplier edge device PE2, for being connected with described CE1 by the second place in circuit AC2, by protection link, be connected with described CE2, when described active link is normal, after receiving the business datum that described CE1 sends by described AC2, described business datum is sent to described PE1 by described interface channel;
CE1, comprises first interface and the second interface, and described AC1 connects described first interface, and described AC2 connects described the second interface; When described AC1 and AC2 all normal, and described first interface and the second interface is when also normal, on described first interface by described AC1 to described PE1 transmission business datum; When described AC1 or described first interface fault, on described the second interface, by described AC2, to described PE2, send business datum.
A kind of method that the business datum of client device is transmitted, the first supplier edge device PE1 is connected with the first client edge device CE1 by the first place in circuit AC1, by physical channel, be connected with the second supplier edge device PE2, described PE2 is connected with described CE1 by the second place in circuit AC2, and described method specifically comprises:
When described active link is normal, described PE1, receiving the business datum that described PE2 sends by described interface channel or receiving after the business datum that described CE1 sends by described AC1, sends to described CE2 by described business datum by described active link.
The technical scheme being provided by the embodiment of the invention described above can be found out; the communication that the embodiment of the present invention has realized between CE1 and CE2 possesses PE1, PE2 binode defencive function; and between PE1, PE2 and CE1 without carrying out protocol negotiation, improved the reliability of communication.
Embodiment
For ease of the understanding to the embodiment of the present invention, below in conjunction with accompanying drawing, take several specific embodiments and be further explained explanation as example, and each embodiment does not form the restriction to the embodiment of the present invention.
Embodiment mono-
The structural representation of a kind of device that the business datum of client device is transmitted that this embodiment provides as shown in Figure 3, comprising: PE1.
PE1, is connected with CE2 by active link, by AC1, is connected with CE1, by interface channel D-PW, be connected with PE2, when active link is normal PE1 as main convergence device, when active link fault as standby convergence device.Specifically can comprise: the first primary processing module and the second primary processing module, can also comprise the 3rd primary processing module, the first standby processing module and the second standby processing module.
Wherein, the first described primary processing module, for when described active link is normal, after receiving the business datum that described CE1 sends by described AC1, this business datum is carried out, after emulation and encapsulation process, described business datum being sent to described CE2 by described active link;
The second described primary processing module, for when described active link is normal, after receiving the business datum from described CE1 that described PE2 sends by described D-PW, sends to described CE2 by described business datum by described active link.
The 3rd described primary processing module, for when described active link is normal, after receiving the business datum that described CE2 sends by active link, sends to PE2 by D-PW after this business datum is copied to portion.Then, above-mentioned business datum is carried out to decapsulation and emulation reduction, then the business datum after reduction is sent to CE1 by AC1.
The first described standby processing module, for when described active link fault, after receiving the business datum that described CE1 sends by described AC1, this business datum is carried out, after emulation and encapsulation process, described business datum being sent to described PE2 by described D-PW.
The second described standby processing module, for when described active link fault, after receiving the business datum from described CE2 that described PE2 sends by described D-PW, described business datum is carried out, after decapsulation and emulation reduction, described business datum being sent to described CE1 by described AC1.
Embodiment bis-
The structural representation of a kind of system that the business datum of client device is transmitted that this embodiment provides as shown in Figure 4, comprising: CE1, CE2, PE1 and PE2.
CE2, is connected with PE1 by the active link in PSN network, by the protection link in PSN network, is connected with PE2.If active link is normal, by service data transmission between active link and PE1, at this moment PE1 is main convergence device, and PE2 is standby convergence device; If active link fault,, by service data transmission between protection link and PE2, at this moment PE2 is main convergence device, and PE1 is standby convergence device.
PE1, is connected with CE2 by active link, by AC1, is connected with CE1, by interface channel D-PW, is connected with PE2, and this D-PW can be direct-connected physics or logical links.Above-mentioned D-PW can be for carrying out business datum forwarding and state advertisement, the negotiation etc. between PE1, PE2.When active link is normal, PE1 is as main convergence device, when active link fault as standby convergence device.PE1 can comprise: the first primary processing module and the second primary processing module, PE1 can also comprise the 3rd primary processing module, the first standby processing module and the second standby processing module.
Wherein, the first described primary processing module, for when described active link is normal, after receiving the business datum that described CE1 sends by described AC1, this business datum is carried out, after emulation and encapsulation process, described business datum being sent to described CE2 by described active link;
The second described primary processing module, for when described active link is normal, after receiving the business datum from described CE1 that described PE2 sends by described D-PW, sends to described CE2 by described business datum by described active link.
The 3rd described primary processing module, for when described active link is normal, after receiving the business datum that described CE2 sends by active link, sends to PE2 by D-PW after this business datum is copied to portion.Then, above-mentioned business datum is carried out to decapsulation and emulation reduction, then the business datum after reduction is sent to CE1 by AC1.
The first described standby processing module; for when described active link fault; after receiving the business datum that described CE1 sends by described AC1; this business datum is carried out after emulation and encapsulation process; described business datum is sent to described PE2 by described D-PW, so that described PE2 sends to described CE2 by described protection link by described business datum.
The second described standby processing module, for when described active link fault, after receiving the business datum from described CE2 that described PE2 sends by described D-PW, described business datum is carried out, after decapsulation and emulation reduction, described business datum being sent to described CE1 by described AC1.
PE2, is connected with CE2 by protection link, by AC2, is connected with CE1, by D-PW, is connected with PE1.When active link is normal as standby convergence device, when active link fault as main convergence device.PE2 can comprise: the first primary processing module, the second primary processing module, can also comprise: the 3rd primary processing module and the first standby processing module, the second standby processing module.
Wherein, the first described primary processing module, for working as described active link fault, when protection link is normal, after receiving the business datum that described CE1 sends by described AC2, this business datum is carried out after emulation and encapsulation process, described business datum is sent to described CE2 by described protection link;
The second described primary processing module; for working as described active link fault; protection link is when normal, after receiving the business datum from described CE1 that described PE1 sends by described D-PW, described business datum sent to described CE2 by described protection link.
The 3rd described primary processing module for when described active link fault, when protection link is normal, sends to PE1 by D-PW after receiving described CE2 by protecting after the business datum of link transmission, this business datum is copied to portion.Then, above-mentioned business datum is carried out to decapsulation and emulation reduction, then the business datum after reduction is sent to CE1 by AC2.
The first described standby processing module, for when described active link is normal, after receiving the business datum that described CE1 sends by described AC2, this business datum is carried out after emulation and encapsulation process, described business datum is sent to described PE1 by described D-PW, so that described PE1 sends to described CE2 by described active link by described business datum.
The second described standby processing module, for when described active link is normal, after receiving the business datum from described CE2 that described PE1 sends by described D-PW, described business datum is carried out, after decapsulation and emulation reduction, described business datum being sent to described CE1 by described AC2.
CE1, comprises first interface and the second interface, is equipped with masterslave switchover function, and described AC1 connects first interface, and described AC2 connects the second interface.When described AC1 and AC2 all normal, and described first interface and the second interface is when also normal, CE1 is chosen on first interface and receives the business datum that PE1 sends over by AC1, on the second interface, does not receive business datum.CE1 is chosen on first interface and to PE1, sends business datum by AC1, on the second interface, does not send business datum.
When the first interface in AC1 fault or CE1 breaks down, there is masterslave switchover in CE1.CE1 is chosen on the second interface and receives by AC2 the business datum that PE2 sends over, and on first interface, does not receive business datum.CE1 is chosen on the second interface and to PE2, sends business datum by AC2, on first interface, does not send business datum.
In this embodiment, between PE2, PE1 and CE1, CE2, do not need operation for the agreement of binode protection, greatly reduce the docking requirement of transmission equipment and customer equipment.The business datum of transmitting between CE1, CE2 does not need whole process to carry out 1+1 protection, thereby can save Internet resources and network operation cost, and CE does not need to realize two sending out, and has reduced the Capability Requirement to CE.
Embodiment tri-
The structural representation of a kind of system that the business datum of client device is transmitted that this embodiment provides as shown in Figure 5.In Fig. 5, BSC (base station controller, base station controller) and BTS (base transceiver station, base transceiver station) as CE equipment, BSC is by AC1 and AC2 dual homed to PE1 and PE2, and BTS is connected to PE3 by Ethernet (Ethernet).Between PE1 and PE3, configure a PW as work PW, and this PW upper configuration PW OAM (Operation, Administration and Maintenance, Operations, Administration and Maintenance) carries out alarm detection; Between PE2 and PE3, configure a PW as protection PW, and the upper configuration of this PW PW OAM carries out alarm detection.When OAM detects work PW, break down, and protection PW is when normal, PE3 switches the business on protection PW.Under normal condition, the main convergence device that PE1 is dual-homing protection, the standby convergence device that PE2 is dual-homing protection.
System based on shown in Fig. 5, when work, PW is normal, and the first interface in AC1 and AC2, BSC and the second interface is when all normal, and to the transmission line of the business datum of BSC as shown in Figure 6, specifically processing procedure is as follows for BTS:
BTS sends to PE3 by Ethernet by business datum, and PE3 sends to PE1 by work PW by business datum.PE1 receives the business datum sending over from work PW, and business datum is copied to portion, by the D-PW between PE1 and PE2, business datum is issued to PE2.Then, above-mentioned business datum is carried out to decapsulation to PE1 and emulation reduction is processed, and the business datum after processing is sent to BSC by AC1.PE2 receives the business datum sending over from D-PW, and this business datum is carried out to decapsulation and emulation reduction processing, and the business datum after processing is sent to BSC by AC2.
BSC is chosen in the business datum that on first interface, reception sends over by AC1, on the second interface, does not receive business datum.
System based on shown in Fig. 5, when work, PW is normal, and the first interface in AC1 and BSC is when all normal, and it is working interface that BSC can select first interface, and to the transmission line of the business datum of BTS as shown in Figure 7, specifically processing procedure is as follows for BSC:
BSC sends to PE1 by AC1 by business datum on first interface.PE1 carries out after emulation and encapsulation process above-mentioned business datum, then by work PW, business datum is sent to PE3, finally by PE3, business datum is sent to BTS.BSC does not send business datum by AC2 to PE2 on the second interface, and actual has sent a business datum from AC1, so final BTS only can receive a correct business datum, can not repeat.
System based on shown in Fig. 5, when work, PW is normal, and the first interface in AC1 fault or BSC is when break down, there is masterslave switchover in BSC, it is working interface that BSC selects the second interface, and to the transmission line of the business datum of BSC as shown in Figure 8, concrete processing procedure is as follows for BTS:
BTS sends to PE3 by Ethernet by business datum, and PE3 sends to PE1 by work PW by business datum.PE1 receives the business datum sending over from work PW, and business datum is copied to portion, by the D-PW between PE1 and PE2, business datum is issued to PE2.Then, above-mentioned business datum is carried out to decapsulation to PE1 and emulation reduction is processed, and the business datum after processing is sent to BSC by AC1.PE2 receives the business datum sending over from D-PW, and this business datum is carried out to decapsulation and emulation reduction processing, and the business datum after processing is sent to BSC by AC2.
Because the second interface on BSC is now working interface, BSC is chosen in the business datum that on the second interface, reception sends over by AC1, and BSC does not receive business datum on first interface.
System based on shown in Fig. 5, when work, PW is normal, and the first interface in AC1 fault or CE1 is when break down, while there is masterslave switchover in BSC, it is working interface that BSC selects the second interface, and to the transmission line of the business datum of BTS as shown in Figure 9, concrete processing procedure is as follows for BSC:
Because the second interface on BSC is working interface, BSC sends to PE2 by AC2 by business datum on the second interface.PE2, owing to being standby convergence device, carries out after emulation and encapsulation process above-mentioned business datum, and PE2 sends to PE1 by the business datum receiving by D-PW, and PE1 sends to PE3 by work PW by business datum again, by PE3, again business datum is sent to BTS.BSC does not send business datum by AC1 to PE1 on first interface.
PE1 receives only and has forwarded a business datum, can not send business datum and repeat.
In this embodiment, between PE2, PE1 and BSC, BTS, do not need operation for the agreement of binode protection, greatly reduce the docking requirement of transmission equipment and customer equipment.The business datum of transmitting between BSC, BTS does not need whole process to carry out 1+1 protection, thereby can save Internet resources and network operation cost, and CE does not need to realize two sending out, and has reduced the Capability Requirement to CE.BSC, BTS do not need the choosing of carrying out business datum to receive processing yet.
Embodiment tetra-
In actual applications, can improve the system shown in above-mentioned Fig. 5, BTS is also equipped with to primary switch function, realize the networking scene of the equal dual homed of both sides client device.In BTS and BSC both sides, be all equipped with the structural representation of the system that the business datum to PSN network of primary switch function transmits as shown in figure 10.BTS by AC3 and AC4 dual homed to PE3 and PE4, BSC by AC1 and AC2 dual homed to PE1 and PE2.AC3 is the active link of BTS, the reserve link that AC4 is BTS, the active link that AC1 is BSC, the reserve link that AC2 is BSC.
When BTS and BSC are operated on first interface, BTS is as follows to the concrete transmitting procedure of the business datum of BSC:
BTS sends to PE3 by AC3 by business datum on first interface, and PE3 sends to PE1 by work PW by business datum.PE1 receives the business datum sending over from work PW, and business datum is copied to portion, by the D-PW between PE1 and PE2, business datum is issued to PE2.Then, above-mentioned business datum is carried out to decapsulation to PE1 and emulation reduction is processed, and the business datum after processing is sent to BSC by AC1.PE2 receives the business datum sending over from D-PW, and this business datum is carried out to decapsulation and emulation reduction processing, and this business datum after processing is sent to BSC by AC2.
BSC is chosen in the business datum that on first interface, reception sends over by AC1, on the second interface, does not receive business datum.
This embodiment has realized at the equal dual homed of both sides client device to PE, can more effectively guarantee the transmission security of the business datum between client device, guarantees the stable of network.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
In sum, the embodiment of the present invention has realized between PE2, PE1 and CE1, CE2 does not need operation for the agreement of binode protection, greatly reduces the docking requirement of transmission equipment and customer equipment.The business datum of transmitting between CE1, CE2 does not need whole process to carry out 1+1 protection, thereby can save Internet resources and network operation cost.
The embodiment of the present invention only requires that the CE such as BSC or BTS support the active and standby receipts of publishing, and does not require two of customer equipment supports, has reduced the requirement to customer equipment.
The above; be only the present invention's embodiment preferably, but protection scope of the present invention is not limited to this, is anyly familiar with in technical scope that those skilled in the art disclose in the present invention; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.