CN105591837A - Link monitoring method and device - Google Patents

Link monitoring method and device Download PDF

Info

Publication number
CN105591837A
CN105591837A CN201510706968.0A CN201510706968A CN105591837A CN 105591837 A CN105591837 A CN 105591837A CN 201510706968 A CN201510706968 A CN 201510706968A CN 105591837 A CN105591837 A CN 105591837A
Authority
CN
China
Prior art keywords
monitoring
entity
facility information
policing port
edge device
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.)
Granted
Application number
CN201510706968.0A
Other languages
Chinese (zh)
Other versions
CN105591837B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201510706968.0A priority Critical patent/CN105591837B/en
Publication of CN105591837A publication Critical patent/CN105591837A/en
Application granted granted Critical
Publication of CN105591837B publication Critical patent/CN105591837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a link monitoring method. The method comprises: when an edge device monitors the state changing of a monitoring port, the edge device sends a notification carrying the current state of the monitoring entity corresponding to the monitoring port to other edge devices and local monitoring entities corresponding to the monitoring ports in the same monitoring domain as the monitoring port; and when the notification carrying the current state of the remote monitoring entity sent by other edge devices is received, the notification is sent to local monitoring entities through local monitoring ports in the monitoring domains corresponding to the domain identification carried in the notification, and the local monitoring entities obtain the current state of the remote monitoring entity. On the basis of the same invention conception, the invention further provides a link monitoring device which is able to rapidly percept the state changing of a device.

Description

A kind of link monitoring method and apparatus
Technical field
The present invention relates to communication technical field, particularly a kind of link monitoring method and apparatus.
Background technology
Star-like stacking by common double layer network connection, centre may be across a lot of equipment, stack memberThe equipment room directly stacking link of perception disconnects (down), cannot find in time stacking splitting, conventionallyCan only rely on the overtime discovery stack member apparatus down that shakes hands, therefore, when stack member apparatus linkdownTime, can produce long period packet loss phenomenon and business and switch slow phenomenon.
Current is star-like stacking, be to rely on heartbeat timeout to find stack member apparatus down, and in order to protectStablizing of card stack member apparatus is stacking, and the time of heartbeat timeout will inevitably arrange one when relatively longBetween, be typically 5 seconds overtime.
Existing technology is stacking stable very beneficial for safeguarding, but for stack member apparatus downTime business switch be but intolerable, business switch need within the short as far as possible time, complete.
Summary of the invention
In view of this, the application provides a kind of link monitoring method and apparatus, to solve awareness apparatus state variationThe problem that time delay is long.
For solving the problems of the technologies described above, the application's technical scheme is achieved in that
A kind of link monitoring method, the method is applied in the networking that at least comprises a monitoring territory, each monitoringTerritory at least comprises monitoring entity and edge device; This edge device is the equipment direct-connected with monitoring entity, this limitThe port being connected with monitoring entity on edge equipment is policing port; The method comprises:
When this edge device monitors the state variation of policing port, respectively to other edge device and local andThis policing port belongs to the monitoring entity transmission corresponding to policing port in same monitoring territory and carries this policing port pairThe notice of the current state of the monitoring entity of answering, and in this notice, carry the monitoring territory under this policing portDomain identifier; The current state of monitoring entity is the state after corresponding policing port state variation;
While receiving the notice of carrying remote monitoring entity current state of other edge device transmission, logical by thisKnow that the local monitor port in the monitoring territory that the domain identifier that carries is corresponding sends to local monitor entity, makes this localityMonitoring entity is known the current state of remote monitoring entity.
A kind of link monitoring device, the edge device of this application of installation in the networking that at least comprises a monitoring territoryUpper, each monitoring territory at least comprises monitoring entity and edge device; This edge device is direct-connected with monitoring entityEquipment, the port being connected with monitoring entity on this edge device is policing port; This device comprises: monitoringUnit, receiving element and transmitting element;
Described monitoring unit, for monitoring the state of policing port;
Described receiving element, carries remote monitoring entity current state for what receive that other edge device sendsNotice;
Described transmitting element, in the time that described monitoring unit monitors the state variation of policing port, respectively toOther edge device and local and this policing port belong to the monitoring reality corresponding to policing port in same monitoring territoryBody sends the notice of the current state of carrying the monitoring entity that this policing port is corresponding, and carries in this noticeThe domain identifier in the monitoring territory under this policing port; The current state of monitoring entity is corresponding policing port stateState after variation; Carry remote monitoring entity when what described receiving element received that other edge device sendsWhen the notice of current state, the local monitor port in monitoring territory corresponding to the domain identifier that carries by this noticeSend to local monitor entity, make local monitor entity know the current state of remote monitoring entity.
From technical scheme above, in the application with the direct-connected equipment of monitoring entity, i.e. edge device;Monitor the state of local each monitoring entity by the edge device in same monitoring territory, and notice is given far awayEnd monitoring entity, makes each monitoring entity in same monitoring territory know the state of other monitoring entity. Pass throughThis technical scheme, state variation that can quick sensing equipment.
Brief description of the drawings
Fig. 1 is the embodiment of the present application link monitoring networking schematic diagram;
Fig. 2 is the embodiment of the present application one link monitoring schematic flow sheet;
Fig. 3 is the schematic flow sheet of the facility information of the embodiment of the present application two transmitting, monitoring entities;
Fig. 4 is the schematic flow sheet of the facility information of the embodiment of the present application three transmitting, monitoring entities;
Fig. 5 is the star-like stacking networking schematic flow sheet of the embodiment of the present application;
Fig. 6 is the apparatus structure schematic diagram of applying above-mentioned technology in the embodiment of the present application.
Detailed description of the invention
In order to make the application's object, technical scheme and advantage clearer, below in conjunction with accompanying drawing alsoFor embodiment, the application's technical scheme is elaborated.
A kind of link monitoring method is provided in the embodiment of the present application, and the method is applied to and at least comprises a prisonIn the networking in control territory, each monitoring territory at least comprises monitoring entity and edge device; In each monitoring territoryBetween monitoring entity, be not directly connected, striding equipment is connected. The networking here can be double layer network, threeLayer networks etc., do not limit the concrete networking of network.
Edge device is the equipment direct-connected with monitoring entity, the port being connected with monitoring entity on edge deviceFor policing port; Monitor the state of local monitor entity by the edge device in monitoring territory, and pass throughOther edge device is notified to remote monitoring entity, makes the each monitoring entity in same territory know other monitoringThe state of entity. By this technical scheme, state variation that can quick sensing equipment.
In the time of specific implementation, an edge device can belong in a monitoring territory, also can belong to multipleIn monitoring territory, the policing port of edge device can be configured in a monitoring territory according to actual needs, orBe configured in different monitoring territory.
Monitoring entity in the embodiment of the present application be for monitoring it, to obtain this watch-dogThe equipment of state, information.
Arbitrary monitoring entity in each monitoring entity that striding equipment connects need to be known the shape of other monitoring entityState and facility information, to carry out the processing of related data, network structure, specifically process according to realityNetworking determines, as this networking be one star-like stacking, monitoring entity is that this star-like member in stacking establishesStandby, edge device be in networking with the direct-connected equipment of member device.
Referring to Fig. 1, Fig. 1 is the embodiment of the present application link monitoring networking schematic diagram.
In Fig. 1, equipment 1, equipment 2, equipment 3, equipment 4, equipment 5 and equipment 6 are monitoring entity,Edge device 1 is the equipment direct-connected with equipment 1, equipment 2 and equipment 3; Edge device 2 be with equipment 4,Equipment 5 and the direct-connected equipment of equipment 6. Miscellaneous equipment in networking, is connected between each edge deviceEquipment also can be described as intermediate equipment, can be one and also can be many.
In actual networking, an edge device can only be connected with a monitoring entity, also can be with manyIndividual monitoring entity is connected, if be connected with multiple monitoring entities, and the monitoring client being connected with each monitoring entityMouth is unique. Port one, port 2, port 3, port 4, port 5 and port 6 in Fig. 1 claimFor policing port. Policing port is used for sending probe messages to monitoring entity, and sends and connect to monitoring entityThe facility information of other monitoring entity of receiving.
For monitoring entity, the port being connected with edge device, for receiving edge device by this portThe probe messages sending, and the probe messages of carrying the facility information of this monitoring entity to edge device response;Also receive the facility information of the remote monitoring entity of edge device transmission by this port, and state.
This networking comprises two monitoring territories, and domain identifier is respectively territory 1 and territory 2, wherein, and edge device1 had both belonged to monitoring territory 1, also belonged to monitoring territory 2, and port 4 belongs to monitoring territory 1, port 5 and port 6Belong to monitoring territory 2. Edge device 2 belongs to monitoring territory 1.
Taking edge device 1 as example, equipment 4, equipment 5 and equipment 6 are local monitor entity, equipment 1,Equipment 2 and equipment 3 are remote monitoring entity.
Below in conjunction with accompanying drawing, describe in detail in the embodiment of the present application and realize link monitoring process.
Embodiment mono-
Referring to Fig. 2, Fig. 2 is the embodiment of the present application one link monitoring schematic flow sheet. Concrete steps are:
Step 201, when this edge device monitors the state variation of policing port, respectively to other edge deviceAnd monitoring entity transmission corresponding to policing port that local and this policing port belong to same monitoring territory carried thisThe notice of the current state of the monitoring entity that policing port is corresponding, and in this notice, carry this policing port instituteThe domain identifier in the monitoring territory belonging to.
In this step, the current state of monitoring entity is the state after corresponding policing port state variation; Policing portState variation comprise: become down state from up state; Become up state from down state; SpeedThe variation of variation (variation of transfer rate), working method (as the change between simplex mode and duplex modeChange).
Due to the policing port local port that is edge device, when the state variation of this port, edge device canReal-time perception arrives, and can greatly save the link failure time;
And the state using the state of this policing port as corresponding monitoring entity, and send to other in networkingEdge device, makes other edge device send to local monitor entity separately again.
Step 202, what this edge device received that other edge device sends carries the current shape of remote monitoring entityWhen the notice of state, the local monitor port in monitoring territory corresponding to the domain identifier that carries by this notice sends toLocal monitor entity, makes local monitor entity know the current state of remote monitoring entity.
Edge device, in the time receiving the state notifying that carries remote monitoring entity of other edge device transmission, needsDetermine the local monitoring in the monitoring territory that this domain identifier is corresponding that whether belongs to according to the domain identifier carrying in this noticePort, if do not exist, abandons the notice message receiving; Exist, by same monitoring territoryPolicing port sends to corresponding monitoring entity.
The realization of technique scheme, has significantly improved the perception efficiency that equipment state changes, from relying on the heartJump overtime perception and become the real-time perception that Interface status changes. Such as originally needing within 5 seconds, overtimely just can know afterwardsRoad device-down, is just perception at once after interface down now, and detecting period rises to milliSecond grade.
Embodiment bis-
Referring to Fig. 3, Fig. 3 is the flow process signal of the facility information of the embodiment of the present application two transmitting, monitoring entitiesFigure. Concrete steps are:
Step 301, edge device sends monitoring message by policing port to local monitor entity, makes thisGround monitoring entity is responded the monitoring message of the facility information that carries this monitoring entity.
Edge device sends monitoring when message by local monitor port, if security consideration, also canThe domain identifier in the monitoring territory under this policing port is carried in monitoring in message.
Monitoring entity is in the time receiving monitoring message, if domain identifier and this monitoring that this monitoring message carriesThe domain identifier in the monitoring territory under entity is identical, just can respond the facility information of monitoring entity; Otherwise, noRespond.
Step 302, when this edge device receives the monitoring message of the facility information that carries local monitor entity,Store the facility information of corresponding local monitor entity for this policing port, and send to other edge device,And when to other edge devices transmissions, carry the domain identifier in the monitoring territory under this monitoring entity.
The concrete form of the monitoring message sending in the present embodiment is not restricted, as being handshake message etc.
The facility information of monitoring entity, determines according to the actual conditions of concrete networking, and the monitoring entity time needsKnow which information, which information the facility information of the monitoring entity so here can comprise. As monitor realityBody is the member device in pile system, and the facility information of monitoring entity comprises: pile system mark (territoryMark), member's mark, priority etc.
Step 303, this edge device receives the facility information of the remote monitoring entity of other edge device transmissionTime, send to local monitor entity by the policing port in the monitoring territory under described remote monitoring entity,Make local monitor entity obtain the facility information of remote monitoring entity.
Embodiment tri-
Referring to Fig. 4, Fig. 4 is the flow process signal of the facility information of the embodiment of the present application three transmitting, monitoring entitiesFigure. Concrete steps are:
Step 401, edge device receives the monitoring message of the facility information that carries local monitor entity.
Step 402, this edge device determines for the policing port that receives monitoring message whether stored monitoring in factThe facility information of body, if so, execution step 403; Otherwise, execution step 406.
Step 403, this edge device is determined in the facility information and described monitoring message of the monitoring entity of having storedWhether the facility information of the local monitor entity carrying is identical, if so, and execution step 404; Otherwise, carry outStep 405.
Step 404, the facility information that this edge device maintains the local monitoring entity of having stored is constant, finishes thisFlow process.
Step 405, the facility information that this edge device uses the local monitor entity that described monitoring message carries moreThe facility information of the new monitoring entity of having stored for described policing port, and by the monitoring entity after upgradingFacility information sends to other edge device, process ends.
Edge device, in the time sending the facility information of the monitoring entity after upgrading to other edge device, carries this prisonThe domain identifier in the monitoring territory under control entity.
Step 406, this watch-dog is stored the equipment letter of corresponding local monitor entity for this policing portBreath, and the facility information of this monitoring entity is sent to other edge device.
Edge device, in the time sending the facility information of this monitoring entity to other edge device, carries this monitoring entityThe domain identifier in affiliated monitoring territory.
In the embodiment of the present application, also can make facility information that edge device only forwards monitoring entity to other edgeEquipment, then be transmitted to local monitoring entity by other edge device, resolve remote monitoring by monitoring entityThe facility information of entity, and edge device is as long as entirety forwards, and does not need to resolve, know monitoring entityThe particular content of facility information, which monitoring entity does not also need to know is.
The present embodiment provides flow process how to know the facility information of remote monitoring entity between each monitoring entity, logicalCross edge device and local monitor entity interaction, and in the time that the facility information of local monitor entity changes,Just notice, to remote monitoring entity, has been saved the transmission of data in networking greatly.
When edge device carries the notice of current state of local monitor entity to other edge device transmission, described inMethod further comprises: in this notice, carry the facility information of the monitoring entity that this policing port is corresponding, makeThe monitoring entity that receives this notice knows that the current state of carrying is monitoring entity that this policing port is correspondingState.
In state variation, while sending the state after changing, carry the facility information of monitoring entity, make far awayEnd monitoring entity is resolved and is known that variation has occurred the state of which monitoring entity, and this edge device, andRemote edge equipment only forwards, and does not carry out the parsing of the facility information of monitoring entity.
With the star-like example that is stacked as of concrete networking, describe in detail in the embodiment of the present application and realize link monitoring belowProcess.
Referring to Fig. 5, Fig. 5 is the star-like stacking networking schematic flow sheet of the embodiment of the present application.
In Fig. 5, edge device 1, edge device 2 and edge device 3 belong to monitoring territory 1001 for example,Operation monitoring agreement on each edge device, is achieved as follows function:
For edge device, the port (policing port) being connected with monitoring entity, for realizing to monitoringEntity sends probe messages, and monitoring entity is sent to the facility information of other monitoring entity receivingFunction; Edge device and other edge device, or the connected port (notice port) of intermediate equipment, useIn realizing the notice that sends the state that carries local monitor entity to other edge device, and local monitorThe function of the facility information of the monitoring entity that port is corresponding.
For monitoring entity, the port (echo port) being connected with edge device, for realizing by being somebody's turn to doPort receives the probe messages that edge device sends, and responds and carry establishing of this monitoring entity to edge deviceThe probe messages of standby information; Also receive the equipment of the remote monitoring entity of edge device transmission by this portInformation, and the function of state.
With the example that is configured on edge device 1, specific as follows: on edge device 1, to enable dmp (deviceMonitorprotocol) monitoring protocol, configuration monitoring territory 1001, and policing port GE0/10 and logicalKnow port GE0/11.
Edge device 2 and and edge device 3 on configuration and configuration on edge device 1 similar, memberConfiguration on configuration and member device 1 on equipment 2 and member device 3 is similar, here no longer one actionExample.
Complete after above-mentioned configuration, start to realize correlation function.
Edge device 1 sends monitoring message by port GE0/10 to member device 1.
When member device 1 receives the monitoring message that edge device 1 sends, to edge device 1 by endMouth GE1/0/1 responds the monitoring message of the facility information that carries member device 1.
When edge device 1 receives the monitoring message of the facility information that carries member device 1, determine forWhether port GE0/10 has stored the facility information of monitoring entity;
In the time storing, determine whether identically, if so, maintain the establishing of monitoring entity of original storageStandby information, the i.e. facility information of member device 1; Otherwise, upgrade the equipment of the monitoring entity of having stored and believeBreath, and send to edge device 2 and edge device 3 by port GE0/11, and carry territory in the time sendingMark 1001.
When edge device 2 and edge device 3 receive the facility information of member device 1, pass through domain identifierLocal monitor port repeat in the monitoring territory of 1001 correspondences is given local member device 2 and member device 3.
For edge device 2, in the monitoring territory of domain identifier 1001 correspondences, local monitor port isGE1/10, for edge device 3, in the monitoring territory of domain identifier 1001 correspondences, local monitor port isGE2/10,
In star-like stacking networking, the facility information of monitoring entity comprises: stacking territory, member id, priorityDeng.
The state of edge device monitoring local monitor port, in the time of policing port state variation, notifies otherEdge device, taking edge device 1 as example:
The state that edge device 1 monitors policing port G0/10 becomes down from up and (works as member deviceWhen the state of 1 port GE0/0/1 is down, the state of policing port G0/10 can be also down)Time, can notify edge device 2 and edge device 3, the current state of member device 1 is down, passes throughThe facility information that carries member device 1 makes member device 2 and member device 3 know working as of member device 1Front state is down, carries domain identifier 1001, makes member device be informed in the prison of domain identifier 1001 correspondencesWatch-dog in control territory, the facility information of forwarding member device 1.
When edge device 2 and edge device 3 receive this notice, according to the domain identifier correspondence in this noticeMonitoring territory determine need be transmitted to local monitoring entity, member device 2 is known into member device 3The current state of member's equipment 1 is down.
DMP module on member device 2 and member device 3 can be notified dmpuser (being IRF module),IRF module just can know that the state of member device 1 is down.
Based on same inventive concept, the application also proposes a kind of link monitoring device, this application of installation inAt least comprise one monitoring territory networking in edge device on, each monitoring territory at least comprises monitoring entityAnd edge device; This edge device is the equipment direct-connected with monitoring entity, real with monitoring on this edge deviceThe connected port of body is policing port. Referring to Fig. 6, Fig. 6 is the above-mentioned technology of applying in the embodiment of the present applicationApparatus structure schematic diagram. This device comprises: monitoring unit 601, receiving element 602 and transmitting element603;
Monitoring unit 601, for monitoring the state of policing port;
Receiving element 602, carries remote monitoring entity current state for what receive that other edge device sendsNotice;
Transmitting element 603, in the time that monitoring unit 601 monitors the state variation of policing port, respectively toOther edge device and local and this policing port belong to the monitoring reality corresponding to policing port in same monitoring territoryBody sends the notice of the current state of carrying the monitoring entity that this policing port is corresponding, and carries in this noticeThe domain identifier in the monitoring territory under this policing port; The current state of monitoring entity is corresponding policing port stateState after variation; Carry remote monitoring entity when what receiving element 602 received that other edge device sendsWhen the notice of current state, the local monitor port in monitoring territory corresponding to the domain identifier that carries by this noticeSend to local monitor entity, make local monitor entity know the current state of remote monitoring entity.
Preferably,
The state variation of described policing port comprises: become from work up state the down state that disconnects; By downState becomes up state; The variation of speed, the variation of working method.
Preferably, this device further comprises: memory cell 604;
Transmitting element 603, is further used for sending monitoring message by policing port to local monitor entity, makesLocal monitor entity is responded the monitoring message of the facility information that carries this monitoring entity;
Receiving element 602, is further used for receiving the monitoring message of facility information that carries local monitor entity;In the time receiving the facility information of remote monitoring entity of other edge device transmission, trigger transmitting element 603Send to local monitor entity by the policing port in the monitoring territory under described remote monitoring entity, make thisGround monitoring entity obtains the facility information of remote monitoring entity;
Memory cell 604, for receiving the facility information that carries local monitor entity when receiving element 602When monitoring message, store the facility information of corresponding local monitor entity for this policing port, and trigger and send outSend unit 603 that the facility information of corresponding monitoring entity is sent to other edge device, and to other limitsEdge equipment carries the domain identifier in the monitoring territory under this monitoring entity while transmission;
Preferably,
Memory cell 604, is further used for receiving when receiving element 602 equipment that carries local monitor entityWhen the monitoring message of information, determine that whether to have stored monitoring for the policing port that receives described monitoring message realThe facility information of body; When determining the facility information of having stored monitoring entity for described policing port, determineThe equipment letter of the local monitor entity carrying in the facility information of the monitoring entity of having stored and described monitoring messageWhether cease identically, if so, the facility information that maintains the local monitoring entity of having stored is constant; Otherwise, makeThe device information update of the local monitor entity carrying with described monitoring message is stored for described policing portThe facility information of monitoring entity, and trigger transmitting element 603 by the facility information of the monitoring entity after upgradingSend to other edge device; When determining while not storing monitoring entity information for described policing port, forThis policing port is stored the facility information of corresponding local monitor entity.
Preferably,
Transmitting element 603, is further used for to other edge device, and local belongs to together with this policing portThe monitoring entity corresponding to policing port in one monitoring territory sends and carries working as of monitoring entity that this policing port is correspondingWhen the notice of front state, in this notice, carry the facility information of the monitoring entity that this policing port is corresponding, makeThe monitoring entity that receives this notice knows that the current state of carrying is monitoring entity that this policing port is correspondingState.
The unit of above-described embodiment can be integrated in one, and also can separate deployment; Can merge into oneUnit, also can further split into multiple subelements.
In sum, in the application with the direct-connected equipment of monitoring entity, i.e. edge device; By sameEdge device in monitoring territory is monitored the state of local each monitoring entity, and notifies to remote monitoring entity,Make each monitoring entity in same monitoring territory know the state of other monitoring entity. By this technical scheme,State variation that can quick sensing equipment.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all at thisWithin the spirit and principle of invention, any amendment of making, be equal to replacement, improvement etc., all should be included inWithin the scope of protection of the invention.

Claims (10)

1. a link monitoring method, is characterized in that, the method is applied in the networking that at least comprises a monitoring territory, and each monitoring territory at least comprises monitoring entity and edge device; This edge device is the equipment direct-connected with monitoring entity, and the port being connected with monitoring entity on this edge device is policing port; The method comprises:
When this edge device monitors the state variation of policing port, the notice of the current state of the monitoring entity that this policing port is corresponding is carried in monitoring entity transmission corresponding to policing port that belongs to same monitoring territory to other edge device and local and this policing port respectively, and in this notice, carries the domain identifier in the monitoring territory under this policing port; The current state of monitoring entity is the state after corresponding policing port state variation;
While receiving the notice of carrying remote monitoring entity current state of other edge device transmission, local monitor port in monitoring territory corresponding to the domain identifier that carries by this notice sends to local monitor entity, makes local monitor entity know the current state of remote monitoring entity.
2. method according to claim 1, is characterized in that,
The state variation of described policing port comprises: become from work up state the down state that disconnects; Become up state from down state; The variation of speed, the variation of working method.
3. method according to claim 1 and 2, is characterized in that, described method further comprises:
This edge device sends monitoring message by policing port to local monitor entity, makes local monitor entity respond the monitoring message of the facility information that carries this monitoring entity;
While receiving the monitoring message of the facility information that carries local monitor entity, store the facility information of corresponding local monitor entity for this policing port, and send to other edge device, and when to other edge devices transmissions, carry the domain identifier in the monitoring territory under this monitoring entity;
While receiving the facility information of remote monitoring entity of other edge device transmission, send to local monitor entity by the policing port in the monitoring territory under described remote monitoring entity, make local monitor entity obtain the facility information of remote monitoring entity.
4. method according to claim 3, it is characterized in that, when the described monitoring message that receives the facility information that carries local monitor entity, before the described facility information of storing corresponding local monitor entity for this policing port, described method further comprises:
Determine the facility information of whether having stored monitoring entity for described policing port;
When determining the facility information of having stored monitoring entity for described policing port, whether the facility information of determining the monitoring entity of having stored is identical with the facility information of the local monitor entity carrying in described monitoring message, if so, maintain the facility information of the local monitoring entity of having stored constant; Otherwise, use the facility information of the monitoring entity that the device information update of the local monitor entity that described monitoring message carries stored for described policing port, and the facility information of the monitoring entity after upgrading sent to other edge device;
When determining while not storing monitoring entity information for described policing port, the facility information step of storing corresponding local monitor entity for this policing port described in carrying out.
5. method according to claim 1 and 2, it is characterized in that, when the notice of current state of the monitoring entity that this policing port is corresponding is carried in described monitoring entity transmission corresponding to policing port that belongs to same monitoring territory to other edge device and local and this policing port respectively, described method further comprises:
In this notice, carry the facility information of the monitoring entity that this policing port is corresponding, make the monitoring entity that receives this notice know that the current state of carrying is the state of the monitoring entity that this policing port is corresponding.
6. a link monitoring device, is characterized in that, on the edge device of this application of installation in the networking that at least comprises a monitoring territory, each monitoring territory at least comprises monitoring entity and edge device; This edge device is the equipment direct-connected with monitoring entity, and the port being connected with monitoring entity on this edge device is policing port; This device comprises: monitoring unit, receiving element and transmitting element;
Described monitoring unit, for monitoring the state of policing port;
Described receiving element, the notice of carrying remote monitoring entity current state sending for receiving other edge device;
Described transmitting element, for in the time that described monitoring unit monitors the state variation of policing port, the notice of the current state of the monitoring entity that this policing port is corresponding is carried in monitoring entity transmission corresponding to policing port that belongs to same monitoring territory to other edge device and local and this policing port respectively, and in this notice, carries the domain identifier in the monitoring territory under this policing port; The current state of monitoring entity is the state after corresponding policing port state variation; In the time that described receiving element receives the notice of carrying remote monitoring entity current state of other edge device transmission, local monitor port in monitoring territory corresponding to the domain identifier that carries by this notice sends to local monitor entity, makes local monitor entity know the current state of remote monitoring entity.
7. device according to claim 6, is characterized in that,
The state variation of described policing port comprises: become from work up state the down state that disconnects; Become up state from down state; The variation of speed, the variation of working method.
8. according to the device described in claim 6 or 7, it is characterized in that, this device further comprises: memory cell;
Described transmitting element, is further used for sending monitoring message by policing port to local monitor entity, makes local monitor entity respond the monitoring message of the facility information that carries this monitoring entity;
Described receiving element, is further used for receiving the monitoring message of facility information that carries local monitor entity; In the time receiving the facility information of remote monitoring entity of other edge device transmission, trigger described transmitting element and send to local monitor entity by the policing port in the monitoring territory under described remote monitoring entity, make local monitor entity obtain the facility information of remote monitoring entity;
Described memory cell, for in the time that described receiving element receives the monitoring message of the facility information that carries local monitor entity, store the facility information of corresponding local monitor entity for this policing port, and trigger described transmitting element the facility information of corresponding monitoring entity is sent to other edge device, and carrying the domain identifier in the monitoring territory under this monitoring entity in the time that other edge devices send.
9. device according to claim 8, is characterized in that,
Described memory cell, is further used in the time that described receiving element receives the monitoring message of the facility information that carries local monitor entity, determines the facility information of whether having stored monitoring entity for the policing port that receives described monitoring message; When determining the facility information of having stored monitoring entity for described policing port, whether the facility information of determining the monitoring entity of having stored is identical with the facility information of the local monitor entity carrying in described monitoring message, if so, maintain the facility information of the local monitoring entity of having stored constant; Otherwise, use the facility information of the monitoring entity that the device information update of the local monitor entity that described monitoring message carries stored for described policing port, and trigger described transmitting element the facility information of the monitoring entity after upgrading is sent to other edge device; When determining while not storing monitoring entity information for described policing port, store the facility information of corresponding local monitor entity for this policing port.
10. according to the device described in claim 6 or 7, it is characterized in that,
Described transmitting element, be further used for to other edge device, and monitoring entity transmission corresponding to policing port that belong to same monitoring territory of local and this policing port is while carrying the notice of current state of the monitoring entity that this policing port is corresponding, in this notice, carry the facility information of the monitoring entity that this policing port is corresponding, make the monitoring entity that receives this notice know that the current state of carrying is the state of the monitoring entity that this policing port is corresponding.
CN201510706968.0A 2015-10-27 2015-10-27 A kind of link monitoring method and apparatus Active CN105591837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510706968.0A CN105591837B (en) 2015-10-27 2015-10-27 A kind of link monitoring method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510706968.0A CN105591837B (en) 2015-10-27 2015-10-27 A kind of link monitoring method and apparatus

Publications (2)

Publication Number Publication Date
CN105591837A true CN105591837A (en) 2016-05-18
CN105591837B CN105591837B (en) 2019-01-08

Family

ID=55931094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510706968.0A Active CN105591837B (en) 2015-10-27 2015-10-27 A kind of link monitoring method and apparatus

Country Status (1)

Country Link
CN (1) CN105591837B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114536A (en) * 2021-04-15 2021-07-13 山东英信计算机技术有限公司 Switch data transmission method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247290A (en) * 2008-03-14 2008-08-20 中兴通讯股份有限公司 Ethernet switchboard high temperature ageing real-time monitoring method and system
CN101252459A (en) * 2008-03-24 2008-08-27 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof
CN102137009A (en) * 2011-01-31 2011-07-27 华为技术有限公司 Method, system and equipment for processing Dual-layer service in network
CN103152221A (en) * 2013-02-27 2013-06-12 鸿富锦精密工业(深圳)有限公司 Multi-equipment self-checking method, monitoring system for equipment state and equipment group
CN103973560A (en) * 2013-02-04 2014-08-06 杭州华三通信技术有限公司 Device and method for fault treatment of stack links in IRF (intelligent resilient framework) system
US20150124807A1 (en) * 2013-11-04 2015-05-07 Simplexgrinnell Lp Alarm system network operation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247290A (en) * 2008-03-14 2008-08-20 中兴通讯股份有限公司 Ethernet switchboard high temperature ageing real-time monitoring method and system
CN101252459A (en) * 2008-03-24 2008-08-27 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof
CN102137009A (en) * 2011-01-31 2011-07-27 华为技术有限公司 Method, system and equipment for processing Dual-layer service in network
CN103973560A (en) * 2013-02-04 2014-08-06 杭州华三通信技术有限公司 Device and method for fault treatment of stack links in IRF (intelligent resilient framework) system
CN103152221A (en) * 2013-02-27 2013-06-12 鸿富锦精密工业(深圳)有限公司 Multi-equipment self-checking method, monitoring system for equipment state and equipment group
US20150124807A1 (en) * 2013-11-04 2015-05-07 Simplexgrinnell Lp Alarm system network operation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114536A (en) * 2021-04-15 2021-07-13 山东英信计算机技术有限公司 Switch data transmission method and system

Also Published As

Publication number Publication date
CN105591837B (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN106603261B (en) Hot backup method, first main device, standby device and communication system
CN104301146A (en) Link switching method and device in software defined network
CN100531071C (en) Method and system for link failure detection and device for link failure detection
CN103441897A (en) Method and device for locating failure node in virtual network
CN106060088A (en) Service management method and device
CN102404146A (en) Master-slave switching method, network device and DHCP server
CN104144124B (en) Data forwarding method, Apparatus and system
CN103026663A (en) Distributed connectivity verification protocol redundancy
CN103825777A (en) DMZ server switching method and device
CN105429814A (en) Method and device for BFD protection by utilizing multiple board cards
WO2016086890A1 (en) Method and device for detecting connectivity
CN102823194A (en) Operations, administrations and management proxy and a method for handling operations, administrations and management messages
CN103200109A (en) Method and device for OSPF neighboring node management
CN102624745A (en) Method and device for establishing PCEP session
CN106850281B (en) Network equipment management method
CN105591837A (en) Link monitoring method and device
CN103414778B (en) A kind of cluster Network Management Equipment method of keep-alive step by step
CN104737499B (en) Terminal, message distributing system, message distributing method, computer-readable medium
KR20160131532A (en) Adaptive Bidirectional Forwarding Detection protocol and equipment for maximizing service availability in network system
CN108270593A (en) A kind of two-node cluster hot backup method and system
WO2014019165A1 (en) Method, device and system for service backup among multiple machines
CN113037622B (en) System and method for preventing BFD from vibrating
CN104580547A (en) IP (internet protocol) configuration method and device for Linux operation system
KR101586151B1 (en) Method for reconnection between controllers and network apparatus
US8064335B2 (en) Communication monitoring method, communication monitoring system, management system, and external 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
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant