CN111355927B - Monitoring equipment determining method, device, equipment and storage medium based on visual networking - Google Patents
Monitoring equipment determining method, device, equipment and storage medium based on visual networking Download PDFInfo
- Publication number
- CN111355927B CN111355927B CN202010089358.1A CN202010089358A CN111355927B CN 111355927 B CN111355927 B CN 111355927B CN 202010089358 A CN202010089358 A CN 202010089358A CN 111355927 B CN111355927 B CN 111355927B
- Authority
- CN
- China
- Prior art keywords
- monitoring
- inspection
- availability
- target
- list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4425—Monitoring of client processing errors or hardware failure
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the application provides a monitoring equipment determining method, a device, equipment and a storage medium based on the visual network, wherein a monitoring management platform is deployed in the visual network and is in communication connection with a corotation gateway, and the method is applied to the monitoring management platform and comprises the following steps: sending a monitoring inspection instruction to a corotation gateway, wherein the corotation gateway is used for responding to the monitoring inspection instruction and carrying out N rounds of inspection on a plurality of monitoring devices connected to the corotation gateway; receiving a plurality of inspection information reported by a corotation gateway, wherein the inspection information is inspection result information corresponding to each of N rounds of inspection; according to the inspection information, determining the corresponding availability of each monitoring device in the monitoring devices; extracting target monitoring equipment with the availability greater than a preset availability threshold from a plurality of monitoring equipment; and adding each target monitoring device to a preset monitoring list to obtain a high-availability list. By adopting the technical scheme, the success rate of calling the monitoring video can be improved.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for determining a monitoring device based on internet of vision.
Background
At present, a user can select to view the monitoring video collected by the monitoring equipment through the monitoring management platform. However, when watching the monitoring video, the selected monitoring device is often displayed to fail and cannot be watched, and other monitoring devices need to be selected again after the current monitoring video is closed, so that the normal monitoring video can be watched.
In the related art, the monitoring state of each monitoring device can be obtained in real time by inspecting each monitoring device, so that the monitoring device which is online and has normal state can be conveniently selected. However, when the number of monitoring devices connected to the corotation gateway is large, the inspection period is long, and some monitoring devices have no fault in the last inspection, but the state of the monitoring devices is changed into a fault state when the monitoring video is called before the next inspection, and in this case, the call failure of the monitoring video is still caused. Therefore, the existing inspection mechanism for inspecting each monitoring device needs to be improved.
Disclosure of Invention
In view of the foregoing, embodiments of the present application are provided to provide a method, an apparatus, a device, and a storage medium for determining a monitoring device based on internet of view, so as to overcome or at least partially solve the foregoing problems.
In order to solve the above problems, a first aspect of an embodiment of the present application discloses a monitoring device determining method based on a video network, where a monitoring management platform is deployed in the video network, and the monitoring management platform is communicatively connected to a corotation gateway, where the method is applied to the monitoring management platform, and includes:
sending a monitoring and inspection instruction to the corotation gateway, wherein the corotation gateway is used for responding to the monitoring and inspection instruction and performing N rounds of inspection on a plurality of monitoring devices connected to the corotation gateway; wherein N is greater than 1;
receiving a plurality of inspection information reported by the corotation gateway, wherein the inspection information is inspection result information corresponding to each of the N rounds of inspection;
determining the corresponding availability of each monitoring device in the plurality of monitoring devices according to the plurality of inspection information;
extracting target monitoring equipment with the availability greater than a preset availability threshold from the plurality of monitoring equipment;
and adding each target monitoring device to a preset monitoring list to obtain a high-availability list.
Optionally, each of the plurality of inspection information includes a plurality of status information, where the plurality of status information is device status information of each of the plurality of monitoring devices when inspected; according to the inspection information, determining the availability of each monitoring device in the monitoring devices comprises the following steps:
Extracting N pieces of state information corresponding to the monitoring equipment from the plurality of pieces of inspection information, wherein the N pieces of state information are equipment state information of the monitoring equipment in the N rounds of inspection respectively;
determining the state information as the number of the normal state information of the equipment according to the N pieces of state information;
and determining the ratio of the number to N as the availability of the monitoring equipment.
Optionally, after adding each of the target monitoring devices to a preset monitoring list, the method further includes:
sending a high-availability inspection instruction to the corotation gateway according to the high-availability list; the corotation gateway is used for responding to the high-availability inspection instruction and inspecting all the target monitoring devices;
receiving target state information reported by the corotation gateway, wherein the target state information is equipment state information of the target monitoring equipment when the target monitoring equipment is inspected;
determining a first target monitoring device with faults from the target monitoring devices according to the target state information;
and deleting the first target monitoring equipment from the high-availability list.
Optionally, the method further comprises:
determining a second online target monitoring device which does not have faults from the target monitoring devices according to the target state information;
After deleting the first target monitoring device from the high availability list, the method further comprises:
the availability of the first target monitoring equipment is adjusted to be preset availability;
and updating the availability of the second target monitoring equipment.
Optionally, the monitoring management platform is further in communication connection with the web front end, and sends a monitoring inspection instruction to the corotation gateway, including:
receiving an original monitoring and inspection instruction sent by the web front end, wherein the original monitoring and inspection instruction is generated by the web front end according to inspection operation of a user;
converting the original monitoring inspection instruction into a monitoring inspection instruction of a video networking protocol;
and sending the monitoring and inspection instruction to the corotation gateway.
Based on the same inventive concept, a second aspect of the embodiment of the present application provides another monitoring device determining method based on a video network, where a monitoring management platform is deployed in the video network, and the monitoring management platform is respectively connected with a cooperative gateway and a web front end in a communication manner, where the method is applied to the web front end, and includes:
generating a monitoring inspection instruction according to a plurality of monitoring numbers selected by a user;
the monitoring inspection instruction is sent to the monitoring management platform, the monitoring management platform is used for responding to the monitoring inspection instruction, receiving a plurality of inspection information reported by the cooperative gateway, determining the corresponding availability of each monitoring device in the plurality of monitoring devices according to the plurality of inspection information, and adding a target monitoring device with the availability greater than a preset availability threshold to a preset monitoring list to obtain a high availability list;
Acquiring the high-availability list and displaying each target monitoring device in the high-availability list;
the inspection information is inspection result information corresponding to each of the N rounds of inspection.
Optionally, a resource database is also deployed in the video networking; the obtaining the high availability list comprises the following steps:
reading the high availability list from the resource database;
after obtaining the high availability list and displaying each of the target monitoring devices in the high availability list, the method further comprises:
reading the high availability list from the resource database at preset intervals;
and displaying all the target monitoring devices currently included in the high-availability list.
Based on the same inventive concept, a third aspect of the embodiments of the present application provides a monitoring device determining apparatus based on a video network, where a monitoring management platform is disposed in the video network, and the monitoring management platform is communicatively connected to a corotation gateway, where the apparatus is applied to the monitoring management platform, and includes:
the command sending module is used for sending a monitoring and inspection command to the corotation gateway, and the corotation gateway is used for responding to the monitoring and inspection command and carrying out N rounds of inspection on a plurality of monitoring devices connected to the corotation gateway; wherein N is greater than 1;
The information receiving module is used for receiving a plurality of pieces of inspection information reported by the cooperative gateway, wherein the plurality of pieces of inspection information are inspection result information corresponding to the N rounds of inspection respectively;
the availability determining module is used for determining the availability corresponding to each monitoring device in the plurality of monitoring devices according to the plurality of inspection information;
the device extraction module is used for extracting target monitoring devices with the availability greater than a preset availability threshold from the plurality of monitoring devices;
and the list obtaining module is used for adding each target monitoring device to a preset monitoring list to obtain a high-availability list.
Based on the same inventive concept, a fourth aspect of the embodiments of the present application provides a monitoring device determining apparatus based on an internet of view, which is characterized in that a monitoring management platform is disposed in the internet of view, the monitoring management platform is respectively connected with a cooperative gateway and a web front end in a communication manner, and the apparatus is applied to the web front end, and includes:
the instruction generation module is used for generating monitoring inspection instructions according to a plurality of monitoring numbers selected by a user;
the instruction sending module is used for sending the monitoring inspection instruction to the monitoring management platform, the monitoring management platform is used for responding to the monitoring inspection instruction, receiving a plurality of inspection information reported by the cooperative gateway, determining the availability corresponding to each monitoring device in the plurality of monitoring devices according to the plurality of inspection information, and adding a target monitoring device with the availability greater than a preset availability threshold to a preset monitoring list to obtain a high availability list;
A list acquisition module, configured to acquire the high availability list;
a list display module, configured to display each of the target monitoring devices in the high-availability list;
the inspection information is inspection result information corresponding to each of the N rounds of inspection.
Based on the same inventive concept, a fifth aspect of an embodiment of the present application provides an electronic apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the device to perform one or more of the methods of view networking-based monitoring device determination of embodiments of the first or second aspects of the present application.
Based on the same inventive concept, a sixth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program for causing a processor to execute the method for determining a monitoring device based on the visual network according to the embodiment of the first or second aspect of the present application.
The embodiment of the application has the following advantages:
in the embodiment of the application, the monitoring management platform sends the monitoring inspection instruction to the corotation gateway to carry out N rounds of inspection on a plurality of monitoring devices, and receives a plurality of inspection information reported by the corotation gateway, so as to determine the corresponding availability of each monitoring device according to the inspection information, and further add the target monitoring with the availability greater than the preset availability threshold to the preset monitoring list to obtain a high availability list. The availability of one monitoring device can accurately reflect the stability of the state of the monitoring device because the availability of each monitoring device is determined according to the corresponding inspection result information of each N rounds of inspection, and each target monitoring device included in the high availability list can be the monitoring device with higher stability of the state. Therefore, the success rate of calling the monitoring video of each target monitoring device in the high-availability list is higher, and the monitoring video can be successfully called.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a networking of the present application for a video networking;
FIG. 2 is a schematic diagram of the hardware architecture of a node server according to the present application;
FIG. 3 is a schematic diagram of the hardware architecture of an access switch of the present application;
fig. 4 is a schematic hardware structure of an ethernet corotation gateway according to the present application;
FIG. 5 is an environmental diagram of an implementation of a method for determining a monitoring device based on visual networking in accordance with an embodiment of the present application;
FIG. 6 is a flow chart of steps of a method for determining a monitoring device based on the visual network according to an embodiment of the present application;
FIG. 7 is a diagram of an implementation environment of yet another monitoring device determination method based on the Internet of view in accordance with an embodiment of the present application;
FIG. 8 is a flow chart of the steps of yet another method for determining a monitoring device based on the Internet of view according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a complete communication architecture of yet another monitoring device determination method based on the Internet of view according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a configuration of a monitoring device determination device based on the visual network according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of still another monitoring device determining device based on the internet of view according to an embodiment of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
The video networking adopts a real-time high-definition video exchange technology, and can integrate all required services such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delay television, network teaching, live broadcast, VOD on demand, television mail, personal record (PVR), intranet (self-processing) channel, intelligent video playing control, information release and other tens of services into one system platform, and realize high-definition quality video playing through television or computer.
For a better understanding of embodiments of the present application, the following description of the video networking is presented to one skilled in the art:
the partial techniques applied by the video networking are as follows:
network technology (Network Technology)
The network technology innovation of the internet of vision improves on the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (Circuit Switching), the technology of video networking employs Packet Switching to meet Streaming requirements. The video networking technology has the flexibility, simplicity and low price of packet switching, and simultaneously has the quality and the safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Exchange technology (Switching Technology)
The video network adopts the two advantages of the asynchronization and the packet switching of the Ethernet, eliminates the Ethernet defect on the premise of full compatibility, has full-network end-to-end seamless connection, and is directly connected with the user terminal to directly bear the IP data packet. The user data does not need any format conversion in the whole network. The video networking is a higher-level form of Ethernet, is a real-time exchange platform, can realize real-time transmission of full-network large-scale high-definition video which cannot be realized by the current Internet, and pushes numerous network video applications to high definition and unification.
Server technology (Server Technology)
The server technology on the video networking and unified video platform is different from the server in the traditional sense, the streaming media transmission is based on connection-oriented basis, the data processing capability is irrelevant to the flow and the communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than hundred times than that of a traditional server.
Accumulator technology (Storage Technology)
The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system for adapting to the ultra-large capacity and ultra-large flow media content, the program information in the server instruction is mapped to a specific hard disk space, the media content does not pass through the server any more, the media content is instantly and directly delivered to a user terminal, and the waiting time of the user is generally less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical motion of magnetic head seek of the hard disk, the resource consumption only accounts for 20% of the IP Internet of the same grade, but the concurrent flow which is 3 times greater than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network security technology (Network Security Technology)
The structural design of the video networking thoroughly structurally solves the network security problem puzzling the Internet by means of independent permission of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs or firewalls, eliminates attacks of hackers and viruses, and provides a structural carefree security network for users.
Service innovation technology (Service Innovation Technology)
The unified video platform fuses services with transmissions, whether a single user, private network users or a network aggregate, but automatically connects at a time. The user terminal, the set top box or the PC is directly connected to the unified video platform, so that various multimedia video services are obtained. The unified video platform adopts a menu type table allocation mode to replace the traditional complex application programming, and can realize complex application by using very few codes, thereby realizing 'infinite' new business innovation.
Networking of the video networking is as follows:
the video networking is a centrally controlled network structure, which may be of the tree network, star network, ring network, etc., but on the basis of this there is a need for a centralized control node in the network to control the whole network.
As shown in fig. 1, the view network is divided into an access network and a metropolitan area network.
The devices of the access network part can be mainly divided into 3 classes: node server, access switch, terminal (including various set-top boxes, code boards, memories, etc.). The node server is connected with an access switch, which can be connected with a plurality of terminals and can be connected with an Ethernet.
The node server is a node with a centralized control function in the access network, and can control the access switch and the terminal. The node server may be directly connected to the access switch or may be directly connected to the terminal.
Similarly, devices of the metropolitan area network portion can also be classified into 3 categories: metropolitan area server, node switch, node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is the node server of the access network part, namely the node server belongs to the access network part and also belongs to the metropolitan area network part.
The metropolitan area server is a node with centralized control function in the metropolitan area network, and can control a node switch and a node server. The metropolitan area server may be directly connected to the node switch or directly connected to the node server.
Thus, the whole video network is a hierarchical centralized control network structure, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star, ring and the like.
The access network part can be vividly called as a unified video platform (part in a dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform can be interconnected and intercommunicated through metropolitan area and wide area video networking.
View networking device classification
1.1 devices in the visual network according to the embodiment of the present application may be mainly classified into 3 types: a server, a switch (including an ethernet corotation gateway), and a terminal (including various set-top boxes, a code board, a memory, etc.). The view networking can be divided into metropolitan area networks (or national networks, global networks, etc.) and access networks as a whole.
1.2 devices in the access network part can be mainly classified into 3 classes: node server, access switch (including Ethernet corotation gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
the node server:
as shown in fig. 2, the device mainly comprises a network interface module 201, a switching engine module 202, a CPU module 203 and a disk array module 204;
Wherein, the network interface module 201, the cpu module 203 and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining packet guiding information; and stores the packet into a corresponding queue of the packet buffer 206 according to the packet's guiding information; discarding if the queue of the packet buffer 206 is nearly full; the switch engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero. The disk array module 204 mainly controls the hard disk, including initializing, reading and writing operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with access switches and terminals (not shown), configuration of the address table 205 (including a downstream protocol packet address table, an upstream protocol packet address table, and a data packet address table), and configuration of the disk array module 204.
Access switch:
as shown in fig. 3, mainly includes a network interface module (a downstream network interface module 301, an upstream network interface module 302), a switching engine module 303, and a CPU module 304;
wherein, the packet (uplink data) coming in from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), source Address (SA), packet type, and packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id), and enters the switching engine module 303, otherwise, discards the packet; the packets (downstream data) coming in from the upstream network interface module 302 enter the switching engine module 303; the data packet coming in from the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up an address table 306 on an incoming packet, thereby obtaining packet guiding information; if a packet entering the switching engine module 303 is sent from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with a stream identifier (stream-id); discarding if the queue of the packet buffer 307 is nearly full; if the packet entering the switching engine module 303 is not sent from the downlink network interface to the uplink network interface, storing the data packet into the queue of the corresponding packet buffer 307 according to the packet guiding information; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switch engine module 303 polls all packet buffer queues, which may include two scenarios:
if the queue is sent from the downlink network interface to the uplink network interface, the following conditions are satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero; 3) Obtaining a token generated by a code rate control module;
if the queue is not addressed by the downstream network interface to the upstream network interface, the following condition is satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304 to generate tokens for all packet buffer queues from the downstream network interface to the upstream network interface at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the rate control module 308.
Ethernet corotation gateway:
As shown in fig. 4, the device mainly includes a network interface module (a downstream network interface module 401 and an upstream network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming in from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, ethernet MAC SA, ethernet length or frame type, video network destination address DA, video network source address SA, video network packet type and packet length of the data packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC DA, MAC SA, length or frame type (2 byte) are subtracted by the MAC delete module 410 and enter the corresponding receive buffer, otherwise discarded;
the downlink network interface module 401 detects the sending buffer of the port, if there is a packet, acquires the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet's internet of view, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet co-ordination gateway, and the ethernet length or frame type, and sends.
The function of the other modules in the ethernet corotation gateway is similar to that of the access switch.
And (3) a terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set top box mainly comprises a network interface module, a video/audio encoding/decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 classes: node server, node switch, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. View networking data packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), source Address (SA), reserved bytes, payload (PDU), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA | SA | Reserved | Payload | CRC |
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), 256 possibilities are at most provided, the second byte to the sixth byte are metropolitan area network addresses, and the seventh and eighth bytes are access network addresses;
the Source Address (SA) is also composed of 8 bytes (bytes), defined identically to the Destination Address (DA);
the reserved bytes consist of 2 bytes;
the payload portion has different lengths according to the types of the different datagrams, and is 64 bytes if it is various protocol packets, and 32+1024=1056 bytes if it is a unicast packet, and is of course not limited to the above 2 types;
The CRC consists of 4 bytes and its calculation method follows the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of the metropolitan area network is a pattern, there may be 2 or even more than 2 connections between two devices, i.e. there may be more than 2 connections between node switches and node servers, node switches and node switches, node switches and node servers. However, the metropolitan area network address of the metropolitan area network device is unique, and in order to accurately describe the connection relationship between metropolitan area network devices, parameters are introduced in the embodiment of the present application: a tag to uniquely describe a metropolitan area network device.
The definition of label in this specification is similar to that of MPLS (Multi-Protocol Label Switch, multiprotocol label switching), and assuming that there are two connections between device a and device B, there are 2 labels for packets from device a to device B and 2 labels for packets from device B to device a. The label is split into label and label out, and assuming that the label (in label) of the packet entering the device a is 0x0000, the label (out label) of the packet when leaving the device a may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, that is, the address allocation and label allocation of the metropolitan area network are all led by the metropolitan area server, the node switch and the node server are all passively executed, which is different from the label allocation of the MPLS, which is the result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metropolitan area network mainly includes the following parts:
DA | SA | Reserved | label (Label) | Payload | CRC |
I.e. Destination Address (DA), source Address (SA), reserved bytes (Reserved), labels, payload (PDU), CRC. Wherein the format of the tag may be defined with reference to the following: the tag is 32 bits, with the high 16bit reservation, with only the low 16bit, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video networking, one of the technical ideas of the application is provided: and carrying out multi-round inspection on the plurality of monitoring devices, acquiring inspection result information corresponding to each multi-round inspection, determining the availability of each monitoring device according to the inspection result information, and adding the monitoring device with high availability to the high availability list so that a user can call the monitoring video of the monitoring device in the high availability list, thereby improving the success rate of calling the monitoring video.
Referring to fig. 5, an implementation environment diagram of a monitoring device determining method based on the internet of view according to an embodiment of the present application is shown, where a monitoring management platform 501 is deployed in the internet of view, where the monitoring management platform 501 may be communicatively connected to a co-rotating gateway 502, and the co-rotating gateway 502 may be connected to a plurality of monitoring devices 503 (only 3 monitoring devices are shown in the figure).
In particular embodiments, the monitoring management platform 501 and the co-rotating gateway 502 may communicate based on a video networking protocol, the co-rotating gateway 502 and the monitoring devices 503 may communicate based on an internet protocol, and the plurality of monitoring devices 503 may be deployed in the internet.
The monitoring management platform 501 is responsible for unified management of all the accessed monitoring devices in the whole video network, and docking services of other third-party monitoring systems. The corotation gateway 502 is responsible for accessing external (on the internet) monitoring devices into the internet of view, and can realize browsing the monitoring devices on the controllable internet in the internet of view.
Based on the above implementation environment, referring to fig. 6, a flowchart of steps of a monitoring device determining method based on the internet of view according to an embodiment of the present application is shown, where the method may be applied to a monitoring management platform, and specifically may include the following steps:
and 601, sending a monitoring and inspection instruction to the corotation gateway, wherein the corotation gateway is used for responding to the monitoring and inspection instruction and performing N rounds of inspection on a plurality of monitoring devices connected to the corotation gateway.
Wherein N is greater than 1.
In this embodiment, the monitoring inspection instruction may include device numbers of a plurality of monitoring devices to be inspected, where the plurality of monitoring devices to be inspected may be part of or all of the monitoring devices connected to the corotation gateway and designated by the user. The co-rotating gateway can analyze the monitoring inspection instruction so as to acquire a plurality of equipment numbers and perform N rounds of inspection on the monitoring equipment corresponding to the equipment numbers.
Wherein N may be greater than 1, and the inspection may refer to performing multiple inspections on one monitoring device to determine a device state of the monitoring device when each inspection is performed. In this embodiment, each round of inspection in the N rounds of inspection refers to that the corotation gateway obtains an equipment state of each monitoring equipment in the plurality of monitoring equipment. In particular, the device state may be a fault state, an offline state, an online state. The fault state refers to that the monitoring equipment has equipment fault and cannot work normally; the off-line state refers to that the monitoring equipment is not capable of communicating with other equipment when being off-line, and the on-line state refers to that the monitoring equipment can communicate with other equipment when being on-line.
Step 602, receiving a plurality of inspection information reported by the corotation gateway, where the plurality of inspection information is inspection result information corresponding to each of the N rounds of inspection.
In this embodiment, the number of the plurality of inspection information may be N, that is, N rounds of inspection are performed, and there are N pieces of inspection information. Each of the plurality of inspection information may refer to inspection result information after one round of inspection, where the inspection result information may be respective device status information of the plurality of monitoring devices inspected during the round of inspection.
In a specific implementation, the inspection information may at least include the equipment number of the monitoring equipment that is in the fault state and is inspected in one round of inspection.
And step 603, determining the availability corresponding to each monitoring device in the plurality of monitoring devices according to the plurality of inspection information.
In this embodiment, the availability corresponding to the monitoring device may refer to the probability that the monitoring device is inspected in the N rounds of inspection and can work normally, which may represent the stability of the monitoring device in maintaining a normal working state, where the normal working state refers to a state that the monitoring device can collect and transmit video normally, and in general, the monitoring device is characterized in that the monitoring device can collect and transmit video normally when it is online and has no fault. In practice, the higher the availability, the stronger the stability of the monitoring equipment in normal operation is represented, and otherwise, the worse the stability of the monitoring equipment in normal operation is represented.
In the specific implementation, since the inspection information at least comprises the equipment number of the monitoring equipment in the fault state, the number of faults of each monitoring equipment in the N rounds of inspection can be determined according to the equipment numbers of the monitoring equipment with faults, which are respectively included in the inspection information, and then the number of normal operation of the monitoring equipment can be determined according to the number of faults, and then the availability corresponding to the monitoring equipment can be determined according to the number of normal operation and N.
Taking N as 100 and the equipment number of one monitoring equipment as 011 as an example, in 100 pieces of inspection information, the number of inspection information including 011 is 10, so that the number of times that the monitoring equipment 011 fails in 100 rounds of inspection can be determined to be 10, and the availability rate can be determined to be 90%.
And step 604, extracting the target monitoring equipment with the availability greater than a preset availability threshold from the plurality of monitoring equipment.
In this embodiment, the availability corresponding to each monitoring device may be determined when the nth round of inspection is completed, and the extracting of the target monitoring device with the availability greater than the preset availability threshold may be understood as extracting the device number of the target monitoring device with the availability greater than the preset availability threshold.
Step 605, adding each target monitoring device to a preset monitoring list to obtain a high availability list.
In this embodiment, the extracted device number of the target monitoring device may be added to a preset monitoring list, so that the obtained high availability list may include a plurality of device numbers, where the availability of the target monitoring device corresponding to each device number is greater than a preset availability threshold. Thus, the stability of the target monitoring equipment in the high-availability list in the normal state is higher, so that the success rate of calling the monitoring video of the target monitoring equipment can be improved.
In the embodiment of the application, as the availability corresponding to each monitoring device is determined according to the inspection result information corresponding to each of the N rounds of inspection, the availability of one monitoring device can accurately reflect the stability of the state of the monitoring device, and each target monitoring device included in the high availability list can be the monitoring device with higher stability of the state. Thus, the success rate of calling the monitoring video is improved.
And, since the value of N is a value greater than 1, in practice, the availability may be dynamically adjusted in real time as N increases. And as N increases, the availability also tends to be stable, and the stability of one monitoring device can be accurately represented, so that the higher the accuracy of each target monitoring device in the high availability list is, the higher the success rate of calling the monitoring video is.
In combination with the above embodiment, a process of determining the availability of each monitoring device is presented in one embodiment.
In this embodiment, each of the plurality of inspection information includes a plurality of status information, the plurality of status information being device status information of each of the plurality of monitoring devices when inspected; the determining the availability of each monitoring device in the plurality of monitoring devices may include the steps of:
Step 6031: and extracting N pieces of state information corresponding to the monitoring equipment from the plurality of pieces of inspection information.
The N pieces of state information are the state information of the monitoring equipment in the N rounds of inspection respectively.
In this embodiment, each of the plurality of inspection information may include respective status information of the plurality of monitoring devices in a corresponding round of inspection. Each piece of state information in the inspection information uniquely corresponds to one monitoring device. The state information in this embodiment is device state information of the monitoring device when the monitoring device is inspected, where the device state may be a fault state, an offline state, or an online state.
For example, if one monitoring device is in a fault state, the corresponding state information may be code 400#, if one monitoring device is in an off-line state, the corresponding state information may be code 404, and if one monitoring device is in an on-line state, the corresponding state information may be code 111.
In the implementation, since the inspection information may include status information corresponding to each of the plurality of monitoring devices, when determining the availability corresponding to one monitoring device, N pieces of status information corresponding to the monitoring device may be extracted from the N pieces of inspection information. The N pieces of status information may be the device status information of the monitoring device during N rounds of inspection, respectively.
Step 6032: and determining the state information as the number of the normal state information of the equipment according to the N pieces of state information.
In practice, in a round of inspection, if the information of the monitoring device can be normally received, it indicates that the monitoring device is online and has no fault, and the corresponding state information may be online state information 111. If the information of the monitoring device cannot be received, the monitoring device is offline, and the corresponding state information may be offline state information 404. If the information of the monitoring device can be received, but the information shows a fault, the monitoring device is online, but the monitoring device fails and can not complete the video call, and in this case, the corresponding state information may be fault state information 400#.
In this embodiment, the normal state information of the device may be understood as online state information, that is, the monitoring device is in an online state, and the corotation gateway can normally receive the information of the monitoring device. Since the status information is the status information of the monitoring device when the monitoring device is patrolled, the number of the status information which is the normal status information (i.e. the on-line status information) of the monitoring device can be determined in the N status information of the monitoring device. The number of the normal state information of the equipment is the number of times that the monitoring equipment does not have faults and is not offline in the N rounds of inspection.
Step 6033: and determining the ratio of the number to N as the availability of the monitoring equipment.
In this embodiment, since the availability is a value reflecting the stability of a monitoring device in obtaining a normal state, the ratio of the number of pieces of information of the normal state of the device to N may be determined as the availability of the monitoring device. Thus, the availability can represent the probability that the equipment is normal in N rounds of inspection of the monitoring equipment.
In combination with the above embodiment, in one implementation, after adding each of the target monitoring devices to a preset monitoring list, the monitoring management platform may further perform the following steps:
step 606: and sending a high-availability patrol instruction to the corotation gateway according to the high-availability list.
The corotation gateway is used for responding to the high-availability inspection instruction to inspect each target monitoring device.
In this embodiment, the high-availability routing inspection instruction may include the device number of the target monitoring device determined when the N rounds of routing inspection are completed, and the corotation gateway may extract the device number of the target monitoring device from the high-availability routing inspection instruction, and then perform one-time routing inspection on the target monitoring device, so as to pertinently perform routing inspection again on the state of each monitoring device with higher stability, so as to improve the accuracy of the target monitoring device in the high-availability list.
For example, taking N as 100, the high availability inspection instruction includes the device number of the target monitoring device in the high availability list obtained after 100 rounds of inspection, so that the cooperative gateway can inspect each target monitoring device, and during inspection, the cooperative gateway can obtain the device state information of the target monitoring device.
Step 607: and receiving target state information reported by the corotation gateway, wherein the target state information is equipment state information of the target monitoring equipment when the target monitoring equipment is patrolled and examined.
In this embodiment, the corotation gateway may report the device status information of the target monitoring device as the target status information to the monitoring management platform. Wherein, a target state information uniquely corresponds to a target monitoring device.
Step 608: and determining a first target monitoring device with faults from the target monitoring devices according to the target state information.
In this embodiment, since one target state information is the device state information of the target monitoring device when the target monitoring device is being patrolled, the type of one target state information may be online state information, offline state information or fault state information.
In particular, the monitoring management platform may determine, according to the target state information, whether the device state of the target monitoring device is an offline state, an online state, or a failure state. Further, a failed first target monitoring device may be determined, wherein the target state information of the first target monitoring device is the failed state information.
For example, taking the online status information of 111, the offline status information of 404, and the failure status information of 400# as examples, when the target status information of the monitoring device 011 is 400#, the monitoring device 011 can be determined as the failed monitoring device.
Step 609: and deleting the first target monitoring equipment from the high-availability list.
In this embodiment, when the target monitoring device is patrolled again, the failed target monitoring device may be deleted from the high availability list. In this way, the accuracy of the target monitoring equipment in the high-availability list can be improved, and the success rate of retrieving the monitoring video of the target monitoring equipment in the high-availability list is further improved.
Accordingly, the monitoring management platform may further perform the following steps while determining a first target monitoring device having a failure from among the target monitoring devices according to each of the target state information:
step 610: and determining a second online target monitoring device which does not have faults from the target monitoring devices according to the target state information.
In this embodiment, if no fault occurs and the monitoring device is online, the monitoring device may be in a normal working state, and in practice, the target state information corresponding to the normal working state may be online state information. If the target state information is 111, it can be determined that the monitoring device corresponding to the target state information is a monitoring device that is online and has no fault.
In one embodiment, after deleting the first target monitoring device from the high availability list, the monitoring management platform may further perform the steps of:
step 611: and adjusting the availability of the first target monitoring equipment to be a preset availability.
In this embodiment, the preset availability may be 0, and in practice, the availability of the first target monitoring device may be reset to 0, so that in the subsequent multi-round inspection, the availability of the first target monitoring device may be redetermined according to the processes in steps S601 to S603.
Step 612: and updating the availability of the second target monitoring equipment.
In this embodiment, since the second target monitoring device is a monitoring device that is not faulty and online, the second target monitoring device may be updated to reach the availability, specifically, the number of times that the second target monitoring device is in a normal state during N rounds of inspection and current inspection may be counted, and the ratio of the number of times in the normal state to the total number of times of N rounds of inspection and current inspection may be determined as the updated availability.
For example, since the availability of the second target monitoring device is a ratio of the number of device normal status information to N, when the availability of the second target monitoring device is updated, the updated availability may be determined according to equation 1:
Wherein N is the number of the normal state information of the equipment in the N rounds of inspection.
By adopting the embodiment, the high-availability list can be updated in real time, and the availability of each target monitoring device in the high-availability list can be updated in real time, so that the accuracy of the target monitoring devices included in the high-availability list is improved.
In one embodiment, the monitoring management platform is also communicatively connected to a web front end, which may run on a smart phone, computer or tablet computer. The step of sending the monitoring and inspection command to the corotation gateway may specifically be the following steps:
step 6011: and receiving an original monitoring and inspection instruction sent by the web front end, wherein the original monitoring and inspection instruction is generated by the web front end according to the inspection operation of a user.
In this embodiment, the web front end may be deployed in the internet, and may perform communication with the monitoring management platform in an internet protocol, where the monitoring management platform may receive, through the internet protocol, an original monitoring inspection instruction sent by the web front end. The original monitoring inspection instruction may include device numbers of a plurality of monitoring devices selected by a user.
Step 6012: and converting the original monitoring inspection instruction into a monitoring inspection instruction of a video networking protocol.
In this embodiment, the monitoring management platform may convert an original monitoring inspection instruction of the internet protocol into a monitoring inspection instruction of the internet-of-view protocol, specifically, may replace a protocol packet header of the original monitoring inspection instruction with an internet-of-view protocol packet header, so as to complete conversion of the monitoring inspection instruction.
Step 6013: and sending the monitoring and inspection instruction to the corotation gateway.
In this embodiment, the monitoring management platform may send a monitoring inspection instruction to the corotation gateway based on the internet of view protocol, so that the corotation gateway may perform N rounds of inspection on a plurality of monitoring devices.
Based on the same inventive concept, referring to fig. 7, an implementation environment diagram of a further monitoring device determining method based on the internet of view is shown, and as can be seen from fig. 7, a monitoring management platform is deployed in the internet of view, and the monitoring management platform is respectively in communication connection with a cooperative gateway and a web front end.
Wherein a web front end is understood to be a page of an application, e.g. a page of an APP. The method can be used for calling and watching the monitoring video of the monitoring equipment, displaying the state of the monitoring equipment and the like.
Referring to fig. 8, a flowchart of steps of yet another monitoring device determining method based on the internet of view in the above implementation environment is shown, where the method may be used in a web front end, and specifically includes the following steps:
Step S801: and generating a monitoring inspection instruction according to the plurality of monitoring numbers selected by the user.
In this embodiment, an operation interface may be provided on the web front end, and a user may select a plurality of monitoring devices to be inspected on the operation interface, and the web front end may obtain device numbers of the selected plurality of monitoring devices, so as to generate an inspection instruction including the device numbers of the selected plurality of monitoring devices.
The monitoring inspection instruction may be an instruction encapsulated by an internet protocol.
Step S802: and sending the monitoring and inspection instruction to the monitoring and management platform.
The monitoring management platform is used for responding to the monitoring inspection instruction, receiving a plurality of inspection information reported by the corotation gateway, determining the availability corresponding to each monitoring device in the plurality of monitoring devices according to the plurality of inspection information, and adding the target monitoring device with the availability larger than a preset availability threshold to a preset monitoring list to obtain a high availability list.
The inspection information is inspection result information corresponding to each of the N rounds of inspection.
In this embodiment, the web front end may send the monitoring and inspection instruction to the monitoring and management platform based on the internet protocol, and the process of obtaining the high availability list by the monitoring and management platform may be performed with reference to the processes of steps S601 to S605. And will not be described in detail herein.
Step S803: acquiring the high-availability list and displaying each target monitoring device in the high-availability list;
in this embodiment, when the monitoring management platform obtains the high availability list, the web front end may obtain the high availability list from the monitoring management platform. And each target monitoring device in the high-availability list can be displayed on the page, so that the user can conveniently check the target monitoring device.
In one embodiment, a resource database may also be deployed in the video network. When the web front end acquires the high-availability list, the high-availability list can be read from the resource database.
In particular, the preset monitoring list may be stored in the resource database, such that the high availability list is also stored in the resource database, such that the web front end may read the high availability list from the resource database.
Accordingly, the target monitoring equipment in the high-availability list is dynamically displayed in real time, so that the instantaneity of the displayed target monitoring equipment is improved, and the accuracy of the displayed target monitoring equipment is ensured. In one embodiment, after the high availability list is obtained and each target monitoring device in the high availability list is displayed, the method may further include the following steps:
Step S804: and reading the high-availability list from the resource database every preset time.
Step S805: and displaying all the target monitoring devices currently included in the high-availability list.
The preset time can be determined according to actual conditions, if the preset time is 10 hours, the web front end reads the high-availability list from the resource database every 10 hours, and displays each target monitoring device included in the currently read high-availability list.
Because each target monitoring device included in the high availability list can be dynamically changed, the technical scheme of the embodiment can improve the accuracy of each displayed target monitoring device so as to ensure that each displayed target monitoring device is a device which can be successfully called to the monitoring video.
Referring to fig. 9, a complete communication architecture diagram showing the monitoring device determining method based on the internet of view of the present embodiment, based on the complete communication architecture, a complete flow of the monitoring device determining method based on the internet of view of the present embodiment is as follows:
first, the web front end generates an original monitoring inspection instruction (i.e., the general fault inspection shown in fig. 9) according to a plurality of monitoring numbers selected by a user, and sends the original monitoring inspection instruction to the monitoring management platform.
And then, the monitoring management platform converts the original monitoring inspection instruction into a monitoring inspection instruction of the video networking protocol and sends the monitoring inspection instruction to the cooperative gateway.
And then, the corotation gateway performs N rounds of inspection on the plurality of monitoring devices, and reports the device state information of each monitoring device to the monitoring management platform when each round of inspection is finished (only reporting fault states are shown in fig. 9).
And then, the monitoring management platform determines the availability of each monitoring device according to the received device state information reported by the monitoring devices in the N rounds of inspection.
And then, the monitoring management platform adds the target monitoring equipment with the availability exceeding the preset availability threshold value to a preset monitoring list to obtain a high availability list. Wherein the high availability list is stored in the resource database. For example, a device number is 011 for monitoring, when it is inspected 100 times in the corotation gateway, the detection success number is 95 times, the failure is 5 times, the availability is 95%, that is, 0.95%, if the preset availability threshold in the system is 0.9, the availability of this 011 for monitoring is higher than the preset value, and the monitoring management platform stores 011 for monitoring in the high availability list.
Finally, the web front end reads the high availability list from the resource database and displays each target monitoring device included in the high availability list on the page. The device number of each target monitoring device may be displayed, or may be a device name used when each target monitoring device is registered in the internet of view.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the application.
Referring to fig. 10, a structural block diagram of a monitoring device determining apparatus based on the internet of view according to an embodiment of the present application is shown, where a monitoring management platform is disposed in the internet of view, and the monitoring management platform is communicatively connected to a corotation gateway, where the apparatus may be applied to the monitoring management platform, and may specifically include the following modules:
The instruction sending module 1001 is configured to send a monitoring inspection instruction to the corotation gateway, where the corotation gateway is configured to perform N rounds of inspection on a plurality of monitoring devices connected to the corotation gateway in response to the monitoring inspection instruction; wherein N is greater than 1;
the information receiving module 1002 is configured to receive a plurality of inspection information reported by the corotation gateway, where the plurality of inspection information is inspection result information corresponding to each of the N rounds of inspection;
the availability determining module 1003 is configured to determine an availability corresponding to each monitoring device in the plurality of monitoring devices according to the plurality of inspection information;
a device extracting module 1004, configured to extract, from the plurality of monitoring devices, a target monitoring device with the availability greater than a preset availability threshold;
the list obtaining module 1005 is configured to add each of the target monitoring devices to a preset monitoring list, to obtain a high availability list.
Optionally, each of the plurality of inspection information includes a plurality of status information, where the plurality of status information is device status information of each of the plurality of monitoring devices when inspected; the availability determination module 1003 may specifically include the following units:
The information extraction unit is used for extracting N pieces of state information corresponding to the monitoring equipment from the plurality of pieces of inspection information, wherein the N pieces of state information are equipment state information of the monitoring equipment in the N rounds of inspection respectively;
the quantity determining unit is used for determining the quantity of the state information as the normal state information of the equipment according to the N pieces of state information;
and the availability calculating unit is used for determining the ratio of the number to N as the availability of the monitoring equipment.
Optionally, the apparatus may further include the following modules:
the high-availability inspection module is used for sending a high-availability inspection instruction to the corotation gateway according to the high-availability list; the corotation gateway is used for responding to the high-availability inspection instruction and inspecting all the target monitoring devices;
the information receiving module is used for receiving target state information reported by the corotation gateway, wherein the target state information is equipment state information of the target monitoring equipment when the target monitoring equipment is patrolled and examined;
the first determining module is used for determining a first target monitoring device with faults from the target monitoring devices according to the target state information;
and the deleting module is used for deleting the first target monitoring equipment from the high-availability list.
Optionally, the apparatus may further include the following modules:
the second determining module is used for determining a second online target monitoring device which does not have faults from the target monitoring devices according to the target state information;
the availability adjustment module is used for adjusting the availability of the first target monitoring equipment to be a preset availability;
and the availability updating module is used for updating the availability of the second target monitoring equipment.
Optionally, the instruction sending module 1001 may specifically include the following units:
the instruction receiving unit is used for receiving an original monitoring and inspection instruction sent by the web front end, and the original monitoring and inspection instruction is generated by the web front end according to the inspection operation of a user;
the instruction conversion unit is used for converting the original monitoring inspection instruction into a monitoring inspection instruction of an internet-of-view protocol;
and the instruction sending unit is used for sending the monitoring and inspection instruction to the corotation gateway.
Referring to fig. 11, a structural block diagram of still another monitoring device determining apparatus based on the internet of view according to an embodiment of the present application is shown, where a monitoring management platform is disposed in the internet of view, where the monitoring management platform is respectively in communication connection with a co-rotating gateway and a web front end, and the apparatus is applied to the web front end, and may specifically include the following modules:
The instruction generating module 1101 is configured to generate a monitoring inspection instruction according to a plurality of monitoring numbers selected by a user;
the instruction sending module 1102 is configured to send the monitoring inspection instruction to the monitoring management platform, where the monitoring management platform is configured to receive, in response to the monitoring inspection instruction, a plurality of inspection information reported by the cooperative gateway, determine, according to the plurality of inspection information, an availability corresponding to each of the plurality of monitoring devices, and add, to a preset monitoring list, a target monitoring device with the availability greater than a preset availability threshold, to obtain a high availability list;
a list obtaining module 1103, configured to obtain the high availability list;
a list display module 1104, configured to display each of the target monitoring devices in the high availability list;
the inspection information is inspection result information corresponding to each of the N rounds of inspection.
Optionally, a resource database is also deployed in the video networking; the list obtaining module 1103 is specifically configured to read the high availability list from the resource database;
the apparatus may further comprise the following modules:
the circulation reading module is used for reading the high-availability list from the resource database every preset time;
The list display module 1104 is specifically configured to display each target monitoring device currently included in the high-availability list.
For the embodiment of the monitoring device determining apparatus based on the visual network, since the embodiment of the monitoring device determining method based on the visual network is basically similar to the embodiment of the monitoring device determining method based on the visual network, the description is simpler, and the relevant points are only needed to be referred to in the part of the description of the embodiment of the monitoring device determining method based on the visual network.
The embodiment of the application also provides electronic equipment, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the device to perform one or more of the methods of view networking-based monitoring device determination described by embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium, and a stored computer program causes a processor to execute the monitoring equipment determining method based on the video networking.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the application may take the form of a computer program product on one 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.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the application.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The method, the device, the equipment and the storage medium for determining the monitoring equipment based on the video networking are described in detail, and specific examples are applied to the description of the principle and the implementation mode of the application, and the description of the above examples is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.
Claims (11)
1. A monitoring equipment determining method based on the visual network is characterized in that a monitoring management platform is deployed in the visual network and is in communication connection with a cooperative gateway, and the method is applied to the monitoring management platform and comprises the following steps:
sending a monitoring and inspection instruction to the corotation gateway, wherein the corotation gateway is used for responding to the monitoring and inspection instruction and performing N rounds of inspection on a plurality of monitoring devices connected to the corotation gateway; wherein N is greater than 1;
receiving a plurality of inspection information reported by the corotation gateway, wherein the inspection information is inspection result information corresponding to each of the N rounds of inspection;
determining the availability corresponding to each monitoring device in the plurality of monitoring devices according to the plurality of inspection information, wherein the availability corresponding to the monitoring device is used for indicating the probability that the monitoring device can normally work and the stability of the monitoring device in a normal working state when being inspected in N rounds of inspection;
extracting target monitoring equipment with the availability greater than a preset availability threshold from the plurality of monitoring equipment;
and adding each target monitoring device to a preset monitoring list to obtain a high-availability list.
2. The method of claim 1, wherein each of the plurality of inspection information includes a plurality of status information, the plurality of status information being device status information of each of the plurality of monitoring devices when inspected; according to the inspection information, determining the availability of each monitoring device in the monitoring devices comprises the following steps:
extracting N pieces of state information corresponding to the monitoring equipment from the plurality of pieces of inspection information, wherein the N pieces of state information are equipment state information of the monitoring equipment in the N rounds of inspection respectively;
determining the state information as the number of the normal state information of the equipment according to the N pieces of state information;
and determining the ratio of the number to N as the availability of the monitoring equipment.
3. The method according to claim 1 or 2, wherein after adding each of the target monitoring devices to a preset monitoring list, the method further comprises:
sending a high-availability inspection instruction to the corotation gateway according to the high-availability list; the corotation gateway is used for responding to the high-availability inspection instruction and inspecting all the target monitoring devices;
Receiving target state information reported by the corotation gateway, wherein the target state information is equipment state information of the target monitoring equipment when the target monitoring equipment is inspected;
determining a first target monitoring device with faults from the target monitoring devices according to the target state information;
and deleting the first target monitoring equipment from the high-availability list.
4. A method according to claim 3, characterized in that the method further comprises:
determining a second online target monitoring device which does not have faults from the target monitoring devices according to the target state information;
after deleting the first target monitoring device from the high availability list, the method further comprises:
the availability of the first target monitoring equipment is adjusted to be preset availability;
and updating the availability of the second target monitoring equipment.
5. The method of claim 1, wherein the monitoring management platform is further communicatively coupled to a web front end, and wherein sending a monitoring patrol instruction to the corotation gateway comprises:
receiving an original monitoring and inspection instruction sent by the web front end, wherein the original monitoring and inspection instruction is generated by the web front end according to inspection operation of a user;
Converting the original monitoring inspection instruction into a monitoring inspection instruction of a video networking protocol;
and sending the monitoring and inspection instruction to the corotation gateway.
6. A monitoring equipment determining method based on the visual network is characterized in that a monitoring management platform is deployed in the visual network and is respectively in communication connection with a cooperative gateway and a web front end, and the method is applied to the web front end and comprises the following steps:
generating a monitoring inspection instruction according to a plurality of monitoring numbers selected by a user;
the monitoring and inspection instructions are sent to the monitoring and inspection platform, the monitoring and inspection platform is used for responding to the monitoring and inspection instructions, receiving a plurality of inspection information reported by the cooperative gateway, determining the corresponding availability of each monitoring device in the plurality of monitoring devices according to the plurality of inspection information, and adding the target monitoring device with the availability larger than a preset availability threshold to a preset monitoring list to obtain a high availability list, wherein the corresponding availability of the monitoring device is used for indicating the probability that the monitoring device can work normally when inspected in N rounds of inspection and the stability that the monitoring device maintains a normal working state;
Acquiring the high-availability list and displaying each target monitoring device in the high-availability list;
the inspection information is inspection result information corresponding to each of the N rounds of inspection.
7. The method of claim 6, wherein the internet of view further has a resource database disposed therein; the obtaining the high availability list comprises the following steps:
reading the high availability list from the resource database;
after obtaining the high availability list and displaying each of the target monitoring devices in the high availability list, the method further comprises:
reading the high availability list from the resource database at preset intervals;
and displaying all the target monitoring devices currently included in the high-availability list.
8. Monitoring equipment determining device based on visual network, characterized in that, there is a monitoring management platform in the visual network, the monitoring management platform is connected with the cooperative gateway in a communication way, the device is applied to the monitoring management platform, including:
the command sending module is used for sending a monitoring and inspection command to the corotation gateway, and the corotation gateway is used for responding to the monitoring and inspection command and carrying out N rounds of inspection on a plurality of monitoring devices connected to the corotation gateway; wherein N is greater than 1;
The information receiving module is used for receiving a plurality of pieces of inspection information reported by the cooperative gateway, wherein the plurality of pieces of inspection information are inspection result information corresponding to the N rounds of inspection respectively;
the availability determining module is used for determining the availability corresponding to each monitoring device in the plurality of monitoring devices according to the plurality of inspection information, wherein the availability corresponding to the monitoring device is used for indicating the probability that the monitoring device can work normally and the stability of the monitoring device in a normal working state when being inspected in N rounds of inspection;
the device extraction module is used for extracting target monitoring devices with the availability greater than a preset availability threshold from the plurality of monitoring devices;
and the list obtaining module is used for adding each target monitoring device to a preset monitoring list to obtain a high-availability list.
9. Monitoring equipment determining device based on visual network, characterized in that, there is a monitoring management platform deployed in the visual network, the monitoring management platform is connected with the cooperative gateway and the web front end in communication respectively, the device is applied to the web front end, comprising:
the instruction generation module is used for generating monitoring inspection instructions according to a plurality of monitoring numbers selected by a user;
The monitoring management platform is used for responding to the monitoring inspection instruction, receiving a plurality of inspection information reported by the cooperative gateway, determining the availability of each monitoring device in the plurality of monitoring devices according to the plurality of inspection information, and adding a target monitoring device with the availability greater than a preset availability threshold value to a preset monitoring list to obtain a high availability list, wherein the availability of the monitoring device is represented by the probability that the monitoring device can work normally when inspected in N rounds of inspection and the stability of the monitoring device in a normal working state;
a list acquisition module, configured to acquire the high availability list;
a list display module, configured to display each of the target monitoring devices in the high-availability list; the inspection information is inspection result information corresponding to each of the N rounds of inspection.
10. An electronic device, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the device to perform the vision-networking based monitoring device determination method of any one of claims 1-5 or 6-7.
11. A computer-readable storage medium, characterized in that it stores a computer program causing a processor to execute the monitoring device determination method based on the visual networking as claimed in any one of claims 1 to 5 or 6 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010089358.1A CN111355927B (en) | 2020-02-12 | 2020-02-12 | Monitoring equipment determining method, device, equipment and storage medium based on visual networking |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010089358.1A CN111355927B (en) | 2020-02-12 | 2020-02-12 | Monitoring equipment determining method, device, equipment and storage medium based on visual networking |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111355927A CN111355927A (en) | 2020-06-30 |
CN111355927B true CN111355927B (en) | 2023-08-15 |
Family
ID=71195916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010089358.1A Active CN111355927B (en) | 2020-02-12 | 2020-02-12 | Monitoring equipment determining method, device, equipment and storage medium based on visual networking |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111355927B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113727092B (en) * | 2021-07-30 | 2024-04-16 | 深圳力维智联技术有限公司 | Video monitoring quality inspection method and device based on decision tree |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206212160U (en) * | 2016-12-12 | 2017-05-31 | 国家电网公司 | Picture control automatic inspection device |
CN106897778A (en) * | 2017-02-24 | 2017-06-27 | 佛山市顺德区港华燃气有限公司 | The NFC intelligent inspection systems and its method for inspecting of a kind of LNG filling stations |
WO2017161964A1 (en) * | 2016-03-25 | 2017-09-28 | 中兴通讯股份有限公司 | Communication network inspection method and device, and inspection client terminal |
CN108366168A (en) * | 2018-01-29 | 2018-08-03 | 广东欧珀移动通信有限公司 | Fall data application method and Related product |
CN109147079A (en) * | 2018-08-06 | 2019-01-04 | 广东电网有限责任公司 | Equipment routing inspection method and device |
CN109816308A (en) * | 2019-01-18 | 2019-05-28 | 广东电网有限责任公司 | A kind of equipment routing inspection householder method, apparatus and system |
CN110519072A (en) * | 2018-05-21 | 2019-11-29 | 视联动力信息技术股份有限公司 | A kind of method for inspecting, system and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6109257B2 (en) * | 2015-07-21 | 2017-04-05 | 三菱電機株式会社 | Drive device |
-
2020
- 2020-02-12 CN CN202010089358.1A patent/CN111355927B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017161964A1 (en) * | 2016-03-25 | 2017-09-28 | 中兴通讯股份有限公司 | Communication network inspection method and device, and inspection client terminal |
CN206212160U (en) * | 2016-12-12 | 2017-05-31 | 国家电网公司 | Picture control automatic inspection device |
CN106897778A (en) * | 2017-02-24 | 2017-06-27 | 佛山市顺德区港华燃气有限公司 | The NFC intelligent inspection systems and its method for inspecting of a kind of LNG filling stations |
CN108366168A (en) * | 2018-01-29 | 2018-08-03 | 广东欧珀移动通信有限公司 | Fall data application method and Related product |
CN110519072A (en) * | 2018-05-21 | 2019-11-29 | 视联动力信息技术股份有限公司 | A kind of method for inspecting, system and device |
CN109147079A (en) * | 2018-08-06 | 2019-01-04 | 广东电网有限责任公司 | Equipment routing inspection method and device |
CN109816308A (en) * | 2019-01-18 | 2019-05-28 | 广东电网有限责任公司 | A kind of equipment routing inspection householder method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN111355927A (en) | 2020-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108880926B (en) | Server monitoring method and device | |
CN109309806B (en) | Video conference management method and system | |
CN110087040B (en) | Monitoring video calling method and system | |
CN109842519B (en) | Method and device for previewing video stream | |
CN109561072B (en) | Link detection method and system | |
CN110475113B (en) | Monitoring equipment fault processing method and device based on video network | |
CN109768957B (en) | Method and system for processing monitoring data | |
CN111224889A (en) | Data transmission method and device | |
CN111478882B (en) | Terminal detection method and device | |
CN111447407B (en) | Method and device for transmitting monitoring resources | |
CN111478880B (en) | Data processing method and device | |
CN111614480B (en) | Service detection method, device and storage medium | |
CN111131840B (en) | Method and device for switching network of video service system | |
CN111355927B (en) | Monitoring equipment determining method, device, equipment and storage medium based on visual networking | |
CN110677617A (en) | Data processing method and device | |
CN111212255B (en) | Monitoring resource obtaining method and device and computer readable storage medium | |
CN110134892B (en) | Loading method and system of monitoring resource list | |
CN110109808B (en) | Log processing method and device | |
CN111193619B (en) | Log file acquisition method and device | |
CN113162910B (en) | Resource transmission method and device, electronic equipment and storage medium | |
CN111614714B (en) | Data processing method and device of service system | |
CN110958461B (en) | Method and device for detecting connection state of video networking server | |
CN111526323B (en) | Panoramic video processing method and device | |
CN110445701B (en) | Business object processing method and device and storage medium | |
CN110474956B (en) | Method and device for sealing number of video networking equipment, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |