CN111885348A - Monitoring resource management method, device and computer readable storage medium - Google Patents

Monitoring resource management method, device and computer readable storage medium Download PDF

Info

Publication number
CN111885348A
CN111885348A CN202010502294.3A CN202010502294A CN111885348A CN 111885348 A CN111885348 A CN 111885348A CN 202010502294 A CN202010502294 A CN 202010502294A CN 111885348 A CN111885348 A CN 111885348A
Authority
CN
China
Prior art keywords
monitoring
inspection
polling
strategy
access server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010502294.3A
Other languages
Chinese (zh)
Inventor
刘韶锋
方小帅
沈军
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shilian Power Information Technology Co.,Ltd. Tibet Branch
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 CN202010502294.3A priority Critical patent/CN111885348A/en
Publication of CN111885348A publication Critical patent/CN111885348A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/20Checking timed patrols, e.g. of watchman
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a monitoring resource management method, a monitoring resource management device and a computer readable storage medium, wherein the method comprises the following steps: the method comprises the steps of receiving a patrol inspection instruction sent by a monitoring management scheduling platform, responding to the patrol inspection instruction, determining a patrol inspection strategy of the patrol inspection, wherein the patrol inspection strategy of the patrol inspection is different from the patrol inspection strategy of the previous patrol inspection, carrying out patrol inspection on a plurality of monitoring devices according to the patrol inspection strategy of the patrol inspection to obtain a patrol inspection result, and sending the patrol inspection result to the monitoring management scheduling platform so that the monitoring management scheduling platform determines the current monitoring resource states of the monitoring devices according to the patrol inspection result. The monitoring resource management method can effectively avoid the condition that some monitoring equipment is not patrolled in multiple patrolling due to the fact that the same patrolling strategy is used for patrolling, improves the completeness of the patrolling of the monitoring resources, enables the monitoring management scheduling platform to update the states of all the monitoring resources in time, and improves the monitoring resource availability of the monitoring management scheduling platform.

Description

Monitoring resource management method, device and computer readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and an apparatus for monitoring resource management, and a computer-readable storage medium.
Background
With the development of video networking technology, video networking technology has been applied to a plurality of services, such as tens of services of video, voice, picture, text, communication, data, and the like, including high definition video conferencing, video surveillance, intelligent surveillance analysis, emergency command, digital broadcast television, time delay television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channel, intelligent video broadcast control, information distribution, and the like.
In the video monitoring service, the polling of the monitoring resources is usually involved, so that the monitoring resources displayed on the monitoring management scheduling platform can be managed, and a reliable monitoring service is provided for a user.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a monitoring resource management method, apparatus and computer-readable storage medium that overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a monitoring resource management method, which is applied to a monitoring access server, wherein the monitoring access server is in communication connection with a monitoring management scheduling platform, and the monitoring access server is in communication connection with a plurality of monitoring devices, respectively, and the method includes:
receiving a routing inspection instruction sent by the monitoring management scheduling platform;
responding to the inspection instruction, and determining an inspection strategy of the current inspection, wherein the inspection strategy of the current inspection is different from the inspection strategy of the last inspection;
according to the polling strategy of the polling, polling the plurality of monitoring devices to obtain polling results;
and sending the inspection result to the monitoring management scheduling platform so that the monitoring management scheduling platform determines the current monitoring resource states of the monitoring devices according to the inspection result.
The embodiment of the invention discloses a monitoring resource management method, which is applied to a monitoring management scheduling platform, wherein the monitoring management scheduling platform is in communication connection with a monitoring access server, the monitoring access server is in communication connection with a plurality of monitoring devices respectively, and the method comprises the following steps:
when an inspection request initiated by a client is detected, generating an inspection instruction carrying a first inspection strategy, wherein the first inspection strategy is different from a second inspection strategy adopted by the monitoring access server for performing inspection last time;
sending the inspection instruction to the monitoring access server to enable the monitoring access server to perform inspection according to the first inspection strategy to obtain inspection results of the plurality of monitoring devices;
receiving the inspection result sent by the monitoring access server;
and determining the current monitoring resource states of the plurality of monitoring devices according to the inspection result.
The embodiment of the invention also discloses a monitoring resource management device which is applied to the monitoring access server, the monitoring access server is in communication connection with the monitoring management scheduling platform, and the monitoring access server is in communication connection with a plurality of monitoring devices respectively, the device comprises:
the first receiving module is used for receiving the inspection instruction sent by the monitoring management scheduling platform;
the first determining module is used for responding to the inspection instruction and determining the inspection strategy of the current inspection, and the inspection strategy of the current inspection is different from the inspection strategy of the previous inspection;
the inspection module is used for inspecting the plurality of monitoring devices according to the inspection strategy of the inspection to obtain an inspection result;
and the first sending module is used for sending the inspection result to the monitoring management scheduling platform so that the monitoring management scheduling platform determines the current monitoring resource states of the monitoring devices according to the inspection result.
The embodiment of the invention also discloses a monitoring resource management device which is applied to a monitoring management scheduling platform, wherein the monitoring management scheduling platform is in communication connection with the monitoring access server, the monitoring access server is in communication connection with a plurality of monitoring devices respectively, and the device comprises:
the system comprises a first generation module, a second generation module and a monitoring access server, wherein the first generation module is used for generating a routing inspection instruction carrying a first routing inspection strategy when a routing inspection request initiated by a client is detected, and the first routing inspection strategy is different from a second routing inspection strategy adopted by the monitoring access server for executing routing inspection last time;
the second sending module is used for sending the inspection instruction to the monitoring access server so that the monitoring access server executes inspection according to the first inspection strategy to obtain inspection results of the plurality of monitoring devices;
the second receiving module is used for receiving the inspection result sent by the monitoring access server;
and the fourth determining module is used for determining the current monitoring resource states of the monitoring devices according to the inspection result.
The embodiment of the invention also discloses a monitoring resource management device, which comprises:
one or more processors; and
one or more computer-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the apparatus to perform a method of supervisory resource management in accordance with any one of the embodiments of the invention.
The embodiment of the invention also discloses a computer readable storage medium, and a stored computer program enables a processor to execute the monitoring resource management method.
The embodiment of the invention has the following advantages:
in the monitoring resource management method provided by the embodiment of the invention, the monitoring access server can re-determine the polling strategy of the polling after receiving the polling instruction sent by the monitoring management scheduling platform, so that the polling strategy of the polling is different from the polling strategy of the last polling, the condition that certain monitoring equipment is not polled during multiple polling because the same polling strategy is used for polling is effectively avoided, the integrity of the polling of the monitoring resources is improved, the monitoring management scheduling platform can update the states of all the monitoring resources in time, and the monitoring resource availability of the monitoring management scheduling platform is improved.
Drawings
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a monitoring resource management method according to an embodiment of the present application;
FIG. 3 is a flow chart of another monitoring resource management method according to an embodiment of the present application;
fig. 4 is a schematic view of a specific implementation flow of a monitoring resource management method according to an embodiment of the present application;
fig. 5 is a block diagram illustrating a monitoring resource management apparatus according to an embodiment of the present application;
fig. 6 is a block diagram illustrating another monitoring resource management apparatus according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a video network provided by the present application;
FIG. 8 is a schematic diagram of a hardware structure of a node server provided in the present application;
fig. 9 is a schematic hardware structure diagram of an access switch provided in the present application;
fig. 10 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of an implementation environment according to an embodiment of the present disclosure. As shown in fig. 1, the implementation environment includes: the monitoring system comprises a monitoring management scheduling platform, a monitoring access server and a plurality of monitoring devices (monitoring devices 1 to n), wherein the monitoring access server is connected with the monitoring management scheduling platform through a video network, and the monitoring access server is connected with the monitoring devices through the internet. The monitoring equipment can be cameras of various manufacturers or monitoring equipment supporting GB/T28181, and can also be a computer or a tablet computer with a camera, a smart phone and the like.
In the related art, when inspecting the monitoring resource generated by the monitoring device, the monitoring device is sequentially inspected from front to back according to the identification sequence of the monitoring device (each monitoring device corresponds to a monitoring device identification, and each monitoring device identification has a sequence number to distinguish the sequence of the monitoring device), that is, the monitoring device is sequentially inspected, but because the inspection is only an auxiliary function in the video monitoring service, the inspection is usually performed when the service is idle, therefore, during the inspection, when the service is turned on, the inspection may be interrupted, and therefore, the inspection in sequence may cause that the following monitoring device is not inspected, for example, 10000 monitoring devices in total, assuming that the inspection time interval of each monitoring device is 10 seconds, the inspection takes 100000 seconds totally, and within 100000 seconds, the inspection may be interrupted when the 8000 monitoring device is inspected, if the state of most monitoring resources shows errors, the user selects one of the monitoring resources with flows, and cannot view the monitoring video at a high probability, which results in low availability of the monitoring resources of the monitoring management scheduling platform.
In order to solve the above-mentioned problem of poor monitoring resource management effect, the present application provides a monitoring resource management method, which is applied to the monitoring access server shown in fig. 1. Specifically, in order to clearly describe the monitoring resource management method of the present application, the network structure referred to in the embodiments of the present application takes the implementation environment shown in fig. 1 as an example. Of course, in the present application, the network structure may be the network structure shown in fig. 1, or may be other network structures, and may be specifically set according to actual requirements. For example, in an embodiment, the monitoring device may be a monitoring device in a video network, and at this time, the monitoring access server may be directly connected to the monitoring device in the video network through the video network, that is, the monitoring access server does not need to convert a code stream generated by the monitoring device from an internet format to a video network format; or, in another embodiment, the monitoring management scheduling platform, the monitoring access server and the monitoring device are all located in the internet, at this time, the monitoring access server is connected with the monitoring management scheduling platform through the internet, and the monitoring access server is also connected with the monitoring device through the internet, at this time, the monitoring access server also does not need to perform format conversion between the internet format and the video network format.
Referring to fig. 2, fig. 2 is a flowchart illustrating a monitoring resource management method according to an embodiment of the present application. As shown in fig. 2, the monitoring resource management method of the present application may be applied to a monitoring access server, where the monitoring access server is in communication connection with a monitoring management scheduling platform, and the monitoring access server is in communication connection with a plurality of monitoring devices, and the method specifically includes the following steps:
and step S21, receiving the inspection instruction sent by the monitoring management scheduling platform.
The monitoring management scheduling platform is also called tangula in the video network, and can be understood as an application system which can be installed on a computer, can provide a client interface for operation, and has the main functions of summarizing all monitoring terminals of the monitoring access server, displaying information of the monitoring terminals, calling monitoring videos of the monitoring terminals and controlling the monitoring terminals.
The monitoring access server can be understood as a server for managing a plurality of monitoring devices in a video network, and in practice, monitoring videos of the plurality of monitoring devices can be obtained according to instructions of the monitoring management scheduling platform, and each monitoring device can be patrolled to obtain the current code stream state of the monitoring device.
In this embodiment, the polling instruction may be generated by the monitoring management scheduling platform according to a polling request initiated by a user on the client interface for the monitoring device, and the monitoring polling instruction is an instruction conforming to the video networking control protocol and may be transmitted to the monitoring access server through the video networking protocol.
And step S22, responding to the inspection instruction, and determining the inspection strategy of the current inspection, wherein the inspection strategy of the current inspection is different from the inspection strategy of the last inspection.
In this embodiment, the patrol policy may include, but is not limited to, an order patrol policy, a reverse order patrol policy, or an out-of-order patrol policy.
After receiving the patrol inspection instruction sent by the monitoring management scheduling platform, the monitoring access server can respond to the patrol inspection instruction and firstly determine the patrol inspection strategy of the patrol inspection.
Specifically, the monitoring access server stores historical patrol inspection information including patrol inspection strategies, patrol inspection dates, patrol inspection equipment identifiers and corresponding patrol inspection results, so that after the monitoring access server receives a patrol inspection instruction sent by the monitoring management scheduling platform, the patrol inspection strategies of the previous patrol inspection can be obtained according to the patrol inspection dates, and the patrol inspection strategies of the current time are determined according to the previous patrol inspection strategies, so that the two different patrol inspection strategies are ensured. For example, the last polling policy is a sequential polling policy, and the polling policy of the current polling may be a reverse polling policy or an out-of-order polling policy. If the routing inspection is the first routing inspection, a routing inspection strategy can be randomly assigned.
And step S23, according to the polling strategy of the polling, polling the plurality of monitoring devices to obtain polling results.
After determining the polling strategy of the polling, the monitoring access server can poll the plurality of monitoring devices according to the polling strategy of the polling. The process of the monitoring access server for polling the monitoring equipment can be understood as the process of pulling the monitoring video streams of the accessed multiple online monitoring equipment by the monitoring access server, so that the polling result can be the state corresponding to each monitoring equipment, namely a streaming state or a non-streaming state.
In an embodiment, if the polling policy of the current polling is a sequential polling policy, the polling the monitoring devices in step S23 according to the polling policy of the current polling may specifically include the following steps:
and S231, sequentially patrolling the monitoring equipment corresponding to each identifier from front to back according to the identifier sequences of the plurality of monitoring equipment.
For example, suppose that 1000 monitoring devices are commonly accessed under a certain monitoring access server, and when the 1000 monitoring devices are accessed to the monitoring access server, identifiers are sequentially allocated, for example, the first accessed monitoring device is allocated with identifier 1, and the 1000 th accessed monitoring device is allocated with identifier 1000, so that an identifier sequence of 1-1000 of the multiple monitoring devices is obtained, and then the monitoring access server can pull video streams to each monitoring device in sequence and backwards from the monitoring device with identifier 1.
In another embodiment, if the polling policy of the current polling is a reverse polling policy, the step S23 may specifically include the following steps:
and step S232, according to the identification sequences of the plurality of monitoring devices, sequentially patrolling the monitoring devices corresponding to the identifications from back to front.
In this embodiment, after the monitoring access server obtains the identifier sequences of 1 to 1000 of the multiple monitoring devices, the monitoring access server may pull the video streams from the monitoring device identified as 1000 to each monitoring device in sequence.
In another embodiment, if the inspection policy of the current inspection is an out-of-order inspection policy, the step S23 may specifically include the following steps:
step S233, polling the multiple monitoring devices in a random manner according to the identification sequences of the multiple monitoring devices.
In this embodiment, after obtaining the identifier sequences of 1 to 1000 of the multiple monitoring devices, the monitoring access server may randomly select a monitoring device to pull the video stream from the monitoring devices identified as 1 to 1000, for example, the monitoring device that selects to pull the video stream this time is the monitoring device identified as 25, the monitoring device that selects to pull the video stream next time is the monitoring device identified as 726, the monitoring device that selects to pull the video stream next time is the monitoring device identified as 600, and the monitoring device that selects to pull the video stream at random each time later is provided, but it should be ensured that the video stream of the monitoring device that has been pulled is not repeatedly pulled until all the video streams of the monitoring devices are pulled.
Considering that the monitoring device in the offline state does not have a video stream, and it is meaningless to perform polling on the monitoring device, therefore, in order to save the polling overall time, the monitoring access server can more easily poll all the monitoring devices, when pulling the video stream of the monitoring device, the monitoring access server can judge the online state and the offline state of the monitoring device in advance, and the monitoring access server only pulls the video stream to the monitoring device in the online state and skips the monitoring device in the offline state, for example, if the monitoring device which selects to pull the video stream is the monitoring device which is identified as 25, it is in the offline state, and at this time, the monitoring access server skips the monitoring device which is identified as 25, and selects the next monitoring device.
Step S24, sending the inspection result to the monitoring management scheduling platform, so that the monitoring management scheduling platform determines the current monitoring resource status of the multiple monitoring devices according to the inspection result.
In this embodiment, under the condition that the monitoring access server is connected with the monitoring management scheduling platform through the video networking, the monitoring access server may send the inspection result to the monitoring management scheduling platform through the video networking protocol, so that the monitoring management scheduling platform can analyze and obtain the code stream state of the monitoring resource corresponding to each monitoring device.
In the monitoring resource management method provided by this embodiment, after receiving the polling instruction sent by the monitoring management scheduling platform, the monitoring access server can re-determine the polling policy of the polling, so that the polling policy of the polling is different from the polling policy of the last polling, thereby effectively avoiding the situation that certain monitoring equipment is not polled when polling for many times, improving the integrity of the polling of the monitoring resources, enabling the monitoring management scheduling platform to update the states of all the monitoring resources in time, and improving the monitoring resource availability of the monitoring management scheduling platform.
In addition, in the actual inspection process, when some monitoring devices are inspected, the inspection is in a non-flow state for many times due to faults of the monitoring devices, and the monitoring devices which are in the non-flow state for many times are inspected.
In an embodiment, the first type of monitoring device and the second type of monitoring device may specifically be determined according to the following steps:
step S251, obtaining the monitoring resource status corresponding to the multiple monitoring devices under historical multiple patrolling.
Step S252, determining the monitoring devices whose monitoring resource states are all non-flow states under the multiple historical inspections as the second type of monitoring device, and determining the remaining monitoring devices as the first type of monitoring device.
The monitoring access server stores historical patrol information, so that the monitoring access server can acquire the monitoring resource states corresponding to the multiple monitoring devices which are subjected to historical multiple patrol, and if the corresponding monitoring resource states of some monitoring devices which are subjected to historical multiple patrol are all in a non-flow state, the monitoring devices are determined to be the second type of monitoring devices, and after the second type of monitoring devices are determined, the rest monitoring devices can be determined to be the first type of monitoring devices.
It should be noted that, in the above-mentioned history multiple inspection, the specific number of times may be determined by a worker, and the specific number of times is not limited in this embodiment.
In addition, the timing of determining the first type of monitoring device and the second type of monitoring device may be that after the monitoring access server receives the polling instruction sent by the monitoring management scheduling platform, all the first type of monitoring device and all the second type of monitoring device start to be determined, or the monitoring access server determines whether the monitoring device is the first type of monitoring device or the second type of monitoring device when polling each monitoring device according to the current polling strategy and when the polling is started, at this time, the monitoring access server may obtain the corresponding monitoring resource state of the monitoring device under multiple historical polling; and determining the monitoring equipment of which the corresponding monitoring resource states are non-flow states under historical repeated inspection as the second type of monitoring equipment, otherwise, determining the monitoring equipment as the first type of monitoring equipment.
In this embodiment, the first determining of the first type of monitoring device and the second type of monitoring device is taken as an example to describe in detail, that is, after determining that the first type of monitoring device and the second type of monitoring device may be that the monitoring access server receives the inspection instruction sent by the monitoring management scheduling platform, all the first type of monitoring device and all the second type of monitoring device start to be determined. For example, suppose that there are 12 monitoring devices identified as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12 in common, where the monitoring resource statuses corresponding to 10 times of historical patrols identified as 6 and 7 are all no-flow statuses, at this time, the monitoring devices identified as 6 and 7 are determined to be the second type of monitoring device, and the remaining monitoring devices identified as 1, 2, 3, 4, 5, 8, 9, 10, 11 and 12 are the first type of monitoring device.
With reference to the foregoing embodiment, after determining the first type of monitoring device and the second type of monitoring device, fully considering characteristics of the first type of monitoring device and the second type of monitoring device, and when the user selects the monitoring device in the monitoring management scheduling platform, the user may not select the monitoring device in the no-flow state, so that, in order to inspect more monitoring devices with flows in the same inspection time as much as possible, the step S23 may specifically include the following steps:
step S234, according to the polling strategy of the polling, polling a plurality of first-class monitoring equipment to obtain a first sub polling result, sampling a plurality of second-class monitoring equipment according to the preset sampling probability, polling the monitoring equipment obtained by sampling to obtain a second sub polling result.
And the first sub-inspection result and the second sub-inspection result form the inspection result.
The first sub-inspection result refers to an inspection result obtained by inspecting the first type of monitoring equipment, and the second sub-inspection result refers to an inspection result obtained by inspecting the second type of monitoring equipment.
In this embodiment, first class supervisory equipment and second class supervisory equipment still patrol and examine according to the strategy of patrolling and examining of this time when patrolling and examining, for example, the strategy of patrolling and examining of this time is patrolling and examining in proper order, still patrol and examine the supervisory equipment that each sign corresponds according to from the front to back order, it is only, patrol and examine in the in-process every time and round first class equipment, first class equipment all can be patrolled and examined, however, when patrolling and examining in-process every time and round second class equipment, can sample according to predetermineeing the sampling probability to second class equipment at first, only the second class equipment that is sampled successfully can be patrolled and examined, and the second class equipment that is not sampled then can be skipped, patrol and examine this time. Wherein, predetermine the sampling probability and can set up according to actual conditions, for example, can set up the sampling probability and be 30%, that is to say, when patrolling and examining round to second class equipment in the in-process every time, every second class equipment only has 30% probability to be patrolled and examined.
Illustratively, it is assumed that the time consumed for polling one monitoring device is 10 seconds, and it is known in advance that the total time consumed for this polling is 100 seconds, that is, this polling can normally poll 10 monitoring devices, and in addition, it is still assumed that one monitoring device has 12 monitoring devices, wherein the monitoring devices marked as 1, 2, 3, 4, 5, 8, 9, 10, 11 and 12 are first-class devices, the monitoring devices marked as 6 and 7 are second-class devices, the polling policy of this polling is taken as an example for explanation, the monitoring devices marked as 1, 2, 3, 4 and 5 are normally polled in sequence, a first sub-polling result is obtained, when polling is started to the monitoring device marked as 6, because the monitoring device marked as 6 is the second-class monitoring device, sampling is performed according to a 30% probability first, the monitoring device marked as 6 is not sampled, and the monitoring device marked as 6 is skipped, and continuing to patrol to the monitoring equipment with the identifier 7, similarly, sampling according to 30% probability firstly because the monitoring equipment with the identifier 7 is the second type monitoring equipment, sampling the monitoring equipment with the sampling result identifier 7, patrolling the monitoring equipment with the identifier 7 at the moment, obtaining a second sub-patrol result, wherein 60 seconds (the sampling time is short and can be ignored) is passed at the moment, then, normally patrolling the monitoring equipment with the identifiers 8, 9, 10 and 11 in sequence because the monitoring equipment with the identifiers 8, 9, 10 and 11 is the first type monitoring equipment, obtaining a first sub-patrol result, and finally, patrolling at the moment, obtaining the patrol results with the identifiers 1, 2, 3, 4, 5, 7, 8, 9, 10 and 11 in total. It can be seen that, in this example, one monitoring device of the first type can be patrolled and examined more, and the completeness of patrolling and examining of the monitoring device is improved, and in addition, in this example, the time consumed by the monitoring device with the patrolling and examining identifier of 8 is 70 seconds, and the patrolling and examining time of 10 seconds can be saved, that is, the patrolling and examining speed is improved.
By adopting the method of the embodiment, sampling is carried out before the second type monitoring equipment is inspected, some second type monitoring equipment can be directly leaked to a certain extent, thus the integrity of the inspection of the monitoring equipment can be improved in the same inspection time, more monitoring equipment with flow can be inspected as much as possible, more monitoring equipment with flow displayed on the monitoring management dispatching platform is inspected at this time, the accuracy rate of the state of the monitoring equipment with flow displayed on the monitoring management dispatching platform is improved, the availability rate of monitoring resources is further improved, in addition, as the inspection speed is improved, more rounds of inspection can be carried out on the monitoring equipment in the same inspection time, the period of updating the state of the monitoring equipment by the monitoring management dispatching platform is also improved, and the accuracy rate of the state of the monitoring equipment with flow displayed on the monitoring management dispatching platform is further improved, thereby improving the monitoring resource availability.
With reference to the foregoing embodiment, in an implementation manner, in consideration that a certain probability exists in the second type of monitoring device being sampled, and when the sampled second type of monitoring device is patrolled, an obtained second sub-patrol result may be in a streaming state, at this time, the monitoring resource management method of this embodiment may further include the following steps:
and when the second sub-inspection result indicates that the monitoring resource state corresponding to the second type of monitoring equipment is a streaming state, determining the second type of monitoring equipment as the first type of monitoring equipment.
The monitoring resources corresponding to the second type of monitoring equipment flow, which indicates that possible faults are eliminated, and at this time, the monitoring resources can be determined as the first type of monitoring equipment again, namely, the monitoring equipment should be normally inspected in the next round of inspection.
In this embodiment, the second type monitoring device can be determined as the first type monitoring device according to the second sub-inspection result of the second type monitoring device, so that the next round of inspection can be performed normally, and the number of the monitoring devices with flows is further increased.
Referring to fig. 3, fig. 3 is a flowchart of another monitoring resource management method according to an embodiment of the present application. As shown in fig. 3, the method may be applied to a monitoring management scheduling platform, where the monitoring management scheduling platform is in communication connection with a monitoring access server, and the monitoring access server is in communication connection with a plurality of monitoring devices, and specifically may include the following steps:
step S31, when detecting the polling request initiated by the client, generating a polling command carrying a first polling strategy, wherein the first polling strategy is different from a second polling strategy adopted by the monitoring access server for executing polling last time.
In this embodiment, the monitoring management scheduling platform may generate an inspection instruction according to an inspection request initiated by a user on the client interface for the monitoring device, where the generated inspection instruction carries a first inspection policy of this inspection, that is, the first inspection policy in this application may be determined by the monitoring management scheduling platform.
The monitoring management scheduling platform stores historical patrol inspection information which comprises a patrol inspection strategy, a patrol inspection date, a patrol inspection monitoring equipment identifier and a corresponding patrol inspection result, so that when a patrol inspection instruction is generated, the monitoring management scheduling platform can acquire a second patrol inspection strategy of the previous patrol inspection according to the patrol inspection date and determine a first patrol inspection strategy of the current time according to the second patrol inspection strategy of the previous time, thereby ensuring that the two patrol inspection strategies are different.
In an implementation manner, there may be a plurality of polling policies, and the monitoring resource management method of this embodiment may further include the following steps:
step S311, when the routing inspection request initiated by the client is detected, determining a first routing inspection strategy from a plurality of routing inspection strategies;
and step S312, generating a routing inspection instruction carrying the first routing inspection strategy.
In this embodiment, the inspection policy may include a sequential inspection policy, a reverse inspection policy, and a disorder inspection policy.
The sequential inspection strategy is specifically an inspection strategy for inspecting the monitoring equipment corresponding to each identifier sequentially from front to back according to the identifier sequences of the plurality of monitoring equipment; the reverse-order polling strategy is specifically a polling strategy for polling the monitoring equipment corresponding to each identifier sequentially from back to front according to the identifier sequences of the plurality of monitoring equipment; the out-of-order inspection strategy is specifically an inspection strategy for inspecting the monitoring equipment corresponding to each identifier in a random mode according to the identifier sequences of the plurality of monitoring equipment.
Step S32, sending the inspection instruction to the monitoring access server, so that the monitoring access server performs inspection according to the first inspection policy to obtain inspection results of the plurality of monitoring devices.
In this embodiment, the monitoring management scheduling platform can directly transmit the patrol inspection instruction carrying the first patrol inspection policy to the monitoring access server through the video networking protocol, so that the monitoring access server can directly execute patrol inspection according to the first patrol inspection policy, and a plurality of monitoring devices are obtained.
And step S33, receiving the inspection result sent by the monitoring access server.
And step S34, determining the current monitoring resource states of the monitoring devices according to the inspection result.
For details of the step S33 and the step S34, reference may be made to the content of the step S24, which is not described herein again.
In the monitoring resource management method provided by this embodiment, the monitoring management scheduling platform can generate a polling instruction carrying a first polling policy and send the polling instruction to the monitoring access server, so that the first polling policy of the current polling of the monitoring access server is different from the second polling policy of the previous polling, the condition that some monitoring devices are not polled when polling for multiple times is avoided effectively, the integrity of polling of monitoring resources is improved, the monitoring management scheduling platform can update the states of all monitoring resources in time, and the monitoring resource availability of the monitoring management scheduling platform is improved.
In an embodiment, the plurality of monitoring devices includes a first type of monitoring device and a second type of monitoring device, and the monitoring resource management method of this embodiment may further include the following steps:
and step S35, acquiring the corresponding monitoring resource states of the multiple monitoring devices under historical multiple patrolling.
Step S36, determining the monitoring devices whose monitoring resource states are all non-flow states under historical multiple patrolling as the second type of monitoring device, and determining the remaining monitoring devices as the first type of monitoring device.
In this embodiment, the monitoring management scheduling platform stores history polling information, so the monitoring management scheduling platform can obtain corresponding monitoring resource states of the multiple monitoring devices under the historical multiple polling, and if the corresponding monitoring resource states of some monitoring devices under the historical multiple polling are flow-free states, it is determined that the monitoring devices are the second type of monitoring devices, and after the second type of monitoring devices is determined, the remaining monitoring devices can be determined as the first type of monitoring devices.
With reference to the foregoing embodiment, after the monitoring management scheduling platform determines the first type of monitoring device and the second type of monitoring device, the step S31 may specifically include the steps of: generating a first sub-inspection instruction carrying a first inspection strategy and the identification of the first type of monitoring equipment, and generating a second sub-inspection instruction carrying the first inspection strategy, the identification of the second type of monitoring equipment and the preset sampling probability of the second type of monitoring equipment.
In this embodiment, when detecting a polling request initiated by a client, the monitoring management scheduling platform may generate a first sub polling instruction carrying a first polling policy and an identifier of the first type of monitoring device, and generate a second sub polling instruction carrying a first polling policy, an identifier of the second type of monitoring device, and a preset sampling probability for the second type of monitoring device, and directly send the first sub polling instruction and the second sub polling instruction to the monitoring access server, so that the monitoring access server can directly poll a plurality of first type of monitoring devices to obtain a first sub polling result, and sample a plurality of second type of monitoring devices respectively according to the preset sampling probability, and poll the sampled monitoring devices to obtain a second sub polling result.
By adopting the method of the embodiment, sampling is carried out before the second type monitoring equipment is inspected, some second type monitoring equipment can be directly leaked to a certain extent, thus the integrity of the inspection of the monitoring equipment can be improved in the same inspection time, more monitoring equipment with flow can be inspected as much as possible, more monitoring equipment with flow displayed on the monitoring management dispatching platform is inspected at this time, the accuracy rate of the state of the monitoring equipment with flow displayed on the monitoring management dispatching platform is improved, the availability rate of monitoring resources is further improved, in addition, as the inspection speed is improved, more rounds of inspection can be carried out on the monitoring equipment in the same inspection time, the period of updating the state of the monitoring equipment by the monitoring management dispatching platform is also improved, and the accuracy rate of the state of the monitoring equipment with flow displayed on the monitoring management dispatching platform is further improved, thereby improving the monitoring resource availability.
Referring to fig. 4, fig. 4 is a flowchart illustrating an embodiment of a monitoring resource management method according to the present application. As shown in fig. 4, the monitoring management scheduling platform may be tangula in the video network, the monitoring access server may be a collaboration server, the tangula is connected to the collaboration server through the video network, and the monitoring device may be accessed to the monitoring platform in the internet, and then connected to the collaboration server through the internet. The network isolation method of the present application will be described in detail with reference to fig. 4 in a specific embodiment.
After receiving a routing inspection request initiated by a user aiming at monitoring equipment, the Tanggula determines a first routing inspection strategy of the routing inspection from a sequence routing inspection strategy, a reverse routing inspection strategy and a disorder routing inspection strategy, determines a first class monitoring equipment and a second class monitoring equipment, generates a first sub routing inspection instruction carrying the first routing inspection strategy and the identifier of the first class monitoring equipment, generates an identifier carrying the first routing inspection strategy and the second class monitoring equipment and a second sub routing inspection instruction aiming at the preset sampling probability of the second class monitoring equipment, sends the first sub routing inspection instruction and the second routing inspection instruction to a corotation server through a video network, the corotation server carries out routing inspection on the monitoring equipment in a monitoring platform according to the first sub routing inspection instruction and the second routing inspection instruction to obtain a routing inspection result, and sends the routing inspection result to the Tanggula through the video network, after receiving the polling result, the tangula can determine the current monitoring resource states of the monitoring devices.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Based on the same technical concept, please refer to fig. 5, and fig. 5 shows a block diagram of a monitoring resource management apparatus 50 according to an embodiment of the present application, as shown in fig. 5, the apparatus is applied to a monitoring access server, the monitoring access server is communicatively connected to a monitoring management scheduling platform, and the monitoring access server is communicatively connected to a plurality of monitoring devices respectively, and the apparatus includes:
the first receiving module 51 is configured to receive the inspection instruction sent by the monitoring management scheduling platform.
And the first determining module 52 is configured to determine, in response to the inspection instruction, an inspection policy of the current inspection, where the inspection policy of the current inspection is different from the inspection policy of the last inspection.
And the inspection module 53 is configured to inspect the plurality of monitoring devices according to the inspection policy of the inspection at this time, and obtain an inspection result.
A first sending module 54, configured to send the inspection result to the monitoring management scheduling platform, so that the monitoring management scheduling platform determines the current monitoring resource states of the multiple monitoring devices according to the inspection result.
Optionally, the obtaining module is further configured to sequentially inspect, from front to back, the monitoring device corresponding to each identifier according to the identifier sequence of the multiple monitoring devices;
according to the identification sequences of the plurality of monitoring devices, the monitoring devices corresponding to the identifications are sequentially patrolled from back to front;
and polling the plurality of monitoring devices in a random mode according to the identification sequences of the plurality of monitoring devices.
Optionally, the multiple monitoring devices include a first type monitoring device and a second type monitoring device, and the obtaining module includes:
the obtaining submodule is used for carrying out polling on a plurality of first-class monitoring devices according to a polling strategy of the polling to obtain a first sub polling result, and sampling a plurality of second-class monitoring devices according to preset sampling probability respectively, and polling the monitoring devices obtained by sampling to obtain a second sub polling result;
and the first sub-inspection result and the second sub-inspection result form the inspection result.
Optionally, the apparatus further comprises:
the first acquisition module is used for acquiring the monitoring resource states of the plurality of monitoring devices under historical multiple patrols;
and the second determining module is used for determining the monitoring equipment of which the corresponding monitoring resource states are non-flow states under historical multi-time routing inspection as the second type of monitoring equipment and determining the rest monitoring equipment as the first type of monitoring equipment.
Optionally, the apparatus further comprises:
and the third determining module is used for determining the second type of monitoring equipment as the first type of monitoring equipment when the second sub-inspection result indicates that the monitoring resource state corresponding to the second type of monitoring equipment is a streaming state.
Referring to fig. 6, fig. 6 is a block diagram illustrating another monitoring resource management apparatus 60 according to an embodiment of the present application, and as shown in fig. 6, the apparatus is applied to a monitoring management scheduling platform, the monitoring management scheduling platform is communicatively connected to a monitoring access server, and the monitoring access server is communicatively connected to a plurality of monitoring devices, respectively, and the apparatus includes:
the first generating module 61 is configured to generate, when detecting an inspection request initiated by a client, an inspection instruction carrying a first inspection policy, where the first inspection policy is different from a second inspection policy adopted by the monitoring access server for performing inspection last time;
a second sending module 62, configured to send the polling instruction to the monitoring access server, so that the monitoring access server performs polling according to the first polling policy, and obtains polling results of the multiple monitoring devices;
a second receiving module 63, configured to receive the inspection result sent by the monitoring access server;
a fourth determining module 64, configured to determine, according to the inspection result, the current monitoring resource states of the multiple monitoring devices.
Optionally, the plurality of monitoring devices includes a first type of monitoring device and a second type of monitoring device, and the apparatus further includes:
the second acquisition module is used for acquiring the monitoring resource states of the plurality of monitoring devices under historical multiple patrols;
a fifth determining module, configured to determine, as the second type of monitoring device, monitoring devices whose monitoring resource states are all non-flow states under historical multiple patrolling, and determine the remaining monitoring devices as the first type of monitoring devices;
the first generation module is further used for generating a first sub-inspection instruction carrying a first inspection strategy and the identification of the first type of monitoring equipment, generating a second sub-inspection instruction carrying a first inspection strategy and the identification of the second type of monitoring equipment and aiming at the preset sampling probability of the second type of monitoring equipment.
Optionally, the apparatus further comprises:
the sixth determining module is used for determining the first routing inspection strategy from the plurality of routing inspection strategies when the routing inspection request initiated by the client is detected;
the second generation module is used for generating a routing inspection instruction carrying the first routing inspection strategy;
wherein the plurality of patrol policies include the following patrol policies:
according to the identification sequences of the monitoring devices, sequentially carrying out inspection strategies on the monitoring devices corresponding to the identifications from front to back;
according to the identification sequences of the monitoring devices, sequentially carrying out inspection strategies on the monitoring devices corresponding to the identifications from back to front;
and carrying out routing inspection strategies on the monitoring equipment corresponding to each identifier in a random mode according to the identifier sequences of the plurality of monitoring equipment.
The embodiment of the present invention further provides a monitoring resource management device, including:
one or more processors; and
one or more computer-readable instructions stored thereon which, when executed by the one or more processors, cause the apparatus to perform a method of supervisory resource management in accordance with any one of the embodiments of the invention.
Embodiments of the present invention further provide a computer-readable storage medium, where a stored computer program enables a processor to execute the monitoring resource management method according to the embodiments of the present invention.
For the embodiment of the monitoring resource management device, since it is basically similar to the embodiment of the monitoring resource management method, the description is relatively simple, and for relevant points, reference may be made to the partial description of the embodiment of the monitoring resource management method.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
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. 7, 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. 8, the system mainly includes a network interface module 801, a switching engine module 802, a CPU module 803, and a disk array module 804;
the network interface module 801, the CPU module 803, and the disk array module 804 all enter the switching engine module 802; the switching engine module 802 performs an operation of looking up the address table 805 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 806 based on the packet's steering information; if the queue of the packet buffer 806 is nearly full, discard; the switching engine module 802 polls all packet buffer queues and forwards 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 804 mainly implements control over the hard disk, including initialization, reading and writing operations on the hard disk; the CPU module 803 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 805 (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 804.
The access switch:
as shown in fig. 9, the network interface module (downlink network interface module 901, uplink network interface module 902), the switching engine module 903 and the CPU module 904 are mainly included;
wherein, a packet (uplink data) coming from the downlink network interface module 901 enters the packet detection module 905; the packet detection module 905 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet requirements, if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 903, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 902 enters the switching engine module 903; the data packet coming from the CPU module 904 enters the switching engine module 903; the switching engine module 903 performs an operation of looking up the address table 906 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 903 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 907 in association with the stream-id; if the queue of the packet buffer 907 is close to full, it is discarded; if the packet entering the switching engine module 903 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 907 according to the guiding information of the packet; if the queue of the packet buffer 907 is close to full, it is discarded.
The switching engine 903 polls all packet buffer queues in the embodiment of the present invention in 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 908 is configured by the CPU module 904 and generates tokens for packet buffer queues going to the upstream network interface from all downstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 904 is mainly responsible for protocol processing with the node server, configuration of the address table 906, and configuration of the code rate control module 908.
Ethernet protocol gateway:
as shown in fig. 10, the system mainly includes a network interface module (a downlink network interface module 101, an uplink network interface module 102), a switching engine module 103, a CPU module 104, a packet detection module 105, a rate control module 108, an address table 106, a packet buffer 107, a MAC adding module 109, and a MAC deleting module 110.
Wherein, the data packet coming from the downlink network interface module 101 enters the packet detection module 105; the packet detection module 105 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 110 subtracts MAC DA, MAC SA, length or frame type (2byte), and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 101 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the video network 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 (R) 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.
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 like elements in a process, method, article, or terminal that comprises the element.
The monitoring resource management method, the monitoring resource management device and the computer readable storage medium provided by the present invention are described in detail above, and specific examples are applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present 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.

Claims (12)

1. A monitoring resource management method is applied to a monitoring access server, the monitoring access server is in communication connection with a monitoring management scheduling platform, and the monitoring access server is in communication connection with a plurality of monitoring devices respectively, and the method comprises the following steps:
receiving a routing inspection instruction sent by the monitoring management scheduling platform;
responding to the inspection instruction, and determining an inspection strategy of the current inspection, wherein the inspection strategy of the current inspection is different from the inspection strategy of the last inspection;
according to the polling strategy of the polling, polling the plurality of monitoring devices to obtain polling results;
and sending the inspection result to the monitoring management scheduling platform so that the monitoring management scheduling platform determines the current monitoring resource states of the monitoring devices according to the inspection result.
2. The method according to claim 1, wherein the polling of the plurality of monitoring devices according to the polling strategy of the polling comprises any one of the following steps:
according to the identification sequences of the plurality of monitoring devices, the monitoring devices corresponding to the identifications are sequentially patrolled from front to back;
according to the identification sequences of the plurality of monitoring devices, the monitoring devices corresponding to the identifications are sequentially patrolled from back to front;
and polling the plurality of monitoring devices in a random mode according to the identification sequences of the plurality of monitoring devices.
3. The method according to claim 2, wherein the plurality of monitoring devices include a first type monitoring device and a second type monitoring device, and the polling of the plurality of monitoring devices according to the polling policy of the polling to obtain polling results comprises:
according to the polling strategy of the polling, polling a plurality of first-class monitoring equipment to obtain a first sub polling result, sampling a plurality of second-class monitoring equipment according to a preset sampling probability respectively, and polling the monitoring equipment obtained by sampling to obtain a second sub polling result;
and the first sub-inspection result and the second sub-inspection result form the inspection result.
4. A method according to claim 3, characterized in that the monitoring devices of the first type and the second type are determined according to the following steps:
acquiring monitoring resource states corresponding to the multiple monitoring devices under historical multiple patrols;
and determining the monitoring equipment of which the corresponding monitoring resource states are non-flow states under historical multi-time routing inspection as the second type of monitoring equipment, and determining the rest monitoring equipment as the first type of monitoring equipment.
5. The method of claim 3, further comprising:
and when the second sub-inspection result indicates that the monitoring resource state corresponding to the second type of monitoring equipment is a streaming state, determining the second type of monitoring equipment as the first type of monitoring equipment.
6. A monitoring resource management method is characterized in that the method is applied to a monitoring management scheduling platform, the monitoring management scheduling platform is in communication connection with a monitoring access server, the monitoring access server is in communication connection with a plurality of monitoring devices respectively, and the method comprises the following steps:
when an inspection request initiated by a client is detected, generating an inspection instruction carrying a first inspection strategy, wherein the first inspection strategy is different from a second inspection strategy adopted by the monitoring access server for performing inspection last time;
sending the inspection instruction to the monitoring access server to enable the monitoring access server to perform inspection according to the first inspection strategy to obtain inspection results of the plurality of monitoring devices;
receiving the inspection result sent by the monitoring access server;
and determining the current monitoring resource states of the plurality of monitoring devices according to the inspection result.
7. The method of claim 6, wherein the plurality of monitoring devices comprises a first type of monitoring device and a second type of monitoring device, the method further comprising:
acquiring monitoring resource states corresponding to the multiple monitoring devices under historical multiple patrols;
determining the monitoring equipment of which the corresponding monitoring resource states are non-flow states under historical multiple patrols as the second type of monitoring equipment, and determining the rest monitoring equipment as the first type of monitoring equipment;
generating a patrol inspection instruction carrying a first patrol inspection strategy, comprising:
generating a first sub-inspection instruction carrying a first inspection strategy and the identification of the first type of monitoring equipment, and generating a second sub-inspection instruction carrying a first inspection strategy, the identification of the second type of monitoring equipment and the preset sampling probability of the second type of monitoring equipment.
8. The method according to claim 6 or 7, characterized in that the method further comprises:
when an inspection request initiated by a client is detected, determining a first inspection strategy from a plurality of inspection strategies;
generating a routing inspection instruction carrying the first routing inspection strategy;
wherein the plurality of patrol policies include the following patrol policies:
according to the identification sequences of the monitoring devices, sequentially carrying out inspection strategies on the monitoring devices corresponding to the identifications from front to back;
according to the identification sequences of the monitoring devices, sequentially carrying out inspection strategies on the monitoring devices corresponding to the identifications from back to front;
and carrying out routing inspection strategies on the monitoring equipment corresponding to each identifier in a random mode according to the identifier sequences of the plurality of monitoring equipment.
9. The utility model provides a control resource management device, its characterized in that is applied to control access server, control access server and control management scheduling platform communication connection, just control access server and a plurality of supervisory equipment communication connection respectively, the device includes:
the first receiving module is used for receiving the inspection instruction sent by the monitoring management scheduling platform;
the first determining module is used for responding to the inspection instruction and determining the inspection strategy of the current inspection, and the inspection strategy of the current inspection is different from the inspection strategy of the previous inspection;
the inspection module is used for inspecting the plurality of monitoring devices according to the inspection strategy of the inspection to obtain an inspection result;
and the first sending module is used for sending the inspection result to the monitoring management scheduling platform so that the monitoring management scheduling platform determines the current monitoring resource states of the monitoring devices according to the inspection result.
10. The utility model provides a control resource management device, its characterized in that is applied to control management scheduling platform, control management scheduling platform and control access server communication connection, just control access server and a plurality of monitoring equipment communication connection respectively, the device includes:
the system comprises a first generation module, a second generation module and a monitoring access server, wherein the first generation module is used for generating a routing inspection instruction carrying a first routing inspection strategy when a routing inspection request initiated by a client is detected, and the first routing inspection strategy is different from a second routing inspection strategy adopted by the monitoring access server for executing routing inspection last time;
the second sending module is used for sending the inspection instruction to the monitoring access server so that the monitoring access server executes inspection according to the first inspection strategy to obtain inspection results of the plurality of monitoring devices;
the second receiving module is used for receiving the inspection result sent by the monitoring access server;
and the fourth determining module is used for determining the current monitoring resource states of the monitoring devices according to the inspection result.
11. A supervisory resource management device, comprising:
one or more processors; and
one or more computer-readable instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the monitoring resource management method of any of claims 1-5 or the monitoring resource management method of any of claims 6-8.
12. A computer-readable storage medium storing a computer program for causing a processor to execute the monitoring resource management method according to any one of claims 1 to 5 or the monitoring resource management method according to any one of claims 6 to 8.
CN202010502294.3A 2020-06-04 2020-06-04 Monitoring resource management method, device and computer readable storage medium Pending CN111885348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010502294.3A CN111885348A (en) 2020-06-04 2020-06-04 Monitoring resource management method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010502294.3A CN111885348A (en) 2020-06-04 2020-06-04 Monitoring resource management method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111885348A true CN111885348A (en) 2020-11-03

Family

ID=73154086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010502294.3A Pending CN111885348A (en) 2020-06-04 2020-06-04 Monitoring resource management method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111885348A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205540280U (en) * 2016-04-27 2016-08-31 河北德普电器有限公司 Robot patrols and examines path control system
JP2016218408A (en) * 2015-05-26 2016-12-22 大阪瓦斯株式会社 Patrol training device
CN107424237A (en) * 2017-06-20 2017-12-01 中国铝业股份有限公司 A kind of new equipment method for inspecting
CN110119872A (en) * 2019-03-27 2019-08-13 中国电建集团华东勘测设计研究院有限公司 Forest quality inspection management method, system, storage equipment and electronic equipment
CN110443908A (en) * 2019-07-04 2019-11-12 广州科易光电技术有限公司 A kind of electric inspection process method and system based on unmanned plane

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016218408A (en) * 2015-05-26 2016-12-22 大阪瓦斯株式会社 Patrol training device
CN205540280U (en) * 2016-04-27 2016-08-31 河北德普电器有限公司 Robot patrols and examines path control system
CN107424237A (en) * 2017-06-20 2017-12-01 中国铝业股份有限公司 A kind of new equipment method for inspecting
CN110119872A (en) * 2019-03-27 2019-08-13 中国电建集团华东勘测设计研究院有限公司 Forest quality inspection management method, system, storage equipment and electronic equipment
CN110443908A (en) * 2019-07-04 2019-11-12 广州科易光电技术有限公司 A kind of electric inspection process method and system based on unmanned plane

Similar Documents

Publication Publication Date Title
CN109729310B (en) Method and device for exporting monitoring inspection data
CN109617956B (en) Data processing method and device
CN108574818B (en) Information display method and device and server
CN109996086B (en) Method and device for inquiring service state of video networking
CN111193788A (en) Audio and video stream load balancing method and device
CN110190973B (en) Online state detection method and device
CN109768963B (en) Conference opening method and system based on video network
CN109587002B (en) State detection method and system for video network monitoring equipment
CN109889373B (en) Method, device and system for transmitting alarm information
CN109561072B (en) Link detection method and system
CN109889779B (en) Message out-of-order processing method and device
CN108965220B (en) Method and system for synchronizing conference control right
CN110113558B (en) Data processing method, device, system and computer readable storage medium
CN110519549B (en) Conference terminal list obtaining method and system
CN110134892B (en) Loading method and system of monitoring resource list
CN109698953B (en) State detection method and system for video network monitoring equipment
CN110166363B (en) Multicast link monitoring method and device
CN109922302B (en) Conference reservation information acquisition method, system, device and machine readable medium
CN111478882A (en) Terminal detection method and device
CN110519554B (en) Monitoring detection method and device
CN110113555B (en) Video conference processing method and system based on video networking
CN111131788A (en) Monitoring resource state detection method and device and computer readable storage medium
CN110830763A (en) Monitoring video inspection method and device
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110958461B (en) Method and device for detecting connection state of video networking server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231127

Address after: Floor 3, All Season Hotel, No. 31, Jiangsu Road, Chengdong District, Lhasa, Xizang Autonomous Region, 850000

Applicant after: Shilian Power Information Technology Co.,Ltd. Tibet Branch

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Applicant before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.