CN105591837B - A kind of link monitoring method and apparatus - Google Patents
A kind of link monitoring method and apparatus Download PDFInfo
- Publication number
- CN105591837B CN105591837B CN201510706968.0A CN201510706968A CN105591837B CN 105591837 B CN105591837 B CN 105591837B CN 201510706968 A CN201510706968 A CN 201510706968A CN 105591837 B CN105591837 B CN 105591837B
- Authority
- CN
- China
- Prior art keywords
- monitoring
- entity
- port
- facility information
- domain
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 432
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000008859 change Effects 0.000 claims abstract description 26
- 238000012806 monitoring device Methods 0.000 claims abstract description 6
- 230000005540 biological transmission Effects 0.000 claims description 22
- 230000006855 networking Effects 0.000 claims description 22
- 230000001960 triggered effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 239000000523 sample Substances 0.000 description 3
- 230000008447 perception Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides a kind of link monitoring methods, this method comprises: when edge device monitors the state change of monitoring port, respectively to other edge devices and it is local belong to the corresponding monitoring entity of the same monitoring monitoring port in domain with the monitoring port and send carry the notice of the corresponding current state for monitoring entity of the monitoring port;When receiving the notice for the carrying remote monitoring entity current state that other edge devices are sent, local monitor port in the corresponding monitoring domain of the domain identifier carried by the notice is sent to local monitor entity, and local monitor entity is made to know the current state of remote monitoring entity.Based on same inventive concept, the application also proposes a kind of link monitoring device, is capable of the state change of quick sensing equipment.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of link monitoring method and apparatus.
Background technique
Star-like stack is connected by common double layer network, and centre may be across many equipment, nothing between stack member apparatus
Method, which directly perceives, stacks link disconnection (down), can not find stacking splitting in time, is typically only capable to by time-out discovery heap of shaking hands
Therefore the person's of building up device-down when stack member apparatus linkdown, can generate long period packet loss phenomenon and business is cut
Change slow phenomenon.
Current star-like stacking is dependence heartbeat timeout to find stack member apparatus down, and in order to guarantee to be stacked into
Stablizing for member's equipment stacks, and a relatively long time, typically 5 seconds time-out will necessarily be arranged in the time of heartbeat timeout.
Existing technology is very good for stablizing of stacking of maintenance, but business when for stack member apparatus down
Switching be it is intolerable, service switching needs to complete in the shortest possible time.
Summary of the invention
In view of this, the application provides a kind of link monitoring method and apparatus, to solve the delay of awareness apparatus state change
Long problem.
In order to solve the above technical problems, the technical solution of the application is achieved in that
A kind of link monitoring method, this method are applied in the networking for including at least a monitoring domain, and each monitoring domain is extremely
Few includes monitoring entity and edge device;The edge device be with the direct-connected equipment of monitoring entity, on the edge device with monitoring
The connected port of entity is monitoring port;This method comprises:
When the edge device monitors the state change of monitoring port, respectively to other edge devices and the local and prison
The corresponding monitoring entity of monitoring port that control port belongs to same monitoring domain, which is sent, carries the corresponding monitoring entity of the monitoring port
Current state notice, and carry in the notice domain identifier that domain is monitored belonging to the monitoring port;Monitoring entity is worked as
Preceding state is the state after corresponding monitoring port state change;
When receiving the notice for the carrying remote monitoring entity current state that other edge devices are sent, taken by the notice
Local monitor port in the corresponding monitoring domain of the domain identifier of band is sent to local monitor entity, knows local monitor entity far
The current state of end monitoring entity.
A kind of link monitoring device, the device are applied to include at least on the edge device in the networking in a monitoring domain,
Each monitoring domain includes at least monitoring entity and edge device;The edge device is the equipment direct-connected with monitoring entity, the edge
The port being connected in equipment with monitoring entity is monitoring port;The device includes: monitoring unit, receiving unit and transmission unit;
The monitoring unit, for monitoring the state of monitoring port;
The receiving unit, for receiving the logical of carrying remote monitoring entity current state that other edge devices are sent
Know;
The transmission unit, when for monitoring the state change of monitoring port when the monitoring unit, respectively to other
Edge device and it is local belong to the monitoring port the corresponding monitoring entity transmission carrying of the same monitoring monitoring port in domain this
The notice of the current state of the corresponding monitoring entity of monitoring port, and monitoring domain belonging to the monitoring port is carried in the notice
Domain identifier;The current state of monitoring entity is the state after corresponding monitoring port state change;When the receiving unit receives
When the notice of the carrying remote monitoring entity current state sent to other edge devices, the domain identifier pair that is carried by the notice
The local monitor port in monitoring domain answered is sent to local monitor entity, and local monitor entity is made to know remote monitoring entity
Current state.
As can be seen from the above technical solution, equipment direct-connected with monitoring entity in the application, i.e. edge device;By same
Edge device in a monitoring domain respectively monitors the state of entity to monitor local, and notifies to give remote monitoring entity, makes same prison
Each monitoring entity in control domain knows the state of other monitoring entities.By the technical solution, it is capable of the shape of quick sensing equipment
State variation.
Detailed description of the invention
Fig. 1 is link monitoring networking schematic diagram in the embodiment of the present application;
Fig. 2 is one link monitoring flow diagram of the embodiment of the present application;
Fig. 3 is the flow diagram of the facility information of two transmitting, monitoring entity of the embodiment of the present application;
Fig. 4 is the flow diagram of the facility information of three transmitting, monitoring entity of the embodiment of the present application;
Fig. 5 is the star-like stacking networking flow diagram of the embodiment of the present application;
Fig. 6 is the apparatus structure schematic diagram that above-mentioned technology is applied in the embodiment of the present application.
Specific embodiment
In order to which the objects, technical solutions and advantages of the application are more clearly understood, with reference to the accompanying drawings and examples,
The technical solution of the application is described in detail.
A kind of link monitoring method is provided in the embodiment of the present application, this method is applied to include at least the group in a monitoring domain
In net, each monitoring domain includes at least monitoring entity and edge device;Not direct phase between monitoring entity in each monitoring domain
Even, i.e., striding equipment is connected.Here networking can be double layer network, three-layer network etc., to the specific networking of network there is no limit.
Edge device is the equipment direct-connected with monitoring entity, and the port being connected on edge device with monitoring entity is monitoring client
Mouthful;The state of local monitor entity is monitored by the edge device in monitoring domain, and is notified by other edge devices to remote
Monitoring entity in end makes each monitoring entity in same domain know the state of other monitoring entities.It, can be fast by the technical solution
The state change of fast awareness apparatus.
In specific implementation, an edge device may belong in a monitoring domain, also may belong in multiple monitoring domains,
The monitoring port of edge device can be configured to according to actual needs in a monitoring domain, or is configured in different monitoring domain.
Monitoring entity in the embodiment of the present application is to need to be monitored it, to obtain state, the letter of the monitoring device
The equipment of breath.
Striding equipment connection each monitoring entity in any monitoring entity need to know it is other monitoring entities states and
Facility information, to carry out the processing of related data, network structure, specific processing is determined according to practical networking, as the networking is
One star-like stacking, then monitoring entity is the member device in the star-like stacking, and edge device is straight with member device in networking
Equipment even.
It is link monitoring networking schematic diagram in the embodiment of the present application referring to Fig. 1, Fig. 1.
Equipment 1, equipment 2, equipment 3, equipment 4, equipment 5 and equipment 6 are monitoring entity in Fig. 1, and edge device 1 is and equipment
1, equipment 2 and the direct-connected equipment of equipment 3;Edge device 2 is the equipment direct-connected with equipment 4, equipment 5 and equipment 6.Its in networking
Its equipment, i.e., the equipment being connected between each edge device are alternatively referred to as intermediate equipment, can be one and be also possible to more.
In practical networking, an edge device can only be connected with a monitoring entity, can also be real with multiple monitoring
Body is connected, if be connected with multiple monitoring entities, the monitoring port being connected with each monitoring entity is unique.End in Fig. 1
Mouth 1, port 2, port 3, port 4, port 5 and port 6 are known as monitoring port.Monitoring port is used to send detection to monitoring entity
Message, and the facility information of the other monitoring entities transmitted and received to monitoring entity.
For monitoring entity, the port being connected with edge device, for receiving the spy that edge device is sent by the port
Text is observed and predicted, and responds the probe messages for carrying the facility information of this monitoring entity to edge device;Side is also received by the port
The facility information and state for the remote monitoring entity that edge equipment is sent.
It include two monitoring domains in the networking, domain identifier is respectively domain 1 and domain 2, wherein edge device 1 had both belonged to monitoring
Domain 1 also belongs to monitoring domain 2, and port 4 belongs to monitoring domain 1, and port 5 and port 6 belong to monitoring domain 2.Edge device 2 belongs to monitoring
Domain 1.
By taking edge device 1 as an example, equipment 4, equipment 5 and equipment 6 are local monitor entity, and equipment 1, equipment 2 and equipment 3 are
Remote monitoring entity.
With reference to the accompanying drawing, realize link monitoring process is described in detail in the embodiment of the present application.
Embodiment one
Referring to fig. 2, Fig. 2 is one link monitoring flow diagram of the embodiment of the present application.Specific steps are as follows:
Step 201, when which monitors the state change of monitoring port, respectively to other edge devices and originally
Ground and the monitoring port belong to the corresponding monitoring entity of the same monitoring monitoring port in domain and send that carry the monitoring port corresponding
The notice of the current state of entity is monitored, and carries the domain identifier for monitoring domain belonging to the monitoring port in the notice.
The current state that entity is monitored in this step is the state corresponded to after monitoring port state change;The shape of monitoring port
State variation includes: to become down state from up state;Up state is become from down state;Variation (the change of transmission rate of rate
Change), the variation (variation between such as simplex mode and duplex mode) of working method.
Due to the local port that monitoring port is edge device, when the state change of the port, edge device can be real-time
It perceives, the link failure time can be greatlyd save;
And using the state of the monitoring port as the state of corresponding monitoring entity, and it is sent to other edges in networking
Equipment makes other edge devices be then forwarded to respective local monitor entity.
Step 202, which receives the carrying remote monitoring entity current state that other edge devices are sent
When notice, the local monitor port in the corresponding monitoring domain of the domain identifier carried by the notice is sent to local monitor entity,
Local monitor entity is set to know the current state of remote monitoring entity.
Edge device needs basis when receiving the state notifying for the carrying remote monitoring entity that other edge devices are sent
The domain identifier carried in the notice determines the local monitoring port whether belonged in the corresponding monitoring domain of the domain identifier, if not depositing
Then abandoning the notice message received;In the presence of, then by it is same monitoring domain in monitoring port be sent to corresponding monitoring
Entity.
The perception efficiency of equipment state variation greatly improved in the realization of above-mentioned technical proposal, from dependence heartbeat timeout sense
Know the real-time perception for becoming Interface status variation.For example original needs just can know that device-down for 5 seconds after time-out, and now then
It is that just can perceive at once after interface down, detecting period is promoted to Millisecond.
Embodiment two
It is the flow diagram of the facility information of two transmitting, monitoring entity of the embodiment of the present application referring to Fig. 3, Fig. 3.Specific step
Suddenly are as follows:
Step 301, edge device sends monitoring message to local monitor entity by monitoring port, makes local monitor entity
Respond the monitoring message for carrying the facility information of the monitoring entity.
When edge device sends monitoring message by local monitor port, if can also be reported in monitoring for security consideration
The domain identifier that domain is monitored belonging to the monitoring port is carried in text.
Monitoring entity is when receiving monitoring message, if belonging to domain identifier and this monitoring entity that the monitoring message carries
Monitoring domain domain identifier it is identical, can just respond monitoring entity facility information;Otherwise, without responding.
Step 302, when which receives the monitoring message for carrying the facility information of local monitor entity, for this
Monitoring port stores the facility information of corresponding local monitor entity, and is sent to other edge devices, and to other edges
Equipment carries the domain identifier that domain is monitored belonging to the monitoring entity when sending.
The specific format of the monitoring message sent in the present embodiment with no restriction, such as can be handshake message.
The facility information for monitoring entity determines that the i.e. monitoring entity time needs to know according to the actual conditions of specific networking
Which information, then it may include that the facility information of monitoring entity here is for which information.Such as monitoring entity is in stacking system
Member device, then the facility information for monitoring entity includes: stacking system mark (domain identifier), member identities, priority etc..
Step 303, when which receives the facility information for the remote monitoring entity that other edge devices are sent, lead to
The monitoring port crossed in monitoring domain belonging to the remote monitoring entity is sent to local monitor entity, obtains local monitor entity
Obtain the facility information of remote monitoring entity.
Embodiment three
Referring to fig. 4, Fig. 4 is the flow diagram of the facility information of three transmitting, monitoring entity of the embodiment of the present application.Specific step
Suddenly are as follows:
Step 401, edge device receives the monitoring message for carrying the facility information of local monitor entity.
Step 402, which determines for whether the monitoring port for receiving monitoring message has stored monitoring entity
Facility information, if so, executing step 403;Otherwise, step 406 is executed.
Step 403, which determines carries in the stored facility information and the monitoring message for monitoring entity
Local monitor entity facility information it is whether identical, if so, execute step 404;Otherwise, step 405 is executed.
Step 404, which maintains the facility information of locally stored monitoring entity constant, terminates this process.
Step 405, the device information update needle for the local monitor entity which is carried using the monitoring message
The facility information of monitoring entity stored to the monitoring port, and the facility information of updated monitoring entity is sent to
Other edge devices, terminate this process.
Edge device carries monitoring reality when sending the facility information of updated monitoring entity to other edge devices
The domain identifier in domain is monitored belonging to body.
Step 406, which stores the facility information of corresponding local monitor entity for the monitoring port, and will
The facility information of the monitoring entity is sent to other edge devices.
Edge device carries belonging to the monitoring entity when sending the facility information of the monitoring entity to other edge devices
Monitoring domain domain identifier.
In the embodiment of the present application, the facility information that edge device can also be made only to forward monitoring entity is set to other edges
It is standby, then local monitoring entity is transmitted to by other edge devices, the equipment letter of remote monitoring entity is parsed by monitoring entity
Breath, as long as and edge device integrally forwards, do not need to parse, know the particular content of the facility information of monitoring entity,
Which monitoring entity does not need to know is.
The present embodiment provides the process that the facility information of remote monitoring entity how is known between each monitoring entity, passes through side
Edge equipment and local monitor entity interaction, and when the facility information of local monitor entity changes, just notice is supervised to distal end
Entity is controlled, the transmission of data in networking is greatly saved.
When edge device sends the notice for carrying the current state of local monitor entity to other edge devices, the method
Further comprise: carrying the facility information of the corresponding monitoring entity of the monitoring port in the notice, make to receive the notice
Monitoring entity knows that the current state of carrying is the state of the corresponding monitoring entity of the monitoring port.
I.e. in state change, when sending the state after changing, the facility information of monitoring entity is carried, remote monitoring entity is made
Parsing knows that the state of which monitoring entity is changed, and the edge device and remote edge equipment only forward,
Without monitoring the parsing of the facility information of entity.
Below by taking the star-like stacking of specific networking as an example, link monitoring process of realizing is described in detail in the embodiment of the present application.
Referring to Fig. 5, Fig. 5 is the star-like stacking networking flow diagram of the embodiment of the present application.
Edge device 1, edge device 2 and edge device 3 belong to for monitoring domain 1001 in Fig. 5, on each edge device
Monitoring protocol is run, is implemented function such as:
For edge device, the port (monitoring port) being connected with monitoring entity is visited for realizing sending to monitoring entity
Text is observed and predicted, and the function of the facility information for other monitoring entities that entity transmits and receives will be monitored;Edge device and other sides
The port (notice port) that edge equipment or intermediate equipment are connected, carries local monitor for realizing sending to other edge devices
The function of the facility information of the corresponding monitoring entity of the notice of the state of entity and local monitor port.
For monitoring entity, the port being connected with edge device (echo port) receives side for realizing by the port
The probe messages that edge equipment is sent, and the probe messages for carrying the facility information of this monitoring entity are responded to edge device;It is also logical
It crosses the port and receives the facility information for the remote monitoring entity that edge device is sent and the function of state.
It is specific as follows by taking the configuration on edge device 1 as an example: dmp (device monitor is enabled on edge device 1
Protocol) monitoring protocol, configuration monitoring domain 1001 and monitoring port GE0/10 and notice port GE0/11.
Edge device 2 and, member device 2 and member similar with the configuration on edge device 1 with the configuration on edge device 3
Configuration in equipment 3 is similar with the configuration on member device 1, no longer illustrates one by one here.
It completes above-mentioned with postponing, starts to realize correlation function.
Edge device 1 sends monitoring message to member device 1 by port GE0/10.
When member device 1 receives the monitoring message of the transmission of edge device 1, returned to edge device 1 by port GE1/0/1
The monitoring message of the facility information of member device 1 should be carried.
When edge device 1 receives the monitoring message for carrying the facility information of member device 1, determines and be directed to port GE0/10
Whether the facility information of monitoring entity has been stored;
When having stored, it is determined whether it is identical, if it is, maintaining the facility information of monitoring entity originally stored, i.e.,
The facility information of member device 1;Otherwise, the facility information of stored monitoring entity is updated, and is sent by port GE0/11
To edge device 2 and edge device 3, and domain identifier 1001 is carried when sending.
It is corresponding by domain identifier 1001 when edge device 2 and edge device 3 receive the facility information of member device 1
Local monitor port in monitoring domain is transmitted to local member device 2 and member device 3.
For edge device 2, local monitor port is GE1/10 in the corresponding monitoring domain of domain identifier 1001, for edge
Equipment 3, local monitor port is GE2/10 in the corresponding monitoring domain of domain identifier 1001,
In star-like stacking networking, the facility information for monitoring entity includes: to stack domain, member id, priority etc..
The state of edge device monitoring local monitor port notifies other edge devices when monitoring port state change,
By taking edge device 1 as an example:
The state that edge device 1 monitors monitoring port G0/10 becomes down (as the port GE0/ of member device 1 from up
When 0/1 state is down, the state of monitoring port G0/10 also can be down) when, it is notified that edge device 2 and edge device
3, the current state of member device 1 is down, and the facility information by carrying member device 1 makes member device 2 and member device 3
The current state for knowing member device 1 is down, carries domain identifier 1001, so that member device is informed in domain identifier 1001 corresponding
The monitoring device in domain is monitored, the facility information of member device 1 is forwarded.
It is true according to the corresponding monitoring domain of the domain identifier in the notice when edge device 2 and edge device 3 receive the notice
Surely it need to be transmitted to local monitoring entity, member device 2 and member device 3 is made to know the current state down of member device 1.
DMP module on member device 2 and member device 3 is notified that dmp user (i.e. IRF module), IRF module
The state for knowing member device 1 is down.
Based on same inventive concept, the application also proposes that a kind of link monitoring device, the device are applied to include at least
On edge device in the networking in one monitoring domain, each monitoring domain includes at least monitoring entity and edge device;The edge is set
Standby is the equipment direct-connected with monitoring entity, and the port being connected on the edge device with monitoring entity is monitoring port.Referring to Fig. 6,
Fig. 6 is the apparatus structure schematic diagram that above-mentioned technology is applied in the embodiment of the present application.The device includes: monitoring unit 601, receives list
Member 602 and transmission unit 603;
Monitoring unit 601, for monitoring the state of monitoring port;
Receiving unit 602, for receiving the notice for the carrying remote monitoring entity current state that other edge devices are sent;
Transmission unit 603, when for monitoring the state change of monitoring port when monitoring unit 601, respectively to other sides
Edge equipment and local belong to the corresponding monitoring entity transmission carrying prison of the same monitoring monitoring port in domain with the monitoring port
The notice of the current state of the corresponding monitoring entity in port is controlled, and carries monitoring domain belonging to the monitoring port in the notice
Domain identifier;The current state of monitoring entity is the state after corresponding monitoring port state change;When receiving unit 602 receives it
When the notice for the carrying remote monitoring entity current state that its edge device is sent, the domain identifier carried by the notice is corresponding
Local monitor port in monitoring domain is sent to local monitor entity, and local monitor entity is made to know the current of remote monitoring entity
State.
Preferably,
The state change of the monitoring port includes: to go off down state by the up state that works;Become by down state
For up state;The variation of rate, the variation of working method.
Preferably, the device further comprises: storage unit 604;
Transmission unit 603 is further used for sending monitoring message to local monitor entity by monitoring port, makes local prison
It controls entity and responds the monitoring message for carrying the facility information of the monitoring entity;
Receiving unit 602 is further used for receiving the monitoring message for the facility information for carrying local monitor entity;Work as reception
When the facility information of the remote monitoring entity sent to other edge devices, triggering transmission unit 603 passes through the remote monitoring
Monitoring port in monitoring domain belonging to entity is sent to local monitor entity, and local monitor entity is made to obtain remote monitoring entity
Facility information;
Storage unit 604, the monitoring report of the facility information for receiving carrying local monitor entity when receiving unit 602
Wen Shi, the facility information of corresponding local monitor entity is stored for the monitoring port, and triggering transmission unit 603 will be corresponding
The facility information of monitoring entity is sent to other edge devices, and carries the monitoring entity institute when sending to other edge devices
The domain identifier in the monitoring domain of category;
Preferably,
Storage unit 604 is further used for receiving the facility information of carrying local monitor entity when receiving unit 602
When monitoring message, the facility information that monitoring entity whether has been stored for the monitoring port for receiving the monitoring message determined;When
Determine the facility information that monitoring entity has been stored for the monitoring port, it is determined that the facility information of stored monitoring entity
It is whether identical as the facility information of the local monitor entity carried in the monitoring message, if so, maintaining locally stored
The facility information for monitoring entity is constant;Otherwise, the device information update of the local monitor entity carried using the monitoring message
For the facility information of the stored monitoring entity of the monitoring port, and it is real by updated monitoring to trigger transmission unit 603
The facility information of body is sent to other edge devices;When determining monitoring entity information not stored for the monitoring port, needle
The facility information of corresponding local monitor entity is stored to the monitoring port.
Preferably,
Transmission unit 603 is further used for other edge devices, and the local and monitoring port belongs to same monitoring
When the corresponding monitoring entity of the monitoring port in domain sends the notice for carrying the current state of the corresponding monitoring entity of the monitoring port,
The facility information that the corresponding monitoring entity of the monitoring port is carried in the notice, knows the monitoring entity for receiving the notice
The current state of carrying is the state of the corresponding monitoring entity of the monitoring port.
The unit of above-described embodiment can integrate in one, can also be deployed separately;It can be merged into a unit, it can also
To be further split into multiple subelements.
In conclusion equipment direct-connected with monitoring entity in the application, i.e. edge device;By in the same monitoring domain
Edge device locally respectively monitors the state of entity to monitor, and notifies to give remote monitoring entity, makes each prison in same monitoring domain
Control entity knows the state of other monitoring entities.By the technical solution, it is capable of the state change of quick sensing equipment.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (10)
1. a kind of link monitoring method, which is characterized in that this method is applied in the networking for including at least a monitoring domain, each
It monitors domain and includes at least monitoring entity and edge device;The edge device is the equipment direct-connected with monitoring entity, the edge device
The upper port being connected with monitoring entity is monitoring port;This method comprises:
When the edge device monitors the state change of monitoring port, respectively to other edge devices and the local and monitoring client
The corresponding monitoring entity of monitoring port that mouth belongs to same monitoring domain, which is sent, carries working as the corresponding monitoring entity of the monitoring port
The notice of preceding state, and the domain identifier that domain is monitored belonging to the monitoring port is carried in the notice;Monitor the current shape of entity
State is the state after corresponding monitoring port state change;
When the edge device receives the notice for the carrying remote monitoring entity current state that other edge devices are sent, by this
It notifies the local monitor port in the corresponding monitoring domain of the domain identifier carried to be sent to local monitor entity, makes local monitor entity
Know the current state of remote monitoring entity.
2. the method according to claim 1, wherein
The state change of the monitoring port includes: to go off down state by the up state that works;Up is become from down state
State;The variation of rate, the variation of working method.
3. method according to claim 1 or 2, which is characterized in that the method further includes:
The edge device sends monitoring message to local monitor entity by monitoring port, and so that local monitor entity is responded carrying should
Monitor the monitoring message of the facility information of entity;
When the edge device receives the monitoring message for carrying the facility information of local monitor entity, stored for the monitoring port
The facility information of corresponding local monitor entity, and other edge devices are sent to, and take when sending to other edge devices
With the domain identifier for monitoring domain belonging to the monitoring entity;
When the edge device receives the facility information for the remote monitoring entity that other edge devices are sent, supervised by the distal end
Monitoring port in monitoring domain belonging to control entity is sent to local monitor entity, so that local monitor entity is obtained remote monitoring real
The facility information of body.
4. according to the method described in claim 3, it is characterized in that, described receive the facility information for carrying local monitor entity
Monitoring message when, before the facility information for storing corresponding local monitor entity for the monitoring port, the method
Further comprise:
The facility information that monitoring entity whether has been stored for the monitoring port determined;
The facility information for monitoring entity is stored for the monitoring port when determining, it is determined that stored monitoring entity is set
Whether the facility information of the local monitor entity carried in standby information and the monitoring message is identical, if so, maintaining locally
The facility information of the monitoring entity of storage is constant;Otherwise, the equipment of the local monitor entity carried using the monitoring message is believed
Breath updates the facility information for the stored monitoring entity of the monitoring port, and the equipment of updated monitoring entity is believed
Breath is sent to other edge devices;
When determining monitoring entity information not stored for the monitoring port, execution is described to be corresponded to for monitoring port storage
Local monitor entity facility information step.
5. method according to claim 1 or 2, which is characterized in that it is described respectively to other edge devices and it is local with
The corresponding monitoring entity of monitoring port that the monitoring port belongs to same monitoring domain, which is sent, carries the corresponding monitoring of the monitoring port
When the notice of the current state of entity, the method further includes:
The facility information that the corresponding monitoring entity of the monitoring port is carried in the notice, makes the monitoring entity for receiving the notice
The current state for knowing carrying is the state of the corresponding monitoring entity of the monitoring port.
6. a kind of link monitoring device, which is characterized in that the device is applied to include at least the side in the networking in a monitoring domain
In edge equipment, each monitoring domain includes at least monitoring entity and edge device;The edge device is that entity is direct-connected sets with monitoring
Standby, the port being connected on the edge device with monitoring entity is monitoring port;The device include: monitoring unit, receiving unit and
Transmission unit;
The monitoring unit, for monitoring the state of monitoring port;
The receiving unit, for receiving the notice for the carrying remote monitoring entity current state that other edge devices are sent;
The transmission unit, when for monitoring the state change of monitoring port when the monitoring unit, respectively to other edges
Equipment and local belong to the corresponding monitoring entity transmission carrying monitoring of the same monitoring monitoring port in domain with the monitoring port
The notice of the current state of the corresponding monitoring entity in port, and the domain that domain is monitored belonging to the monitoring port is carried in the notice
Mark;The current state of monitoring entity is the state after corresponding monitoring port state change;When the receiving unit receives it
When the notice for the carrying remote monitoring entity current state that its edge device is sent, the domain identifier carried by the notice is corresponding
Local monitor port in monitoring domain is sent to local monitor entity, and local monitor entity is made to know the current of remote monitoring entity
State.
7. device according to claim 6, which is characterized in that
The state change of the monitoring port includes: to go off down state by the up state that works;Up is become from down state
State;The variation of rate, the variation of working method.
8. device according to claim 6 or 7, which is characterized in that the device further comprises: storage unit;
The transmission unit is further used for sending monitoring message to local monitor entity by monitoring port, makes local monitor
Entity responds the monitoring message for carrying the facility information of the monitoring entity;
The receiving unit is further used for receiving the monitoring message for the facility information for carrying local monitor entity;When receiving
When the facility information for the remote monitoring entity that other edge devices are sent, it is real by the remote monitoring to trigger the transmission unit
Monitoring port in monitoring domain belonging to body is sent to local monitor entity, and local monitor entity is made to obtain remote monitoring entity
Facility information;
The storage unit, the monitoring message of the facility information for receiving carrying local monitor entity when the receiving unit
When, the facility information of corresponding local monitor entity is stored for the monitoring port, and triggering the transmission unit will be corresponding
The facility information of monitoring entity is sent to other edge devices, and carries the monitoring entity institute when sending to other edge devices
The domain identifier in the monitoring domain of category.
9. device according to claim 8, which is characterized in that
The storage unit is further used for receiving the prison of the facility information of carrying local monitor entity when the receiving unit
When observing and predicting text, the facility information that monitoring entity whether has been stored for the monitoring port for receiving the monitoring message determined;When true
Surely for the monitoring port stored monitoring entity facility information, it is determined that it is stored monitoring entity facility information with
Whether the facility information of the local monitor entity carried in the monitoring message is identical, if so, maintaining locally stored prison
The facility information for controlling entity is constant;Otherwise, the device information update needle of the local monitor entity carried using the monitoring message
The facility information of monitoring entity stored to the monitoring port, and the transmission unit is triggered by updated monitoring entity
Facility information be sent to other edge devices;When determining monitoring entity information not stored for the monitoring port, for
The monitoring port stores the facility information of corresponding local monitor entity.
10. device according to claim 6 or 7, which is characterized in that
The transmission unit is further used for other edge devices, and the local and monitoring port belongs to same monitoring domain
Monitoring port it is corresponding monitoring entity send carry the monitoring port it is corresponding monitoring entity current state notice when,
The facility information that the corresponding monitoring entity of the monitoring port is carried in the notice, knows the monitoring entity for receiving the notice and takes
The current state of band is the state of the corresponding monitoring entity of the monitoring port.
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 CN105591837A (en) | 2016-05-18 |
CN105591837B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113114536A (en) * | 2021-04-15 | 2021-07-13 | 山东英信计算机技术有限公司 | Switch data transmission method and system |
Citations (5)
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9374239B2 (en) * | 2013-11-04 | 2016-06-21 | Tyco Fire & Security Gmbh | Alarm system network operation |
-
2015
- 2015-10-27 CN CN201510706968.0A patent/CN105591837B/en active Active
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105591837A (en) | 2016-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2720418B1 (en) | Lacp link switching and data transmission method and device | |
EP2536066A1 (en) | Link detecting method, apparatus and system | |
CN105165054A (en) | Method for processing network service faults, service management system and system management module | |
CN100574249C (en) | virtual router redundancy protocol message transmission method and device | |
EP2486706A1 (en) | Network path discovery and analysis | |
CN103441897A (en) | Method and device for locating failure node in virtual network | |
JP2004192642A (en) | Message communication system having high reliability capable of changing setting | |
CN107517117B (en) | IP layer OAM (operation administration and maintenance) alarm method and device and network node | |
CN105959217A (en) | Data processing method and apparatus for SDN Mobile Ad-Hoc Network | |
EP3242446A1 (en) | Failure protection method, device and system for ring protection link | |
CN106060088A (en) | Service management method and device | |
CN106656791A (en) | Device state switching method, device and system | |
CN106302536B (en) | Method and device for communication among all-in-one machines and multiple systems based on switch | |
CN104144124B (en) | Data forwarding method, Apparatus and system | |
CN111971984B (en) | Low-power consumption Bluetooth communication method, electronic device, network and storage medium | |
CN102684950A (en) | Method and system for combining service of internet of things and internet | |
CN109327383A (en) | A kind of fault handling method and equipment | |
CN106850281B (en) | Network equipment management method | |
CN105591837B (en) | A kind of link monitoring method and apparatus | |
CN105516658A (en) | Monitoring equipment control method and device | |
KR102435334B1 (en) | Adaptive Bidirectional Forwarding Detection protocol and equipment for maximizing service availability in network system | |
CN104580346A (en) | Data transmission method and device | |
JP4616020B2 (en) | Network monitoring program and network system | |
CN108886689A (en) | Resource allocation method, equipment and system | |
CN112671549B (en) | A data processing method, device and system |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |