CN114221884B - Method and device for subscribing heartbeat messages - Google Patents

Method and device for subscribing heartbeat messages Download PDF

Info

Publication number
CN114221884B
CN114221884B CN202111372687.8A CN202111372687A CN114221884B CN 114221884 B CN114221884 B CN 114221884B CN 202111372687 A CN202111372687 A CN 202111372687A CN 114221884 B CN114221884 B CN 114221884B
Authority
CN
China
Prior art keywords
heartbeat message
subscription function
heartbeat
message subscription
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111372687.8A
Other languages
Chinese (zh)
Other versions
CN114221884A (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.)
New H3C Technologies Co Ltd Hefei Branch
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
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 New H3C Technologies Co Ltd Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN202111372687.8A priority Critical patent/CN114221884B/en
Publication of CN114221884A publication Critical patent/CN114221884A/en
Application granted granted Critical
Publication of CN114221884B publication Critical patent/CN114221884B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a method and a device for subscribing heartbeat messages, wherein the method is applied to network equipment and comprises the following steps: identifying whether a heartbeat message subscription function is enabled currently, wherein the heartbeat message subscription function comprises a heartbeat period for sending a heartbeat message; and if the heartbeat message subscription function is enabled, sending a heartbeat message to a controller according to the heartbeat period, so that the controller determines that NETCONF service configured in the network equipment is in an active state.

Description

Method and device for subscribing heartbeat messages
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for subscribing a heartbeat message.
Background
With the development of SDN, management devices through network configuration protocol (english: network Configuration Protocol, abbreviated as netcon) gradually become the main stream of network management. As shown in fig. 1, fig. 1 is a schematic diagram of a conventional controller management network device.
In fig. 1, the controller side runs a netcon f client, and the network device side runs a netcon f server. When the controller manages the network device, it needs to timely sense whether the current network device is managed. If there are network failures, network equipment loss caused by administrator configuration, etc., the controller needs to sense at the first time to perform corresponding processing.
At present, the netcon f client may periodically send a heartbeat request message to the netcon f server. If no heartbeat response message fed back by the netcon f server is received N times (for example, three times) continuously, the controller determines that the netcon f connection between the controller and the network device has a fault, and an administrator is required to further troubleshoot a specific fault problem (for example, a network fault or a service fault).
However, since netcon is a pipeline-based protocol, the netcon server side is executed in the order of reception for the same session. For example, the netcon f server currently executes a time-consuming RPC instruction, and if a heartbeat request message issued by the netcon f client is received at this time, the heartbeat request message is blocked because the RPC instruction is not executed. The netcon server cannot timely feed back the heartbeat response message, so that the controller will misjudge and determine that the network device is disconnected.
Disclosure of Invention
In view of this, the present application provides a method and apparatus for subscribing a heartbeat message, which are used to solve the problem that when the existing network device cannot timely feed back a heartbeat response message, the controller misjudges and determines that the network device is disconnected.
In a first aspect, the present application provides a method for subscribing a heartbeat message, where the method is applied to a network device, and the method includes:
identifying whether a heartbeat message subscription function is enabled currently, wherein the heartbeat message subscription function comprises a heartbeat period for sending a heartbeat message;
and if the heartbeat message subscription function is enabled, sending a heartbeat message to a controller according to the heartbeat period, so that the controller determines that NETCONF service configured in the network equipment is in an active state.
In a second aspect, the present application provides a subscription apparatus for heartbeat messages, where the apparatus is applied to a network device, and the apparatus includes:
the device comprises an identification unit, a processing unit and a processing unit, wherein the identification unit is used for identifying whether a heartbeat message subscription function is enabled currently, and the heartbeat message subscription function comprises a heartbeat period for sending a heartbeat message;
and the sending unit is used for sending a heartbeat message to the controller according to the heartbeat period if the heartbeat message subscription function is enabled, so that the controller determines that the NETCONF service configured in the network equipment is in an active state.
In a third aspect, the present application provides a network device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to cause the processor to perform the method provided in the first aspect of the present application.
Therefore, by applying the method and the device for subscribing the heartbeat message, the network equipment identifies whether the heartbeat message subscription function is enabled currently, and the heartbeat message subscription function comprises a heartbeat period for sending the heartbeat message; if the heartbeat message subscription function is enabled, the network device sends a heartbeat message to the controller according to the heartbeat period, so that the controller determines that the NETCONF service configured in the network device is in an active state.
Therefore, by enabling the heartbeat message subscription function, the network device sends the heartbeat message to the controller, so that the controller can efficiently and quickly determine the state of the NETCONF service configured in the network device without generating additional influence on the controller and the network device. The method solves the problems that when the existing network equipment cannot timely feed back the heartbeat response message, the controller misjudges and determines that the network equipment is disconnected.
Drawings
FIG. 1 is a schematic diagram of a prior art controller management network device;
fig. 2 is a flowchart of a method for subscribing to a heartbeat message provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a subscription apparatus for heartbeat messages according to an embodiment of the present application;
fig. 4 is a hardware structure of a network device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the corresponding listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The following describes in detail a method for subscribing to a heartbeat message provided in an embodiment of the present application. Referring to fig. 2, fig. 2 is a flowchart of a method for subscribing to a heartbeat message according to an embodiment of the present application. The method is applied to a network device, which can be hosted by at least one controller. Each controller is connected to the network device through a netcon f nanotube. The method for subscribing the heartbeat message provided by the embodiment of the application can comprise the following steps.
Step 210, identifying whether a heartbeat message subscription function is enabled currently, wherein the heartbeat message subscription function includes a heartbeat cycle of sending a heartbeat message.
Specifically, the network device identifies whether itself has currently enabled the heartbeat message subscription function. If the heartbeat message subscription function is enabled, the network device performs step 220; if the heartbeat subscription function is not enabled, the network device exits the process of identifying whether the heartbeat message subscription function is enabled by itself.
The heartbeat message subscription function is used for indicating that the netcon f service configured in the network device is in an active state, even if the network device is currently executing time-consuming operations.
The heartbeat message subscription function includes a heartbeat cycle for sending a heartbeat message. The default value for the heartbeat cycle may be 30 seconds and the range of values may be 1-60 seconds.
Further, before this step, the method further includes enabling a heartbeat message subscription function on the local or netcon by the network device by receiving a configuration instruction input by the user and establishing a netcon session negotiation with the controller.
In one example, a network device receives a first configuration instruction input by a user, the first configuration instruction including a global indication and configuration information of a heartbeat message subscription function.
According to the global indication, the network equipment locally enables a heartbeat message subscription function; according to the configuration information, the network equipment configures the heartbeat period for sending the heartbeat message locally.
The global indication means that the network device enables the heartbeat message subscription function for each controller connected with the network device. For example, the network device is currently managed by two control nanotubes, which are validated for both controllers after the heartbeat message subscription function is enabled locally, i.e. the network device sends heartbeat messages to both controllers, respectively.
In this embodiment of the present application, the first configuration instruction may be a netcon XML API, which is specifically as follows:
the heartbeat message subscription function comprises an enabling (enabling) state and a disabling (disabling) state, and the default state is the disabling state.
It should be noted that the existing RFC6470 already provides a plurality of netcon f protocol level events, specifically as shown in table 1 below.
TABLE 1 presents multiple NETCONF protocol level events provided by RFC6470
NETCONF protocol level event Description of the invention
netconf-config-change Device-side configuration change notification
netconf-capability-change Device-side capability change notification
netconf-session-start Generating the event when the device side generates a new netcon session
netconf-session-end Generating the event when the device side ends a netcon session
netconf-confirmed-commit Indicating that it is currently in the confirm-commit state
In the embodiment of the application, a plurality of NETCONF protocol level events provided by RFC6470 are expanded and supplemented. The details are shown in table 2 below.
TABLE 2 NETCONF protocol level event extended by RFC6470
In another example, the network device negotiates with the controller to establish a netcon f session. If the network device has negotiated the heartbeat message subscription function with the controller in the negotiation process, the network device enables the heartbeat message subscription function on the netcon session and configures a heartbeat cycle for sending the heartbeat message.
It will be appreciated that after the heartbeat message subscription function is enabled on the netcon f session, the function is only active on the current netcon f session and not active on netcon f sessions established with other controllers.
In the process of negotiating and establishing NETCONF session, the network equipment and the controller negotiate to enable the heartbeat message subscription function and the heartbeat period for sending the heartbeat message are specifically as follows:
urn:h3c:params:netconf:capability:heartbeat:1.0state=enable&interval=10s
if the network device does not negotiate the heartbeat message subscription function with the controller in the negotiation process, the network device does not enable the heartbeat message subscription function on the netcon f session.
In another example, after the network device establishes the netcon session with the controller, the network device receives a second configuration instruction input by the user, where the second configuration instruction includes a global instruction and configuration information of the heartbeat message subscription function.
According to the global indication, the network device enables the heartbeat message subscription function locally, but does not enable the heartbeat message subscription function on the netcon f session. According to the configuration information, the network equipment configures the heartbeat period for sending the heartbeat message locally.
It should be noted that, in the embodiment of the present application, the priority of the session level in the network device is higher than the priority of the global configuration. That is, the network device and the controller negotiate whether to enable the priority of the heartbeat message subscription function when establishing the netcon session, and the priority of the heartbeat message subscription function is higher than that of the network device by receiving the configuration instruction input by the user.
For example, if the network device has enabled the heartbeat message subscription function locally and the network device negotiates with the controller that the heartbeat message subscription function is not negotiated when the network device negotiates with the controller to establish the netcon f session, the network device does not enable the heartbeat message subscription function on the netcon f session.
Step 220, if the heartbeat message subscription function is enabled, sending a heartbeat message to a controller according to the heartbeat period, so that the controller determines that the netcon f service configured in the network device is in an active state.
Specifically, according to the description of step 210, if the network device has enabled the heartbeat message subscription function, the network device sends a heartbeat message to the controller according to the heartbeat cycle.
In one example, the format of the heartbeat message is specifically as follows:
<notification xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2021-07-31T09:32:10</eventTime>
<HeartbeatEvent></HeartbeatEvent>
</notification>
after receiving the heartbeat message, the controller determines that the netcon f service configured within the network device is active even if the network device is currently performing a time consuming operation (e.g., RPC instructions).
Therefore, by applying the method for subscribing the heartbeat message provided by the application, the network equipment identifies whether the heartbeat message subscription function is enabled currently or not, and the heartbeat message subscription function comprises a heartbeat period for sending the heartbeat message; if the heartbeat message subscription function is enabled, the network device sends a heartbeat message to the controller according to the heartbeat period, so that the controller determines that the NETCONF service configured in the network device is in an active state.
Therefore, by enabling the heartbeat message subscription function, the network device sends the heartbeat message to the controller, so that the controller can efficiently and quickly determine the state of the NETCONF service configured in the network device without generating additional influence on the controller and the network device. The method solves the problems that when the existing network equipment cannot timely feed back the heartbeat response message, the controller misjudges and determines that the network equipment is disconnected.
Based on the same inventive concept, the embodiment of the application also provides a heartbeat message subscribing device corresponding to the heartbeat message subscribing method. Referring to fig. 3, fig. 3 is a block diagram of a subscription apparatus for heartbeat messages provided in an embodiment of the present application. The apparatus is applied to a network device, and the apparatus includes:
an identifying unit 310, configured to identify whether a heartbeat message subscription function is currently enabled, where the heartbeat message subscription function includes a heartbeat cycle of sending a heartbeat message;
and the sending unit 320 is configured to send, if the heartbeat message subscription function is enabled, a heartbeat message to a controller according to the heartbeat period, so that the controller determines that the netcon f service configured in the network device is in an active state.
Optionally, the apparatus further comprises: a receiving unit (not shown in the figure) configured to receive a first configuration instruction input by a user, where the first configuration instruction includes a global instruction and configuration information of the heartbeat message subscription function;
an enabling unit (not shown in the figure) configured to enable the heartbeat message subscription function locally according to the global indication;
a configuration unit (not shown in the figure) configured to locally configure a heartbeat cycle of sending the heartbeat message according to the configuration information;
the global indication means that the network device enables the heartbeat message subscription function for each controller connected with the network device.
Optionally, the apparatus further comprises: an establishing unit (not shown in the figure) for negotiating with the controller to establish a netcon f session;
the enabling unit (not shown in the figure) is further configured to enable the heartbeat message subscription function and configure a heartbeat period for sending the heartbeat message at the netcon f session provider if the heartbeat message subscription function has been negotiated with the controller during the negotiation process;
if the heartbeat message subscription function is not negotiated with the controller in the negotiation process, the heartbeat message subscription function is not enabled on the netcon f session.
Optionally, the receiving unit (not shown in the figure) is further configured to receive a second configuration instruction input by a user after establishing a netcon session with the controller, where the second configuration instruction includes a global instruction and configuration information of the heartbeat message subscription function;
the enabling unit (not shown in the figure) is further configured to enable the heartbeat message subscription function locally according to the global indication;
the configuration unit (not shown in the figure) is further configured to locally configure a heartbeat cycle of sending the heartbeat message according to the configuration information;
and the heartbeat message subscription function is not enabled on the NETCONF session.
Optionally, the enabling unit (not shown in the figure) is further configured to enable the heartbeat message subscription function on the netcon f session if the heartbeat message subscription function is not negotiated when the heartbeat message subscription function is enabled locally and the netcon f session is negotiated with the controller.
Therefore, by applying the method and the device for subscribing the heartbeat message, the network equipment identifies whether the heartbeat message subscription function is enabled currently, and the heartbeat message subscription function comprises a heartbeat period for sending the heartbeat message; if the heartbeat message subscription function is enabled, the network device sends a heartbeat message to the controller according to the heartbeat period, so that the controller determines that the NETCONF service configured in the network device is in an active state.
Therefore, by enabling the heartbeat message subscription function, the network device sends the heartbeat message to the controller, so that the controller can efficiently and quickly determine the state of the NETCONF service configured in the network device without generating additional influence on the controller and the network device. The method solves the problems that when the existing network equipment cannot timely feed back the heartbeat response message, the controller misjudges and determines that the network equipment is disconnected.
Based on the same inventive concept, the embodiment of the present application further provides a network device, as shown in fig. 4, including a processor 410, a transceiver 420, and a machine-readable storage medium 430, where the machine-readable storage medium 430 stores machine executable instructions capable of being executed by the processor 410, and the processor 410 is caused by the machine executable instructions to perform the subscription method of the heartbeat message provided by the embodiment of the present application. The subscription device for the heartbeat message shown in fig. 3 can be implemented by adopting a hardware structure of the network device shown in fig. 4.
The computer readable storage medium 430 may include a random access Memory (in english: random Access Memory, abbreviated as RAM) or a nonvolatile Memory (in english: non-volatile Memory, abbreviated as NVM), such as at least one magnetic disk Memory. Optionally, the computer readable storage medium 430 may also be at least one storage device located remotely from the aforementioned processor 410.
The processor 410 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (English: digital Signal Processor; DSP; for short), an application specific integrated circuit (English: application Specific Integrated Circuit; ASIC; for short), a Field programmable gate array (English: field-Programmable Gate Array; FPGA; for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In this embodiment, the processor 410 is enabled to implement the processor 410 itself and invoke the transceiver 420 to perform the subscription method of heartbeat messages described in the previous embodiment of the present application by reading the machine executable instructions stored in the machine readable storage medium 430.
In addition, the present embodiment provides a machine-readable storage medium 430, where the machine-readable storage medium 430 stores machine-executable instructions that, when invoked and executed by the processor 410, cause the processor 410 itself and the invoking transceiver 420 to perform the method of subscribing to heartbeat messages described in the previous embodiments of the present application.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
For the subscription apparatus and the machine-readable storage medium embodiment of the heartbeat message, the related method content is basically similar to the method embodiment, so the description is relatively simple, and the relevant point is referred to the part of the description of the method embodiment.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (7)

1. A method for subscribing a heartbeat message, wherein the method is applied to a network device, and the method comprises:
identifying whether a heartbeat message subscription function is enabled currently, wherein the heartbeat message subscription function comprises a heartbeat period for sending a heartbeat message;
if the heartbeat message subscription function is enabled, sending a heartbeat message to a controller according to the heartbeat period, so that the controller determines that NETCONF service configured in the network equipment is in an active state;
before the step of identifying whether the heartbeat message subscription function is enabled currently, the method further comprises the steps of:
negotiating with the controller to establish a netcon session;
if the heartbeat message subscription function is negotiated with the controller in the negotiation process, enabling the heartbeat message subscription function and configuring a heartbeat period for sending the heartbeat message on the NETCONF session;
if the heartbeat message subscription function is not negotiated with the controller in the negotiation process, the heartbeat message subscription function is not enabled on the netcon f session.
2. The method of claim 1, wherein before the identifying whether the heartbeat message subscription function is currently enabled, the method further comprises:
receiving a first configuration instruction input by a user, wherein the first configuration instruction comprises a global instruction and configuration information of the heartbeat message subscription function;
enabling the heartbeat message subscription function locally according to the global indication;
according to the configuration information, configuring and sending the heartbeat period of the heartbeat message locally;
the global indication means that the network device enables the heartbeat message subscription function for each controller connected with the network device.
3. The method of claim 1, wherein before the identifying whether the heartbeat message subscription function is currently enabled, the method further comprises:
after establishing a NETCONF session with the controller, receiving a second configuration instruction input by a user, wherein the second configuration instruction comprises a global instruction and configuration information of the heartbeat message subscription function;
enabling the heartbeat message subscription function locally according to the global indication;
according to the configuration information, configuring and sending the heartbeat period of the heartbeat message locally;
and the heartbeat message subscription function is not enabled on the NETCONF session.
4. The method according to claim 1, wherein the method further comprises:
if the heartbeat message subscription function is enabled locally and the heartbeat message subscription function is not negotiated when the NETCONF session is negotiated with the controller, the heartbeat message subscription function is not enabled on the NETCONF session.
5. A subscription apparatus for heartbeat messages, the apparatus being applied to a network device, the apparatus comprising:
the device comprises an identification unit, a processing unit and a processing unit, wherein the identification unit is used for identifying whether a heartbeat message subscription function is enabled currently, and the heartbeat message subscription function comprises a heartbeat period for sending a heartbeat message;
a sending unit, configured to send a heartbeat message to a controller according to the heartbeat cycle if the heartbeat message subscription function is enabled, so that the controller determines that a netcon f service configured in the network device is in an active state;
the apparatus further comprises:
the receiving unit is used for receiving a first configuration instruction input by a user, wherein the first configuration instruction comprises a global instruction and configuration information of the heartbeat message subscription function;
the enabling unit is used for enabling the heartbeat message subscription function locally according to the global indication;
the configuration unit is used for locally configuring and sending the heartbeat period of the heartbeat message according to the configuration information;
the global indication means that the network device enables the heartbeat message subscription function for each controller connected with the network device;
the apparatus further comprises:
the establishing unit is used for negotiating with the controller to establish a NETCONF session;
the enabling unit is further configured to enable the heartbeat message subscription function on the netcon f session and configure a heartbeat cycle for sending the heartbeat message if the heartbeat message subscription function has been negotiated with the controller in a negotiation process;
if the heartbeat message subscription function is not negotiated with the controller in the negotiation process, the heartbeat message subscription function is not enabled on the netcon f session.
6. The apparatus of claim 5, wherein the receiving unit is further configured to receive a second configuration instruction input by a user after establishing a netcon f session with the controller, the second configuration instruction including a global instruction and configuration information of the heartbeat message subscription function;
the enabling unit is further configured to enable the heartbeat message subscription function locally according to the global indication;
the configuration unit is further configured to locally configure a heartbeat cycle of sending the heartbeat message according to the configuration information;
and the heartbeat message subscription function is not enabled on the NETCONF session.
7. The apparatus of claim 5, wherein the enabling unit is further configured to disable the heartbeat message subscription function on the netcon f session if the heartbeat message subscription function is not negotiated when the heartbeat message subscription function is enabled locally and a netcon f session is negotiated with the controller.
CN202111372687.8A 2021-11-18 2021-11-18 Method and device for subscribing heartbeat messages Active CN114221884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111372687.8A CN114221884B (en) 2021-11-18 2021-11-18 Method and device for subscribing heartbeat messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111372687.8A CN114221884B (en) 2021-11-18 2021-11-18 Method and device for subscribing heartbeat messages

Publications (2)

Publication Number Publication Date
CN114221884A CN114221884A (en) 2022-03-22
CN114221884B true CN114221884B (en) 2023-12-26

Family

ID=80697539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111372687.8A Active CN114221884B (en) 2021-11-18 2021-11-18 Method and device for subscribing heartbeat messages

Country Status (1)

Country Link
CN (1) CN114221884B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009006808A1 (en) * 2007-07-06 2009-01-15 Huawei Technologies Co., Ltd. A method and system for sending the event notices based on netconf
CN105721235A (en) * 2014-12-05 2016-06-29 华为技术有限公司 Method and apparatus for detecting connectivity
CN110149368A (en) * 2019-04-19 2019-08-20 平安科技(深圳)有限公司 Heartbeat packet transmission method, device and computer equipment based on intermediate server
CN111641702A (en) * 2020-05-26 2020-09-08 南京领行科技股份有限公司 Heartbeat message management method and device
WO2020220938A1 (en) * 2019-04-29 2020-11-05 华为技术有限公司 Data acquisition method, apparatus, device, and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8261290B2 (en) * 2005-12-30 2012-09-04 Microsoft Corporation Heartbeat subscriptions
CN108259213B (en) * 2017-05-26 2020-05-12 新华三技术有限公司 NETCONF session state detection method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009006808A1 (en) * 2007-07-06 2009-01-15 Huawei Technologies Co., Ltd. A method and system for sending the event notices based on netconf
CN105721235A (en) * 2014-12-05 2016-06-29 华为技术有限公司 Method and apparatus for detecting connectivity
CN110149368A (en) * 2019-04-19 2019-08-20 平安科技(深圳)有限公司 Heartbeat packet transmission method, device and computer equipment based on intermediate server
WO2020211373A1 (en) * 2019-04-19 2020-10-22 平安科技(深圳)有限公司 Heartbeat packet sending method and apparatus based on intermediate server, and computer device
WO2020220938A1 (en) * 2019-04-29 2020-11-05 华为技术有限公司 Data acquisition method, apparatus, device, and computer readable storage medium
KR20210079352A (en) * 2019-04-29 2021-06-29 후아웨이 테크놀러지 컴퍼니 리미티드 Data collection method, apparatus, device and computer-readable storage medium
CN111641702A (en) * 2020-05-26 2020-09-08 南京领行科技股份有限公司 Heartbeat message management method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Open Source Implementation of OpenConfig Telemetry-Enabled NETCONF Agent;A. Sgambelluri、等;《2019 21st International Conference on Transparent Optical Networks (ICTON)》;全文 *
一种提高工业以太网通信可靠性的方法;文杰;鄢锋;;南华大学学报(自然科学版)(04);全文 *

Also Published As

Publication number Publication date
CN114221884A (en) 2022-03-22

Similar Documents

Publication Publication Date Title
US20130212227A1 (en) System and method for streaming data via http
US20140310358A1 (en) Adaptive Publish/Subscribe System
CN113452774B (en) Message pushing method, device, equipment and storage medium
US20110258688A1 (en) Resource monitoring using a jmx message bridge
CN111045807B (en) Method, device, computer equipment and storage medium for processing task based on zookeeper
US20090150789A1 (en) Dynamic multi-platform monitoring client for WSD-enabled devices
US10498581B2 (en) Event processing in a network management system
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN108900627B (en) Network request method, terminal device and storage medium
CN106899605B (en) Communication method and device based on STOMP protocol
CN114221884B (en) Method and device for subscribing heartbeat messages
US20210288899A1 (en) Method and device for detecting network reliability
CN105281940B (en) Method, equipment and system for HELLO message interaction based on NETCONF protocol
WO2020037607A1 (en) Data transmission method and apparatus
TWI507889B (en) Management node , method , machine 一accessible medium and system for reservation and execution image writing of native computing devices
CN106464728A (en) Method of handling notification channel disconnection
CN110554884B (en) Configuration method, device, background server and storage medium
CN112153146A (en) Operation notification method and apparatus, storage medium, and electronic apparatus
US11863368B2 (en) Method and apparatus for subscribing to event streams
CN115103005B (en) Request response method, request response device, electronic equipment and storage medium
CN115357409A (en) Task processing method
CN116319477A (en) Communication method and device
CN112583621B (en) Method, equipment and system for automatically quitting commissioning
CN113472841B (en) Implementation method and device for terminating remote procedure call request
CN111813621A (en) Data processing method, device, equipment and medium based on Flume data middlebox

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant