Non-framing 2M tunneling traffic two ends realize protecting the method and apparatus of switching simultaneously
Technical field
The present invention relates to the resist technology of transmission channel, relate to the guard method and the protective device of non-framing 2M passage or rather, realize the 1+1 protection of non-framing 2M tunneling traffic business.
Background technology
Some specific communication business has very high requirement to the reliability and the transmission quality of transmission.As: the national security circuit; the relay of electric relay protection data, great celebration, great sports tournament; finance, bank, exchange's data transfer circuit; reach video conferencing, signaling circuit etc.; in these business; most of professional framing E1 passage that adopts transmits, and adopts non-framing 2M passage to transmit when the partial service transmission is arranged.
For guaranteeing some important communication circuit reliable transmission; the common way of telecommunication department provides two transmission lines, i.e. 1+1 protection is when a circuit breaks down; by manually or by switching device realizing line switching, communication is switched to trouble-free another circuit gets on.
For the business that adopts framing E1 passage to transmit; existing at present ripe resist technology guarantees professional normal transmission; promptly in the E1 framing format, insert the webmaster handover information at any time and just can allow the communication two ends protect switching simultaneously, satisfy the 1+1 protected demand.
Because framing transmission can only provide the business of 1920kbps or 1984kbps, thereby be that the business of 2048kbps can only adopt non-framing 2M passage to transmit as transferring electric power relaying protection data and bandwidth demand.Above-mentioned business (business that refers to 1920kbps or 1984kbps or 2048kbps) other business in addition when service terminal adopts the V35 interface to carry out service access, also adopt non-framing 2M passage to transmit usually.
In the system of relay protection as shown in Figure 1, adopt the 1+1 protection mode, utilize the protection switching device 11,12 in the communications equipment room to carry out the passage switching.For guaranteeing electric power safety production; need between the transforming plant protecting machine room, pass through communications equipment room transferring electric power relaying protection data; because its professional particularity; the propagation delay time of electric relay protection data can not be greater than 5ms; the delay inequality of transmitting-receiving both direction needs less than 200 microseconds, and transmission channel is non-framing 2M passage.
Yet for the communication service that non-framing 2M passage transmits, the purpose of switching is protected at the present communication two ends of also not realizing simultaneously.The existing protection of non-framing 2M passage is switched roughly three kinds of patterns: manual switching; Automatic switching mode 1; With automatic switching mode 2.
In the Manual Switch mode, when the attendant confirmed that by certain channel a communication link breaks down, the passage switching was carried out in manual operation again.Whether the outstanding feature of Manual Switch is manually to participate in whole process, reach by manual analysis and need carry out professional situation about switching, and carry out the corresponding business handover operation according to judged result.Like this in deterministic process; need manually handle through consultation; must introduce too many artificial subjectivity; and the process need spended time of judging; also need the time by artificial execution change action; thereby occur switching normal use the in back from fault and have one section bigger time delay to business, from several seconds to a few hours, can't satisfy the accuracy and the real-time requirement of service protection.
Automatic switching mode 1 is meant in the switching device at communication two ends and adds communication processor, in order to guarantee to switch to the service impact minimum (even break down, the business that can also guarantee another direction continues transmission), the content of being transmitted by the communication processor analysis, the passage free time, insert handover information and management information, notify the opposite end to switch, thereby reach the switching purpose.This switching mode is applicable to and requires tight and the high communication quality of needs to real-time, as (guaranteeing not have the business on the fault direction to transmit even break down) in the data traffic transmission.
Fig. 2 illustrates a kind of logical construction block diagram of automatic switching mode 1 switching device.Control system 21 is by 25 pairs of two transmission channels of wireline inspection part---transmission channel 1, transmission channel 2 detect among the figure, identify dropout (LOS), alarm indication or complete " 1 " indication (AIS), code error faults such as (CODEERROR), have problem to send handover information through clock, circuit commutation circuit 23 (clock and business information are switched simultaneously) to the opposite end by communication processor 22 immediately in case identify a certain passage, thereby also switch the notice opposite end.But communication processor 22 is when sending handover information, the business information that needs earlier user terminal 26 to be sent here is carried out protocal analysis, whether differentiate the fault-free passage idle, have only and just begin to send handover information at one's leisure, so the time of handover information transmission just can not determine that if passage is not idle always, handover information is not gone out with regard to a straight hair, the action that switch the notice opposite end just can not be finished, thereby switch simultaneously at the two ends of can not realizing communicating by letter.Clock recovery circuitry 24 is used for the clock on two passages is recovered among the figure.
Utilize the two ends Service Access point to add communication processor for automatic switching mode 1, with the technology that realizes that by communication processor analysis channel transmission characteristic service protection switches, the build-in attribute of its implementation must limit this technology can not be applied in the occasion that professional quiet lotus takes whole 2M passage, even quiet lotus can absolutely not take whole 2M passage, when bandwidth usage is very high, also can cause equipment to can not find available enough idle bandwidths and come real-time transmission switching, management information, thereby cause the uncertainty of handover success; Simultaneously owing in the switching device at communication two ends, add communication processor, institute's biography business is resolved, stored, forwarding, sense channel free time, inserts sequence of operations such as handover management information, to institute's biography business is that a kind of damage is handled, as cause professional transmission delay etc., and these time-delays constantly all have randomness at each, cause the shake of professional transmission delay and professional receive-after-transmit time delay difference; Cause equipment cost to increase and realize complicated, reliability decrease.
Automatic switching mode 2 is meant that the switching device at communication two ends adopts two mode transfer business of sending out receipts excellent separately; allow all transport services (two) of two transmission channels at ordinary times; this moment, two passages all were in unframed mode; there is not idle channel to transmit interactive information and network management information between two equipment; equipment detects the local terminal communication port in real time; in case find a certain passage problem is arranged; just independently local terminal is switched; and no matter which kind of state the opposite end is in; thereby be easy to cause the receipts of bearer service; send out not on the same line road; bring the inconsistent consequence of transmitting and receiving service propagation delay time thus; do not satisfy the needs of the transmitting-receiving transmission time delay difference real time business of having relatively high expectations; as interactive sound; video traffic, electric relay protection business (the transmitting-receiving transmission time delay difference of electric relay protection business need business is not more than 200 microseconds) etc.
Transmission channel just often, normal data flow as shown in Figure 3 in the switching device, concerning user terminal 31, its pair sends out receipts excellent and is meant: when sending data, user terminal 31 business send to two transmission channels simultaneously by switching device 33---on transmission line one and the transmission line two, shown in a → b among the figure → c and a ' → b '; When receiving data, be from two transmission channels, to select one to send user terminal 31 to, shown in d → e among the figure → f.Concerning user terminal 32 too, when sending data, user terminal 32 business send to two transmission channels simultaneously by switching device 34---on transmission line one and the transmission line two, shown in d → e among the figure → f and d ' → e '; When receiving data, be to select one to send user terminal 32 to from two transmission channels, shown in a → b among the figure → c, two notions of sending out excellent receipts that Here it is can guarantee to receive with on same transmission line transmission line one as shown in FIG. this moment.
If left side switching protection 33 detects transmission line one fault is arranged; switch immediately; but the switching device 34 of user terminal 32 sides; keep former two transmission state of sending out receipts excellent owing to not obtaining corresponding handover information; therefore left side switching protection 33 service after switching flow to as shown in Figure 4: send (two) simultaneously to two transmission channel: a → b → c and a ' → b '; reception switches on the transmission line two, d ' → e ' → f '.The result who causes is: be sent on the transmission line one, as a → b among the figure → c, but receive on transmission line two, as d ' among the figure → e ' → f '.Because professional transmitting-receiving is on same transmission channel, thereby cause professional transmitting-receiving propagation delay time inconsistent, just can't use in the field that electric relay protection is such.
Summary of the invention
The purpose of this invention is to provide a kind of non-framing 2M tunneling traffic two ends and realize protecting the method and apparatus of switching simultaneously; realize that non-framing 2M tunneling traffic two ends protective device protects the function of switching simultaneously; switching time is extremely short, thereby realizes the 1+1 protection of non-framing 2M tunneling traffic business.
According to above-mentioned purpose; the invention provides a kind of non-framing 2M tunneling traffic two ends and realize protecting the method for switching simultaneously; the communication two ends are respectively equipped with protective device, are used to control two passages master channel and alternate channel each other between the communication two ends, it is characterized in that comprising:
A. master channel is operated under the unframed mode, the transparent transmission teleservice, alternate channel is operated under the E1 framed mode, interactive information between transmission lines detecting information, management information and communication two ends, the protective device detection master at communication two ends uses the line status with the alternate channel receive direction;
When the line status that the arbitrary end protective device in two ends of B. communicating by letter detects the master channel receive direction is fault, this end protective device inserts handover information on the sending direction of the master channel of unframed mode, carry out the conversion of the conversion of primary, spare passage and corresponding unframed mode thereof and E1 framed mode then at local terminal, and continue the current master of detection and use line status with the alternate channel receive direction;
C. other end protective device is after receiving handover information, also carries out the conversion of the conversion of primary, spare passage and corresponding unframed mode thereof and E1 framed mode at local terminal, and continues the current master of detection and use line status with the alternate channel receive direction;
D. the line status that the arbitrary end protective device in two ends of communicating by letter detects current alternate channel receive direction is that fault is when eliminating, this end protective device inserts the webmaster handover information on the sending direction of the alternate channel of current E1 framed mode, carry out the conversion of current primary, spare passage and the conversion of corresponding non-framing and E1 framed mode thereof at local terminal then;
E. other end protective device also carries out the conversion of current primary, spare passage and the conversion of corresponding non-framing and E1 framed mode thereof at local terminal after receiving this webmaster handover information.
Described steps A is to be divided by clock, circuit switching part in the control appliance by the systems control division in the protective device to E, and E1 framer, E1 deframer are carried out; The systems control division branch carries out described control according to the link performance test section in the equipment to the Performance Detection of described two passages; Described clock, circuit switching part, E1 framer, the required clock of E1 deframer are to be recovered from described two passages respectively by the line clock recovered part in the equipment.
According to above-mentioned purpose, the present invention also provides a kind of non-framing 2M tunneling traffic two ends to realize protecting device for switching simultaneously, it is characterized in that:
Comprise systems control division branch, clock, circuit switching part, E1 framer, E1 deframer, line clock recovered part and link performance test section;
The link performance test section is detected in real time every function of two transmission channels and index performance and is divided report to systems control division;
Systems control division divides, and the report that is provided by the link performance test section is provided in real time, rule out each channel function by rule, performance normally whether, according to switchover policy control clock, the circuit switching part, E1 framer and E1 deframer, carry out clock, passage switches and inserts the handover information notice by framer end device is also switched accordingly, comprise teleservice is passed through clock, the circuit switching part and through the E1 framer transparent send to main with or alternate channel on, with in the future autonomous with or alternate channel on teleservice through E1 deframer transparent transmission and pass through clock, the circuit switching part sends user terminal to, the management that the E1 framer will divide from systems control division, test, handover information be inserted into main with or alternate channel on, the E1 deframer from main with or alternate channel on extract management, test, handover information;
The line clock recovered part is recovered clock from two passages respectively, and gives framer, deframer and clock, circuit switching part with clock recovered, for the systems control division component selections.
Technical scheme of the present invention is arranged in master channel work under the unframed mode usually, but the business datum of framer transparent transmission user terminal; Alternate channel is arranged in work under the E1 framed mode, when communication line is carried out complete detection, can carries out to the time-division information interaction between the communication equipment of two ends, transfer management information.
When master channel breaks down, at the sending direction insertion handover information of faulty channel, notify the other side to carry out handover operation, protection is switched when realizing the communication two ends.Because method and apparatus of the present invention is applied to require the especially little field of professional transmitting-receiving transmission time delay difference emphatically; in the electric relay protection field; in view of this field to the strict demand of professional real-time and the characteristics not too responsive to the moment damage; under this passage unframed mode, can insert handover information at any time; and not as automated manner 1; in order to pursue the extreme reliable (responsive of business to the moment damage; pursue the professional unaffected of fault-free direction), and lose real-time handoff functionality (handover information only sends) when passage is idle.
Protect simultaneously to switch and comprise: alternate channel is switched to master channel and switches to unframed mode from the E1 framed mode, the business datum of framer and deframer transparent transmission user terminal; Master channel is switched to alternate channel and switches to the E1 framed mode from unframed mode, detect communication line and time-division ground and carry out information interaction between the communication equipment of two ends, thereby need not all respectively to prepare a network management path and come transmit management information etc. for the communication terminal device.
Non-framing 2M path protection technology of the present invention is compared aforesaid three kinds of non-framing 2M path protection technology, realized that non-framing 2M tunneling traffic two ends 1+1 protection device is when any end is found the communication line fault, terminal device is protected the function of switching simultaneously, can be less than the degree of 10ms switching time, the protection switching time (50ms) of realizing far below the SDH looped network, thus realize the 1+1 protection of non-framing 2M tunneling traffic business; Terminal device is carried out switch protecting simultaneously can guarantee the receipts of bearer service and send out to be on same transmission lines, thereby has guaranteed that professional transmitting-receiving propagation delay time is in full accord; Again because the present invention does not do any damage processing to institute's biography business for automated manner 1, thereby guaranteed that professional propagation delay time and professional receive-after-transmit time delay difference are in full accord, can satisfy the real time business that some is had relatively high expectations, as the interactive audiovisual business, the electric relay protection business, particularly the electric relay protection business is to the requirement of professional transmit after receive time delay difference; Equipment is simple, the reliability height.
Description of drawings
Fig. 1 is the system of relay protection structural representation;
Fig. 2 is that automatic switching mode 1 utilizes communication processor to realize the logical construction block diagram that switches;
Fig. 3 is an automatic switching mode 2 at the passage two data flow schematic diagrames of sending out receipts excellent of switching device just often;
Fig. 4 is that automatic switching mode 2 breaks down in transmission channel, a side switching device two data flow schematic diagrames of sending out receipts excellent in back that switch;
Fig. 5 is the application schematic diagram of the inventive method;
Fig. 6 is the logical construction block diagram of protective device of the present invention;
Fig. 7 is protective device hand-off process flow process 1 schematic diagram of the present invention;
Fig. 8 is protective device hand-off process flow process 2 schematic diagrames of the present invention;
Fig. 9 is the standby transmission channel multiplexing structure of a present invention schematic diagram.
Embodiment
Referring to Fig. 5, the application schematic diagram of the inventive method.
As shown in the figure; the user terminal 51,52 at communication two ends is selected one as service transmission channels (abbreviating the passage of bearer service as service channel) by the protective device (as switching device) 53,54 at two ends respectively from standby each other two passes 55,56, another passage is as alternate channel.
Referring to Fig. 6, the primary structure of protective device shown in the figure.Equipment mainly comprises line clock recovered part 66 except that necessary power unit 61, link performance test section 67, and clock, circuit (passage) switching part 63, systems control division divide 62, E1 framer 64 and E1 deframer 65.
Wherein link performance test section 67 real-time detected transmission passages 1, every function of 2 two circuits of transmission channel, index performance; Normally whether systems control division divides 62 to gather in real time by the every index performance of link performance test section 67 detected circuits, rule out the every function of circuit, performance index by rule, carries out passage according to switchover policy then and switches.
The content that link performance test section 67 is detected comprises signal loss detection, complete 1 detection of signal, line coding detection, the detection of circuit error performance etc.Detect judgement standard and meet the ITU-T relevant criterion.In real time circuit is carried out the detection of above-mentioned every function, performance index, and give systems control division with detected result and divide 62.
Systems control division divides 62 to gather in real time by the every function of link performance test section 67 detected circuits, index performance, normally whether to rule out the every function of circuit, performance index by rule, carry out clock, passage switching according to switchover policy notice clock, circuit switching part 63 then, utilize handover information notice opposite equip. also to switch accordingly by framer 64 simultaneously, switch simultaneously thereby reach the communication two ends.When power down, systems control division divides 62 control transmitting terminals and receiving end signal auto switching to acquiescence main line (can be provided with and automatically switch and two kinds of forms of hand-operated forced switching).
G.704E1 E1 framer 64 and E1 deframer 65 except realizing the frame structure framing, separating the frame function, be respectively equipped with a switching device in inside, can be according to dividing 62 control signal any one to be arranged to framed mode, transparent mode from systems control division, sending out a kind of in three kinds of modes of fixed code type with two transmission channels.E1 framer 64 also is provided with a pseudo random sequence generation, monitor with E1 deframer 65 inside, is used for transmission channel is done Error detection.Simultaneously framer 64, deframer 65 also have and divide 62 management of sending here, test, handover information to be inserted into any one transmission channel the systems control division or from the function of any one transmission channel extract management, test, handover information.Like this, systems control division divides 62 to utilize framer 64, deframer 65 with management, test, be multiplexed on the selected transmission channel to the handover information time-division, realizes information interaction and performance test between the communication terminal device.
Line clock recovered part 66 is recovered clock from two passages respectively, and gives framer 64, deframer 65 and clock, circuit switching part 63 with clock recovered, divides 62 to select for systems control division.
If select transmission channel 1, the signal flow during professional the transmission is to being: user terminal → clock, circuit switch 63 → E1 framer, 64 (transparent mode) → transmission channels 1; Signal flow during professional the reception is to being: transmission channel 1 → E1 deframer 65 (transparent mode) → clocks, circuit switch 63 → user terminal.If select transmission channel 2, the signal flow during professional the transmission is to being: user terminal → clock, circuit switch 63 → E1 framer, 64 (transparent mode) → transmission channels 2; Signal flow during professional the reception is to being: transmission channel 2 → E1 deframer 65 (transparent mode) → clocks, circuit switch 63 → user terminal.The signal flow of passage 1 recovered clock is to being: passage 1 → line clock recovers 66 → E1 and separates frame 65, E1 framing 64 and clock, circuit switching 63.The signal flow of passage 2 recovered clock is to being: passage 2 → line clock recovers 66 → E1 and separates frame 65, E1 framing 64 and clock, circuit switching 63.The signal flow of system's control bus is to being: systems control division branch → clock, circuit switch 63, and E1 separates frame 65, and E1 framing 64 and link performance detect 67.
Below in conjunction with Fig. 7 a kind of switching flow of the present invention is described.If the communication two ends have A side protective device and B side protective device (being switching device shifter) respectively, be provided with transmission channel 1 and transmission channel 2, be respectively equipped with the link performance test section at the receiver side of transmission channel 1 and transmission channel 2.
Under the normal condition, system is arranged to master channel with transmission channel 1, and master channel is operated in unframed mode, carries out normal professional transmitting-receiving, shown in flow process among the figure 701; System is arranged to alternate channel with transmission channel 2, and alternate channel is operated in the E1 framed mode, as information interaction channel between test channel and the equipment, utilizes the management of part slot transmission, line test information, shown in flow process among the figure 702.
Suppose that constantly A side debit is to breaking down (transmission channel 1, non-framing, main with, A side debit to breaking down), shown in flow process among the figure 703 at T-0.The link performance test section can detect line signal and lose, and complete 1 (opening circuit) and three faults of line coding violation appear in circuit.By agreement regulation, the bit number that occurs 0 level continuously among the 768bits is less than 3 and thinks and all-ones stream occurs on the circuit; The bit number that occurs continuously 1 level among the 768bits is less than 3 and thinks no any signal (line signal is lost) on the circuit; Check that input code flow also contrasts the HDB3 coding rule, think then that for what do not meet coding rule line coding in violation of rules and regulations.
A side protective device (from T-0 μ s constantly) behind 375 μ s at the most can detect passage 1 debit to breaking down; then constantly at T-375 μ s; on transmission channel 1, sending direction, insert handover information immediately; this handover information is a fixedly characteristic code flow of duration; as 2 milliseconds all-ones stream (with line fault time complete " 1 " for a long time distinguish mutually); tell B side protective device with this, A side debit is to breaking down, and request B side and A side are switched simultaneously.Shown in flow process among the figure 704 (if A side originating party is to breaking down, then B side device will then insert handover information its debit to detecting line fault fully on its sending direction).
B side protective device relies on the link performance test section to detect this all-ones of 2 milliseconds stream constantly at T-375 μ s; know that passage 1 debit is to breaking down; be later than most T-750 μ s (constantly) constantly from T-0 μ s; also on transmission channel 1, sending direction, insert 2 milliseconds all-ones stream immediately; (B side protective device can not send handover information shown in flow process among the figure 705; and its sending direction breaks down at this moment, and why will send handover information is in order to keep the consistency of A, B both sides protective device switching controls software).
A side device begins through 2 milliseconds constantly from T-375 μ s; in the T-2375 μ s moment (constantly) from T-0 μ s; A side protective device according to the testing result of link performance test section reaffirm transmission channel 1 debit to phenomenon of the failure; report webmaster after fault recognition is errorless; the report event of failure; A side protective device carries out circuit, the clock switching (switches to clock and business on the transmission channel 2 together; suppose that transmission channel 2 is intact); transmission channel 2 is transferred to main with, unframed mode and report webmaster by standby, framed mode, report handover event.This moment, distance fault switching time of A side device produced the maximum 2375 μ s of T-0 μ s constantly.Shown in flow process among the figure 706.
B side protective device (from T-0 μ s constantly) when T-2750 μ s is at the most reaffirmed phenomenon of the failure; promptly detect A side protective device at the handover information that inserts on the passage 1 in the very first time---behind complete " 1 " code stream of 2 milliseconds; in order to distinguish this complete " 1 " code stream is handover information or real fault; B side protective device can be at interval 2 milliseconds of complete " 1 " code streams on the detected transmission passage 1 once more; if still there is complete " 1 " code stream; think that then complete " 1 " code stream of receiving is the handover information that A side protective device inserts really on transmission channel 1; the errorless back of fault recognition B side protective device carries out circuit; clock switches (clock and circuit switch on the transmission channel 2 together); with transmission channel 2 by standby; framed mode transfers main using to; unframed mode; with transmission channel 1 by original non-framing; master mode transfers framing to; standby mode; professional transmission recovers normal; differ 375 μ s the switching time of B side device and A side device; the maximum 2750 μ s of distance fault generation time switching time of B side device; differ 375 μ s the switching time of B side device and A side device, shown in flow process among the figure 707.After finishing switching, B side device reports webmaster, the report handover event.
Above-mentioned handling process has reached the purpose that switch simultaneously at the communication two ends.
Keep transmission channel 2 non-framing, master mode and transmission channel 1 framing, standby mode then, shown in flow process among the figure 708.
The link performance detecting unit of A side protective device can carry out detailed detection comprehensively to faulty channel 1 after switching, and has eliminated in case detect passage 1 fault, then can carry out next step action according to predetermined switchover policy.(otherwise referring to B side protective device) still.
Detect passage 1 debit in the Tn moment (constantly) as if A side protective device and eliminate, shown in flow process among the figure 709 to fault from T-0 μ s.Delayed time then 10 seconds, repeatedly the duplicate acknowledgment fault is eliminated and is reported webmaster then in these 10 seconds, and the report fault is eliminated incident.
In Tn+10 moment second; (this moment, eliminated by the fault of transmission channel 1 by transmission channel 1 for A side protective device; transmission channel 1 is operated in E1 framing mode) send go forward side by side line road, clock of webmaster handover information (can insert in the E1 framing format) to B side protective device and switch; to transfer non-framing, master mode to and report webmaster by framing, standby mode as the transmission channel 1 of alternate channel; the report handover event; transmission channel 2 as master channel transfers framing, standby mode to by non-framing, master mode, shown in flow process among the figure 710.
In Tn+10 moment second; B side protective device is received the webmaster handover information; carry out circuit, clock switching; to transfer non-framing, master mode to and report webmaster by framing, standby mode as the passage 1 of alternate channel; the report handover event will transfer framing, standby mode to by non-framing, master mode as the passage 2 of master channel.Shown in flow process among the figure 711.Also differ 375 μ s the switching time of B side apparatus and A side apparatus at the most.
In the above-mentioned flow process; protective device is arranged to framed mode with alternate channel; be beneficial to when communication line is carried out complete detection; can communicate to the time-division information interaction between the terminal device; additionally in real time alternate channel is carried out detailed detection comprehensively, and all link performance states of real-time report.
Referring to Fig. 8, further specify method of the present invention.If transmission channel 1 is preferred passage.
Step 801, circuit just often, passage 1 is operated in non-framing, master mode, passage 2 is operated in E1 framing, standby mode.The business of transmission user terminal on the master channel, alternate channel are as information interaction channel between test channel and the equipment, and the multiplexing structure of alternate channel as shown in Figure 9 realizes that the network management information between communication two end devices is mutual.Equipment is arranged to the E1 framed mode with alternate channel, when guaranteeing the master channel transport service like this, on the one hand utilizes the part time slot of alternate channel to carry out complete detection, also can utilize all the other time slots to carry out information interaction between the equipment on the other hand.So just need not all respectively prepare a network management path (under unframed mode for two table apparatus, realize webmaster, be necessary for the both sides device and respectively prepare a network management path, and only be required to be a side device such as network management path of A side device preparation this moment, the network management information of another B side device then can utilize alternate channel to give A side device alternately on behalf of reporting).
Step 802, whether have fault, execution in step 811 when having fault to take place, execution in step 821 when fault-free takes place if detecting master channel.
Step 811, whether have fault, return step 802 when alternate channel has fault if further detecting alternate channel, and execution in step 812 during the alternate channel fault-free.
Step 812 sends complete " 1 " code stream to master channel, picks up counting simultaneously;
Step 813 judges whether timing time reaches 2 milliseconds, when timing time reaches 2 milliseconds, stops at and sends complete " 1 " code stream on the master channel, and execution in step 814 then
Step 814 transfers former alternate channel to unframed mode earlier, and execution in step 815 then;
Step 815 switches to former alternate channel from former master channel simultaneously with business, clock;
Step 816 transfers former master channel to framed mode.So far, realize that primary, spare passage exchanges and the exchange of corresponding unframed mode and framed mode.
Step 821 when master channel does not have fault, judges further whether passage 1 is master channel, is that master channel then returns step 202, and passage 1 is not a then execution in step 822 of master channel;
Step 822 starts timing in 10 seconds;
Step 823, timing in 10 seconds is changeed step 812 to the back, send handover information to current master channel, be complete " 1 " code stream of 2ms and continue execution in step 813-816, the alternate channel, the E1 framed mode that are about to passage 1 also revert to master channel, unframed mode, and master channel, the unframed mode of passage 2 also reverted to alternate channel, E1 framed mode.It recovers order and remains: transfer passage 1 to unframed mode earlier; Then clock, business are switched to passage 1 from passage 2 simultaneously; Transfer passage 2 to the E1 framed mode at last.
Realize that the inventive method mainly comprises two aspect contents: the one, communication line is detected in real time; The 2nd, the communication two ends realize switching simultaneously when running into line fault.Realize switching simultaneously is by inserting complete 1 code stream of fault (or similarly be different from) code stream in short-term in faulty channel, carrying out change action to notify the other side.Equipment is arranged to the E1 framed mode with alternate channel, utilizes the alternate channel of E1 framing to carry out information interaction between the equipment.
The invention solves non-framing 2M tunneling traffic two ends and protect the function of switching simultaneously; realized the 1+1 protection of non-framing 2M passage; protection time delay for switching in communication two ends is 375 microseconds to the maximum; occurring recovering normal maximum delay to the business transmission from fault is 2750 microseconds, is less than the degree of 10ms.