CN102368720A - Link state detection method, apparatus and system - Google Patents

Link state detection method, apparatus and system Download PDF

Info

Publication number
CN102368720A
CN102368720A CN2011103337808A CN201110333780A CN102368720A CN 102368720 A CN102368720 A CN 102368720A CN 2011103337808 A CN2011103337808 A CN 2011103337808A CN 201110333780 A CN201110333780 A CN 201110333780A CN 102368720 A CN102368720 A CN 102368720A
Authority
CN
China
Prior art keywords
clock signal
current link
link state
unusual
router
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.)
Pending
Application number
CN2011103337808A
Other languages
Chinese (zh)
Inventor
阎佳栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2011103337808A priority Critical patent/CN102368720A/en
Publication of CN102368720A publication Critical patent/CN102368720A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention, which relates to the synchronization ether communication field, provides a link state detection method, an apparatus and a system. Therefore, the length of time for detection of a link state is shortened. The detection method comprises the following steps that: a code stream sent by a sending terminal is received by a current link; a clock signal of the current link is recovered according to the code stream; if it is determined that the clock signal is incompatible with a clock signal that is stored in advance by a local host, it is determined that the current link state is abnormal, wherein the clock signal that is stored in advance by the local host is synchronized to the clock signal of the sending terminal.

Description

A kind of link state detection method, Apparatus and system
Technical field
The present invention relates to synchronous ethernet network transmission field, relate in particular to a kind of link state detection method, Apparatus and system.
Background technology
Along with the development of IP RAN (internet protocol radio access network, Internet protocol wireless access network), 2G (Generation) or 3G network are increasingly high to the system synchronization property requirement of transmission data, from several millisecond to hundreds of nanosecond.This also makes system can detected time requirement more and more stricter to link failure, has arrived inferior millisecond rank.
The method of the existing link failure detection of current industry has: BFD (bidirectionalforwarding detection; Two-way forwarding detects) the message detection; OAM (the Operations, Administration and Maintenance message detects for operation, administration and maintenance) message detects.These two kinds of detection methods are based on the BFD protocol massages respectively and the OAM protocol massages is realized.The basic principle of these two kinds of detection methods is to give receiving terminal through the message of transmitting terminal timed sending set form; After receiving terminal receives this message; Give the transmitting terminal loopback corresponding message; Transmitting terminal judges through whether receiving back message using whether the Link State between current transmitting terminal and receiving terminal is normal, the data transfer of whether can operate as normal going forward side by side.
Realizing in the process of above-mentioned Link State detection in the middle of the ether synchronously; The inventor finds that the message of this employing transmitting-receiving set form confirms that the testing mechanism of Link State is longer detection time; Influence to network is obvious; Concerning high bandwidth network such as 3G, can cause the lot of data message dropping.
Summary of the invention
Embodiments of the invention provide a kind of link state detection method, Apparatus and system, can shorten the detection duration of Link State.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, a kind of link state detection method is provided, comprises:
Through current link receiving end/sending end transmitted stream;
Recover the clock signal of said current link according to said code stream;
If the clock signal that definite said clock signal and this machine are stored in advance is inconsistent, confirm that then said current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and said transmitting terminal is synchronous.
Alternatively, after said definite said current Link State was unusual, said method also comprised: the code stream RX path is switched on the reserve link.
Alternatively, after said definite said current Link State was unusual, said method also comprised: send system's warning, inform that the said current Link State of user is unusual.
Alternatively, after said definite said current Link State was unusual, said method also comprised: the code stream RX path is switched on the reserve link; And, send system's warning, inform that the said current Link State of user is unusual.
Alternatively, said code stream comprises: data code flow and idle bit stream.
On the other hand, a kind of router is provided, comprises:
The FPDP unit is used for through current link receiving end/sending end transmitted stream;
The recovering clock signals unit is used for recovering according to said code stream the clock signal of said current link;
The Link State detecting unit is used for if the clock signal that definite said clock signal and this machine are stored in advance is inconsistent, confirms that then said current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and said transmitting terminal is synchronous.
Alternatively, said router also comprises: the link switchover unit is used for after definite said current Link State is unusual, the code stream RX path being switched on the reserve link.
Alternatively, said router also comprises: the warning unit, be used for after definite said current Link State is unusual, and send system's warning, inform that the said current Link State of user is unusual.
Alternatively, said router also comprises: link switchover unit and warning unit, and wherein, said link switchover unit is used for after definite said current Link State is unusual, the code stream RX path being switched on the reserve link; Said warning unit is used for after definite said current Link State is unusual, sends system's warning, informs that the said current Link State of user is unusual.
On the one hand, a kind of network system is provided again, comprises at least one router; Said router is used for through current link receiving end/sending end transmitted stream; Recover the clock signal of said current link according to said code stream; If the clock signal that definite said clock signal and this machine are stored in advance is inconsistent, confirm that then said current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and said transmitting terminal is synchronous.
The link state detection method that embodiments of the invention provide, Apparatus and system; The state of the clock signal that the code stream that in synchronous ether, transmits from link through detection recovers; Confirm whether this link exists unusually; And needn't judge Link State through the message feedback information, can shorten the detection duration of Link State; In addition, utilize code stream to detect, need not extra signaling consumption, thereby avoided taking link bandwidth.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The link state detection method schematic flow sheet that Fig. 1 provides for the embodiment of the invention;
The ether loop network sketch map that Fig. 2 uses for the link state detection method that another embodiment of the present invention provides;
The link state detection method schematic flow sheet that Fig. 3 provides for another embodiment of the present invention;
The router topology sketch map that Fig. 4 provides for the embodiment of the invention;
The router topology sketch map that Fig. 5 provides for another embodiment of the present invention;
The structural representation of the network system that Fig. 6 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
At first explanation is that in each embodiment provided by the invention, according to prior art, the clock signal between each router is synchronous.
As shown in Figure 1, the link state detection method for the embodiment of the invention provides comprises:
S101, the receiving terminal router is through current link receiving end/sending end router transmitted stream.
S102, receiving terminal router recover the clock signal of current link according to this code stream that receives.
S103, if the receiving terminal router confirms that the clock signal that this recovered clock signal and this machine store in advance is inconsistent, then definite current Link State is unusual.Wherein, the clock signal of this machine clock signal of storing in advance and transmitting terminal router is synchronous.
If the receiving terminal router confirms that the clock signal that this recovered clock signal and this machine store in advance is inconsistent, confirm that then the clock signal of current link is undesired, thereby definite current Link State is unusual.
The link state detection method that embodiments of the invention provide; The state of the clock signal that the code stream that in synchronous ether, transmits from link through detection recovers; Confirm whether this link exists unusually; And needn't judge Link State through the message feedback information, can shorten the detection duration of Link State.In addition, utilize code stream to detect, need not extra signaling consumption, thereby avoided the extra of link bandwidth taken.
The link state detection method that another embodiment of the present invention provides is that example describes with synchronous ether loop network as shown in Figure 2.
Under the normal condition, router one, 2,3,4 has adopted the synchronous mode of the clock signal of synchronous ether that data are received and dispatched, and current code stream transmit path is: router three → router two → router one.With the router one is example, supposes that promptly router one is receiving terminal router (this router one also can be used as the transmitting terminal router certainly), and then the link state detection method that provides of the embodiment of the invention is as shown in Figure 3, comprising:
S301, the data code flow that router one sends through current link 21 receiving routers 2.
At this moment, data code flow arrives router two from router three through link 22, arrives router one through link 21 again.
S302, router one recover the clock signal of current link 21 according to the data code flow that receives.
At this moment, the receiving terminal router one can carry out router one and router two synchronization of clock signals judgment processing with the master control borad clock unit module that recovered clock signal carries out after the logical process delivering to through wiring board router one.
Here, it is unusual to suppose that link 21 occurs.
S303, router one confirm that the clock signal that recovered clock signal and this machine store in advance is inconsistent, confirm current link 21 abnormal states.Here, the clock signal of router one clock signal of storing in advance and router two is synchronous.
If the receiving terminal router one confirms that the clock signal that this recovered clock signal and this machine store in advance is inconsistent, confirm that then the clock signal of current link 21 is undesired, thus definite current link 21 abnormal states.
Alternatively, S304, router one send system's warning, inform current link 21 abnormal states of user.
Alternatively, S305, router one switches to the code stream RX path on the reserve link.
Need to prove that the carrying out of step S304 and step S305 be order in no particular order, can certainly carry out simultaneously, also can only carry out wherein any step.
After the switching, data code flow will send from router three, arrives router four through link 23, arrives router one through link 24 again, promptly obtains path router three → router four → router one.
Need to prove; Be to be the explanation that example is carried out in above-mentioned process with the data code flow; When not having the data code flow transmission in the link,, will transmit idle bit stream in the link according to existing rule; Router still can recover the clock signal of current link according to idle bit stream, can use the method that the embodiment of the invention provides equally.
The link state detection method that embodiments of the invention provide; The state of the clock signal that the code stream that in synchronous ether, transmits from link through detection recovers; Confirm whether this link exists unusually; And needn't judge Link State through the message feedback information, can shorten the detection duration of Link State; In addition, utilize code stream to detect, not only can carry out Link State in real time and detect, and need not extra signaling consumption, thereby avoid the extra of link bandwidth taken.
As shown in Figure 4, the router four 0 for the embodiment of the invention provides comprises: FPDP unit 41, and recovering clock signals unit 42 and Link State detecting unit 43, wherein:
FPDP unit 41 is used for through current link receiving end/sending end transmitted stream;
Recovering clock signals unit 42 is used for recovering according to code stream the clock signal of current link;
If Link State detecting unit 43 is used for when confirming that clock signal that this recovered clock signal and this machine store in advance is inconsistent, and then definite current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and said transmitting terminal is synchronous.
If the receiving terminal router confirms that the clock signal that this recovered clock signal and this machine store in advance is inconsistent, confirm that then the clock signal of current link is undesired, thereby definite current Link State is unusual.
The router that embodiments of the invention provide; The state of the clock signal that the code stream that in synchronous ether, transmits from link through detection recovers; Confirm whether this link exists unusually, and needn't judge Link State, can shorten the detection duration of Link State through the message feedback information.
Alternatively, as shown in Figure 5, this router four 0 also comprises: in link switchover unit 44 and the warning unit 45 any one or two, wherein:
Link switchover unit 44 is used for after definite current Link State is unusual, the code stream RX path being switched on the reserve link.
Warning unit 45 is used for after definite current Link State is unusual, sends system's warning, informs that the current Link State of user is unusual.
Need to prove that the code stream of in above-mentioned process, being mentioned can be: data code flow and idle bit stream.When transfer of data is arranged, transmitted data stream in link; During the free of data transmission, according to existing regular transmission idle bit stream, the receiving terminal router all can recover the clock signal of current link from both, to realize the real-time link state-detection.
The network system that the embodiment of the invention provides, as shown in Figure 6, comprise at least one router 60.
This router 60 is used for through current link receiving end/sending end router transmitted stream; Recover the clock signal of current link according to this code stream; If the clock signal that definite this recovered clock signal and this machine are stored in advance is inconsistent, confirm that then current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and transmitting terminal router is synchronous.If the receiving terminal router confirms that the clock signal that this recovered clock signal and this machine store in advance is inconsistent, confirm that then the clock signal of current link is undesired, thereby definite current Link State is unusual.
Need to prove that router 60 structures in the present embodiment are identical with the router topology in the foregoing description, repeat no more.
The Link State detection system that embodiments of the invention provide; The state of the clock signal that the code stream that in synchronous ether, transmits from link through detection recovers; Confirm whether this link exists unusually; And needn't judge Link State through the message feedback information, can shorten the detection duration of Link State.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of said claim.

Claims (10)

1. a link state detection method is characterized in that, comprising:
Through current link receiving end/sending end transmitted stream;
Recover the clock signal of said current link according to said code stream;
If the clock signal that definite said clock signal and this machine are stored in advance is inconsistent, confirm that then said current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and said transmitting terminal is synchronous.
2. method according to claim 1 is characterized in that, after said definite said current Link State was unusual, said method also comprised:
The code stream RX path is switched on the reserve link.
3. method according to claim 1 and 2 is characterized in that, after said definite said current Link State was unusual, said method also comprised:
Send system's warning, inform that the said current Link State of user is unusual.
4. according to the arbitrary described method of claim 1 to 3, it is characterized in that said code stream comprises: data code flow and idle bit stream.
5. a router is characterized in that, comprising:
The FPDP unit is used for through current link receiving end/sending end transmitted stream;
The recovering clock signals unit is used for recovering according to said code stream the clock signal of said current link;
The Link State detecting unit is used for if the clock signal that definite said clock signal and this machine are stored in advance is inconsistent, confirms that then said current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and said transmitting terminal is synchronous.
6. router according to claim 5 is characterized in that, said router also comprises:
The link switchover unit is used for after definite said current Link State is unusual, the code stream RX path being switched on the reserve link.
7. according to claim 5 or 6 described routers, it is characterized in that said router also comprises:
The warning unit is used for after definite said current Link State is unusual, sends system's warning, informs that the said current Link State of user is unusual.
8. a network system is characterized in that, comprises at least one router; Said router is used for through current link receiving end/sending end transmitted stream; Recover the clock signal of said current link according to said code stream; If the clock signal that definite said clock signal and this machine are stored in advance is inconsistent, confirm that then said current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and said transmitting terminal is synchronous.
9. network system according to claim 8 is characterized in that, said router comprises:
The FPDP unit is used for through current link receiving end/sending end transmitted stream;
The recovering clock signals unit is used for recovering according to said code stream the clock signal of said current link;
The Link State detecting unit is used for if the clock signal that definite said clock signal and this machine are stored in advance is inconsistent, confirms that then said current Link State is unusual; Wherein, the clock signal of this machine clock signal of storing in advance and said transmitting terminal is synchronous.
10. network system according to claim 8 is characterized in that, said router also comprises:
The link switchover unit is used for after definite said current Link State is unusual, the code stream RX path being switched on the reserve link; And/or
The warning unit is used for after definite said current Link State is unusual, sends system's warning, informs that the said current Link State of user is unusual.
CN2011103337808A 2011-10-28 2011-10-28 Link state detection method, apparatus and system Pending CN102368720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103337808A CN102368720A (en) 2011-10-28 2011-10-28 Link state detection method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103337808A CN102368720A (en) 2011-10-28 2011-10-28 Link state detection method, apparatus and system

Publications (1)

Publication Number Publication Date
CN102368720A true CN102368720A (en) 2012-03-07

Family

ID=45761270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103337808A Pending CN102368720A (en) 2011-10-28 2011-10-28 Link state detection method, apparatus and system

Country Status (1)

Country Link
CN (1) CN102368720A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016054968A1 (en) * 2014-10-08 2016-04-14 深圳市中兴微电子技术有限公司 Link state control method, apparatus and computer storage medium
CN111614477A (en) * 2019-02-22 2020-09-01 华为技术有限公司 Method and device for positioning network fault
CN112910742A (en) * 2021-03-15 2021-06-04 杭州迪普科技股份有限公司 Link state detection method and device
CN114430514A (en) * 2021-12-28 2022-05-03 深圳市紫光同创电子有限公司 Data phase recovery method, system, equipment and storage medium of burst code stream
CN117955867A (en) * 2024-03-25 2024-04-30 常州埃依琦科技有限公司 SF6 density monitoring system and working method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521603A (en) * 2008-12-26 2009-09-02 中兴通讯股份有限公司 Method and system for quickly detecting connectivity of link
CN101820368A (en) * 2010-04-08 2010-09-01 华为技术有限公司 Ethernet link failure detection method and device
CN101931460A (en) * 2009-06-22 2010-12-29 华为技术有限公司 Link fault detection method, device and system
CN102215341A (en) * 2010-04-09 2011-10-12 索尼公司 Transmission device, camera device, camera controller and camera system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521603A (en) * 2008-12-26 2009-09-02 中兴通讯股份有限公司 Method and system for quickly detecting connectivity of link
CN101931460A (en) * 2009-06-22 2010-12-29 华为技术有限公司 Link fault detection method, device and system
CN101820368A (en) * 2010-04-08 2010-09-01 华为技术有限公司 Ethernet link failure detection method and device
CN102215341A (en) * 2010-04-09 2011-10-12 索尼公司 Transmission device, camera device, camera controller and camera system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016054968A1 (en) * 2014-10-08 2016-04-14 深圳市中兴微电子技术有限公司 Link state control method, apparatus and computer storage medium
US10432538B2 (en) 2014-10-08 2019-10-01 Sanechips Technology Co., Ltd. Link state determination method, apparatus and computer storage medium
CN111614477A (en) * 2019-02-22 2020-09-01 华为技术有限公司 Method and device for positioning network fault
CN111614477B (en) * 2019-02-22 2023-05-12 华为技术有限公司 Method and device for positioning network faults
US11876700B2 (en) 2019-02-22 2024-01-16 Huawei Technologies Co., Ltd. Network fault locating method and apparatus
CN112910742A (en) * 2021-03-15 2021-06-04 杭州迪普科技股份有限公司 Link state detection method and device
CN114430514A (en) * 2021-12-28 2022-05-03 深圳市紫光同创电子有限公司 Data phase recovery method, system, equipment and storage medium of burst code stream
CN114430514B (en) * 2021-12-28 2023-11-07 深圳市紫光同创电子有限公司 Data phase recovery method, system, equipment and storage medium for burst code stream
CN117955867A (en) * 2024-03-25 2024-04-30 常州埃依琦科技有限公司 SF6 density monitoring system and working method thereof
CN117955867B (en) * 2024-03-25 2024-06-07 常州埃依琦科技有限公司 SF6 density monitoring system and working method thereof

Similar Documents

Publication Publication Date Title
JP5073812B2 (en) Distributed Ethernet system and method for detecting faults based on the system
US7944818B2 (en) High-availability communication system
CN101079759B (en) Distributed bidirectional forwarding detection method and device
CN102045332B (en) Method for processing control message in intelligent resilient framework and line card boards
CN101753397B (en) System, method and device for rapidly self-healing Ethernet ring
CN102752093B (en) Based on the data processing method of distributed file system, equipment and system
CN101800676A (en) Link detection method, device and system
CN102055794A (en) Communication sytem in an aircraft and aircraft
CN101262401A (en) A method for realizing network recovery in loop network
CN102368720A (en) Link state detection method, apparatus and system
CN101340380A (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN101710865A (en) Method and device for rapid active-standby switching in network equipment
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN102158383B (en) Data transmission method, device and system for E1 bidirectional ring network
CN101267392A (en) A realizing method for notifying downstream device in case of switch of uplink link status
CN101964719A (en) Data processing method based on operating/standby switch of master control boards, line card and master control boards
JP5491623B2 (en) Address refresh method and system
CN103036728A (en) Multi- redundancy ethernet data transmission system and transmission method
CN101499947B (en) Arbitrarily topological intersected ring network protecting method, node and intersected ring network
CN106656311A (en) Data link backup apparatus and method
CN101645768B (en) Router and main/standby switch method thereof
CN102407868A (en) Hot-standby dual-connection method suitable for communication protocol of modern monitoring system of rail transit
CN102104521A (en) Ethernet ring network link failure recovery method, Ethernet ring network and node equipment
CN102118266A (en) Industrial Ethernet dual-link redundancy technology
CN104796200A (en) Relay system and switching device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120307