CN110740355A - Equipment monitoring method and device, electronic equipment and storage medium - Google Patents

Equipment monitoring method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110740355A
CN110740355A CN201910944728.2A CN201910944728A CN110740355A CN 110740355 A CN110740355 A CN 110740355A CN 201910944728 A CN201910944728 A CN 201910944728A CN 110740355 A CN110740355 A CN 110740355A
Authority
CN
China
Prior art keywords
video networking
video
directory
equipment
monitoring
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.)
Pending
Application number
CN201910944728.2A
Other languages
Chinese (zh)
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910944728.2A priority Critical patent/CN110740355A/en
Publication of CN110740355A publication Critical patent/CN110740355A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load

Abstract

The invention provides equipment monitoring methods, devices, electronic equipment and storage media, wherein the method comprises the steps that a monitoring server receives heartbeat messages sent by video networking equipment based on a video networking transparent transmission protocol and through a video networking server, records the state of the video networking equipment to be online after receiving the heartbeat messages sent by the video networking equipment, records the state of the video networking equipment to be offline after continuously setting times without receiving the heartbeat messages sent by the video networking equipment, and synchronizes the state of the video networking equipment monitored by the monitoring server to other monitoring servers respectively, the monitoring server can learn the state of the equipment in time in aspects and update the equipment information recorded by the monitoring server in time to ensure the accuracy of the equipment information, and in aspects, the states of all the video networking equipment are recorded in each monitoring server, so that the situation that the equipment cannot be queried due to the fault of one monitoring server can be avoided.

Description

Equipment monitoring method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of video networking, in particular to a method and a device for monitoring devices, an electronic device and a storage medium.
Background
The video networking is an important milestone for network development, is real-time networks, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition face-to-face, the video networking adopts a real-time high-definition video exchange technology, and can integrate dozens of services required by network platforms, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital television broadcasting, delayed television, network teaching, live broadcasting, on-demand broadcasting, television mail, personalized recording, intranet (self-office) channels, intelligent video broadcasting control, information distribution and other services into system platforms, and realize high-definition quality video broadcasting through a television or a computer.
There may be many devices in the video network, such as routers, hubs, etc. these network devices may be managed by the management platform of system , and the status of the devices may be recorded for user query.
In view of the above situation, it is common today in video networking for a management platform to periodically query the status of devices. However, the method cannot find the state change condition of the device in time, and the real-time performance is poor, so that the device information of the management platform is inaccurate.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide methods, apparatuses, electronic devices and storage media for monitoring devices that overcome or at least partially solve the above problems.
, the embodiment of the invention discloses a device monitoring method, configuring a plurality of monitoring service terminals, each monitoring service terminal is used for monitoring a plurality of video network devices, the method comprises:
the monitoring server receives heartbeat messages sent by the video networking equipment based on the video networking transparent transmission protocol and through the video networking server;
after receiving the heartbeat message sent by the video networking equipment, the monitoring server side records that the state of the video networking equipment is on-line;
after the monitoring server side does not receive heartbeat messages sent by the video networking equipment for continuously set times, recording the state of the video networking equipment as an offline state;
and the monitoring server side synchronizes the states of the video networking equipment monitored by the monitoring server side to other monitoring server sides respectively.
Optionally, the monitoring server stores a video networking device directory; the step of recording the state of the video networking equipment as online comprises the following steps: and if the directory node corresponding to the video network equipment does not exist in the video network equipment directory, adding the directory node corresponding to the video network equipment in the video network equipment directory.
Optionally, the monitoring server stores a video networking equipment directory, and the video networking equipment directory includes subdirectories; the heartbeat message carries a designated subdirectory; the step of recording the state of the video networking equipment as online comprises the following steps: if the directory node corresponding to the video network equipment does not exist in the video network equipment directory, adding the directory node corresponding to the video network equipment in the specified subdirectory in the video network equipment directory.
Optionally, the monitoring server stores a video networking device directory; the step of recording the state of the video networking equipment as offline comprises the following steps: and deleting the directory node corresponding to the video network equipment from the video network equipment directory.
In a second aspect, the embodiment of the invention discloses an kinds of equipment monitoring device, which is provided with a plurality of monitoring service terminals, wherein each monitoring service terminal is used for monitoring a plurality of video network equipment, and the device is applied to the monitoring service terminals and comprises:
the receiving module is used for receiving heartbeat messages sent by the video networking equipment based on the video networking transparent transmission protocol and the video networking server;
an recording module, configured to record, after receiving the heartbeat message sent by the video networking device, that the state of the video networking device is online;
the second recording module is used for recording the state of the video network equipment as off-line after the heartbeat message sent by the video network equipment is not received for the continuous set times;
and the synchronization module is used for synchronizing the states of the video networking equipment monitored by the synchronization module to other monitoring service terminals respectively.
Optionally, the monitoring server stores a video networking device directory, and the th recording module includes a th adding unit, configured to add a directory node corresponding to the video networking device in the video networking device directory if the directory node corresponding to the video networking device does not exist in the video networking device directory.
Optionally, the monitoring server stores a video networking equipment directory, the video networking equipment directory comprises subdirectories, the heartbeat message carries a designated subdirectory, and the recording module comprises a second adding unit, which is used for adding a directory node corresponding to the video networking equipment in the designated subdirectory in the video networking equipment directory if the directory node corresponding to the video networking equipment does not exist in the video networking equipment directory.
Optionally, the monitoring server stores a video networking device directory; the second recording module includes: and the deleting unit is used for deleting the directory node corresponding to the video networking equipment from the video networking equipment directory.
In a third aspect, an embodiment of the invention discloses electronic devices including or more processors and or more machine-readable media having instructions stored thereon, which when executed by the or more processors, cause the processor to perform the device monitoring method of any of above.
In a fourth aspect, embodiments of the present invention disclose computer readable storage media storing a computer program for causing a processor to perform the device monitoring method as described in any of above.
In the embodiment of the invention, a plurality of monitoring service terminals are configured, each monitoring service terminal is used for monitoring a plurality of video networking devices, the monitoring service terminals receive heartbeat messages sent by the video networking devices based on a video networking transparent transmission protocol, the monitoring service terminals record the state of the video networking devices as online after receiving the heartbeat messages sent by the video networking devices, the monitoring service terminals record the state of the video networking devices as offline after not receiving the heartbeat messages sent by the video networking devices for a continuously set number of times, the monitoring service terminals synchronize the states of the video networking devices monitored by the monitoring service terminals to other monitoring service terminals respectively, therefore, the aspect of the embodiment of the invention can know the states of the devices in time by sending the heartbeat messages to the monitoring service terminals through the video networking devices, the monitoring service terminals can update the device information recorded by the monitoring service terminals in time to ensure the accuracy of the device information, and the aspect of the invention can avoid that all the monitoring service terminals monitor the video networking devices corresponding to the monitoring service terminals and the monitoring service terminals cannot inquire the states of the monitoring service terminals at will be found out due to the failure.
Drawings
FIG. 1 is a flowchart illustrating the steps of a method for monitoring devices in accordance with an embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of an method for monitoring devices according to a second embodiment of the present invention.
Fig. 3 is a schematic diagram of device interactions according to the second embodiment of the present invention.
Fig. 4 is a block diagram of kinds of device monitoring apparatuses according to a third embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, a more detailed description is provided below in conjunction with the accompanying drawings and the detailed description.
The invention adopts a distributed mode, monitors the corresponding video network equipment through a plurality of monitoring service terminals respectively, and the video network equipment is convenient for the monitoring service terminals to know the state of the video network equipment in time by sending heartbeat messages to the monitoring service terminals regularly. Data synchronization is carried out through each monitoring server, so that the states of all video networking equipment can be recorded in each monitoring server.
Example
In the embodiment of the present invention, a description is given by taking processing procedures of the monitoring service terminals as an example, and the processing procedures of each monitoring service terminal are the same.
Referring to fig. 1, a flow chart of the steps of a method of monitoring a plant is shown according to an embodiment of the present invention.
The equipment monitoring method of the embodiment of the invention can comprise the following steps:
step 101, a monitoring server receives a heartbeat message sent by a video networking device monitored by the monitoring server through a video networking server based on a video networking transparent transmission protocol.
In the embodiment of the present invention, the video networking device may be various devices such as a routing device, a line concentration device, a monitoring device, a video networking terminal, and the like.
When the state of the video networking equipment is on-line, the video networking equipment can regularly package heartbeat messages and send the heartbeat messages to a monitoring server side for detecting the video networking equipment. For the time interval of sending the heartbeat message, a person skilled in the art may set any applicable data according to practical experience, and the embodiment of the present invention is not limited thereto.
In the embodiment of the invention, the video networking equipment can adopt an applicable video networking protocol to package the heartbeat message. For example, a client method corresponding to the monitoring server is implemented on the video networking device, the video networking device transmits a corresponding heartbeat message to the client method, and the client method can transmit the heartbeat message to the monitoring server.
Alternatively, for ease of handling, reference may be made to the SNMP protocol as it is in the internet. The SNMP protocol enables a network administrator to manage network performance, discover and solve network problems and plan network growth, and the network management system learns of network problems by receiving random messages (and event reports) via SNMP. However, because the heartbeat message is transmitted in the video network, the video network device cannot directly use the SNMP protocol, and the SNMP protocol is modified to the SNMP protocol adapted to the video network environment.
In video networking, devices communicate through a video networking number (emulating an IP address in the internet) and a video networking sub-number (emulating a port in the internet). Wherein, the video network number and the video network subnumber can be obtained after registering in the video network. Therefore, in the implementation, compared with the original SNMP protocol in the Internet, the SNMP protocol modifies the field for configuring the IP address in the original SNMP protocol into the configured video networking number and modifies the field for configuring the port number into the configured video networking sub-number. And after the monitoring server and the video networking equipment define the modified video networking SNMP, the video networking equipment encapsulates the heartbeat message based on the video networking SNMP.
In alternative embodiments, the step of modifying the field for configuring the IP address to the configured internet-of-view number and the field for configuring the port number to the configured internet-of-view sub-number may include steps a1 to a 2:
step A1, the video network device obtains the information of the video network device from its own private information management library through the pre-installed SNMP agent.
The SNMP managed Network consists of three key components, Network Management Systems (NMS), managed devices (managed devices), agents (agents) with which the Network Management system runs applications that monitor and control the managed devices, Network nodes that contain SNMP agents that exist in the managed Network, managed devices that collect and store Management Information via a Management Information Base (MIB) and let the Network Management system get this Information via the SNMP agents, Network Management software modules that exist in the managed devices, agents that control the Management Information of the local machines that pass this Information in SNMP-compatible format.snmp Management center has SNMP trap, entry that gets to the managed devices to notify the Network Management system that SNMP is actively waiting for Network polling.
Therefore, in the embodiment of the present invention, an SNMP agent (agent) is installed in advance in the video networking device, and the video networking device further has its own private information management library, and the information management library stores device information of the video networking device. The device information may include, among other things, the video networking number, video networking sub-number, name, type, version number, etc. of the video networking device. When the video network equipment needs to send heartbeat messages, the video network equipment starts a trapd (trap) service, and the information of the video network equipment is acquired from a private information management library of the video network equipment through an SNMP (simple network management protocol) agent installed on the video network equipment.
Step A2, the video network device encapsulates the information of the video network device through the SNMP agent based on the SNMP protocol, modifies the field for configuring the source IP address into the video network number for configuring the video network device, modifies the field for configuring the destination IP address into the video network number for configuring the monitoring service terminal, modifies the field for configuring the source port number into the video network sub-number for configuring the video network device, and modifies the field for configuring the destination port number into the video network sub-number for configuring the monitoring service terminal, so as to obtain the heartbeat message.
The video networking equipment and the monitoring server side can communicate based on a video networking transparent transmission protocol, the video networking equipment and the monitoring server side transmit information to the video networking server based on a th video networking protocol, the video networking server transmits information to the video networking equipment and the monitoring server side based on a second video networking protocol, the th video networking protocol and the second video networking protocol form the video networking transparent transmission protocol, and the video networking equipment transmits heartbeat messages to the monitoring server side through the video networking server based on the video networking transparent transmission protocol.
The video network device and the monitoring server exchange respective Media Access Control (MAC) addresses if the video network device and the monitoring server communicate based on a video network transparent transmission protocol, wherein the MAC addresses of the video network device and the monitoring server can be obtained after being registered in the video network, and the MAC addresses of the video network are forwarded by the video network server in the process of exchanging the MAC addresses of the video network.
When the video networking equipment encapsulates the heartbeat message, the video networking MAC address (source MAC address) of the video networking equipment and the MAC address (destination MAC address) of the monitoring server are added to the heartbeat message, the video networking equipment sends the heartbeat message to the video networking server based on the th video networking protocol, the video networking server can determine the monitoring server according to the destination MAC address, and then the video networking server sends the heartbeat message to the monitoring server based on the second video networking protocol.
And step 102, after receiving the heartbeat message sent by the video networking equipment, the monitoring server side records that the state of the video networking equipment is on-line.
In an embodiment of the present invention, the state of the video network device may be recorded in the form of a video network device directory, for an online video network device, there will be a directory node corresponding to the online video network device in the video network device directory, for an offline video network device, there will not be a directory node corresponding to the offline video network device in the video network device directory, each directory node corresponds to video network devices, the directory node may be folders, and the directory node records the information of the video network device, that is, the information of the video network device included in the heartbeat message, and the like.
After receiving the heartbeat message sent by the video networking equipment, the monitoring server analyzes the heartbeat message, extracts the information of the video networking equipment from the heartbeat message, and can determine which video networking equipment sends the heartbeat message according to the information of the video networking equipment, so that the state of the video networking equipment sending the heartbeat message is recorded as online.
In optional embodiments, the step of recording the state of the video network device as online may include adding a directory node corresponding to the video network device directory if the directory node corresponding to the video network device does not exist in the video network device directory, which indicates that the previous state of the video network device is offline, and then indicates that the current state of the video network device is online.
In alternative embodiments, the directory of the video networking device may include a plurality of subdirectories, each subdirectory including a directory node corresponding to parts of the video networking device.
Therefore, the specified subdirectory can also be carried in the heartbeat message sent by the video network equipment. The step of recording the status of the video networking device as online may comprise: if the directory node corresponding to the video network equipment does not exist in the video network equipment directory, the state of the video network equipment before is off-line, and the designated subdirectory is set by the video network equipment, the directory node corresponding to the video network equipment is added into the designated subdirectory in the video network equipment directory. It should be noted that if the directory of the video networking device exists, adding a directory node corresponding to the video networking device in the designated subdirectory; if the directory does not exist in the video networking equipment directory, the specified subdirectory is added in the video networking equipment directory, and then the directory node corresponding to the video networking equipment is added in the specified subdirectory. If the directory node corresponding to the video network device exists in the directory of the video network device, it indicates that the previous state of the video network device is online, and the current state is also online, the information of the video network device recorded by the directory node may be updated, specifically, the information of the video network device recorded by the directory node corresponding to the video network device is updated to the information of the video network device included in the heartbeat message.
It should be noted that the directory node in the directory of the video network device also has a corresponding directory name, and in the embodiment of the present invention, the directory name may be set as information such as a video network number of the video network directory. Therefore, when the user inquires the state of the video networking equipment, the user can obtain the information such as the video networking number of the video networking equipment, and the subsequent user can dial the video networking equipment according to the information.
And 103, recording the state of the video network equipment as off-line after the monitoring server side does not receive the heartbeat message sent by the video network equipment for the continuously set times.
The video network equipment sends heartbeat messages to the monitoring server periodically, if the monitoring server does not receive the heartbeat messages sent by certain video network equipment for a continuously set number of times, the video network equipment can be considered to be offline, and therefore the state of the video network equipment is recorded to be offline.
Corresponding to the above-mentioned mode of the directory of the video networking device, the step of recording the state of the video networking device as offline may include: and deleting the directory node corresponding to the video network equipment from the video network equipment directory.
For the specific value of the set number, a person skilled in the art may select any suitable value according to practical experience, and the embodiment of the present invention is not limited thereto. For example, the set number of times may be 2, 3, 4, etc.
The execution sequence of step 102 and step 103 is not limited by the embodiments of the present invention.
And 104, the monitoring server synchronizes the states of the video networking equipment monitored by the monitoring server to other monitoring servers respectively.
Each monitoring server side monitors the state of the video network equipment managed by the monitoring server side in real time, and updates the state of the video network equipment monitored by the monitoring server side in real time according to heartbeat messages sent by the video network equipment. The monitoring server can synchronize the states of the video network equipment monitored by the monitoring server to other monitoring servers respectively at regular intervals so as to ensure that all the monitoring servers can record the states of all the monitored video network equipment.
In the embodiment , the monitoring server can timely acquire the state of the device and timely update the device information recorded by the monitoring server by sending heartbeat messages to the monitoring server through the video network device, so as to ensure the accuracy of the device information, in addition, , each monitoring server monitors the video network device corresponding to the monitoring server, and data synchronization is performed among the monitoring servers, so that the states of all the video network devices are recorded in each monitoring server, when the states of the video network devices are to be inquired, the inquiry can be performed from any monitoring servers, and the condition that the inquiry cannot be performed due to the fact that a certain monitoring server fails is avoided.
Example two
Referring to fig. 2, a flow chart of steps of method for monitoring devices according to a second embodiment of the present invention is shown.
The equipment monitoring method of the embodiment of the invention can comprise the following steps:
step 201, the monitoring server receives a heartbeat message sent by the video network equipment based on the video network transparent transmission protocol and through the video network server.
Step 202, after receiving the heartbeat message sent by the video network equipment, the monitoring server records that the state of the video network equipment is online.
Step 203, after the monitoring server does not receive the heartbeat message sent by the video network equipment for the continuously set times, recording the state of the video network equipment as offline.
And step 204, the monitoring server synchronizes the states of the video networking equipment monitored by the monitoring server to other monitoring servers respectively.
Step 205, the monitoring management platform determines a target monitoring server and sends a query request to the target monitoring server.
The monitoring management platform can comprise a Web (webpage) end and a JNI (Java Native Interface, Java local Interface) -SDK (Software Development Kit) transparent transmission module. The Web end can be used for interacting with a user, and the JNI-SDK transparent transmission module can be used for interacting with the monitoring server.
For example, if the user selects or more of the visual network devices to be queried, the query request can include the identification of the visual network devices to be queried, and if the user selects all of the visual network devices, the query request can include indication information representing all of the visual network devices to be queried.
The query request generated by the Web end application layer of the monitoring management platform is an Internet protocol-based query request, and the monitoring server side processes data based on an Internet protocol. Therefore, the JNI-SDK transparent transmission module of the monitoring management platform carries out protocol conversion on the query request and converts the query request into a message which can be identified by the monitoring server.
In implementations, the query request generated by the monitoring management platform includes binary information, and in the conversion process, the JNI-SDK pass-through module decapsulates the query request to remove the internet protocol-related part, and the tuning is to perform the networking protocol header, and convert the information included in the query request from binary to hexadecimal.
The JNI-SDK transparent transmission module performs protocol conversion on the query request and then sends the query request to the target monitoring server.
And step 206, the monitoring management platform receives the state and information of the video networking equipment corresponding to the query request, which are returned by the target monitoring server.
For example, if the query request comprises the identification of the video network equipment to be queried, the target monitoring server returns the state and the information of the video network equipment corresponding to the identification of the video network equipment to be queried to the monitoring management platform.
In implementation modes, in the conversion process, the JNI-SDK transparent transmission module decapsulates the content returned by the target monitoring server, removes the part related to the video networking protocol in the content, converts the content returned by the target monitoring server from hexadecimal into binary, and transmits the content returned by the target monitoring server to the Web end for display after the JNI-SDK transparent transmission module performs protocol conversion.
The embodiment of the invention is a stable distributed monitoring server side, and can monitor tens of thousands or even more video networking devices at the same time. The method has the advantages that the monitoring process can be simultaneously operated by a plurality of monitoring service terminals under the condition of a large number of devices, independent configuration is not needed, the client method corresponding to the monitoring service terminals is realized on the video networking device, and the client method can send information to the monitoring service terminals after corresponding heartbeat data is transmitted. For online video networking equipment, a directory node can be created under a directory specified by a monitoring server, and the directory node is stored on line of the instant equipment. And automatically deleting the directory nodes for the offline video networking equipment, wherein the directory nodes do not exist, namely the equipment is offline. When the state of the equipment needs to be checked, only the specified directory is needed to check whether the corresponding directory node exists.
Referring to fig. 3, a schematic diagram illustrating device interactions according to a second embodiment of the present invention is shown, as shown in fig. 3, a video networking device monitored by a monitoring server 1 itself includes a device 1, a device 2, and a device 3, a video networking device monitored by a monitoring server 2 itself includes a device 4, a device 5, and a device 6, and a video networking device monitored by a monitoring server 3 itself includes a device 7 and a device 8, data synchronization is performed between the monitoring server 1, the monitoring server 2, and the monitoring server 3, so that states and information of the devices 1, 2, 3, 4, 5, 6, 7, and 8 can be recorded in the monitoring server 1, the monitoring server 2, and the monitoring server 3.
The embodiment of the invention realizes the distributed monitoring of the video networking equipment in the video networking environment and improves the quantity of the monitored equipment.
It should be noted that, for simplicity of description, the method embodiments are described as series combinations of actions, but those skilled in the art should understand that the present invention is not limited by the order of the actions described, because some steps may occur in other orders or concurrently according to the embodiments of the present invention.
EXAMPLE III
Referring to fig. 4, a block diagram of a third embodiment of the invention, which shows a structure of kinds of device monitoring apparatuses, is provided.
The device monitoring apparatus of the embodiment of the present invention may include the following modules:
the receiving module 401 is configured to receive a heartbeat message sent by a video networking device based on a video networking transparent transmission protocol and through a video networking server, where the video networking device is monitored by the receiving module;
, a recording module 402, configured to record, after receiving the heartbeat message sent by the video networking device, that the state of the video networking device is online;
a second recording module 403, configured to record, after the heartbeat message sent by the video networking device is not received for a continuously set number of times, that the state of the video networking device is offline;
and a synchronization module 404, configured to synchronize states of the video networking devices monitored by the synchronization module to other monitoring servers respectively.
Optionally, the monitoring server stores a directory of video networking devices, and the th recording module 402 includes a th adding unit, configured to add a directory node corresponding to the video networking device in the directory of video networking devices if the directory node corresponding to the video networking device does not exist in the directory of video networking devices.
Optionally, the monitoring server stores a video networking device directory, the video networking device directory includes subdirectories, the heartbeat message carries a designated subdirectory, and the recording module 402 includes a second adding unit, configured to add a directory node corresponding to the video networking device in the designated subdirectory in the video networking device directory if the directory node corresponding to the video networking device does not exist in the video networking device directory.
Optionally, the monitoring server stores a video networking device directory; the second recording module 403 includes: and the deleting unit is used for deleting the directory node corresponding to the video networking equipment from the video networking equipment directory.
In the embodiment , the monitoring server can timely acquire the state of the device and timely update the device information recorded by the monitoring server by sending heartbeat messages to the monitoring server through the video network device, so as to ensure the accuracy of the device information, in addition, , each monitoring server monitors the video network device corresponding to the monitoring server, and data synchronization is performed among the monitoring servers, so that the states of all the video network devices are recorded in each monitoring server, when the states of the video network devices are to be inquired, the inquiry can be performed from any monitoring servers, and the condition that the inquiry cannot be performed due to the fact that a certain monitoring server fails is avoided.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In an embodiment of the present invention, electronic devices are also provided, which may include or more processors, and or more machine-readable media having instructions, such as an application program, stored thereon, that, when executed by the or more processors, cause the apparatus to perform the device monitoring method described above.
In an embodiment of the present invention, there is also provided non-transitory computer readable storage media, such as a memory including instructions executable by a processor of an electronic device to perform the device monitoring method described above.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Furthermore, the present invention may take the form of a computer program product embodied on or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
It is to be understood that each flow and/or block in the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions which can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flow diagram flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Having thus described the preferred embodiments of the present invention, additional variations and modifications of these embodiments may occur to those skilled in the art from the basic inventive concepts .
Finally, it should also be noted that, in this document, relational terms such as , second, and the like are only used to distinguish entities or operations from another entities or operations, without necessarily requiring or implying any actual relationship or order between such entities or operations, furthermore, the terms "comprise", "include", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises the family of elements does not include only those elements but also other elements not expressly listed or inherent to such process, method, article, or terminal.
The device monitoring methods, apparatuses, electronic devices and storage media provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in detail herein by using specific examples, and the description of the above examples is only used to help understand the method and the core idea of the present invention, meanwhile, for persons in the art, there are changes in the specific implementation and the application scope according to the idea of the present invention, and in conclusion, the present description should not be construed as limiting the present invention.

Claims (10)

  1. The device monitoring method of types is characterized in that a plurality of monitoring service terminals are configured, and each monitoring service terminal is used for monitoring a plurality of video network devices, and the method comprises the following steps:
    the monitoring server receives heartbeat messages sent by the video networking equipment based on the video networking transparent transmission protocol and through the video networking server;
    after receiving the heartbeat message sent by the video networking equipment, the monitoring server side records that the state of the video networking equipment is on-line;
    after the monitoring server side does not receive heartbeat messages sent by the video networking equipment for continuously set times, recording the state of the video networking equipment as an offline state;
    and the monitoring server side synchronizes the states of the video networking equipment monitored by the monitoring server side to other monitoring server sides respectively.
  2. 2. The method according to claim 1, wherein the monitoring server stores a directory of video networking devices; the step of recording the state of the video networking equipment as online comprises the following steps:
    and if the directory node corresponding to the video network equipment does not exist in the video network equipment directory, adding the directory node corresponding to the video network equipment in the video network equipment directory.
  3. 3. The method of claim 1, wherein the monitoring server stores a video networking equipment directory, the video networking equipment directory comprising subdirectories; the heartbeat message carries a designated subdirectory; the step of recording the state of the video networking equipment as online comprises the following steps:
    if the directory node corresponding to the video network equipment does not exist in the video network equipment directory, adding the directory node corresponding to the video network equipment in the specified subdirectory in the video network equipment directory.
  4. 4. The method according to claim 1, wherein the monitoring server stores a directory of video networking devices; the step of recording the state of the video networking equipment as offline comprises the following steps:
    and deleting the directory node corresponding to the video network equipment from the video network equipment directory.
  5. The device monitoring device of types is characterized in that a plurality of monitoring service terminals are configured, each monitoring service terminal is used for monitoring a plurality of video network devices, and the device is applied to the monitoring service terminals and comprises:
    the receiving module is used for receiving heartbeat messages sent by the video networking equipment based on the video networking transparent transmission protocol and the video networking server;
    an recording module, configured to record, after receiving the heartbeat message sent by the video networking device, that the state of the video networking device is online;
    the second recording module is used for recording the state of the video network equipment as off-line after the heartbeat message sent by the video network equipment is not received for the continuous set times;
    and the synchronization module is used for synchronizing the states of the video networking equipment monitored by the synchronization module to other monitoring service terminals respectively.
  6. 6. The apparatus of claim 5, wherein the monitoring server stores a directory of video networking devices, and the recording module comprises:
    an adding unit, configured to add a directory node corresponding to the video network device in the video network device directory if the directory node corresponding to the video network device does not exist in the video network device directory.
  7. 7. The device of claim 5, wherein the monitoring server stores a video networking equipment directory, the video networking equipment directory comprises subdirectories, the heartbeat message carries a designated subdirectory, and the recording module comprises:
    and a second adding unit, configured to add a directory node corresponding to the video networking device in the designated subdirectory in the video networking device directory if the directory node corresponding to the video networking device does not exist in the video networking device directory.
  8. 8. The apparatus of claim 5, wherein the monitoring server stores a directory of video networking devices; the second recording module includes:
    and the deleting unit is used for deleting the directory node corresponding to the video networking equipment from the video networking equipment directory.
  9. An electronic device of the type , comprising:
    or more processors, and
    or more machine readable media having instructions stored thereon, which when executed by the or more processors, cause the processors to perform the device monitoring method of any of claims 1-4 and .
  10. 10, computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the device monitoring method according to any of claims 1 to 4 through .
CN201910944728.2A 2019-09-30 2019-09-30 Equipment monitoring method and device, electronic equipment and storage medium Pending CN110740355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910944728.2A CN110740355A (en) 2019-09-30 2019-09-30 Equipment monitoring method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910944728.2A CN110740355A (en) 2019-09-30 2019-09-30 Equipment monitoring method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110740355A true CN110740355A (en) 2020-01-31

Family

ID=69268554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910944728.2A Pending CN110740355A (en) 2019-09-30 2019-09-30 Equipment monitoring method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110740355A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165413A (en) * 2020-09-27 2021-01-01 海尔优家智能科技(北京)有限公司 Equipment state reporting method and device and electronic device
CN113220515A (en) * 2021-05-12 2021-08-06 武汉中仪物联技术股份有限公司 Mobile device connection state detection method and device, electronic device and storage medium
CN113645602A (en) * 2021-08-19 2021-11-12 深圳创维数字技术有限公司 Method, system, communication terminal and readable storage medium for decentralized management

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140289403A1 (en) * 2011-12-07 2014-09-25 Huawei Device Co., Ltd. Method and Apparatus for Learning Online State of Terminal
CN106453648A (en) * 2016-11-29 2017-02-22 海信集团有限公司 Device state determining method and device of smart home devices
US20180027083A1 (en) * 2016-07-19 2018-01-25 Facebook, Inc. Determining a duration content is visible to a user of an online system
CN108574597A (en) * 2017-08-01 2018-09-25 北京视联动力国际信息技术有限公司 A kind of newer method, apparatus of state and interactive system
CN108595670A (en) * 2018-04-28 2018-09-28 金蝶蝶金云计算有限公司 A kind of date storage method, device, computer installation and storage medium
CN108809761A (en) * 2018-06-12 2018-11-13 威创集团股份有限公司 Presence detection method and device
CN109474494A (en) * 2018-12-05 2019-03-15 深圳绿米联创科技有限公司 Equipment detection method, device, server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140289403A1 (en) * 2011-12-07 2014-09-25 Huawei Device Co., Ltd. Method and Apparatus for Learning Online State of Terminal
US20180027083A1 (en) * 2016-07-19 2018-01-25 Facebook, Inc. Determining a duration content is visible to a user of an online system
CN106453648A (en) * 2016-11-29 2017-02-22 海信集团有限公司 Device state determining method and device of smart home devices
CN108574597A (en) * 2017-08-01 2018-09-25 北京视联动力国际信息技术有限公司 A kind of newer method, apparatus of state and interactive system
CN108595670A (en) * 2018-04-28 2018-09-28 金蝶蝶金云计算有限公司 A kind of date storage method, device, computer installation and storage medium
CN108809761A (en) * 2018-06-12 2018-11-13 威创集团股份有限公司 Presence detection method and device
CN109474494A (en) * 2018-12-05 2019-03-15 深圳绿米联创科技有限公司 Equipment detection method, device, server and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112165413A (en) * 2020-09-27 2021-01-01 海尔优家智能科技(北京)有限公司 Equipment state reporting method and device and electronic device
CN112165413B (en) * 2020-09-27 2022-08-26 海尔优家智能科技(北京)有限公司 Equipment state reporting method and device and electronic device
CN113220515A (en) * 2021-05-12 2021-08-06 武汉中仪物联技术股份有限公司 Mobile device connection state detection method and device, electronic device and storage medium
CN113645602A (en) * 2021-08-19 2021-11-12 深圳创维数字技术有限公司 Method, system, communication terminal and readable storage medium for decentralized management
CN113645602B (en) * 2021-08-19 2023-09-19 深圳创维数字技术有限公司 Distributed management method, system, communication terminal and readable storage medium

Similar Documents

Publication Publication Date Title
US7978631B1 (en) Method and apparatus for encoding and mapping of virtual addresses for clusters
US20050216569A1 (en) Method for implementing content delivery network (cdn) internetworking, respective networks and interface component
US8086721B2 (en) Network resource management in a network device
CN110740355A (en) Equipment monitoring method and device, electronic equipment and storage medium
US8341285B2 (en) Method and system for transferring files
EP2451125A1 (en) Method and system for realizing network topology discovery
CN108540505B (en) Content updating method and device
WO2012004071A1 (en) Apparatus, method and system for node discovering
US10102286B2 (en) Local object instance discovery for metric collection on network elements
CN115242882B (en) Method and device for accessing k8s container environment based on transport layer route
CN110868317B (en) Equipment monitoring method and device, electronic equipment and storage medium
EP2591586A1 (en) Apparatus, method and system for node discovering
CN112702441A (en) Container-based access data processing method, device and system and storage medium
CN111510514B (en) Domain name processing method and device, electronic equipment and storage medium
CN117424928B (en) Network equipment and resource sharing method
US10313254B1 (en) Network management interface for a network element with network-wide information
CN113015155B (en) eSIM server discovery method and device
CN117014636B (en) Data stream scheduling method of audio and video network, storage medium and electronic device
CN113852672B (en) Method, system and medium for managing and monitoring distributed data acquisition tasks
CN112003717B (en) Device upgrading method, network device, server, electronic device and storage medium
CN114024895B (en) TR 069-based network route optimization method and system
CN114500660B (en) Request processing method, device, equipment and computer readable storage medium
US9438541B2 (en) Method, a system, a first server, a second server, a computer program and a computer program product for sending information about users assigned to work on tasks in a computer network
CN111556374B (en) Method and device for accessing application server and video networking system
US20130136060A1 (en) Metadata based id interpretation apparatus and method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200131