CN101340320B - Link detection method, apparatus and system - Google Patents

Link detection method, apparatus and system Download PDF

Info

Publication number
CN101340320B
CN101340320B CN200810118941XA CN200810118941A CN101340320B CN 101340320 B CN101340320 B CN 101340320B CN 200810118941X A CN200810118941X A CN 200810118941XA CN 200810118941 A CN200810118941 A CN 200810118941A CN 101340320 B CN101340320 B CN 101340320B
Authority
CN
China
Prior art keywords
equipment
operator
message
ping message
subscriber equipment
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.)
Active
Application number
CN200810118941XA
Other languages
Chinese (zh)
Other versions
CN101340320A (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN200810118941XA priority Critical patent/CN101340320B/en
Publication of CN101340320A publication Critical patent/CN101340320A/en
Application granted granted Critical
Publication of CN101340320B publication Critical patent/CN101340320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for detecting link circuits, a device and a system thereof, ping message is sent to operator equipment by user equipment; the operator equipment confirms whether the user equipment is alive according to whether the ping message is received, and sends the response message to the corresponding user equipment when the ping message is received; the user equipment confirms whether the operator equipment is alive according to whether the response message is received. The proposal provided by the embodiment of the invention reduces the PE load of the operator equipment greatly, and the network flow occupied by the ping message is reduced by a half, thus leading the influence on normal network data flow by the Ether link circuit detection function to be reduced greatly.

Description

A kind of chain circuit detecting method, Apparatus and system
Technical field
The present invention relates to the computer network communication technology field, relate in particular to a kind of chain circuit detecting method, Apparatus and system.
Background technology
Link keep-alive of the prior art (Keepalive) technology refers to equipment by regularly sending request message, and receives back message using, confirms a kind of the method whether equipment of adjacency survives.A large amount of unreliabilities that main cause is a physical link using the Keepalive mechanism to come keep-alive, in non-point to point network environment, intermediate node breaks down, the fault that terminal can not perception link bearer in time business.Whether unobstructed ping be the order that is used for checking network or network connection speed.The principle that it utilized is: the machine on the network all has well-determined IP address, we send a packet to target ip address, the other side will return an onesize packet, and we can determine whether destination host exists according to the packet that returns.
Stelliform connection topology configuration be with a node as Centroid, the network that other node directly links to each other with Centroid and constitutes.The network of stelliform connection topology configuration belongs to centralized control type network, and each node that will send data sends to Centroid to the data that will send, and is responsible for data are delivered to destination node by Centroid again.Therefore, Centroid is quite complicated, and the communication process of each node burden is all very little.Stelliform connection topology configuration is simple relatively, is convenient to management, and networking is easy, is a kind of topological structure that present local area network (LAN) generally adopts.
In more existing networking modes (for example networking mode of financial sector), each site all is to adopt the DDN lines access networks, operation PPP or FR agreement, and these agreements itself possess the keepalive function, can detect whether operate as normal of link.But, along with multiservice transport platform (MSTP, multi-sevice transport platform) Ye Wu development, the mode that has gradually adopted Ethernet to insert, but do not move link layer protocol on the Ethernet switch, can't detect whether operate as normal of link by link layer protocol as Wide Area Network interface.
Way commonly used at present is to produce special ping message by this locality to detect link, the benefit of doing like this is can transparently pass a plurality of go-betweens directly to detect state between 2, do not need the opposite end detection node to start special business, can satisfy the compatible requirement of different manufacturers.
Existingly utilize method that the ping message detects Ethernet link between subscriber equipment (CE, Customer Equipment) and operator's equipment (PE, Provider Equipment) as shown in Figure 1.Wherein, a PE connects a plurality of CE by network; PE and CE adopt Ethernet mode access network; because Ethernet itself does not have the link keepalive mechanism; so send the survival that the ping request message detects CE by PE to CE, equally also send the survival that the ping request message detects PE to PE by CE.This as can be seen ping message is two-way on network.
This method exists very big defective: center P E to adopt the processing mode identical with CE, PE will send out the ping response message and remove each CE of poll, and this poll time is generally Millisecond, after CE quantity is increased to a certain degree, it is quite big that the load at PE place becomes, the also corresponding step-down of PE link bandwidth.This moment, PE will become the bottleneck of whole network.
Summary of the invention
The embodiment of the invention provides a kind of chain circuit detecting method, Apparatus and system; PE links to each other with a plurality of CE in the prior art in order to solve; PE and each CE move the Ethernet link keep-alive protocol; cause the central site network bandwidth to be taken in a large number; PE is in the heavy-duty service state always, the affected problem of forwarding of normal business datum flow.
A kind of chain circuit detecting method, this method comprises:
Subscriber equipment sends the ping message to operator's equipment in setting duration, described operator equipment does not initiatively send the ping message;
Whether the Equipment Inspection of described operator receives described ping message in the first setting duration, if, determine described subscriber equipment survival, otherwise, determine that described subscriber equipment do not survive, and when receiving described ping message, send response message to corresponding user equipment;
If subscriber equipment second is set the response message that does not receive operator's equipment in the duration after sending the ping message, then subscriber equipment determines that operator's equipment no longer survives, otherwise then subscriber equipment is determined operator's equipment survival.
A kind of operator equipment, described operator equipment does not initiatively send the ping message, and described operator equipment comprises first judging unit and response unit, wherein,
Whether described first judging unit is used for detecting setting in the duration first and receives described ping message, if, determine described subscriber equipment survival, otherwise, determine that described subscriber equipment do not survive;
Described response unit is used for that the subscriber equipment to described correspondence sends response message when receiving described ping message.
A kind of link detecting system, this system comprises subscriber equipment and operator's equipment, wherein,
Described subscriber equipment comprises the transmitting element and second judging unit; Described transmitting element is used for sending the ping message to operator's equipment in setting duration; Described second judging unit is used for second setting when not receiving the response message of operator's equipment in the duration after sending the ping message, determines that operator's equipment no longer survives, otherwise, determine operator's equipment survival;
Described operator equipment comprises first judging unit and response unit; Whether described first judging unit is used for detecting setting in the duration first and receives described ping message, if, determine described subscriber equipment survival, otherwise, determine that described subscriber equipment do not survive; Described response unit is used for sending response message to described subscriber equipment when receiving described ping message, and described operator equipment does not initiatively send the ping message.
The embodiment of the invention sends the ping message by subscriber equipment to operator's equipment; Described operator equipment determines according to whether receiving described ping message whether described subscriber equipment survives, and sends response message to corresponding user equipment when receiving described ping message; Whether described subscriber equipment basis receives described response message is determined whether described operator equipment survives.The scheme that the embodiment of the invention provides has alleviated the load of the equipment PE of operator greatly, and the network traffics that the ping message is taken have reduced half, make the Ethernet link measuring ability reduce greatly the influence of network normal data flow.
Description of drawings
Fig. 1 is that ethernet link detects schematic network structure in the prior art;
Fig. 2 is the main realization principle flow chart of the embodiment of the invention 1;
Fig. 3 detects schematic network structure for the ethernet link that the embodiment of the invention 2 provides;
The link detecting principle compares schematic diagram to Fig. 4 (a)~Fig. 4 (b) in scheme and the prior art for the embodiment of the invention provides;
Fig. 5 provides the structural representation of operator's equipment for the embodiment of the invention 3;
Fig. 6 provides the structural representation of system for the embodiment of the invention 4.
Embodiment
Because in the existing Ethernet link detecting process, the equipment PE of operator should receive and respond the ping bag of each subscriber equipment CE, initiate and receive ping bag again to each subscriber equipment CE, after CE quantity is increased to a certain degree, it is quite big that the load at PE place becomes, the also corresponding step-down of PE link bandwidth.Therefore, in order to reduce the load of PE, the embodiment of the invention does not initiatively send the ping message to PE, the ping message that sends with CE is as detecting foundation, thereby reduced the intensity that PE need handle message, the network traffics that the ping message is taken have reduced half, make the Ethernet link measuring ability reduce greatly the influence of network normal data flow.
The equipment PE of operator and the subscriber equipment CE of indication in the embodiment of the invention, and not only refer to the equipment of the management of operator in the practical application and the equipment of user management, but adopt Centroid and fringe node in the network of similar star-shaped network structure corresponding to all, as long as need to adopt in the network of ethernet link measuring ability the scheme that all applicable embodiment of the invention provides.
Be explained in detail to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
As shown in Figure 2, the main realization principle process of the embodiment of the invention 1 is as follows:
Step 10, subscriber equipment CE sends the ping message to the equipment PE of operator;
In the present embodiment, a PE can link to each other with a plurality of CE, and each CE moves the Ethernet link keep-alive protocol.Concrete network configuration as shown in Figure 3, wherein, CE1~CE4 is connected with PE by network, and respectively to PE transmission ping message.Here, be example only there to be 4 CE in the network, the principle and the technical method of the embodiment of the invention is described, in fact, can there be a plurality of CE in the network.
Step 20, the equipment PE of operator determines according to whether receiving described ping message whether subscriber equipment CE survives, and sends response message to corresponding user equipment CE when receiving described ping message;
PE can judge and think that the CE that sends this ping message is survival, and send response message to this CE after receiving a ping message.
Here, can preestablish one first and set duration, when not receiving the ping message that CE sends in the duration that PE is setting, think that this CE loses, no longer survival.If in the duration of setting, receive the ping message that CE sends, think this CE survival, and send response message to this CE.In like manner, CE must send the ping message to PE in setting duration.The setting duration here can be set with the network actual state as required, and can adjust as required.
Step 30, whether subscriber equipment CE basis receives described response message is determined whether the equipment PE of operator survives.
CE waits for the response message of PE after transmission ping message is to PE.If set the response message that does not receive PE in the duration, think that PE loses, no longer survival predefined second; If in the duration of setting, receive the response message of PE, think the PE survival.
In the present embodiment 1, PE is not sending the ping message to CE, and only the ping message that sends according to CE judges whether CE survives, thereby has saved the utilization of resources of link detecting, makes the Ethernet link measuring ability reduce greatly the influence of network normal data flow.
Accordingly, the schematic network structure of the embodiment of the invention 2 as shown in Figure 3, wherein,
1, enabled a kind of new pattern on PE, be called the Inactive pattern, the pattern of CE work is called the Active pattern.
2, the CE equipment work mode of Active pattern is: initiatively send the ping message to opposite end PE equipment, by detecting response message that opposite end PE equipment beams back to judge the survival of opposite end PE equipment.
3, the PE equipment of Inactive pattern is not initiatively initiated the ping message and is removed to detect each opposite end CE equipment, it only detects the ping message that the CE equipment of each Active pattern is sent, received the active equipment survival of just thinking corresponding in the time limit of regulation, the time limit of overshoot does not receive that the ping message that corresponding active equipment is sent then thought this device losses.
4, on the PE equipment that the Inactive pattern configurations converges at the center, and it must could operate as normal under the cooperation of the CE of active pattern equipment.
5, for PE, it only detects and responds the ping message that each CE sends, and can not remove each CE of poll, and machine utilization is very little; Ping message and its corresponding response message of having only each CE to send on the network.
With shown in Fig. 4 (b), be the contrast of the embodiment of the invention and prior art as Fig. 4 (a).Fig. 4 (a) is an ethernet link detection scheme in the prior art, identical processing mode is adopted at two ends, be responsible for the reply message of initiating the echo message and detecting the opposite end by sending module, be responsible for receiving the echo message of sending the opposite end and beam back the reply message by receiver module.The ethernet link detection scheme that Fig. 4 (b) provides for the embodiment of the invention, the center convergence router is configured to the Inactive pattern, and the node configuration of routers is the Active pattern, and the node router regularly sends the echo message, the center convergence router is beamed back the reply message, and detects this echo message.The echo message here is the ping message, and the reply message is response message.
Correspondingly, the embodiment of the invention 3 also provides a kind of operator equipment, as shown in Figure 5, comprises first judging unit 21 and response unit 22, and is specific as follows:
First judging unit 21 is used for determining according to whether receiving described ping message whether corresponding subscriber equipment CE survives;
Response unit 22 is used for that the subscriber equipment CE to correspondence sends response message when receiving described ping message.
Preferably, the operator's equipment in the foregoing description 3 also comprises duration setup unit 23, is used for setting as required and adjusting first and sets duration;
First judging unit 21 determines according to whether receiving described ping message at the first setting duration whether subscriber equipment CE survives.
Accordingly, the embodiment of the invention 4 also provides a kind of link detecting system, as shown in Figure 6, comprises subscriber equipment and operator's equipment, wherein,
Subscriber equipment is used for sending the ping message to operator's equipment; Receive the response message of operator's equipment and determine according to response message whether operator's equipment survives;
Operator's equipment is used for determining according to whether receiving the described ping message that subscriber equipment sends whether subscriber equipment survives; And to subscriber equipment transmission response message.
Preferably, the subscriber equipment in the foregoing description 4 comprises the transmitting element 100 and second judging unit 400, and operator's equipment comprises first judging unit 200 and response unit 300, and is specific as follows:
Transmitting element 100 is used for sending the ping message to the equipment PE of operator of described first judging unit, 200 correspondences;
First judging unit 200 is used for determining according to whether receiving described ping message whether the subscriber equipment CE of transmitting element 100 correspondences survives;
Response unit 300 is used for sending response message to the subscriber equipment CE of transmitting element 100 correspondences;
Second judging unit 400 is used for judging according to the response message that receives whether the equipment PE of operator of response unit 300 correspondences survives.
Especially, whether the described equipment PE of operator according to sets first and receives the ping message that described subscriber equipment CE sends in the duration and determine whether described subscriber equipment CE survives; Whether described subscriber equipment CE basis sets the response message that receives the described equipment PE of operator transmission in the duration second is determined whether the described equipment PE of operator survives.
Especially, can comprise a plurality of subscriber equipmenies in this system.
To sum up, the scheme that the embodiment of the invention provides has alleviated the load of the equipment PE of operator greatly, and the network traffics that the ping message is taken have reduced half, make the Ethernet link measuring ability reduce greatly the influence of network normal data flow.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (6)

1. a chain circuit detecting method is characterized in that, this method comprises:
Subscriber equipment sends the ping message to operator's equipment in setting duration, described operator equipment does not initiatively send the ping message;
Whether the Equipment Inspection of described operator receives described ping message in the first setting duration, if, determine described subscriber equipment survival, otherwise, determine that described subscriber equipment do not survive, and when receiving described ping message, send response message to corresponding user equipment;
If subscriber equipment second is set the response message that does not receive operator's equipment in the duration after sending the ping message, then subscriber equipment determines that operator's equipment no longer survives, otherwise then subscriber equipment is determined operator's equipment survival.
2. the method for claim 1 is characterized in that, it is the time span of setting as required that the described first setting duration and second is set duration, and can adjust as required.
3. method as claimed in claim 1 or 2 is characterized in that, described subscriber equipment is a plurality of.
4. operator's equipment is characterized in that, described operator equipment does not initiatively send the ping message, and described operator equipment comprises first judging unit and response unit, wherein,
Whether described first judging unit is used for detecting setting in the duration first and receives described ping message, if, determine described subscriber equipment survival, otherwise, determine that described subscriber equipment do not survive;
Described response unit is used for that the subscriber equipment to described correspondence sends response message when receiving described ping message.
5. a link detecting system is characterized in that, this system comprises subscriber equipment and operator's equipment, wherein,
Described subscriber equipment comprises the transmitting element and second judging unit; Described transmitting element is used for sending the ping message to operator's equipment in setting duration; Described second judging unit is used for second setting when not receiving the response message of operator's equipment in the duration after sending the ping message, determines that operator's equipment no longer survives, otherwise, determine operator's equipment survival;
Described operator equipment comprises first judging unit and response unit; Whether described first judging unit is used for detecting setting in the duration first and receives described ping message, if, determine described subscriber equipment survival, otherwise, determine that described subscriber equipment do not survive; Described response unit is used for sending response message to corresponding user equipment when receiving described ping message, and described operator equipment does not initiatively send the ping message.
6. system as claimed in claim 5 is characterized in that, comprises several described subscriber equipmenies in the described system.
CN200810118941XA 2008-08-27 2008-08-27 Link detection method, apparatus and system Active CN101340320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810118941XA CN101340320B (en) 2008-08-27 2008-08-27 Link detection method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810118941XA CN101340320B (en) 2008-08-27 2008-08-27 Link detection method, apparatus and system

Publications (2)

Publication Number Publication Date
CN101340320A CN101340320A (en) 2009-01-07
CN101340320B true CN101340320B (en) 2011-08-17

Family

ID=40214280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810118941XA Active CN101340320B (en) 2008-08-27 2008-08-27 Link detection method, apparatus and system

Country Status (1)

Country Link
CN (1) CN101340320B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140301181A1 (en) * 2013-04-03 2014-10-09 Qualcomm Incorporated Detecting, reporting, and recovering from potential service disruptions
CN108632112B (en) * 2018-04-12 2022-05-24 腾讯科技(深圳)有限公司 Network detection method and device, computer readable storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1681254A (en) * 2004-04-08 2005-10-12 华为技术有限公司 Maintaining method of Ethernet link state
CN101015170A (en) * 2004-09-07 2007-08-08 皇家飞利浦电子股份有限公司 Pinging for the presence of a server in a peer to peer monitoring system
CN101094121A (en) * 2007-07-23 2007-12-26 华为技术有限公司 Method, system and device for detecting Ethernet links among not direct connected devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1681254A (en) * 2004-04-08 2005-10-12 华为技术有限公司 Maintaining method of Ethernet link state
CN101015170A (en) * 2004-09-07 2007-08-08 皇家飞利浦电子股份有限公司 Pinging for the presence of a server in a peer to peer monitoring system
CN101094121A (en) * 2007-07-23 2007-12-26 华为技术有限公司 Method, system and device for detecting Ethernet links among not direct connected devices

Also Published As

Publication number Publication date
CN101340320A (en) 2009-01-07

Similar Documents

Publication Publication Date Title
EP3082309B1 (en) Sdn controller, data centre system and router connection method
CN101132320B (en) Method for detecting interface trouble and network node equipment
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN110730111A (en) Network quality monitoring method, device, server and medium
WO2021043086A1 (en) Method, device and system for establishing sbfd session
CN102083136B (en) Wireless network control method and wireless controller
US8638692B2 (en) System and method for end-to-end automatic configuration of network elements using a link-level protocol
CN102801623B (en) Multi-access data transmitting method and device
CN100531071C (en) Method and system for link failure detection and device for link failure detection
CN101483592B (en) Method and apparatus for inhibiting bidirectional forwarding detection link oscillation
EP1919138A1 (en) A method for implementing backup of the uplink
CN101697626A (en) Communication fault detection method and system based on two-way forwarding detection protocol
CN104168193A (en) Virtual router redundancy protocol fault detection method and router equipment
CN103119400B (en) For the method and apparatus of the state synchronized of serial data link session connected across IP network
CN105656715B (en) Method and apparatus for monitoring the state of cloud computing environment lower network equipment
CN103581025A (en) Method and system for processing routing information and equipment
CN105871667B (en) A kind of method for switching network of gateway
CN105281951A (en) Double-main-device conflict detection method for VSU system, and network equipment
KR20120134466A (en) Mesh network node and data transferring method thereof
CN103259687A (en) Air traffic control data access platform in civil aviation
CN101296126B (en) Link fault announcing method, interface management unit and router
CN103220189A (en) Multi-active detection (MAD) backup method and equipment
EP2874349B1 (en) Communication path processing method and apparatus
CN101340320B (en) Link detection method, apparatus and system
CN101808043A (en) Method and device for detecting service message forwarding state of TRUNK members

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Zhou Jian

Document name: Notification of Passing Examination on Formalities

DD01 Delivery of document by public notice

Addressee: Zhou Jian

Document name: the First Notification of an Office Action

C14 Grant of patent or utility model
GR01 Patent grant