CN111193904A - Inspection control method and device and readable storage medium - Google Patents

Inspection control method and device and readable storage medium Download PDF

Info

Publication number
CN111193904A
CN111193904A CN201911304185.4A CN201911304185A CN111193904A CN 111193904 A CN111193904 A CN 111193904A CN 201911304185 A CN201911304185 A CN 201911304185A CN 111193904 A CN111193904 A CN 111193904A
Authority
CN
China
Prior art keywords
inspection
monitoring equipment
service
target monitoring
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911304185.4A
Other languages
Chinese (zh)
Other versions
CN111193904B (en
Inventor
白强
李璐
刘瑶
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911304185.4A priority Critical patent/CN111193904B/en
Publication of CN111193904A publication Critical patent/CN111193904A/en
Application granted granted Critical
Publication of CN111193904B publication Critical patent/CN111193904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Abstract

The embodiment of the invention provides a method and a device for controlling routing inspection and a readable storage medium, wherein the method comprises the following steps: according to the method and the device, whether the polling service needs to be executed on the target monitoring equipment or not is judged according to the balancing strategy, the polling service is forbidden to be executed on the target monitoring equipment if the polling service does not need to be executed on the target monitoring equipment, and the polling service is started on the target monitoring equipment if the polling service needs to be executed on the target monitoring equipment, so that the problem that the polling service is executed on the target monitoring equipment under the condition that the polling service is not needed to be executed on the target monitoring equipment, additional burden is caused on the cooperative server, and the load of the cooperative server is increased can be solved.

Description

Inspection control method and device and readable storage medium
Technical Field
The invention relates to the field of communication, in particular to a patrol control method, a device and a readable storage medium.
Background
The monitoring system based on the video network can control the monitoring equipment accessed to the coordination server, so that the video network terminal can acquire and display the video stream from the monitoring equipment. Specifically, the monitoring system sends a stream adjusting instruction to the video networking terminal to instruct the video networking terminal to acquire the video stream of which monitoring device of which protocol server. And the video networking terminal sends a stream adjusting instruction to the coordination server, so that the video networking terminal can acquire the video stream of a certain monitoring device from the coordination server.
At present, in order to improve the efficiency of acquiring a video stream by a monitoring system through a protocol conversion server, the monitoring system needs to send an inspection instruction to the protocol conversion server to instruct the protocol conversion server to inspect each monitoring device connected with the protocol conversion server, and determine which monitoring devices are normally working devices and which monitoring devices are abnormally working devices.
However, the protocol conversion server may not be suitable for performing the polling task because the protocol conversion server immediately performs the polling operation when receiving the polling command.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide an inspection control method, apparatus, and readable storage medium that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses an inspection control method executed by a cooperative server, including:
receiving an inspection service request sent by a monitoring service, wherein the inspection service request is a request sent by a monitoring client received by the monitoring service;
responding to the polling service request, and judging whether polling service needs to be executed on target monitoring equipment or not according to a balance strategy, wherein the target monitoring equipment comprises each monitoring equipment or part of monitoring equipment in communication connection with the coordination server;
if the target monitoring equipment does not need to be subjected to the inspection service, the target monitoring equipment is forbidden to be subjected to the inspection service;
and if the inspection service needs to be executed on the target monitoring equipment, starting to execute the inspection service on the target monitoring equipment.
The embodiment of the invention also discloses a polling control device which is arranged on the cooperative transmission server and comprises:
the system comprises a receiving module, a monitoring module and a processing module, wherein the receiving module is used for receiving an inspection business request sent by a monitoring service, and the inspection business request is a request sent by a monitoring client received by the monitoring service;
the judging module is used for responding to the polling service request and judging whether polling service needs to be executed on target monitoring equipment or not according to a balance strategy, wherein the target monitoring equipment comprises all monitoring equipment or part of monitoring equipment which is in communication connection with the coordination server;
the forbidding module is used for forbidding the target monitoring equipment to execute the inspection service if the inspection service does not need to be executed on the target monitoring equipment;
and the execution module is used for starting to execute the inspection service on the target monitoring equipment if the inspection service is required to be executed on the target monitoring equipment.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the steps of the inspection control method are realized when the computer program is executed by a processor.
The embodiment of the invention also discloses an inspection control device, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the inspection control method when being executed by the processor.
The embodiment of the invention has the following advantages:
in the implementation of the invention, whether the polling service needs to be executed on the target monitoring equipment is judged according to the balancing strategy, the polling service is forbidden to be executed on the target monitoring equipment when the polling service does not need to be executed on the target monitoring equipment, and the polling service is started to be executed on the target monitoring equipment if the polling service needs to be executed on the target monitoring equipment, so that the problem that the polling service is still executed on the target monitoring equipment under the condition that the polling service does not need to be executed on the target monitoring equipment, additional burden is caused on the protocol conversion server, and the load of the protocol conversion server is increased can be avoided. .
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of an inspection control method according to an embodiment of the present invention;
fig. 2 is a system architecture diagram of an inspection control method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an inspection control device according to an embodiment of the present invention;
FIG. 4 is a networking schematic of a video network of the present invention;
FIG. 5 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 6 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 7 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
It should be understood that the specific embodiments described herein are merely illustrative of the invention, but do not limit the invention to only some, but not all embodiments.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of an inspection control method according to an embodiment of the present invention, where the method is executed by a collaboration server, and the method includes the following steps:
step 101, receiving an inspection service request sent by a monitoring service, wherein the inspection service request is a request sent by a monitoring client received by the monitoring service.
It should be noted that the monitoring management platform of the video network is divided into a front-end service and a back-end service, and the front-end service is also called tangula and is responsible for displaying the whole monitoring directory, calling the monitoring video and configuring the video network monitoring unified management platform. And the back-end service is responsible for the unified management of all accessed monitoring equipment in the whole video network and the docking service of a national standard (GB/T28181) platform monitoring system. The monitoring client side serves for the front end of the monitoring management platform, and the monitoring service (Mserver) serves for one of the back ends of the front end services.
The protocol server is also called a monitoring access server and is responsible for accessing monitoring equipment (which can also be described as monitoring resources) of the internet and/or monitoring equipment of a third-party national standard subordinate platform into the video network, so that the monitoring equipment on the internet can be browsed and controlled in the video network.
Specifically, referring to fig. 2, fig. 2 is a system architecture diagram of an inspection control method according to an embodiment of the present invention. The monitoring client can receive an operation instruction executed by a user, so that an inspection service request is sent to the monitoring service in response to the operation instruction, the monitoring service sends the inspection service request to the protocol conversion server after receiving the inspection service request, and correspondingly, the protocol conversion server receives the inspection service request sent by the monitoring service. The monitoring service and the monitoring client can be deployed on the same device or different devices.
Specifically, the inspection task is sent to the MServer by Tanggula, and the MServer receives the inspection task sent by the Tanggula and directly sends an inspection signaling to the protocol conversion server. And the cooperative transmission server receives the polling signaling and starts to carry out active polling on the monitoring equipment mounted by the server.
And 102, responding to the polling service request, and judging whether polling service needs to be executed on target monitoring equipment or not according to a balance strategy, wherein the target monitoring equipment comprises each monitoring equipment or part of monitoring equipment in communication connection with the coordination server.
And the protocol conversion server responds to the polling service request and judges whether polling service needs to be executed on the target monitoring equipment or not according to the balance strategy. The target monitoring device may include each monitoring device communicatively connected to the cooperative server (i.e., all monitoring devices mounted on the cooperative server), or the target monitoring device includes a part of the monitoring devices mounted on the cooperative server.
For example, if the collaboration server performs polling on each monitoring device before, it is determined that each monitoring device is in a white list, that is, under the condition that each monitoring device is in an available state, the target monitoring device may include each monitoring device. If the cooperative switching server determines that part of the monitoring devices are in an unavailable state for many times when the cooperative switching server performs polling on the monitoring devices in the past, the monitoring devices are listed in a blacklist, and then the cooperative switching server receives the polling instruction again, the polling service can not be performed on the monitoring devices listed in the blacklist, namely, the target monitoring device only comprises part of the monitoring devices except the monitoring devices in the blacklist.
Or, for example, each monitoring device mounted under the collaboration server includes, for example, 5 monitoring devices of the third-party monitoring system 1 and 10 monitoring devices of the third-party monitoring system 2. If the third-party monitoring system 1 is in an offline state or the collaboration server is acquiring monitoring resources of the third-party monitoring system 1, and the third-party monitoring system 2 is in an online state and is not in a blacklist, the target monitoring device includes 10 monitoring devices of the third-party monitoring system 2. The monitoring resource of the third-party monitoring system refers to the coding information or the directory information of the monitoring equipment which is accessed to the coordination server through the third-party monitoring system. Under the condition that the coding information or the directory information of the monitoring equipment of the third-party monitoring system is changed, if the video stream of the monitoring equipment of the third-party monitoring system is called by adopting the previous coding information or the directory information, the problem that the stream calling fails or the video stream can not be called exists, therefore, the coordination and transformation server needs to obtain the coding information and the directory information of the monitoring equipment of the third-party monitoring system again, and when the coding information and the directory information of the monitoring equipment of the third-party monitoring system are obtained again, the monitoring equipment of the third-party monitoring system does not need to be patrolled, so that the burden of the coordination and transformation server can be reduced.
And 103, if the polling service does not need to be executed on the target monitoring equipment, forbidding the polling service to be executed on the target monitoring equipment.
And step 104, if the inspection service needs to be executed on the target monitoring equipment, starting to execute the inspection service on the target monitoring equipment.
In the prior art, when the protocol conversion server receives the polling instruction, the polling service is immediately executed, and at this time, the protocol conversion server may not be suitable for executing the polling task, for example, the protocol conversion server is executing other services, for example, executing the flow regulation service, and executing the polling task simultaneously with the flow regulation task, which may increase the load of the protocol conversion server. I.e. it is not suitable for performing patrol transactions in this case.
According to the embodiment of the invention, whether the polling service needs to be executed on the target monitoring equipment is judged according to the balancing strategy, the polling service is forbidden to be executed on the target monitoring equipment if the polling service does not need to be executed on the target monitoring equipment, and the polling service is started to be executed on the target monitoring equipment if the polling service needs to be executed on the target monitoring equipment, so that the problem that the polling service is executed on the target monitoring equipment under the condition that the polling service is not needed to be executed on the target monitoring equipment, additional burden is caused on the cooperative server, and the load of the cooperative server is increased can be solved. .
Optionally, the balancing policy may include, but is not limited to, whether the load size of the cooperative server is greater than or equal to a preset threshold, whether a monitoring system communicatively connected to the cooperative server is online, and whether the cooperative server is in a state of acquiring resources of the monitoring system.
The monitoring system refers to a monitoring system of a third-party national standard lower-level platform.
Optionally, the method may further include the following steps:
and in the process of executing the inspection service on the target monitoring equipment, judging whether the inspection service on the target monitoring equipment needs to be suspended or not according to the balance strategy.
The determining whether to suspend the execution of the inspection service on the target monitoring device according to the balancing policy may include the following:
if the load of the cooperative conversion server is larger than or equal to a preset threshold value, the execution of the routing inspection service on the target monitoring equipment needs to be suspended; alternatively, the first and second electrodes may be,
if the monitoring system in communication connection with the coordination server is offline, the execution of the inspection service on target monitoring equipment needs to be suspended, wherein the target monitoring equipment comprises monitoring equipment connected with the monitoring system in an offline state; alternatively, the first and second electrodes may be,
and if the protocol conversion server is in a state of acquiring the monitoring resources of the monitoring system in communication connection with the protocol conversion server, the execution of the routing inspection service on the target monitoring equipment needs to be suspended.
For example, when the monitoring system communicatively connected to the collaboration server is offline, the execution of the inspection service on the target monitoring device is suspended, and the target monitoring device at this time is the monitoring device communicatively connected to the offline monitoring system.
Optionally, the method further includes:
and under the condition of suspending the execution of the inspection service on the target monitoring equipment, judging whether the inspection service needs to be continuously executed on the target monitoring equipment or not according to the balance strategy.
With reference to the foregoing example, when the monitoring system communicatively connected to the coordination server is offline, the execution of the polling service on the target monitoring device is suspended, and the target monitoring device at this time is the monitoring device communicatively connected to the offline monitoring system. If the subsequent monitoring system is on-line again, the load of the cooperative conversion server is smaller than the preset threshold value at the moment, and the cooperative conversion server is not in the state of acquiring the monitoring resource of the monitoring system, the inspection service can be continuously executed on the monitoring equipment in communication connection with the monitoring system.
Or for example, when the protocol conversion server completes acquiring the monitoring resource of the monitoring system communicatively connected to the protocol conversion server, if the load of the protocol conversion server is smaller than the preset threshold and the monitoring system is in an online state, the monitoring device communicatively connected to the monitoring system may continue to perform the polling service.
Optionally, step 102, determining whether to execute the inspection service on the target monitoring device according to the balancing policy may include the following steps:
if the load of the cooperative conversion server is larger than or equal to the preset threshold, the monitoring system in communication connection with the cooperative conversion server is offline, and the cooperative conversion server is in a state of acquiring resources of the monitoring system, the inspection service does not need to be executed on the target monitoring equipment.
That is, as long as any one of the above situations occurs, the polling service does not need to be executed on the target monitoring device, so that the load of the coordination server can be reduced.
Optionally, the method may further include:
as shown in fig. 2, the patrol status information of the coordination server is sent to the monitoring client, so that the monitoring client displays the patrol status information, wherein the patrol status information includes patrol in progress, patrol pause, and patrol stop. The inspection state information is sent to the monitoring client through the protocol conversion server, so that the monitoring client and the protocol conversion server can keep consistent in cognition of the inspection state, and the condition that the inspection state of the protocol conversion server is stopped and the inspection stop button is clicked by a user when the inspection state displayed by the monitoring client is inspection in progress, so that an invalid instruction is sent to the protocol conversion server by the monitoring client, or the condition that the inspection state displayed by the monitoring client is inspection in progress and the inspection start button is clicked by the user when the inspection state displayed by the monitoring client is inspection stop, so that an invalid inspection service request is sent to the protocol conversion server by the monitoring client.
It should be noted that, after the polling of the protocol conversion server is stopped, the protocol conversion server may execute polling service on the target monitoring device at intervals of a preset time, and the monitoring client does not need to send a polling service request to the protocol conversion server again.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an inspection control device according to an embodiment of the present invention, where the device 300 may be disposed in a collaboration server, and the device 300 includes:
a receiving module 310, configured to receive an inspection service request sent by a monitoring service, where the inspection service request is a request sent by a monitoring client received by the monitoring service;
a first determining module 320, configured to determine, in response to the inspection service request, whether to execute an inspection service on a target monitoring device according to a balancing policy, where the target monitoring device includes each monitoring device or a part of the monitoring devices that are in communication connection with the coordination server;
a forbidding module 330, configured to forbid to execute the inspection service on the target monitoring device if the inspection service does not need to be executed on the target monitoring device;
the executing module 340 is configured to start to execute the inspection service on the target monitoring device if the inspection service needs to be executed on the target monitoring device.
The inspection control device provided in this embodiment determines whether to execute the inspection service on the target monitoring device according to the balancing policy, prohibits the inspection service from being executed on the target monitoring device if the inspection service is not required to be executed on the target monitoring device, and starts to execute the inspection service on the target monitoring device if the inspection service is required to be executed on the target monitoring device, so as to avoid the problem that the inspection service is still executed on the target monitoring device under the condition that the inspection service is not required to be executed on the target monitoring device, thereby causing an additional burden on the cooperative server and increasing the load of the cooperative server.
Optionally, the balancing policy includes at least one of whether the load of the cooperative server is greater than or equal to a preset threshold, whether a monitoring system in communication connection with the cooperative server is online, and whether the cooperative server is in a state of acquiring monitoring resources of the monitoring system.
Optionally, the method may further include:
and the second judgment module is used for judging whether to suspend the execution of the inspection service on the target monitoring equipment according to the balance strategy in the process of executing the inspection service on the target monitoring equipment.
Optionally, the determining module 320 is further configured to determine whether to continue to execute the inspection service on the target monitoring device according to the balancing policy under the condition that the execution of the inspection service on the target monitoring device is suspended.
Optionally, the determining module 320 is specifically configured to execute the inspection service on the target monitoring device if at least one of the load of the cooperative server is greater than or equal to the preset threshold, the monitoring system offline connected to the cooperative server in communication, and the cooperative server being in a state of acquiring resources of the monitoring system occurs.
Optionally, the second determining module is specifically configured to suspend performing of the inspection service on the target monitoring device if the load of the cooperative server is greater than or equal to the preset threshold; alternatively, the first and second electrodes may be,
if the monitoring system in communication connection with the coordination server is offline, the execution of the inspection service on the target monitoring equipment is required to be suspended, wherein the target monitoring equipment comprises monitoring equipment connected with the monitoring system in an offline state; alternatively, the first and second electrodes may be,
and if the cooperative conversion server is in a state of acquiring monitoring resources of a monitoring system in communication connection with the cooperative conversion server, the execution of the inspection service on the target monitoring equipment needs to be suspended.
Optionally, the method further includes:
and the sending module is used for sending the inspection state information of the protocol conversion server to the monitoring client so that the monitoring client displays the inspection state information, wherein the inspection state information comprises inspection in-process, inspection pause and inspection stop.
In addition, an embodiment of the present invention further provides an inspection control device, where the inspection control device includes a processor, a memory, and a computer program that is stored in the memory and can be run on the processor, and when being executed by the processor, the computer program implements each process of the inspection control method embodiment of the foregoing embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing embodiment of the inspection control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
For the product embodiment, because the technical scheme of the device embodiment is applied, the description is relatively simple, and related points can be found in partial description of the device embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention 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 present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention 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 invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. 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 to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the 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 terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other identical elements in the process, method, article, or terminal equipment comprising the element.
The inspection control method and the inspection control device provided by the invention are described in detail, specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the examples is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of 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 traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and 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 one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger 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 network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 6, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a 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 a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 5, the system mainly includes a network interface module 501, a switching engine module 502, a CPU module 503, and a disk array module 504;
the network interface module 501, the CPU module 503 and the disk array module 504 all enter the switching engine module 502; the switching engine module 502 performs an operation of looking up the address table 505 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a corresponding queue of the packet buffer 506 based on the packet's steering information; if the queue of the packet buffer 506 is nearly full, it is discarded; the switching engine module 502 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 504 mainly implements control over the hard disk, including initialization, read-write, and other operations of the hard disk; the CPU module 503 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 505 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 504.
The access switch:
as shown in fig. 6, the network interface module (downlink network interface module 601, uplink network interface module 602), switching engine module 603, and CPU module 604 are mainly included;
wherein, the packet (uplink data) coming from the downlink network interface module 601 enters the packet detection module 605; the packet detection module 605 detects whether the Destination Address (DA), the Source Address (SA), the type of the packet, and the length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 603, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 602 enters the switching engine module 603; the incoming data packet from the CPU module 604 enters the switching engine module 603; the switching engine module 603 performs an operation of looking up the address table 606 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 603 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 607 in association with the stream-id; if the queue of the packet buffer 607 is close to full, it is discarded; if the packet entering the switching engine module 603 is not from the downlink network interface to the uplink network interface, the packet is stored in the queue of the corresponding packet buffer 607 according to the packet guiding information; if the queue of the packet buffer 607 is close to full, it is discarded.
The switching engine module 603 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 606 is configured by the CPU module 604, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 604 is mainly responsible for protocol processing with the node server, configuration of the address table 606, and configuration of the code rate control module 606.
Ethernet protocol gateway:
as shown in fig. 7, the apparatus mainly includes a network interface module (a downlink network interface module 701, an uplink network interface module 702), a switching engine module 703, a CPU module 704, a packet detection module 705, a rate control module 708, an address table 706, a packet buffer 707, a MAC adding module 709, and a MAC deleting module 710.
Wherein, the data packet coming from the downlink network interface module 701 enters the packet detection module 705; the packet detection module 705 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deleting module 710 subtracts MAC DA, MAC SA, length or frame type (2byte), and enters the corresponding receiving buffer, otherwise, discards;
the downlink network interface module 701 detects the sending buffer of the port, and if a packet exists, the downlink network interface module learns the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
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 and audio coding and 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 types: node server, node exchanger, 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. Video networking 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 the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved Label Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.

Claims (10)

1. A polling control method is characterized in that the polling control method is executed in a cooperative server and comprises the following steps:
receiving an inspection service request sent by a monitoring service, wherein the inspection service request is a request sent by a monitoring client received by the monitoring service;
responding to the polling service request, and judging whether polling service needs to be executed on target monitoring equipment or not according to a balance strategy, wherein the target monitoring equipment comprises each monitoring equipment or part of monitoring equipment in communication connection with the coordination server;
if the target monitoring equipment does not need to be subjected to the inspection service, the target monitoring equipment is forbidden to be subjected to the inspection service;
and if the inspection service needs to be executed on the target monitoring equipment, starting to execute the inspection service on the target monitoring equipment.
2. The method of claim 1, wherein the balancing policy comprises at least one of whether a load size of the cooperative conversion server is greater than or equal to a preset threshold, whether a monitoring system communicatively connected to the cooperative conversion server is online, and whether the cooperative conversion server is in a state of acquiring monitoring resources of the monitoring system.
3. The method of claim 2, further comprising:
and judging whether to suspend the execution of the inspection service on the target monitoring equipment or not according to the balance strategy in the process of executing the inspection service on the target monitoring equipment.
4. The method of claim 3, further comprising:
and under the condition of suspending the execution of the inspection service on the target monitoring equipment, judging whether the inspection service needs to be continuously executed on the target monitoring equipment or not according to the balance strategy.
5. The method of claim 2, wherein determining whether the patrol service needs to be performed on the target monitoring device according to the balancing policy comprises:
and if the load of the cooperative conversion server is greater than or equal to at least one of the preset threshold, the monitoring system offline in communication connection with the cooperative conversion server and the state that the cooperative conversion server is in the state of acquiring the resources of the monitoring system, the inspection service is not required to be executed on the target monitoring equipment.
6. The method according to claim 3, wherein the determining whether to suspend the polling service executed on the target monitoring device according to the balancing policy comprises:
if the load of the cooperative conversion server is larger than or equal to the preset threshold, the execution of the routing inspection service on the target monitoring equipment needs to be suspended; alternatively, the first and second electrodes may be,
if the monitoring system in communication connection with the coordination server is offline, the execution of the inspection service on the target monitoring equipment is required to be suspended, wherein the target monitoring equipment comprises monitoring equipment connected with the monitoring system in an offline state; alternatively, the first and second electrodes may be,
and if the cooperative conversion server is in a state of acquiring monitoring resources of a monitoring system in communication connection with the cooperative conversion server, the execution of the inspection service on the target monitoring equipment needs to be suspended.
7. The method of any of claims 1-6, further comprising:
and sending the inspection state information of the protocol conversion server to the monitoring client so that the monitoring client displays the inspection state information, wherein the inspection state information comprises inspection in-process, inspection pause and inspection stop.
8. The utility model provides a control device patrols and examines, its characterized in that sets up in coordinating commentaries on classics server, includes:
the system comprises a receiving module, a monitoring module and a processing module, wherein the receiving module is used for receiving an inspection business request sent by a monitoring service, and the inspection business request is a request sent by a monitoring client received by the monitoring service;
the judging module is used for responding to the polling service request and judging whether polling service needs to be executed on target monitoring equipment or not according to a balance strategy, wherein the target monitoring equipment comprises all monitoring equipment or part of monitoring equipment which is in communication connection with the coordination server;
the forbidding module is used for forbidding the target monitoring equipment to execute the inspection service if the inspection service does not need to be executed on the target monitoring equipment;
and the execution module is used for starting to execute the inspection service on the target monitoring equipment if the inspection service is required to be executed on the target monitoring equipment.
9. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps of the inspection control method according to any one of claims 1 to 7.
10. An inspection control apparatus comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the inspection control method according to any one of claims 1 to 7.
CN201911304185.4A 2019-12-17 2019-12-17 Inspection control method and device and readable storage medium Active CN111193904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304185.4A CN111193904B (en) 2019-12-17 2019-12-17 Inspection control method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304185.4A CN111193904B (en) 2019-12-17 2019-12-17 Inspection control method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111193904A true CN111193904A (en) 2020-05-22
CN111193904B CN111193904B (en) 2022-12-13

Family

ID=70707317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304185.4A Active CN111193904B (en) 2019-12-17 2019-12-17 Inspection control method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111193904B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727092A (en) * 2021-07-30 2021-11-30 深圳力维智联技术有限公司 Video monitoring quality inspection method and device based on decision tree
CN117033144A (en) * 2023-10-09 2023-11-10 武汉吧哒科技股份有限公司 Remote inspection method, equipment and medium for server

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316280A (en) * 2008-06-13 2008-12-03 南京邮电大学 Gridding resource intelligent monitoring method based on feedback
CN101594539A (en) * 2009-06-24 2009-12-02 中兴通讯股份有限公司 Realize method, decoder and the supervisory control system of decoder synchronous polling
CN102307224A (en) * 2011-05-17 2012-01-04 华为软件技术有限公司 Method and device for realizing service isolation in cloud computing system, and cloud server
CN102892103A (en) * 2011-07-22 2013-01-23 联发科技股份有限公司 Wireless communication device and polling response management method
CN103439952A (en) * 2013-08-30 2013-12-11 苏州庚商教育智能科技有限公司 Experimental equipment state monitoring system
CN205375602U (en) * 2016-01-19 2016-07-06 青岛昕恒特电控自动化有限公司 Equipment inspection system
WO2018112722A1 (en) * 2016-12-20 2018-06-28 深圳中兴力维技术有限公司 Video inspection method and system thereof
CN109309603A (en) * 2018-11-02 2019-02-05 华青融天(北京)软件股份有限公司 A kind of dynamic load balanced sharing method and device
CN109698953A (en) * 2018-11-28 2019-04-30 视联动力信息技术股份有限公司 A kind of condition detection method and system regarding networking monitoring equipment
CN109729310A (en) * 2018-11-26 2019-05-07 视联动力信息技术股份有限公司 Method and apparatus derived from a kind of monitoring inspection data
CN110191361A (en) * 2019-04-26 2019-08-30 视联动力信息技术股份有限公司 A kind of method for inspecting and device of streaming media server
CN110300283A (en) * 2019-06-26 2019-10-01 视联动力信息技术股份有限公司 A kind of monitoring inspection control method and device based on view networking

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101316280A (en) * 2008-06-13 2008-12-03 南京邮电大学 Gridding resource intelligent monitoring method based on feedback
CN101594539A (en) * 2009-06-24 2009-12-02 中兴通讯股份有限公司 Realize method, decoder and the supervisory control system of decoder synchronous polling
WO2010148841A1 (en) * 2009-06-24 2010-12-29 中兴通讯股份有限公司 Decoder polling processing method, decoder and monitoring system
CN102307224A (en) * 2011-05-17 2012-01-04 华为软件技术有限公司 Method and device for realizing service isolation in cloud computing system, and cloud server
CN102892103A (en) * 2011-07-22 2013-01-23 联发科技股份有限公司 Wireless communication device and polling response management method
CN103439952A (en) * 2013-08-30 2013-12-11 苏州庚商教育智能科技有限公司 Experimental equipment state monitoring system
CN205375602U (en) * 2016-01-19 2016-07-06 青岛昕恒特电控自动化有限公司 Equipment inspection system
WO2018112722A1 (en) * 2016-12-20 2018-06-28 深圳中兴力维技术有限公司 Video inspection method and system thereof
CN109309603A (en) * 2018-11-02 2019-02-05 华青融天(北京)软件股份有限公司 A kind of dynamic load balanced sharing method and device
CN109729310A (en) * 2018-11-26 2019-05-07 视联动力信息技术股份有限公司 Method and apparatus derived from a kind of monitoring inspection data
CN109698953A (en) * 2018-11-28 2019-04-30 视联动力信息技术股份有限公司 A kind of condition detection method and system regarding networking monitoring equipment
CN110191361A (en) * 2019-04-26 2019-08-30 视联动力信息技术股份有限公司 A kind of method for inspecting and device of streaming media server
CN110300283A (en) * 2019-06-26 2019-10-01 视联动力信息技术股份有限公司 A kind of monitoring inspection control method and device based on view networking

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐强: "基于多源信息融合的变电站智能运维监控平台研究", 《现代建筑电气》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727092A (en) * 2021-07-30 2021-11-30 深圳力维智联技术有限公司 Video monitoring quality inspection method and device based on decision tree
CN113727092B (en) * 2021-07-30 2024-04-16 深圳力维智联技术有限公司 Video monitoring quality inspection method and device based on decision tree
CN117033144A (en) * 2023-10-09 2023-11-10 武汉吧哒科技股份有限公司 Remote inspection method, equipment and medium for server
CN117033144B (en) * 2023-10-09 2024-01-19 武汉吧哒科技股份有限公司 Remote inspection method, equipment and medium for server

Also Published As

Publication number Publication date
CN111193904B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN109889779B (en) Message out-of-order processing method and device
CN110650171B (en) Video networking service scheduling system and method
CN111385287A (en) Network reconnection method and device for service system
CN110557319B (en) Message processing method and device based on video network
CN110768910A (en) Data transmission method and device
CN111193904B (en) Inspection control method and device and readable storage medium
CN111224889A (en) Data transmission method and device
CN109347930B (en) Task processing method and device
CN110581975A (en) Conference terminal updating method and video networking system
CN110417792B (en) Communication method, system, gateway device and storage medium
CN110336710B (en) Terminal testing method, system and device and storage medium
CN109769012B (en) Web server access method and device
CN109889516B (en) Method and device for establishing session channel
CN110830817A (en) Video transcoding capacity adjusting method and video transcoding server
CN110493311B (en) Service processing method and device
CN110267110B (en) Concurrent on-demand processing method and system based on video network
CN110445701B (en) Business object processing method and device and storage medium
CN110225079B (en) Equipment control method and device and readable storage medium
CN110933512B (en) Load determination method and device based on video network
CN110248134B (en) Method and device for controlling terminal, electronic equipment and storage medium
CN109474848B (en) Video processing method and device based on video network, electronic equipment and medium
CN110166443B (en) Data transmission method, device, system, network equipment and storage medium
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN111835717A (en) Monitoring code stream obtaining method and device and readable storage medium
CN111614714A (en) Data processing method and device of service system

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