CN110505286B - Equipment on-line monitoring method, device and system - Google Patents

Equipment on-line monitoring method, device and system Download PDF

Info

Publication number
CN110505286B
CN110505286B CN201910707088.3A CN201910707088A CN110505286B CN 110505286 B CN110505286 B CN 110505286B CN 201910707088 A CN201910707088 A CN 201910707088A CN 110505286 B CN110505286 B CN 110505286B
Authority
CN
China
Prior art keywords
online
monitoring
communication equipment
communication
line
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
CN201910707088.3A
Other languages
Chinese (zh)
Other versions
CN110505286A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201910707088.3A priority Critical patent/CN110505286B/en
Publication of CN110505286A publication Critical patent/CN110505286A/en
Application granted granted Critical
Publication of CN110505286B publication Critical patent/CN110505286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to an online equipment monitoring method, device and system, wherein the method comprises the following steps: carrying out preset rounds of online monitoring on each communication device, and marking the communication devices confirmed to be online as online; monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online; the online monitoring rules include: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data, and confirming the communication equipment which feeds back the second response data in a second preset response time as the communication equipment which is on line in the current round. The influence of network instability factors is avoided, the online monitoring precision of the equipment is improved, and the online monitoring error of the equipment is reduced.

Description

Equipment on-line monitoring method, device and system
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a method, an apparatus, and a system for monitoring an apparatus online.
Background
In the wireless communication process, the interaction between the network management system and the communication device is usually involved, and whether the communication device is online or not directly influences the stability of data interaction between the network management system and the communication device. At present, when a network management system interacts with a communication device, due to unstable network factors, it cannot be guaranteed that the success rate of data packet transmission can reach 100%, and a certain data packet loss or time delay usually occurs.
In the implementation process, the inventor finds that at least the following problems exist in the conventional technology: in the traditional equipment online monitoring process, the influence of network instability factors is easily caused, the equipment online monitoring is accurate and low, and the equipment online monitoring error is large.
Disclosure of Invention
Therefore, it is necessary to provide an online monitoring method, an online monitoring device and an online monitoring system for the traditional online monitoring process of the equipment, which are easily affected by network instability factors, have low online monitoring accuracy of the equipment and have large online monitoring errors of the equipment.
In order to achieve the above object, an embodiment of the present invention provides an online monitoring method for a device, including the following steps:
carrying out preset rounds of online monitoring on each communication device, and marking the communication devices confirmed to be online as online; monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online;
the online monitoring rules include: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round.
In one embodiment, the step of transmitting the first request instruction to the communication device which is not marked to be on-line in the previous round of on-line monitoring comprises the following steps:
and marking the communication equipment which does not feed back the first response data within the first preset response time to be offline.
In one embodiment, the step of transmitting the second request instruction to the communication device which does not feed back the first response data within the first preset response time is followed by:
and marking the communication equipment which does not feed back the second response data within the second preset response time as offline.
In one embodiment, the step of transmitting the first request instruction to the communication device which is not marked to be on-line in the previous round of on-line monitoring comprises the following steps:
generating a first request instruction based on a first communication protocol mode;
the first communication protocol mode is a Ping mode of a TCP/IP protocol, a GET mode of an HTTP protocol, a GET mode of an SNMP protocol or a TR069 protocol.
In one embodiment, the step of transmitting the second request instruction to the communication device which does not feed back the first response data within the first preset response time is preceded by:
generating a second request instruction based on a second communication protocol mode;
the second communication protocol mode is a Ping mode of a TCP/IP protocol, a GET mode of an HTTP protocol, a GET mode of an SNMP protocol or a TR069 protocol.
In one embodiment, the method further comprises the following steps:
acquiring the online number of the communication equipment marked as online;
and obtaining the online rate of the corresponding communication equipment according to the online number and the total number of the communication equipment.
On the other hand, an embodiment of the present invention further provides an online monitoring device for equipment, including:
the online marking module is used for carrying out online monitoring on each communication device in a preset turn and marking the communication devices confirmed to be online as online; monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online;
the online monitoring rules include: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round.
On the other hand, the embodiment of the invention also provides an online equipment monitoring system, which comprises a communication management system and communication equipment which is respectively in communication connection with the communication management system;
the communication management system is used for executing the online monitoring method of any one of the devices.
In one embodiment, the communication management system is an NMS; the communication device is a switch, a terminal or a base station.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above-mentioned device online monitoring method.
One of the above technical solutions has the following advantages and beneficial effects:
in each embodiment of the above-mentioned device online monitoring method, an online monitoring rule is adopted to perform a preset turn of online monitoring on each communication device, and the communication device determined to be online is marked as online; monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online; the online monitoring rules include: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round. By detecting the communication equipment for many times, network packet loss is eliminated, and the accuracy of online monitoring of the equipment is improved. The method and the device can avoid the influence of network instability factors, improve the online monitoring precision of the equipment and reduce the online monitoring error of the equipment.
Drawings
FIG. 1 is a schematic diagram of an application environment of a method for monitoring an apparatus online in one embodiment;
FIG. 2 is a schematic diagram of a first process for a method for monitoring a device on-line according to an embodiment;
FIG. 3 is a second flow diagram of a method for monitoring a device on-line according to one embodiment;
FIG. 4 is a third schematic flow chart of a method for on-line monitoring of a device according to an embodiment;
FIG. 5 is a fourth flowchart illustrating a method for monitoring a device on-line according to an embodiment;
FIG. 6 is a schematic block diagram of an apparatus for on-line monitoring of a device in one embodiment;
FIG. 7 is a schematic diagram of an embodiment of a system for monitoring the presence of a device.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are shown in the drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Conventional monitoring whether a communication device is on-line generally employs the following: one is that the communication equipment sends heartbeat actively, the network management system defines overtime time, when the current time minus the last heartbeat time is greater than the overtime time, the communication equipment is judged to be off-line; the other is that the network management system initiates the request actively, if the communication device has data packet returned within the timeout period, this time indicates that the communication device is on-line, otherwise it is off-line. In the process of monitoring whether the communication equipment is on line or not in the traditional way, when the network is unstable, whether the equipment is on line or not cannot be accurately counted.
In the device online monitoring method provided by the application, each communication device is subjected to online monitoring in a preset turn by adopting an online monitoring rule, and the communication devices meeting the requirements are marked as online; by detecting the communication equipment for many times, network packet loss is eliminated, and the accuracy of online monitoring of the equipment is improved. The influence of network instability factors is avoided, the online monitoring precision of the equipment is improved, and the online monitoring error of the equipment is reduced.
The online monitoring method for the equipment can be applied to the application environment shown in fig. 1. Wherein the network management system 102 is communicatively coupled to the communication device 104. Wherein, the network Management system 102 may be an nms (network Management system); the network management system 102 may be implemented by an independent management system or a network management system cluster composed of a plurality of management systems; the communication device 104 may be, but is not limited to, a switch, a terminal, a base station, and various device units that may be managed by a network management system.
In one embodiment, as shown in fig. 2, a method for monitoring devices online is provided, which is described by taking the method as an example for being applied to the network management system 102 in fig. 1, and includes the following steps:
step S210, carrying out online monitoring of preset turns on each communication device, and marking the communication device confirmed to be online as online; and monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online.
The preset round can be set according to the actual network condition; for example, if the preset turn is 5 times, 5 turns of online monitoring are performed on each communication device. A communication device that is online refers to a communication device that is capable of responding according to a request. The online monitoring rule refers to that in each round of online monitoring, whether the communication equipment is online or not is monitored in two request modes. The communication device on line in the current round refers to a communication device capable of responding according to a request in the current round of online monitoring.
Specifically, the network management system performs a preset round of cyclic online monitoring on each communication device by using an online monitoring rule, and marks the communication device determined to be online as online. Further, the network management system monitors each communication device according to the online monitoring rule when performing the current round of online monitoring based on the preset round, and marks the communication device determined to be online in the current round as online. By adopting the online monitoring rule, the online monitoring is carried out on each communication device for multiple rounds, namely, the abnormal communication device of the network is subjected to multiple rounds of detection, and the network packet loss is eliminated, so that the online monitoring accuracy of the device is improved.
Step S220, the online monitoring rule includes: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round.
The first request instruction can be used for requesting the communication equipment to feed back the first response data, and then whether the communication equipment is online or not can be judged according to whether the communication equipment feeds back the first response data or not; the first response data may be a response message corresponding to the first request instruction. The second request instruction can be used for requesting the communication equipment to feed back second response data, and further judging whether the communication equipment is online according to whether the communication equipment feeds back the second response data; the second response data may be a response message corresponding to the second request instruction. The first preset response time can be obtained according to system presetting; the second preset response time may be obtained according to a system preset. In one example, the first preset response time is the same as the second preset response time.
Specifically, the network management system may perform online monitoring on the communication device according to an online monitoring rule in each round of online monitoring. Namely, when the network management system is in the current round of online monitoring, the network management system can transmit a first request instruction to the communication equipment which is not marked online in the previous round of online monitoring, and the communication equipment which feeds back first response data in a first preset response time is determined as the communication equipment in the current round of online monitoring, so that whether the communication equipment is online or not is monitored by adopting a first request mode in the current round of online monitoring; and the network management system transmits a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirms the communication equipment which feeds back the second response data within the second preset response time as the communication equipment on line in the current round, so that whether the communication equipment is on line or not is monitored by adopting a second request mode in the current round of on-line monitoring. Whether the communication equipment is on line or not is monitored by adopting two request modes in each turn, and the accuracy of on-line monitoring of the equipment is further improved.
In the above-mentioned device online monitoring method, an online monitoring rule is adopted to perform a preset turn of online monitoring on each communication device, and the communication device determined to be online is marked as online. By detecting the communication equipment for many times, network packet loss is eliminated, and the accuracy of online monitoring of the equipment is improved. The influence of network instability factors is avoided, the online monitoring precision of the equipment is improved, and the online monitoring error of the equipment is reduced.
In one embodiment, as shown in fig. 3, a method for monitoring devices online is provided, which is illustrated by applying the method to the network management system 102 in fig. 1 as an example; the preset monitoring rule comprises the following steps:
step S310, a first request instruction is transmitted to the communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and the communication equipment which feeds back the first response data in the first preset response time is confirmed as the communication equipment on-line in the current round.
Step S320, mark the communication device which does not feed back the first response data within the first preset response time as offline.
Step S330, transmitting a second request instruction to the communication device which does not feed back the first response data within the first preset response time, and determining the communication device which feeds back the second response data within the second preset response time as the communication device which is online in this turn.
The specific content process of step S310 and step S330 may refer to the above content, and is not described herein again.
Specifically, the network management system may perform online monitoring on the communication device according to an online monitoring rule in each round of online monitoring. Namely, when the network management system is in the current round of online monitoring, the network management system can transmit a first request instruction to the communication equipment which is not marked online in the previous round of online monitoring, the communication equipment which feeds back the first response data within the first preset response time is confirmed as the current round of online communication equipment, and the communication equipment which is not fed back the first response data within the first preset response time is marked as offline, so that whether the communication equipment is online or not is monitored by adopting a first request mode in the current round of online monitoring, the communication equipment is marked and distinguished, and the online monitoring efficiency of the communication equipment is improved. And the network management system transmits a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirms the communication equipment which feeds back the second response data within the second preset response time as the communication equipment on line in the current round, so that whether the communication equipment is on line or not is monitored by adopting a second request mode in the current round of on-line monitoring. Whether the communication equipment is on line or not is monitored by adopting two request modes in each turn, and the accuracy of on-line monitoring of the equipment is further improved.
It should be noted that the communication device marked as offline may be a communication device that responds or times out after the network management system sends a request.
In a specific embodiment, as shown in fig. 3, the step of transmitting the second request instruction to the communication device that does not feed back the first response data within the first preset response time includes:
step S340, mark the communication device which does not feed back the second response data in the second preset response time as offline.
Specifically, the network management system transmits a second request instruction to the communication device which does not feed back the first response data within the first preset response time, confirms the communication device which feeds back the second response data within the second preset response time as the communication device of the current round, and marks the communication device which does not feed back the second response data within the second preset response time as an offline, so that whether the communication device is online or not is monitored by adopting a second request mode in the current round of online monitoring, the communication devices are marked and distinguished, the online monitoring precision of the device is improved, and the online monitoring error of the device is reduced.
In one embodiment, as shown in fig. 4, a method for monitoring devices online is provided, which is illustrated by applying the method to the network management system 102 in fig. 1 as an example; the preset monitoring rule comprises the following steps:
step S410, generating a first request instruction based on a first communication protocol mode; the first communication protocol mode is a Ping mode of a TCP/IP protocol, a GET mode of an HTTP protocol, a GET mode of an SNMP protocol or a TR069 protocol.
Wherein, Ping in Ping mode of TCP/IP protocol is a network diagnostic tool, which is a part of TCP/IP protocol. The Ping command is favorable for checking whether the diagnostic network is connected or not, and network faults can be checked and analyzed. The GET in the GET mode of the HTTP protocol is a method defined in the HTTP protocol, represents page information specified by a request, and returns an entity body. SNMP is a simple network management protocol, belongs to an application layer protocol in a TCP/IP five-layer protocol, and is used for a protocol of network management. The TR069 protocol is a communication protocol for interactive messages between an ACS (Auto-Configuration Server) and a CPE (customer preference equipment), and is used for remotely monitoring and managing CPE devices.
Step S420, transmitting a first request instruction to a communication device that is not marked online in the previous round of online monitoring, and determining the communication device that feeds back the first response data within the first preset response time as the communication device of the current round of online monitoring.
Step S440, transmitting a second request instruction to the communication device which does not feed back the first response data within the first preset response time, and determining the communication device which feeds back the second response data within the second preset response time as the communication device which is online in the current round.
The specific content process of step S420 and step S440 may refer to the above content, and is not described herein again.
Specifically, the network management system may generate a first request instruction based on a first communication protocol mode, and further, in each round of online monitoring, may transmit the first request instruction to a communication device that is not marked online in a previous round of online monitoring according to an online monitoring rule, and determine a communication device that feeds back first response data within a first preset response time as the communication device of the current round of online monitoring; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round. Whether the communication equipment is on line or not is monitored by adopting two request modes in each turn, and the accuracy of on-line monitoring of the equipment is further improved.
In a specific embodiment, as shown in fig. 4, the step of transmitting the second request instruction to the communication device which does not feed back the first response data within the first preset response time includes:
step S430, generating a second request instruction based on the second communication protocol mode; the second communication protocol mode is a Ping mode of a TCP/IP protocol, a GET mode of an HTTP protocol, a GET mode of an SNMP protocol or a TR069 protocol.
Specifically, the network management system may generate a second request instruction based on the second communication protocol, and further may transmit the second request instruction to the communication device that does not feed back the first response data within the first preset response time, and determine the communication device that feeds back the second response data within the second preset response time as the communication device that is online in the current round.
In one example, the network management system may transmit the generated first request instruction to the communication device based on a GET mode of an HTTP protocol, and confirm that the communication device is the communication device that is online in the current round if the communication device feeds back first response data within a first preset response time; and if the communication equipment does not feed back the first response data, transmitting the generated second request instruction to the communication equipment based on a Ping mode of a TCP/IP protocol, and if the communication equipment feeds back the first response data within the first preset response time, confirming that the communication equipment is the communication equipment on line in the current round, thereby improving the accuracy of on-line monitoring of the equipment.
It should be noted that, in the same round of online monitoring, the first communication protocol mode and the second communication protocol mode adopted by the network management system may be the same or different.
In a specific embodiment, as shown in fig. 5, a method for monitoring an online device is provided, which is described by taking the method as an example for being applied to the network management system 102 in fig. 1, and includes the following steps:
step S510, carrying out on-line monitoring of a preset turn on each communication device, and marking the communication devices confirmed to be on-line as on-line; and monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online. The online monitoring rules include: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is on line in the current round.
Step S520, obtain the online number of the communication devices marked as online.
Step S530, obtaining the online rate of the corresponding communication equipment according to the online quantity and the total quantity of the communication equipment.
The specific content process of step S510 may refer to the above content, and is not described herein again.
Specifically, the network management system performs a preset turn of online monitoring on each communication device by adopting an online monitoring rule, and further obtains the online quantity of the communication devices marked as online according to the online monitoring result; according to the online number of the communication equipment marked as online and the total number of the communication equipment, the online rate of the corresponding communication equipment can be obtained, the online rate of the communication equipment can be monitored in real time, the influence of network instability factors is avoided, the online monitoring precision of the equipment is improved, and the online monitoring error of the equipment is reduced.
In one example, a device queue of the corresponding communication device may be preset, and the network management system may perform a preset round of online monitoring on each communication device in the device queue by using an online monitoring rule, and remove the identity information of the corresponding online communication device from the device queue after one round of online detection, so as to screen out the communication device with time-out when no response or a response is received; and monitoring the communication queue based on the online monitoring rule again (continuously for N times), so that the equipment can be monitored online more accurately under the condition of unstable network, the online monitoring accuracy of the equipment is improved, and the online misjudgment rate of the equipment is reduced.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 6, there is provided an online monitoring device for equipment, including:
the online marking module 610 is configured to perform online monitoring for each communication device for a preset turn, and mark the communication device determined to be online as online; monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online;
the online monitoring rules include: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round.
For the specific definition of the on-line monitoring device of the device, reference may be made to the above definition of the on-line monitoring method of the device, and details are not described herein again. The modules in the on-line monitoring device of the equipment can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a processor in the online monitoring system of the device in a hardware form or independent of the processor in the online monitoring system of the device, and can also be stored in a memory in the online monitoring system of the device in a software form, so that the processor can call and execute the corresponding operations of the modules.
In one embodiment, as shown in fig. 7, a device on-line monitoring system is provided, which includes a communication management system 710 and communication devices 720 respectively communicatively connected to the communication management system 710; the communication management system 710 is configured to perform any of the above-described methods for monitoring devices online.
The communication management system 710 is configured to perform the method for monitoring the device online, and includes the following steps:
carrying out preset rounds of online monitoring on each communication device, and marking the communication devices confirmed to be online as online; and monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online.
The online monitoring rules include: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round.
In the above-mentioned device online monitoring system, the network management system performs a preset turn of online monitoring on each communication device by using an online monitoring rule including two request modes, and marks the communication device determined to be online as online, thereby implementing online monitoring on the communication device. By detecting the communication equipment for many times, network packet loss is eliminated, and the accuracy of online monitoring of the equipment is improved. The influence of network instability factors is avoided, the online monitoring precision of the equipment is improved, and the online monitoring error of the equipment is reduced.
In one example, network Management system 710 may be an nms (network Management system); the communication devices 720 may be, but are not limited to, switches, terminals, base stations, and other equipment elements that may be monitored by the NMS. The network management system 710 and the communication device 720 may be connected in wired or wireless communication.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
carrying out preset rounds of online monitoring on each communication device, and marking the communication devices confirmed to be online as online; monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online;
the online monitoring rules include: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, and confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the division methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. An online monitoring method for equipment is characterized by comprising the following steps:
carrying out preset rounds of online monitoring on each communication device, and marking the communication devices confirmed to be online as online; monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online;
the online monitoring rule comprises: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment which is online in the current round, and marking the communication equipment which does not feed back the second response data within the second preset response time as offline.
2. The method for monitoring the on-line of equipment according to claim 1, wherein the step of transmitting the first request command to the communication equipment which is not marked on-line in the previous round of on-line monitoring is followed by:
and marking the communication equipment which does not feed back the first response data within the first preset response time to be offline.
3. The method for monitoring the on-line of equipment according to claim 1, wherein the step of transmitting the first request command to the communication equipment which is not marked on-line in the previous round of on-line monitoring comprises:
generating the first request instruction based on a first communication protocol mode;
the first communication protocol mode is a Ping mode of a TCP/IP protocol, a GET mode of an HTTP protocol, a GET mode of an SNMP protocol or a TR069 protocol.
4. The method for monitoring the on-line of equipment according to claim 1, wherein the step of transmitting the second request instruction to the communication equipment which does not feed back the first response data within the first preset response time is preceded by:
generating the second request instruction based on a second communication protocol mode;
the second communication protocol mode is a Ping mode of a TCP/IP protocol, a GET mode of an HTTP protocol, a GET mode of an SNMP protocol or a TR069 protocol.
5. The on-line monitoring method for the equipment according to any one of claims 1 to 4, characterized by further comprising the steps of:
acquiring the online number of the communication equipment marked as online;
and obtaining the online rate corresponding to the communication equipment according to the online number and the total number of the communication equipment.
6. An apparatus for on-line monitoring of a device, comprising:
the online marking module is used for carrying out online monitoring on each communication device in a preset turn and marking the communication devices confirmed to be online as online; monitoring according to an online monitoring rule in the current round of online monitoring, and marking the communication equipment which is determined to be online in the current round as online;
the online monitoring rule comprises: transmitting a first request instruction to communication equipment which is not marked to be on-line in the previous round of on-line monitoring, and confirming the communication equipment which feeds back first response data in a first preset response time as the communication equipment on-line in the current round; and transmitting a second request instruction to the communication equipment which does not feed back the first response data within the first preset response time, confirming the communication equipment which feeds back the second response data within the second preset response time as the communication equipment on line in the current round, and marking the communication equipment which does not feed back the second response data within the second preset response time as off-line.
7. The on-line equipment monitoring system is characterized by comprising a communication management system and communication equipment which is respectively in communication connection with the communication management system;
the communication management system is used for executing the online monitoring method of the equipment in any one of claims 1 to 5.
8. The on-line device monitoring system of claim 7, wherein the communication management system is an NMS;
the communication equipment is an exchanger, a terminal or a base station.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for monitoring an apparatus according to any one of claims 1 to 5 online.
CN201910707088.3A 2019-08-01 2019-08-01 Equipment on-line monitoring method, device and system Active CN110505286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910707088.3A CN110505286B (en) 2019-08-01 2019-08-01 Equipment on-line monitoring method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910707088.3A CN110505286B (en) 2019-08-01 2019-08-01 Equipment on-line monitoring method, device and system

Publications (2)

Publication Number Publication Date
CN110505286A CN110505286A (en) 2019-11-26
CN110505286B true CN110505286B (en) 2022-05-06

Family

ID=68587011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910707088.3A Active CN110505286B (en) 2019-08-01 2019-08-01 Equipment on-line monitoring method, device and system

Country Status (1)

Country Link
CN (1) CN110505286B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219100A (en) * 2014-09-30 2014-12-17 迈普通信技术股份有限公司 Information acquiring method and device
CN104950759A (en) * 2015-06-17 2015-09-30 国网山东东平县供电公司 Online monitoring and maintaining system for intelligent substation
CN104993970A (en) * 2014-12-22 2015-10-21 国家电网公司 Centralized monitoring method of distributed system key operation index data
CN106712979A (en) * 2015-07-16 2017-05-24 中兴通讯股份有限公司 Network element monitoring method and device
CN107172380A (en) * 2017-06-05 2017-09-15 广州视源电子科技股份有限公司 Participant's state judging method, system and interactive intelligent tablet computer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6970552B1 (en) * 2000-03-22 2005-11-29 Sbc Properties, L.P. Web-based network monitoring tool
CN104751306A (en) * 2015-04-28 2015-07-01 海南汉能薄膜太阳能有限公司 Industrial control equipment monitoring method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219100A (en) * 2014-09-30 2014-12-17 迈普通信技术股份有限公司 Information acquiring method and device
CN104993970A (en) * 2014-12-22 2015-10-21 国家电网公司 Centralized monitoring method of distributed system key operation index data
CN104950759A (en) * 2015-06-17 2015-09-30 国网山东东平县供电公司 Online monitoring and maintaining system for intelligent substation
CN106712979A (en) * 2015-07-16 2017-05-24 中兴通讯股份有限公司 Network element monitoring method and device
CN107172380A (en) * 2017-06-05 2017-09-15 广州视源电子科技股份有限公司 Participant's state judging method, system and interactive intelligent tablet computer

Also Published As

Publication number Publication date
CN110505286A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN110493075B (en) Method, device and system for monitoring online duration of equipment
US20200213236A1 (en) Methods and apparatus for facilitating fault detection and/or predictive fault detection
CN111786804A (en) Link fault monitoring method and device
CN114629822B (en) Link detection method, device, electronic equipment and storage medium
CN114500358B (en) Gateway message distribution method, device, equipment and storage medium
CN103716420A (en) Automatic station address obtaining method of Modbus ASCII slave station and slave station
CN111682892B (en) Automatic link establishment method based on service perception of intelligent gateway in satellite communication
CN107395451B (en) Processing method, device and equipment for internet traffic abnormity and storage medium
CN101174994A (en) Network card test system and method thereof
EP4329358A1 (en) Network slice self-optimization method, base station, and storage medium
CN112887416B (en) Frequency adjustment method and device for sending keep-alive packets
CN110505286B (en) Equipment on-line monitoring method, device and system
CN112702204A (en) Equipment monitoring method, device, server and storage medium
CN106130787B (en) Service processing system based on software defined network
CN110519080B (en) Session monitoring adjustment method, device, storage medium and apparatus
CN115242873B (en) Message response method and device for PCB (printed circuit board) equipment, computer equipment and storage medium
CN109660425B (en) Monitoring method, determining method, monitoring equipment and storage medium
CN116248721A (en) Management method and device of Internet of things equipment, computer equipment and storage medium
EP3174246B1 (en) Method and device for sending bulk data acquisition request
CN112788636B (en) Method, device and network management system for determining cell state
KR100716170B1 (en) Apparatus and method for retrying function
CN113079063A (en) Offline judgment method, system and device for charging device and computer storage medium
CN111190788B (en) Data monitoring method and device, electronic equipment and readable medium
CN115827678B (en) Method, device, medium and electronic equipment for acquiring service data
CN114827260B (en) Data transmission method and related device

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
TA01 Transfer of patent application right

Effective date of registration: 20200113

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Comba Telecom System (China) Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant