WO2022218001A1 - Video analysis method and related system - Google Patents
Video analysis method and related system Download PDFInfo
- Publication number
- WO2022218001A1 WO2022218001A1 PCT/CN2022/072428 CN2022072428W WO2022218001A1 WO 2022218001 A1 WO2022218001 A1 WO 2022218001A1 CN 2022072428 W CN2022072428 W CN 2022072428W WO 2022218001 A1 WO2022218001 A1 WO 2022218001A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- video analysis
- video
- event
- analysis
- Prior art date
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 580
- 238000005065 mining Methods 0.000 claims abstract description 111
- 238000000034 method Methods 0.000 claims abstract description 74
- 238000004422 calculation algorithm Methods 0.000 claims description 63
- 238000007689 inspection Methods 0.000 claims description 17
- 238000003860 storage Methods 0.000 claims description 17
- 238000012545 processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 8
- 238000007781 pre-processing Methods 0.000 claims description 8
- 238000013473 artificial intelligence Methods 0.000 abstract description 56
- 238000009826 distribution Methods 0.000 abstract description 22
- 238000007726 management method Methods 0.000 description 79
- 239000011159 matrix material Substances 0.000 description 21
- 230000006870 function Effects 0.000 description 20
- 230000008569 process Effects 0.000 description 17
- 238000001514 detection method Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 13
- 238000009825 accumulation Methods 0.000 description 11
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 11
- 238000004891 communication Methods 0.000 description 9
- 230000003993 interaction Effects 0.000 description 8
- 230000002159 abnormal effect Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 239000002699 waste material Substances 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000003058 natural language processing Methods 0.000 description 6
- 230000002123 temporal effect Effects 0.000 description 5
- 230000008447 perception Effects 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 230000007613 environmental effect Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 201000004681 Psoriasis Diseases 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000013401 experimental design Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000003673 groundwater Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000010865 sewage Substances 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 238000000547 structure data Methods 0.000 description 1
- 239000002352 surface water Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/735—Filtering based on additional data, e.g. user or group profiles
Definitions
- the present application relates to the technical field of artificial intelligence (AI), and in particular, to a video analysis method, system, and computing device cluster, computer-readable storage medium, and computer program product.
- AI artificial intelligence
- AI artificial intelligence
- a large number of data collection devices can usually be deployed in geographic areas. By collecting video, events that occur in a geographic area can be recorded. The video collected by a large number of cameras is the main source of perception of abnormal events in the city.
- the video analysis system can run one or more event analysis algorithms by invoking the underlying resources. For example, it can be an AI-based analysis algorithm, which analyzes and processes the video through the event analysis algorithm, so as to timely and automatically discover the events in the geographical area.
- Abnormal events such as: traffic violations, urban management violations, emergency safety events, ecological and environmental protection events, etc.
- some methods adopt the analysis method of periodically polling the videos captured by cameras in a geographical area, that is, divide all cameras in a geographical area into several batches, and analyze the video The system accesses different batches of cameras in turn according to time for video analysis.
- this method is prone to omission of key events, such as omission of violations on traffic roads.
- the present application provides a video analysis method, which can realize efficient regional supervision based on the occurrence law of historical events in each region.
- the present application also provides a video analysis system, a computing device cluster, a computer-readable storage medium, and a computer program product corresponding to the above method.
- the present application provides a video analysis method.
- the method is performed by a video analysis system.
- the video analysis system may be a software system.
- the computing device or cluster of computing devices executes the video analysis method by running the program code of the software system.
- the video analysis system may also be a hardware system for video analysis.
- the video analysis system obtains a video analysis strategy, and the video analysis strategy is obtained according to the mining results of historical events that occurred in the geographical area.
- the video analysis strategy includes the target period and target area in which video analysis needs to be performed in the geographical area, and then the video analysis system
- the target video data is acquired according to the video analysis strategy, and the target video data records the condition of the target area in the geographical area during the target period, and then the video analysis system analyzes the target video data to obtain the analysis result.
- the video analysis system predicts the target area with a high probability of event occurrence in the target period based on the occurrence law of historical events in the geographical area, and then analyzes the video data of the target area in the target period, and realizes the reasonable AI capability. distribute.
- AI capabilities By allocating AI capabilities to a reasonable time and place, it can adapt to complex and changeable environments, reduce perception blind spots in time and space dimensions, improve the detection rate of key events, and improve the effect of regional governance.
- the video analysis system does not need to analyze the full amount of video data, and applies limited resources to target time periods and target areas with high event probability, which improves resource utilization and reduces the cost of video analysis.
- the video analysis system may obtain information of historical events occurring in a geographic area, perform mining and analysis on the information of historical events, and obtain mining results.
- the mining result includes the event occurrence probability of each area in the geographic area during the target period.
- the video analysis system then generates video analysis strategies for geographic regions based on the mining results.
- the occurrence law of events reflected by the information of historical events occurring in the geographical area can provide auxiliary information for video analysis, for example, assist the video analysis system to analyze the video data of the target area during the target time period with high probability of event occurrence.
- the detection rate of key events can be improved, thereby improving the effect of regional governance.
- the video analytics policy also includes event types. Based on this, the video analysis system can also determine the event analysis algorithm corresponding to the event type according to the event type in the video analysis strategy, and then use the event analysis algorithm to analyze the target video data to obtain the analysis result.
- the video analysis system may generate a video analysis job based on target video data and an event analysis algorithm, and then schedule the video analysis job to the target computing node to obtain analysis results after the target computing node executes the video analysis job.
- the method schedules the video analysis job to the target computing node for execution, and the target computing node can perform the video analysis to ensure the normal operation of the video analysis service.
- the target computing node may be a terminal device, a device in an edge environment, or a device in a cloud environment.
- the video analysis system can schedule video analysis jobs to corresponding devices according to business requirements. For example, a video analysis system can schedule video analysis jobs to devices close to the video source to reduce transmission overhead and latency.
- the video analysis system may also obtain information on computing resources.
- the information of computing resources includes the maximum concurrent number of computing resources.
- the computing resources include a collection of computing nodes distributed in various places.
- the maximum number of video analysis jobs that this set allows to execute in parallel is the above-mentioned maximum concurrent number.
- the video analysis system may update the video analysis strategy according to the maximum concurrent number. In this way, the computing resources can be fully utilized and the waste of computing resources can be avoided.
- the video analysis system may Event occurrence probability, update the target area that needs to perform video analysis in the target time period.
- the updated number of the target regions is less than or equal to the maximum concurrent number.
- the updated target area may be a plurality of areas with the occurrence probability of the above-mentioned event at the top in descending order.
- limited computing resources can be preferentially used to perform video analysis on a target area with a high event probability, which improves the detection rate of key events and improves the utilization rate of computing resources.
- the event occurrence probability of each area in the geographic area during the target period may include the event occurrence probability of each event type of each area in the geographic area during the target period.
- the event occurrence probability of the A region of the geographic region during the time period T1 may include the C1 type event occurrence probability and the C2 type event occurrence probability of the A region during the time period T1.
- the video analysis system can also obtain the event type corresponding to the above target area according to the event occurrence probability of each event type in each area in the geographical area within the target time period.
- the updated video analytics policy also includes the above event types.
- an event analysis algorithm corresponding to the event type can be determined based on the event type corresponding to the target area, and event analysis can be performed in a targeted manner.
- the video analysis system may further report the analysis result to the event processing system. Intelligent and automated regional governance can be realized to meet business needs.
- the video analysis system may preprocess historical work order data in a geographic area to obtain information on historical events that occurred in the geographic area.
- the historical event information includes multiple pieces of work order information, and each piece of work order information includes time, location, and event type.
- the video analysis system can process unstructured historical work order data into structured work order information through AI technologies such as natural language processing, image recognition or speech recognition, which provides a basis for work order mining. In turn, it provides help for video analysis based on work order mining.
- AI technologies such as natural language processing, image recognition or speech recognition
- the historical work order data of a geographic area is derived from one or more of the following data: events reported by personnel, events of manual inspection, and historical events obtained by the video analysis system analysis.
- diversified historical work order data can reduce system errors, help to improve the accuracy of work order mining, and then improve the accuracy of video analysis based on work order mining.
- the historical events analyzed by the video analysis system include verified historical events. By verifying the historical events analyzed by the video analysis system, the validity of work order mining based on the historical events can be guaranteed.
- the application provides a video analysis system, which includes the following functional modules:
- the strategy management module is used to obtain a video analysis strategy, the video analysis strategy is obtained according to the mining results of historical events that occurred in the geographical area, and the video analysis strategy includes the target period and target area in which the video analysis needs to be performed in the geographical area ;
- a video analysis module configured to obtain target video data according to the video analysis strategy, the target video data records the status of the target area in the geographical area during the target period, and analyzes the target video data to obtain the analysis results.
- the video analysis system further includes:
- a work order mining module configured to acquire information of historical events occurring in the geographical area, perform mining analysis on the information of the historical events, and obtain mining results, wherein the mining results include each area in the geographical area the probability of occurrence of the event during said target period;
- the work order mining module is further configured to generate the video analysis strategy for the geographical area according to the mining result.
- the video analysis strategy further includes an event type; the video analysis module is specifically used for:
- the video analysis module is specifically used for:
- the target computing node is a terminal device, a device in an edge environment, or a device in a cloud environment.
- the policy management module is also used for:
- the video analysis policy is updated according to the maximum concurrent number.
- the policy management module is specifically used for:
- the number of target areas for which video analysis needs to be performed in the target period is greater than the maximum concurrent number, update the video that needs to be performed in the target period according to the event occurrence probability of each area in the geographical area in the target period
- the analyzed target area, the updated number of the target area is less than or equal to the maximum concurrent number.
- the video analysis module is also used for:
- the analysis result indicates that an event occurs in the target area within the target period
- the analysis result is reported to the event processing system.
- the work order mining module is specifically used for:
- Preprocessing the historical work order data of the geographical area to obtain information of historical events occurring in the geographical area, wherein the information of the historical events includes multiple pieces of work order information, and each piece of work order information includes time, location and event type.
- the historical work order data of the geographic area is derived from one or more of the following data:
- the present application provides a video analysis method, which can be performed by a video analysis system.
- the video analysis system obtains historical work order data of a geographic area, and according to the historical work order data, obtains mining results of historical events that occurred in the geographic area, and the mining results include that each area of the geographic area is in The event occurrence probability of the target period, and then according to the event occurrence probability of each area of the geographical area in the target period, the target video data is obtained, and the target video data records the target area in the geographical area in the target period.
- the target area is an area where the event occurrence probability satisfies a preset condition, and then the target video data is analyzed to obtain an analysis result.
- the event occurrence probability of each area of the geographic area during the target time period includes the probability that various types of events occur in each area of the geographic area during the target time period.
- the video analysis system may also obtain the event type corresponding to the target area according to the probability of occurrence of various types of events in each area of the geographic area during the target period.
- the video analysis system may determine an event analysis algorithm corresponding to the event type according to the event type corresponding to the target area, and use the event analysis algorithm to analyze the target video data to obtain an analysis result.
- the video analysis system may generate a video analysis job based on the target video data and the event analysis algorithm, schedule the video analysis job to a target computing node, obtain the target computing node to execute the Analysis results after a video analysis job.
- the video analysis system may also acquire information on computing resources, where the information on computing resources includes the maximum concurrent number of computing resources.
- the video analysis system may acquire the target video data according to the event occurrence probability of each area of the geographical area in the target period and the maximum concurrent number.
- the target video data records the condition of the target area in the geographic area during the target period, and the number of the target area is less than or equal to the maximum concurrent number.
- the target area may be a plurality of areas in the target period in which the event occurrence probability is ranked from the largest to the smallest.
- the present application provides a video analysis system.
- the video analysis system includes various modules or units for executing the video analysis method in the third aspect or any possible implementation manner of the third aspect.
- the present application provides a computing device cluster, where the computing device cluster includes at least one computing device.
- At least one computing device includes at least one processor and at least one memory.
- the processor and the memory communicate with each other.
- the at least one processor is configured to execute instructions stored in the at least one memory to cause a cluster of computing devices to perform the method of the first aspect or any implementation of the first aspect.
- the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and the instructions instruct a computing device or a cluster of computing devices to execute the first aspect or any one of the first aspects. implement the method described.
- the present application provides a computer program product comprising instructions that, when run on a computing device or a cluster of computing devices, cause the computing device or cluster of computing devices to perform the first aspect or any one of the first aspects above implement the method described.
- the present application may further combine to provide more implementation manners.
- FIG. 1 is a schematic diagram of a video analysis method based on timing polling provided by an embodiment of the present application
- FIG. 2A is a schematic diagram of an application scenario of a video analysis method provided by an embodiment of the present application.
- FIG. 2B is a schematic diagram of the deployment of a video analysis system according to an embodiment of the present application.
- FIG. 3 is a flowchart of a video analysis method provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of a work order database provided by an embodiment of the present application.
- 5A is a schematic flowchart of mining and analysis based on a knowledge graph according to an embodiment of the present application
- FIG. 5B is another schematic flowchart of mining and analysis based on a knowledge graph according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of a work order map constructed based on work order information according to an embodiment of the present application
- FIG. 7 is a flowchart of another video analysis method provided by an embodiment of the present application.
- FIG. 8 is a flowchart of a verification experiment provided by the embodiment of the present application.
- 9A is a schematic diagram of an experimental result provided by an embodiment of the present application.
- 9B is a schematic diagram of another experimental result provided by the embodiment of the application.
- FIG. 10 is a schematic structural diagram of a computing device cluster according to an embodiment of the present application.
- first and second in the embodiments of the present application are only used for the purpose of description, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
- AI Artificial intelligence
- An AI model is an algorithm that can learn rules from massive data. The AI model after targeted training through massive data can have specific functions.
- Artificial intelligence includes multiple branches, for example, including different branches such as computer vision (computer vision, CV), natural language processing (natural language processing, NLP), speech recognition (automatic speech recognition, ASR).
- CV computer vision
- NLP natural language processing
- ASR automatic speech recognition
- Computer vision is a technology that uses cameras and computers to replace human eyes, so that computers have the functions of segmenting, classifying, identifying, detecting or making event discriminative decisions.
- Computer vision technology can be implemented through algorithms (that is, through AI models). For example, a camera deployed in a factory can capture the video of the production environment, and the video frame of the video can be input to the flame detection model. The features of the video frames are extracted by the flame detection model, and learning based on the features can determine whether the production environment exists. The flame detection model is used to determine whether an emergency safety event such as a fire occurs.
- the flame detection model is an AI model trained with a pre-prepared data set.
- a camera deployed on the road can collect road video, and the video frame of the road video can be input to the target detection model, which can detect vehicles on the road, etc., and then determine whether traffic violations such as illegal parking have occurred.
- Object detection models are AI models trained on pre-prepared datasets.
- computer vision can be used for intelligent governance of geographic areas.
- a large number of cameras are deployed in a geographic area, and the video analysis system invokes the underlying computing resources to run one or more event analysis algorithms based on computer vision to analyze and process the video collected by the cameras to discover traffic violations in the geographic area.
- event analysis algorithms based on computer vision to analyze and process the video collected by the cameras to discover traffic violations in the geographic area. Incidents, urban management violations, emergency security incidents and other abnormal events, so as to achieve intelligent regional governance.
- a geographic area may be divided into multiple different areas, and in different time periods of a cycle (eg, one day), the video analysis system takes turns accessing cameras in different areas to perform video analysis.
- the video analysis system can access the cameras in area 1 during the T1 period, analyze the video source C, access the cameras in the area 2 during the T2 period, analyze the video source B, and access the area during the T3 period.
- the camera of 3 analyzes the video source A.
- the environment of geographical areas is usually complex and changeable.
- the video analysis system analyzes the preset area in each time period, which is difficult to match the complex and changeable environment, and it is easy to form perception blind spots in the time and space dimensions, resulting in critical Event omission.
- the video analysis system is connected to the camera in area 3 to analyze video source A at this time, but the camera in area 1 is not connected to video source C. analysis, resulting in key event omissions.
- the omission of key events will affect the effect of regional governance.
- the application of resources such as computing resources and storage resources for video analysis
- embodiments of the present application provide a video analysis method.
- the method may be performed by a video analysis system.
- the video analysis system may be a software system.
- the computing device or cluster of computing devices executes the video analysis method by running the program code of the software system.
- the video analysis system may also be a hardware system for video analysis.
- the embodiments of the present application use a video analysis system as a software system for illustration.
- the historical work order data of a geographical area can reflect historical events that occurred in the geographical area
- the video analysis system can mine and analyze the historical events that occurred in the geographical area based on the historical work order data, such as mining the temporal and spatial distribution of historical events. Analysis, and then based on the mining results, a video analysis strategy is obtained.
- the video analysis strategy includes target time periods and target areas in the geographic area for which video analysis is required.
- the video analysis system obtains target video data based on the above video analysis strategy, the target video data records the video data of the target area in the geographical area in the target period, and then the video analysis system analyzes the above target video data to obtain analysis results.
- the video analysis system predicts the target area with a high probability of event occurrence in the target period based on the occurrence law of historical events in the geographical area, such as the temporal and spatial distribution of historical events, and analyzes the video data of the target area in the target period.
- AI capabilities for example, the ability to deploy computing resources for AI algorithms such as event analysis algorithms.
- the video analysis system does not need to analyze the full amount of video data, and applies limited resources to target time periods and target areas with high event probability, which improves resource utilization and reduces the cost of video analysis.
- this method is not a video analysis method developed for a specific business, and can be widely applied to various video analysis scenarios. For example, it can be applied to traffic management scenarios to detect traffic violations such as speeding and running red lights, or to safety management scenarios to detect emergency safety events such as fire and smoke, or to ecological environment protection scenarios to prevent damage Environmental incidents such as stealing sewage, incineration of garbage, etc. are detected.
- the scenario includes a multi-channel video source 100 , a video management platform 200 , a video analysis system 300 , and a service management platform 400 .
- the multi-channel video source 100 is connected to the video management platform 200
- the video analysis system 300 is connected to the video management platform 200 and the service management platform 400 respectively.
- the video source 100 may include any one or more of terminal-side video streams (camera video streams), edge video streams, cloud video streams, and offline video files.
- the video management platform 200 and the service management platform 400 may be software systems, and computing devices or computing device clusters run the program codes of the above software systems to perform video management and service management (such as regional governance).
- the video management platform 200 may also be a hardware system for video management
- the service management platform 400 may also be a hardware system for service management.
- FIG. 2A uses the video management platform 200 , the video analysis system 300 , and the service management platform 400 as software systems for illustration.
- the user can interact with the video management platform 200 , the video analysis system 300 , and the service management platform 400 respectively through the client to realize functions such as video management, video analysis, and service management.
- the client may be a general client that integrates video management functions, video analysis functions, and service management functions, or may be multiple independent clients with video management functions, video analysis functions, and service management functions, respectively.
- the client may be a web client or an application client, which is not limited in this embodiment of the present application.
- the video management platform 200 includes an interaction module 201 and a video management module 202 .
- the interaction module 201 is used for accessing the multi-channel video sources 100
- the video management module 202 is used for unified management of the multi-channel video sources.
- the video management module 202 supports the user to view pictures of multiple video sources 100 in batches.
- the video management module 202 supports the video analysis system 300 to obtain target video data through a unified application programming interface (application programming interface, API) interface.
- API application programming interface
- the video analysis system 300 is a unified platform for video analysis and processing. For different abnormal event detection requirements in different application scenarios, the video analysis system 300 may provide corresponding video analysis methods. Specifically, the video analysis system 300 may include a work order mining module 301 , a policy management module 302 and a video analysis module 303 .
- the work order mining module 301 is configured to perform mining analysis on the information of historical events occurring in the geographical area to obtain mining results.
- the information of historical events occurring in the geographic area may be multiple pieces of work order information obtained by preprocessing historical work order data.
- Each ticket information includes time, location and event type.
- the mining results include the event occurrence probability of each area in the geographic area during the target period.
- the target period may be one or more periods in a cycle.
- the strategy management module 302 is configured to obtain a video analysis strategy according to the mining result.
- the video analysis strategy includes target time periods and target areas in the geographic area for which video analysis is required. Mining results can also include event types. Correspondingly, the video analysis strategy can also indicate the event types of events that may occur in the target area during the target period.
- the video analysis module 303 is configured to acquire target video data according to the video analysis strategy, analyze the target video data, and obtain an analysis result.
- the video analytics policy also includes an event type.
- the video analysis module 303 may determine an event analysis algorithm corresponding to the above event type according to the event type in the video analysis strategy, and use the event analysis algorithm to analyze the target video data to obtain an analysis result.
- the video analysis module 303 when the video analysis module 303 analyzes the target video data, it can generate a video analysis job based on the target video data and the event analysis algorithm, and then schedule the video analysis job to the target computing node, for example, combining computing
- the resource distribution schedules the video analysis job to the corresponding target computing node, and obtains the analysis result after the target computing node executes the video analysis job.
- the video analysis system 300 also includes an interaction module 304 .
- the interaction module 304 is used to support the user to perform management operations on the video analysis job through a user interface such as a graphical user interface (graphical user interface, GUI), a command user interface (command user interface, CUI), or an API interface, such as video analysis.
- GUI graphical user interface
- CUI command user interface
- API interface such as video analysis.
- a job performs a view, start, or stop operation.
- the service management platform 400 is a unified platform for processing events, and may also be called an event processing system.
- the video analysis system 300 may report the analysis result to the service management platform 400, so that the service management platform 400 can The event is processed.
- the analysis result may be reported to the service management platform 400 in the form of a work order.
- the work order includes at least one of the following work order information: time, location, and event type.
- the service management platform 400 may include an interaction module 401 and an event processing module 402 .
- the interaction module 401 is used to support the user to verify the work order reported by the video analysis system 300 through a user interface such as GUI or CUI. Further, the interaction module 401 can be used to support the user to correct the work order when an error occurs in the work order reported by the video analysis system 300 .
- the event processing module 402 is configured to process the event corresponding to the work order reported by the video analysis system 300 according to the work order information. Specifically, the event processing module 402 may perform processes such as allocating, disposing, and filing the work order. For example, when the event processing module 402 receives a work order for a fire, it can send a reminder message to the fire department according to the time and location in the work order, so as to remind the fire department to dispatch fire trucks nearby to perform fire fighting tasks.
- the video analysis system 300 performs work order mining, generates a video analysis strategy based on the work order mining, and illustrates an example of performing video analysis according to the video analysis strategy.
- the video analysis system 300 shown in FIG. 2A implements the work order mining function through the work order mining module 301 .
- the above-mentioned work order mining module 301 may be a software module or a hardware module of the video analysis system 300 .
- the video analysis system 300 may not include the above-mentioned work order mining module 301 , and the work order mining function may be implemented by a work order mining system independent of the video analysis system 300 .
- the video analysis system 300 may not include the above-mentioned policy management module 302, and the policy management function may be implemented by a policy management system independent of the video analysis system 300, or by a work order mining system with a policy management function.
- the video analysis system 300 when the video analysis system 300 is a software system, the video analysis system 300 may be deployed on one or more computing devices (eg, a central server) in a cloud environment.
- the video analysis system 300 when the video analysis system 300 is a hardware system, the video analysis system 300 may include one or more computing devices on a cloud environment.
- the cloud environment indicates a cluster of central computing devices owned by the cloud service provider and used to provide computing, storage, and communication resources. Accordingly, the video analysis system 300 may provide a cloud service of video analysis for the user to use.
- the user can trigger the operation of starting the video analysis system 300 through the client.
- the video analysis system 300 can obtain the target video data from the video management platform 200 according to the video analysis strategy, and then the video analysis system 300 can analyze the target video data. Analysis, for example, generates a video analysis job based on target video data and an event analysis algorithm, and then schedules the event analysis job to the target computing node.
- the target computing node may be a terminal device as shown in FIG. 2B , or a computing node in a cloud environment, or a computing node in an edge environment.
- the terminal devices include but are not limited to user terminals such as desktop computers, notebook computers, and smart phones, or camera terminals with computing capabilities, such as software-defined cameras (Software-Defined Camera, SDC).
- a cloud environment indicates a cluster of central computing devices owned by a cloud service provider for providing computing, storage, and communication resources. It should be noted that the cloud environment where the target computing node is located and the cloud environment where the video analysis system 300 is located may be the same cloud environment or different cloud environments. FIG. 2B uses the above cloud environment as the same cloud environment for illustration.
- the edge environment indicates a cluster of edge computing devices that are geographically close to the terminal device (ie, the terminal-side device) and are used to provide computing, storage, and communication resources.
- the user can also trigger the operation of viewing, starting or stopping the video analysis job through the client.
- the video analysis system 300 can display the execution progress and execution result of the video analysis job to the user in response to the user's viewing operation, or respond to the user's start. operation, start the corresponding video analysis job, and stop executing the corresponding video analysis job in response to the user's stop operation.
- the video analysis system 300 may also be deployed in an edge environment, for example, on one or more computing devices (edge computing devices) in the edge environment, or the video analysis system 300 includes an edge environment one or more computing devices in the .
- Edge computing devices can be servers, computing boxes, and the like.
- the video analysis system 300 may also be deployed on a terminal device, or be a terminal device used for video analysis. This embodiment does not limit this.
- the video analysis system 300 can not only be centrally deployed in a cloud environment, an edge environment or a terminal device. Considering that the video analysis system 300 can be divided into multiple parts, for example, into multiple functional modules, the above-mentioned multiple functional modules can also be deployed in different environments in a distributed manner.
- the deployment mode of the video analysis system 300 is described above by way of example, and the deployment mode of the video management platform 200 and the service management platform 400 can be referred to the deployment mode of the video analysis system 300, and details are not repeated here.
- the method includes the following steps:
- the video analysis system 300 acquires information of historical events that occurred in the geographic area.
- the video analysis system 300 may acquire historical work order data of the geographical area, and acquire information of historical events occurring in the geographical area according to the historical work order data.
- the information of the historical event includes multiple pieces of work order information, and each piece of work order information includes time, location, and time type.
- the historical work order data of the geographic area comes from one or more of the following data: events reported by personnel, events of manual inspection, and historical events analyzed by the video analysis system 300 .
- the above historical work order data is usually unstructured data, such as work order images reported manually, work order images analyzed by the video analysis system 300, or work order text and work order voices reported by personnel.
- the video analysis system 300 may preprocess the historical work order data of the geographic area, so as to obtain information of historical events that occurred in the geographic area.
- the information of the historical event is structured data.
- the video analysis system 300 may adopt different preprocessing methods. For example, when the historical work order data is a work order image, the video analysis system 300 can identify the work order image through an image recognition algorithm, thereby obtaining information of historical events that occurred in a geographic area. For another example, when the historical work order data is work order text, the video analysis system 300 can extract key information through technologies such as NLP, so as to obtain information of historical events that occurred in the geographic area. Also for example, when the historical work order data is the work order voice, the video analysis system 300 can recognize the work order voice through ASR and other technologies, obtain the work order text, and then extract key information from the work order text through NLP and other methods, so as to obtain the work order text. Information on historical events that occurred in a geographic area.
- the video analysis system 300 can identify the work order image through an image recognition algorithm, thereby obtaining information of historical events that occurred in a geographic area.
- the video analysis system 300 can extract key information through technologies such as NLP, so as to obtain information of historical events that occurred in the geographic area.
- the video analysis system 300 may store the information of historical events occurring in the geographic area, for example, in the work order database, so as to facilitate further mining and analysis based on the information of the historical events in the future.
- the embodiments of the present application also provide corresponding examples for description.
- the work order database includes multiple pieces of work order information, and each piece of work order information includes time, location, and event type.
- time may be the time of occurrence.
- the reporting time and the occurrence time are roughly the same, or the difference is small, which can be ignored or not, or it can be the reporting time.
- the time in the ticket information can generally be accurate to minutes or seconds.
- the location can be accurate to the district (county level) of the city plan, and in some embodiments, the location can also be accurate to the building or the house number of the building.
- Event types may include event categories and event subcategories, wherein the event category may be, for example, environmental sanitation, greening and lighting, city appearance order, and the like, and the event subcategory may be, for example, psoriasis, unclean roads, and the like.
- event category may be, for example, environmental sanitation, greening and lighting, city appearance order, and the like
- event subcategory may be, for example, psoriasis, unclean roads, and the like.
- the work order information may further include the work order source.
- the source of the work order may include manual inspection (for example, grid personnel report after inspection), personnel report (for example, citizens report via hotline, mailbox, etc.), AI analysis (for example, video analysis system) 300 Analysis) any one or more.
- the work order information may also include other auxiliary information, such as event description information.
- the video analysis system 300 performs mining analysis on the information of the historical event to obtain a mining result.
- the video analysis system 300 may select at least one data analysis method, such as at least one of numerical statistics, knowledge graph, or reinforcement learning, to mine and analyze the information of historical events to obtain mining results.
- the mining result includes the event occurrence probability of each area in the geographic area during the target period.
- the video analysis system 300 can count the occurrence frequency of events in each region in the geographical area in each time period in the past period of time, and estimate the event occurrence probability of each region in the geographical area in the target time period based on the event occurrence frequency .
- the video analysis system 300 can also count the occurrence frequency of a certain type of event in each region in the geographical area in the past period of time according to the event type, and then count different events based on the occurrence frequency of different types of events. Type of event probability.
- the past period of time can be T days, and each day can be divided into 24 time periods by hour.
- the work order database provides historical work order information for T days.
- the video analysis system 300 can determine each area in the geographic area by the following formula In each period, the frequency of each type of event:
- p(n, t, i) is the frequency of events of event type i in the t-th period of the day under video source n, 1 ⁇ n ⁇ N, 1 ⁇ t ⁇ 24.
- I(T', n, t, i) is a marking function, indicating whether an event of event type i occurs in the t-th period of the day under the video source n in the work order of day T', if Has occurred, its value is 1, otherwise it is 0.
- the video analysis system 300 can approximate the occurrence frequency of the event as the event occurrence probability, so as to obtain the probability distribution ⁇ of events of different event types in space and time.
- the probability distribution ⁇ is an N ⁇ 24 ⁇ C matrix, where C is the number of event types, and each element in the matrix is used to characterize the event occurrence probability of an event type in a region in a time period .
- the video analysis system 300 can obtain the event occurrence probability of each region in the geographic region in the target time period according to the above probability distribution ⁇ .
- the video analysis system 300 may construct a work order map, perform mining analysis based on the work order map, and then obtain the event occurrence probability of each region in the geographical area in the target period.
- the video analysis system 300 can predict the occurrence trend of a specific event when mining and analyzing the work order map, so as to obtain the event occurrence probability of the specific event.
- the video analysis system 300 can also integrate the eventual relationship of different events (for example, the eventual logical relationship between events, such as succession, causation, condition, and upper and lower levels) based on the work order map, and predict the occurrence trend of each hot event, thereby. Obtain the event occurrence probability of each hot event.
- the video analysis system 300 can construct a knowledge graph based on the work order information.
- a knowledge graph is a graph structure data composed of several vertices connected to each other according to rules. Among them, the knowledge graph constructed based on the work order information is also called the work order graph.
- the ticket graph takes events as vertices, and each vertex includes at least three attributes including time, location and event type. The vertices are connected to each other according to the time, place, and event type association.
- the video analysis system 300 can extract different features such as time series features, spatial sequence features, and related event features from the work order map. Predict the trend of that particular event in an area. As shown in FIG. 5A , the occurrence trend of the specific event is represented by a curve, and the curve is used to represent the event occurrence probability of the specific event in a certain area under different time periods. Compared with the analysis method based on numerical statistics, this method introduces different map features and makes predictions based on more and richer features, which can improve the prediction accuracy and provide more help for AI capability scheduling.
- the video analysis system 300 can construct a work order graph based on the work order information.
- the video analysis system 300 can then mine dynamic hot events in different regions based on the work order map, obtain a spatiotemporal dynamic graph model of event correlation, and extract time series features, spatial sequence features, and related temporal features from the work order map.
- the event-related spatiotemporal dynamic graph model is integrated with time series features, spatial sequence features and related time features, and the trained prediction model is input to predict the event occurrence probability of different event types.
- the prediction model can be a graph neural network (GNN).
- the GNN model can include various types, and FIG. 5B is illustrated with a temporal Graph Convolutional Networks model.
- the prediction model can output the event occurrence probability of each event type.
- the GNN-based prediction model can integrate the eventual relationship of different events and multi-dimensional spatiotemporal attributes for prediction, which further improves the accuracy.
- a water accumulation event occurred at location A in a certain city at 8:00, and a vertex of the work order map can be constructed based on the water accumulation event.
- Attributes can include the following key-value pairs: (location, A), (time, 8 o'clock), (event type, road surface water). Then, at location A, at 9 o'clock and 10 o'clock, the water accumulation event still exists, so the other two vertices of the work order map can be constructed. Since these three flood events are related in time, place and event type, the above three vertices can be connected.
- Location A is adjacent to location B, and location B also had a water accumulation event at 9:00. Due to the correlation of location, time, and event type, the apex of the water accumulation event at location B is also the same as the one at location A. Vertex association. In addition, the ground water caused a traffic jam event at location A at 9 o'clock. Due to the correlation between location and time, the vertices of the traffic jam event were also associated with the vertices of the three water accumulation events at location A.
- the video analysis system can extract time-series features, spatial-sequence features, and related event features from the atlas, and input the prediction model for prediction to obtain the probability of event occurrence. For example, when predicting the probability of a water accumulation event at 11:00, the occurrence of water accumulation at this location A at 8:00, 9:00, and 10:00 can be obtained as the time series feature of the event.
- the location A and location B are adjacent, and the occurrence of the water accumulation event at location B can be obtained as the spatial sequence feature of the event.
- the water accumulation event is related to other events (such as traffic jam events), so the occurrence of other events at 8:00, 9:00, and 10:00 at location A can be obtained as the relevant event features.
- the probability of a water accumulation event at 11 o'clock in location A can be obtained.
- the video analysis system 300 generates the video analysis strategy for the geographical area according to the mining result.
- the video analysis strategy includes a target time period and a target area in the geographic area for which video analysis needs to be performed.
- the target time period and target area may be the time period and area corresponding to the elements in the probability distribution ⁇ whose event occurrence probability is greater than the preset threshold.
- the video analysis strategy also includes event types.
- the event type may be, for example, an event type corresponding to an element in the probability distribution ⁇ whose event occurrence probability is greater than a preset threshold.
- the video analysis system 300 may determine the target area according to the event occurrence probability of each area of the geographic area in the mining result in the target period, and generate a video analysis strategy based on the target period and the target area. Further, when the event occurrence probability in the mining result includes the event occurrence probability of each event type, the video analysis system 300 may generate a target event type corresponding to the target area according to the target period, target area, and event type (for example, the target event type corresponding to the target area). Video analytics strategies for geographic regions.
- the video analysis system 300 may also obtain information on computing resources.
- the computing resource is a set including computing nodes distributed in various places. Compute nodes in this set can compute concurrently.
- the maximum number of video analysis jobs that the set allows to execute in parallel is referred to as the maximum concurrent number of computing resources.
- the information of computing resources includes the maximum concurrent number of computing resources.
- the video analysis system 300 may also update the video analysis policy according to the maximum concurrent number.
- the video analysis system 300 may update the target period according to the event occurrence probability of each area in the geographical area during the target period.
- Target area for video analysis The number of updated target regions is less than or equal to the maximum concurrent number above.
- the updated target area may be the area with the above-mentioned probability in descending order.
- the updated target area includes the top M areas in descending order of probability. Among them, M is the maximum concurrent number.
- the event occurrence probability of each area in the geographical area during the target period includes the event occurrence probability of each event type, that is, when the probability of each type of event occurring in each area in the target period, the video analysis system 300 can also be based on the geographical area.
- the probability of occurrence of various types of events in each area in the target period is obtained, and the event type corresponding to the updated target area is obtained.
- the updated video analytics policy also includes this event type.
- the video analysis system 300 can, according to the probability distribution ⁇ , select the top M area-event type combinations with the highest probability in each time period of the day, and generate a video analysis strategy, which indicates that in the corresponding time period, according to the highest probability before the There are M area-event type combinations, and the target video data of the corresponding area is analyzed to determine whether an event of the corresponding type occurs.
- the video analysis strategy can also be expressed as a matrix ⁇ , which can also be called an AI capability scheduling matrix.
- the matrix ⁇ is an N ⁇ 24 ⁇ C matrix, and the value of each element in the matrix is 0 or 1, which is used to indicate whether to schedule the AI capability of the corresponding event type in the corresponding time period and corresponding area, that is, whether to The corresponding video data is analyzed to determine whether an event of the corresponding event type occurs.
- part of the historical work order data may come from historical events analyzed by the video analysis system 300 .
- the service management platform 400 can also analyze the video analysis system 300 The reported analysis results are verified to ensure the validity of mining and analysis of historical event information in historical work order data.
- the video analysis system 300 may also set an abnormal termination mechanism to ensure the validity of mining and analysis of historical event information in historical work order data, thereby ensuring the accuracy of the video analysis strategy.
- the abnormal termination mechanism may be: when the termination condition is satisfied, the historical events analyzed by the video analysis system 300 are excluded. Mining and analysis can be performed based on information on remaining historical events, such as events reported by personnel and events manually inspected. In some embodiments, the specific historical events analyzed by the video analysis system 300 may also be excluded, and mining analysis is performed based on the information of the remaining historical events.
- the termination condition may be that the scheduling frequency of at least one area-event type combination is greater than a preset frequency.
- the scheduling frequency may be the ratio of the scheduling duration (duration of scheduling the corresponding AI capability) of the above region-event type combination within a day (eg, the past day) to the duration of one day.
- the preset frequency can be set according to the experience value, for example, it can be set to 70%.
- the termination condition may further include a preset ratio where the number of region-event type combinations whose scheduling frequency is greater than the preset frequency is less than the preset ratio of the maximum concurrent number of computing resources.
- the preset ratio can be set according to the experience value, for example, it can be set as 30%.
- the scheduling policy for the past day can be characterized by the matrix ⁇ '.
- Each element in the matrix ⁇ ' is used to indicate whether the AI capability corresponding to the corresponding event type is scheduled for the corresponding time period of the corresponding area. For example, the value of the element is 1, indicating that the corresponding AI capability is scheduled, and the value of the element is 0, which means that the corresponding AI capability is not scheduled.
- the video analysis system 300 can determine the scheduling frequency of the area-event type combination through the matrix ⁇ ', and count the area-event type combination whose scheduling frequency is greater than a preset frequency, such as 70%.
- the scheduling policy of the day can remain unchanged.
- the abnormal termination mechanism can be triggered, and the scheduling policy of the day can be updated. This can solve the problem that AI algorithms such as event analysis algorithms continue to generate misjudged events and miss real events, improving usability.
- the above S302 to S306 are an optional implementation manner for the video analysis system 300 to obtain the video analysis strategy in this embodiment.
- the work order mining system may The information is mined and analyzed, the analysis result is obtained, and the video analysis strategy is obtained based on the analysis result.
- Video analytics system 300 may obtain video analytics policies from the work order mining system.
- the video analysis system 300 acquires target video data according to the video analysis strategy.
- the video analysis strategy includes a target area and a target time period.
- the video analysis system 300 can determine the target video source from the multi-channel video sources 100 accessed by the video management platform 200 according to the target area, and then obtain the target time period from the target video source. video data to obtain the target video data.
- the target video data can also be obtained from the video management platform 200 according to the AI capability scheduling matrix.
- the video analysis system 300 can schedule the time period and area corresponding to the element whose element value is 1 in the matrix ⁇ according to the AI capability, and obtain the video data of the area in the target time period, thereby obtaining the target video data.
- the video analysis system 300 may directly obtain the target video data according to the event occurrence probability of each region in the geographic region in the mining results in the target period.
- the target video data records the condition of the target area in the geographic area during the target period.
- the target area may be an area where the event occurrence probability satisfies a preset condition.
- the preset condition may be that the event occurrence probability is greater than a preset threshold.
- the preset condition may be the top M in order of event occurrence probability in descending order.
- the preset condition may also be that the event occurrence probability is greater than the preset threshold, and the top M is sorted from largest to smallest.
- the video analysis system 300 determines an event analysis algorithm corresponding to the event type according to the event type in the video analysis strategy.
- the video analysis system 300 may determine an event analysis algorithm corresponding to the event type from a variety of event analysis algorithms, so as to analyze the target video data.
- the video analysis system 300 when the video analysis system 300 obtains the AI capability scheduling matrix ⁇ representing the video analysis strategy in combination with the distribution of computing resources, it can also determine the type of event corresponding to the element whose value is 1 in the AI capability scheduling matrix. The corresponding event analysis algorithm.
- the foregoing S308 and S310 may be executed in parallel, or may be executed sequentially according to the set order, which is not limited in this embodiment of the present application.
- the foregoing S310 is an optional step of this embodiment of the present application, and the above-mentioned S310 may not be executed to execute the video analysis method of this embodiment of the present application. For example, when the video analysis strategy does not include event types, or the user is concerned about whether a certain event type occurs, but does not care about whether other event types occur, the above-mentioned S310 may not be performed.
- the video analysis system 300 generates a video analysis job based on the target video data and the event analysis algorithm.
- the video analysis system 300 can directly package the target video data and the code package of the event analysis algorithm to generate a video analysis job.
- the video analysis system 300 may also package the target video data and the identification of the event analysis algorithm to generate a video analysis job.
- the identifier of the event analysis algorithm may include the name of the event analysis algorithm, a hash code, and the like. The identifier of the event analysis algorithm is used to instruct the execution node of the video analysis job to obtain the corresponding event analysis algorithm and analyze the target video data.
- S314 The video analysis system 300 schedules the video analysis job to the target computing node.
- the video analysis system 300 may schedule the above-mentioned video analysis jobs respectively to execution nodes of the jobs, and the execution nodes are called target computing nodes.
- the target computing node may be a terminal device, that is, a terminal computing node, a computing node in a cloud environment, or a computing node in an edge environment.
- the video analysis system 300 can first determine the idle computing nodes, and then select the nearest M computing nodes from the idle computing nodes as the target computing nodes, and then schedule the video analysis job to the above-mentioned target computing nodes, In order to facilitate the target computing node to perform the above video analysis job.
- S316 The video analysis system 300 obtains the analysis result after the target computing node performs the video analysis job.
- S318 is executed.
- the target computing node when the target computing node executes the video analysis job, it can execute the code package of the event analysis algorithm in the video analysis job to run the event analysis algorithm. Get analysis results.
- the target computing node can also obtain the code package of the event analysis algorithm according to the identifier of the event analysis algorithm in the video analysis job.
- the target computing node obtains the code package of the event analysis algorithm through the network-connected storage device), and then executes the code package of the event analysis algorithm to run the event analysis algorithm, and the target video data in the video analysis job is processed through the event analysis algorithm. analysis, the analysis results can be obtained.
- the video analysis system 300 may receive the analysis result returned by the target computing node.
- the video analysis system 300 may perform the analysis result reporting process, as shown in S318.
- the foregoing S312 to S316 are an implementation manner in which the video analysis system 300 in this embodiment of the present application analyzes the target video data and obtains an analysis result.
- the video analysis system 300 may also analyze the target video data in other ways.
- the video analysis system 300 may directly call an event analysis algorithm to analyze the target video data. This embodiment does not limit this.
- S318 The video analysis system 300 reports the analysis result to the service management platform 400, so that the service management platform 400 processes the event.
- the video analysis system 300 may report the analysis result to the service management platform 400 in the form of a work order (also referred to as an intelligent inspection work order).
- the video analysis system 300 provides a unified output interface.
- the video analysis system 300 reports the work order to the service management platform 400 through the unified output interface, so that the service management platform 400 can process the event corresponding to the work order.
- the business management platform 400 can automatically perform processes such as allocating, filing, and disposing of work orders.
- the service management platform 400 also supports the user to manage the work order through a GUI interface or the like, or to correct the work order that is wrongly analyzed by the video analysis system 300 .
- the business management platform 400 can also preprocess the work orders output by the video analysis system 300 to obtain work order information, and then update the work order information to the work order database, so as to improve the effect of mining and analysis by using the continuously updated work order database.
- the foregoing S318 is an optional step in this embodiment of the present application, and the above step may not be performed when the video analysis method is executed, which is not limited in this embodiment of the present application.
- the video analysis system 300 predicts the target area with a high probability of event occurrence within the target time period based on the occurrence law of historical events in the geographical area, such as the temporal and spatial distribution of historical events, and analyzes the video data of the target area in the target time period. Focused on analysis to achieve a reasonable distribution of AI capabilities. By allocating AI capabilities to a reasonable time and place, it can adapt to complex and changeable environments, reduce detection blind spots, improve the detection rate of key events, and improve the effect of regional governance. Furthermore, the video analysis system 300 can apply limited resources to target time periods and target areas with a high probability of event occurrence, thereby improving resource utilization and reducing analysis costs.
- FIG. 3 The embodiment shown in FIG. 3 is mainly exemplified by the video analysis system 300 performing work order mining, video analysis strategy, and video analysis based on the video analysis strategy.
- the present application also provides another embodiment of a video analysis method.
- work order mining may be implemented by the work order mining system 500 .
- the method is completed by the video management platform 200 , the video analysis system 300 , the business management platform 400 and the work order mining system 500 in cooperation. Specifically, the method includes the following steps:
- Step 1 The preprocessing system (not shown in FIG. 7 ) acquires historical work order data, preprocesses the historical work order data, obtains multiple pieces of work order information, and stores the multiple pieces of work order information in the work order database.
- the historical work order data can be derived from any one or more of the following: historical events reported by grid personnel, historical events reported by citizens through hotlines, mailboxes, e-mails, etc., and historical events analyzed by the video analysis system 300 (also known as smart patrol events).
- the intelligent inspection events may include events manually corrected by the user.
- Step 2 The work order mining system 500 obtains multiple pieces of work order information from the work order database, performs mining analysis on the multiple pieces of work order information, and obtains mining results.
- the mining result includes the event occurrence probability of each area in the geographic area during the target period.
- the event occurrence probability of each region in the geographic area during the target period can represent the spatiotemporal distribution law of the event.
- Step 3 The work order mining system 500 obtains a round-robin scheduling scheme based on work order mining according to the mining result.
- the polling scheduling scheme based on work order mining is a preliminary scheduling scheme, and the scheduling scheme is equivalent to the preliminary video analysis strategy generated by the video analysis system 300 based on the mining results in the embodiment shown in FIG. 3 .
- the work order mining system 500 obtains, according to the mining result, the specific implementation of the round-robin scheduling scheme based on work order mining, please refer to the description of the relevant content of S306.
- Step 4 The video analysis system 300 acquires computing resource distribution information, and performs AI algorithm intelligent scheduling according to the computing resource distribution information to obtain an optimized scheduling scheme.
- the optimized scheduling scheme refers to an updated video analysis strategy obtained by updating the video analysis strategy in combination with the computing resource distribution information.
- Step 5 The video analysis system 300 obtains target video data according to the optimized scheduling scheme.
- the video source 100 accesses the video management platform 200 for unified management, and the video analysis system 300 can obtain target video data from the video management platform 200 according to the optimized scheduling scheme, for example, video data of the target area in the target time period.
- Step 6 The video analysis system 300 starts intelligent video analysis on the target video data based on the optimized scheduling scheme.
- the optimized scheduling scheme also includes an event type
- the video analysis system 300 can determine a corresponding event analysis algorithm based on the event type, and then can generate a video analysis job according to the target video data and the event analysis algorithm, and use the video analysis job to Scheduled to target computing nodes, such as end-side camera terminals or edge servers, cloud servers (ie, cloud servers), etc.
- the target computing nodes can run event analysis algorithms to analyze target video data and obtain analysis results.
- the video analysis system 300 can obtain the analysis result of the target computing node.
- Step 7 When the analysis result indicates that an event occurs in the target area during the target period, the video analysis system 300 may output the intelligent inspection event.
- the video analysis system 300 may report the intelligent inspection event to the service management platform 400 in the form of an intelligent inspection event work order.
- Step 8 The business management platform 400 receives the intelligent inspection event work order, and performs work order allocation, processing and filing.
- the service management platform 400 also supports the user to perform manual verification on the intelligent inspection event work order.
- the service management platform 400 may also receive the user's correction to the intelligent inspection event work order.
- the business management platform 400 can perform work order allocation, processing and filing according to the revised work order.
- the work order mining system 500 can mine the work order information in the work order database, and generate a preliminary video analysis strategy based on the mining results.
- the video analysis system 300 can further optimize according to the preliminary video analysis strategy, and then Intelligent video analysis is realized based on the optimized video analysis strategy.
- the video analysis system 300 detects an event, it can be reported in the form of a work order.
- the work order information of the work order can be updated into the work order database to further optimize the work order mining system 500 .
- the embodiment of the present application also designs a control experiment to verify the effect of the video analysis method of the embodiment of the present application and the video analysis method in the related art.
- the experimental design scheme is: simulating the scale of a real geographic area, assuming that 10,000 cameras are deployed in the geographic area, and a day includes 24 time periods. There are 3 types of events that can occur in each time period at each location. Since computing resources are usually limited, only concurrent identification of events in N video sources can usually be supported at the same time, where N ⁇ 10000 ⁇ 3.
- each work order data contains three kinds of information: time, location, and event type. Considering that the work order data can come from either manual reporting or intelligent identification by the video analysis system 300, and there is a certain error in the identification result of the video analysis system 300. Therefore, 50% of the work order data can be selected as the work order data recognized by the video analysis system 300.
- the event type of each work order data has a 20% false positive rate. There is an 80% recognition accuracy rate.
- the probability distribution of each type of event in space and time can be predicted by numerical statistics. Then, in each period, the top M location-event type combinations with the highest probability can be determined according to the maximum concurrent number M of computing resources, and the AI capability scheduling matrix can be generated according to the top M location-event type combinations with the highest probability.
- a series of work order data can be randomly generated as a test set following the distribution P. Then, the event capture rate and resource waste rate are determined according to the test set and the AI capability scheduling matrix.
- the specific calculation formulas are as follows:
- the number of events in the test set can be regarded as the total number of real events.
- the AI resource can be correctly covered to Add 1 to the number of events, and after traversing all elements in the AI capability scheduling matrix whose value is 1, the number of events correctly covered by AI resources can be obtained.
- the AI resources may be computing resources for running AI algorithms such as event analysis algorithms.
- the total number of AI resources deployed can be M.
- the number of AI resources not covered by the event can be calculated. Add 1, and after traversing all the elements whose value is 1 in the AI capability scheduling matrix, the number of AI resources that are not covered by the event can be obtained.
- FIGS. 9A and 9B show the experimental results of the video analysis method (also referred to as the statistics-based scheduling method), the analysis method based on timed polling, and the video analysis method based on full access of the present application, as shown in FIGS. 9A and 9B .
- the method of the present application can achieve a higher event capture rate and a lower resource waste rate under the same concurrent resource cost, and when the concurrent resources are more When the time limit is reached, the advantage of resource waste rate is more obvious.
- the video analysis method based on full access can achieve a 100% event capture rate, the resource waste rate is as high as 91%, the cost is high, and the availability is low.
- the embodiments of the present application further provide a video analysis system 300 as described above.
- the video analysis system provided by the embodiments of the present application will be introduced below with reference to the accompanying drawings.
- the system 300 includes: a policy management module 302 and a video analysis module 303 .
- the strategy management module 302 is specifically configured to execute S306 in the aforementioned method flow of Fig. 3
- the video analysis module 303 is configured to execute S308 in the aforementioned method flow of Fig. 3 to obtain target video data, and then analyze the target video data, Get analysis results.
- the policy management module 302 may not perform the above S306.
- the video analysis system 300 may further include a work order mining module 301, and the work order mining module 301 may execute the above S306, and correspondingly, the policy management module 302 may directly obtain the video analysis policy.
- the video analysis system 300 is connected to the work order mining system 500 , the work order mining system 500 can generate a video analysis strategy according to the mining result, and the video analysis system 300 can obtain the video analysis strategy from the work order mining system 500 .
- the work order mining module 301 can also be used to perform S302 to S304 in the aforementioned method flow of FIG.
- the mining results of single information generate video analysis strategies for geographic areas.
- the video analysis module 303 is specifically configured to perform S310 in the aforementioned method flow of FIG. 3 to determine an event analysis algorithm corresponding to the event type, and then analyze the target video data according to the event analysis algorithm to obtain Analyze the results.
- the video analysis module 303 is specifically configured to execute S312 to S316 in the aforementioned method flow of FIG. 3 to generate a video analysis job, and schedule the video analysis job to the target computing node, so as to realize the analysis of target video data. Analyze and get the results of the analysis.
- the target computing node may be a terminal device, a device in an edge environment, or a device in a cloud environment, which is not limited in this embodiment.
- the policy management module 302 is further configured to execute S306 in the foregoing method flow in FIG. 3 , so as to update the video analysis policy according to the maximum concurrent number of computing resources.
- the video analysis module 303 is further configured to execute S318 in the foregoing method flow in FIG. 3 , so as to report the analysis result to an event processing system, such as the service management platform 400 .
- the work order mining module 301 is specifically configured to execute S302 in the foregoing method flow of FIG. 3 to obtain information of historical events occurring in a geographic area.
- the historical ticket data for the geographic area is derived from one or more of the following data:
- the video analysis system 300 may correspond to executing the methods described in the embodiments of the present application, and the above-mentioned and other operations and/or functions of the respective modules/units of the video analysis system 300 are implemented in order to realize the implementation shown in FIG. 3 , respectively.
- the corresponding flow of each method in the example will not be repeated here.
- Embodiments of the present application also provide a computing device cluster.
- the computing device cluster includes at least one computing device, and any computing device in the at least one computing device may be from a cloud environment or an edge environment, or may be a terminal device.
- the computing device cluster is specifically used to implement the functions of the video analysis system 300 in the embodiment shown in FIG. 2A .
- FIG. 10 provides a schematic structural diagram of a computing device cluster.
- the computing device cluster 10 includes multiple computing devices 1000 , and the computing devices 1000 include a bus 1001 , a processor 1002 , a communication interface 1003 and a memory 1004 . Communication between the processor 1002 , the memory 1004 and the communication interface 1003 is through the bus 1001 .
- the bus 1001 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like.
- PCI peripheral component interconnect
- EISA extended industry standard architecture
- the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 10, but it does not mean that there is only one bus or one type of bus.
- the processor 1002 may be a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP), etc. any one or more of the devices.
- CPU central processing unit
- GPU graphics processing unit
- MP microprocessor
- DSP digital signal processor
- the communication interface 1003 is used for external communication.
- the communication interface 1003 is used to output analysis results and the like.
- Memory 1004 may include volatile memory, such as random access memory (RAM).
- RAM random access memory
- the memory 1004 may also include non-volatile memory (non-volatile memory), such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (solid state drive) , SSD).
- non-volatile memory such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (solid state drive) , SSD).
- Computer-readable instructions are stored in the memory 1004, and the processor 1002 executes the computer-readable instructions to cause the computing device cluster 10 to perform the aforementioned video analysis method (or implement the aforementioned functions of the video analysis system 300).
- the software or program code required to perform the functions of the modules in FIG. 2A may be stored in at least one memory 1004 in the computing device cluster 10 .
- At least one processor 1002 executes program code stored in memory 1004 to cause computing device cluster 10 to perform the aforementioned video analysis method.
- Embodiments of the present application also provide a computer-readable storage medium.
- the computer-readable storage medium may be any available medium that a computing device can store, or a data storage device such as a data center that contains one or more available media.
- the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like.
- the computer-readable storage medium includes instructions instructing a computing device or cluster of computing devices to perform the video analysis method described above.
- the embodiments of the present application also provide a computer program product.
- the computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computing device, all or part of the processes or functions described in the embodiments of the present application are generated.
- the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from a website site, computing device or data center via Transmission to another website site, computing device, or data center by wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) means.
- the computer program product can be a software installation package, which can be downloaded and executed on a computing device or a cluster of computing devices if any one of the aforementioned video analysis methods needs to be used.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Provided in the present application is a video analysis method, which is applied to the field of artificial intelligence (AI). The method comprises: acquiring a video analysis strategy, wherein the video analysis strategy is obtained according to a mining result of historical events that occur in a geographical region, and the video analysis strategy comprises a target time period and a target region, which require video analysis in the geographical region; then, acquiring target video data according to the video analysis strategy; and analyzing the target video data to obtain an analysis result. By means of the method, on the basis of an occurrence rule of historical events in a geographical region, a target region with a large event occurrence probability within a target time period is predicted, and key analysis is carried out on video data of the target region within the target time period. Therefore, reasonable distribution of an AI capability is realized, perceptual blind zones in terms of time and space dimensions are reduced, and efficient regional supervision is realized.
Description
本申请涉及人工智能(artificial intelligence,AI)技术领域,尤其涉及一种视频分析方法、系统及计算设备集群、计算机可读存储介质、计算机程序产品。The present application relates to the technical field of artificial intelligence (AI), and in particular, to a video analysis method, system, and computing device cluster, computer-readable storage medium, and computer program product.
随着人工智能(artificial intelligence,AI)技术的飞速发展,基于AI能力进行区域治理成为一种热门的AI行业应用。With the rapid development of artificial intelligence (AI) technology, regional governance based on AI capabilities has become a popular AI industry application.
为了进行更精细化的区域治理,通常可以在地理区域中部署海量的数据采集设备,如:摄像头。通过采集视频,可以记录地理区域中发生的事件,海量的摄像头采集的视频是城市中的异常事件的主要感知来源。视频分析系统可以通过调用底层的资源运行一种或多种事件分析算法,例如:可以是基于AI的分析算法,通过事件分析算法对视频进行分析和处理,从而及时、自动地发现地理区域中的异常事件,例如:交通违规事件、城管违章事件、应急安全事件、生态环境保护事件等。For more refined regional governance, a large number of data collection devices, such as cameras, can usually be deployed in geographic areas. By collecting video, events that occur in a geographic area can be recorded. The video collected by a large number of cameras is the main source of perception of abnormal events in the city. The video analysis system can run one or more event analysis algorithms by invoking the underlying resources. For example, it can be an AI-based analysis algorithm, which analyzes and processes the video through the event analysis algorithm, so as to timely and automatically discover the events in the geographical area. Abnormal events, such as: traffic violations, urban management violations, emergency safety events, ecological and environmental protection events, etc.
然而,由于地理区域中部署的摄像头的数量庞大,利用视频分析系统对一个地理区域的所有摄像头产生的视频进行全量的分析需要消耗大量的资源(例如:计算资源、存储资源等),成本过高、可行性差。However, due to the huge number of cameras deployed in a geographical area, using a video analysis system to analyze the videos generated by all cameras in a geographical area requires a lot of resources (for example, computing resources, storage resources, etc.), and the cost is too high , poor feasibility.
为了降低视频分析系统的视频分析的资源消耗量,一些方法采用了对地理区域中的摄像头拍摄的视频进行定时轮询的分析方式,即:将地理区域的所有摄像头分成若干个批次,视频分析系统根据时间轮流地接入不同批次的摄像头进行视频分析。但是,这种方式容易导致关键事件遗漏,例如:遗漏了交通道路上的违规事件等。In order to reduce the resource consumption of video analysis in the video analysis system, some methods adopt the analysis method of periodically polling the videos captured by cameras in a geographical area, that is, divide all cameras in a geographical area into several batches, and analyze the video The system accesses different batches of cameras in turn according to time for video analysis. However, this method is prone to omission of key events, such as omission of violations on traffic roads.
如何在资源有限的情况下,使视频分析系统能更大程度地发现关键事件,实现更高效的区域监管,成为了当前基于AI能力进行区域治理急需解决的问题。How to enable the video analysis system to detect key events to a greater extent and achieve more efficient regional supervision under the circumstance of limited resources has become an urgent problem to be solved in the current regional governance based on AI capabilities.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种视频分析方法,该方法基于各区域中历史事件的发生规律,可以实现了高效的区域监管。本申请还提供了上述方法对应的视频分析系统、计算设备集群、计算机可读存储介质以及计算机程序产品。The present application provides a video analysis method, which can realize efficient regional supervision based on the occurrence law of historical events in each region. The present application also provides a video analysis system, a computing device cluster, a computer-readable storage medium, and a computer program product corresponding to the above method.
第一方面,本申请提供了一种视频分析方法。该方法由视频分析系统执行。在一些实施例中,该视频分析系统可以是软件系统。计算设备或计算设备集群通过运行该软件系统的程序代码,以执行视频分析方法。在另一些实施例中,该视频分析系统也可以是用于视频分析的硬件系统。In a first aspect, the present application provides a video analysis method. The method is performed by a video analysis system. In some embodiments, the video analysis system may be a software system. The computing device or cluster of computing devices executes the video analysis method by running the program code of the software system. In other embodiments, the video analysis system may also be a hardware system for video analysis.
具体地,视频分析系统获取视频分析策略,该视频分析策略根据地理区域中发生的历史事件的挖掘结果获得,视频分析策略包括地理区域中需要进行视频分析的目标时段和目标区域,然后视频分析系统根据视频分析策略获取目标视频数据,该目标视频数据记录了地理区域中的目标区域在所述目标时段的状况,接着视频分析系统对目标视频数据进行分析,获得分析结果。Specifically, the video analysis system obtains a video analysis strategy, and the video analysis strategy is obtained according to the mining results of historical events that occurred in the geographical area. The video analysis strategy includes the target period and target area in which video analysis needs to be performed in the geographical area, and then the video analysis system The target video data is acquired according to the video analysis strategy, and the target video data records the condition of the target area in the geographical area during the target period, and then the video analysis system analyzes the target video data to obtain the analysis result.
该方法中,视频分析系统基于地理区域中历史事件的发生规律,预测在目标时段内事件发生概率大的目标区域,进而对目标区域在目标时段的视频数据进行重点分析,实现了AI 能力的合理分配。通过将AI能力分配在合理的时间和地点,可以适应复杂多变的环境,减少时间维度和空间维度的感知盲区,提高关键事件的检出率,进而提升区域治理的效果。而且,视频分析系统无需对全量视频数据进行分析,将有限的资源应用于事件发生概率大的目标时段、目标区域,提高了资源利用率,降低了视频分析的成本。In this method, the video analysis system predicts the target area with a high probability of event occurrence in the target period based on the occurrence law of historical events in the geographical area, and then analyzes the video data of the target area in the target period, and realizes the reasonable AI capability. distribute. By allocating AI capabilities to a reasonable time and place, it can adapt to complex and changeable environments, reduce perception blind spots in time and space dimensions, improve the detection rate of key events, and improve the effect of regional governance. Moreover, the video analysis system does not need to analyze the full amount of video data, and applies limited resources to target time periods and target areas with high event probability, which improves resource utilization and reduces the cost of video analysis.
在一些可能的实现方式中,视频分析系统可以获取地理区域中发生的历史事件的信息,对历史事件的信息进行挖掘分析,获得挖掘结果。其中,挖掘结果包括地理区域中的各区域在所述目标时段的事件发生概率。然后视频分析系统根据挖掘结果生成针对地理区域的视频分析策略。In some possible implementation manners, the video analysis system may obtain information of historical events occurring in a geographic area, perform mining and analysis on the information of historical events, and obtain mining results. Wherein, the mining result includes the event occurrence probability of each area in the geographic area during the target period. The video analysis system then generates video analysis strategies for geographic regions based on the mining results.
在该方法中,地理区域中发生的历史事件的信息所反映的事件的发生规律可以为视频分析提供辅助信息,例如辅助视频分析系统在事件发生概率较大的目标时段对目标区域的视频数据进行分析,由此可以提高关键事件的检出率,进而提升区域治理的效果。In this method, the occurrence law of events reflected by the information of historical events occurring in the geographical area can provide auxiliary information for video analysis, for example, assist the video analysis system to analyze the video data of the target area during the target time period with high probability of event occurrence. Through analysis, the detection rate of key events can be improved, thereby improving the effect of regional governance.
在一些可能的实现方式中,视频分析策略还包括事件类型。基于此,视频分析系统还可以根据视频分析策略中的事件类型,确定与事件类型对应的事件分析算法,然后利用事件分析算法对目标视频数据进行分析,获得分析结果。In some possible implementations, the video analytics policy also includes event types. Based on this, the video analysis system can also determine the event analysis algorithm corresponding to the event type according to the event type in the video analysis strategy, and then use the event analysis algorithm to analyze the target video data to obtain the analysis result.
通过与事件类型对应的事件分析算法对目标视频数据进行分析,可以避免采用不匹配的算法或通用的算法进行视频分析导致关键事件遗漏的情况发生,提高关键事件的检出率。By analyzing the target video data through the event analysis algorithm corresponding to the event type, it is possible to avoid the occurrence of missing key events caused by video analysis using unmatched algorithms or general algorithms, and to improve the detection rate of key events.
在一些可能的实现方式中,视频分析系统可以基于目标视频数据和事件分析算法生成视频分析作业,然后将视频分析作业调度至目标计算节点,获得目标计算节点执行视频分析作业后的分析结果。In some possible implementations, the video analysis system may generate a video analysis job based on target video data and an event analysis algorithm, and then schedule the video analysis job to the target computing node to obtain analysis results after the target computing node executes the video analysis job.
该方法将视频分析作业调度至目标计算节点执行,可以由目标计算节点执行视频分析,保障视频分析服务的正常运行。The method schedules the video analysis job to the target computing node for execution, and the target computing node can perform the video analysis to ensure the normal operation of the video analysis service.
在一些可能的实现方式中,目标计算节点可以为终端设备,边缘环境的设备或者是云环境的设备。视频分析系统可以根据业务需求将视频分析作业调度至相应的设备。例如,视频分析系统可以将视频分析作业调度至与视频源接近的设备,以减少传输开销,降低延时。In some possible implementations, the target computing node may be a terminal device, a device in an edge environment, or a device in a cloud environment. The video analysis system can schedule video analysis jobs to corresponding devices according to business requirements. For example, a video analysis system can schedule video analysis jobs to devices close to the video source to reduce transmission overhead and latency.
在一些可能的实现方式中,视频分析系统还可以获取计算资源的信息。计算资源的信息包括计算资源的最大并发数量。其中,计算资源包括分布在各个地方的计算节点的集合。该集合允许并行执行的视频分析作业的最大数量即为上述最大并发数量。基于此,视频分析系统可以根据所述最大并发数量,更新所述视频分析策略。如此可以充分利用计算资源,避免计算资源浪费。In some possible implementations, the video analysis system may also obtain information on computing resources. The information of computing resources includes the maximum concurrent number of computing resources. The computing resources include a collection of computing nodes distributed in various places. The maximum number of video analysis jobs that this set allows to execute in parallel is the above-mentioned maximum concurrent number. Based on this, the video analysis system may update the video analysis strategy according to the maximum concurrent number. In this way, the computing resources can be fully utilized and the waste of computing resources can be avoided.
在一些可能的实现方式中,当在所述目标时段需要进行视频分析的目标区域的数量大于所述最大并发数量时,视频分析系统可以根据所述地理区域中的各区域在所述目标时段的事件发生概率,更新在所述目标时段需要进行视频分析的目标区域。更新后的所述目标区域的数量小于或等于所述最大并发数量。例如,更新后的目标区域可以是上述事件发生概率由大至小排序靠前的多个区域。In some possible implementations, when the number of target areas that need to perform video analysis during the target period is greater than the maximum concurrent number, the video analysis system may Event occurrence probability, update the target area that needs to perform video analysis in the target time period. The updated number of the target regions is less than or equal to the maximum concurrent number. For example, the updated target area may be a plurality of areas with the occurrence probability of the above-mentioned event at the top in descending order.
如此,可以将有限的计算资源优先用于对事件发生概率大的目标区域进行视频分析,提高了关键事件的检出率,以及提高了计算资源的利用率。In this way, limited computing resources can be preferentially used to perform video analysis on a target area with a high event probability, which improves the detection rate of key events and improves the utilization rate of computing resources.
在一些可能的实现方式中,地理区域中的各区域在所述目标时段的事件发生概率可以包括地理区域中的各区域在所述目标时段内各事件类型的事件发生概率。例如,地理区域的A区域在时段T1的事件发生概率可以包括A区域在时段T1内C1类型的事件发生概率和C2类型的事件发生概率。基于此,视频分析系统还可以根据地理区域中的各区域在所述目标时段内各事件类型的事件发生概率,获得与上述目标区域对应的事件类型。更新后的视频分析策略 还包括上述事件类型。In some possible implementations, the event occurrence probability of each area in the geographic area during the target period may include the event occurrence probability of each event type of each area in the geographic area during the target period. For example, the event occurrence probability of the A region of the geographic region during the time period T1 may include the C1 type event occurrence probability and the C2 type event occurrence probability of the A region during the time period T1. Based on this, the video analysis system can also obtain the event type corresponding to the above target area according to the event occurrence probability of each event type in each area in the geographical area within the target time period. The updated video analytics policy also includes the above event types.
如此,可以基于与目标区域对应的事件类型确定该事件类型对应的事件分析算法,针对性地进行事件分析。In this way, an event analysis algorithm corresponding to the event type can be determined based on the event type corresponding to the target area, and event analysis can be performed in a targeted manner.
在一些可能的实现方式中,当所述分析结果表征所述目标区域在所述目标时段内有事件发生时,视频分析系统还可以将所述分析结果上报至事件处理系统。可以实现智能化以及自动化的区域治理,满足了业务需求。In some possible implementations, when the analysis result indicates that an event occurs in the target area within the target period, the video analysis system may further report the analysis result to the event processing system. Intelligent and automated regional governance can be realized to meet business needs.
在一些可能的实现方式中,视频分析系统可以对地理区域的历史工单数据进行预处理,获得地理区域中发生的历史事件的信息。其中,历史事件的信息包括多条工单信息,每条工单信息包括时间、地点和事件类型。In some possible implementations, the video analysis system may preprocess historical work order data in a geographic area to obtain information on historical events that occurred in the geographic area. The historical event information includes multiple pieces of work order information, and each piece of work order information includes time, location, and event type.
在该方法中,视频分析系统可以通过自然语言处理、图像识别或者是语音识别等AI技术,将非结构化的历史工单数据处理为结构化的工单信息,为工单挖掘提供了基础,进而为基于工单挖掘的视频分析提供帮助。In this method, the video analysis system can process unstructured historical work order data into structured work order information through AI technologies such as natural language processing, image recognition or speech recognition, which provides a basis for work order mining. In turn, it provides help for video analysis based on work order mining.
在一些可能的实现方式中,地理区域的历史工单数据来源于以下数据中的一种或多种:人员上报的事件,人工巡检的事件,所述视频分析系统分析得到的历史事件。其中,多样化的历史工单数据可以降低系统误差,有助于提升工单挖掘的准确度,进而提升基于工单挖掘的视频分析的准确度。In some possible implementations, the historical work order data of a geographic area is derived from one or more of the following data: events reported by personnel, events of manual inspection, and historical events obtained by the video analysis system analysis. Among them, diversified historical work order data can reduce system errors, help to improve the accuracy of work order mining, and then improve the accuracy of video analysis based on work order mining.
在一些可能的实现方式中,所述视频分析系统分析得到的历史事件包括校验后的历史事件。通过对视频分析系统分析的历史事件进行校验,可以保障基于该历史事件进行工单挖掘的有效性。In some possible implementations, the historical events analyzed by the video analysis system include verified historical events. By verifying the historical events analyzed by the video analysis system, the validity of work order mining based on the historical events can be guaranteed.
第二方面,本申请提供了一种视频分析系统,该视频分析系统包括如下功能模块:In a second aspect, the application provides a video analysis system, which includes the following functional modules:
策略管理模块,用于获取视频分析策略,所述视频分析策略根据地理区域中发生的历史事件的挖掘结果获得,所述视频分析策略包括所述地理区域中需要进行视频分析的目标时段和目标区域;The strategy management module is used to obtain a video analysis strategy, the video analysis strategy is obtained according to the mining results of historical events that occurred in the geographical area, and the video analysis strategy includes the target period and target area in which the video analysis needs to be performed in the geographical area ;
视频分析模块,用于根据所述视频分析策略获取目标视频数据,所述目标视频数据记录了所述地理区域中的所述目标区域在所述目标时段的状况,对所述目标视频数据进行分析,获得分析结果。A video analysis module, configured to obtain target video data according to the video analysis strategy, the target video data records the status of the target area in the geographical area during the target period, and analyzes the target video data to obtain the analysis results.
在一些可能的实现方式中,所述视频分析系统还包括:In some possible implementations, the video analysis system further includes:
工单挖掘模块,用于获取所述地理区域中发生的历史事件的信息,对所述历史事件的信息进行挖掘分析,获得挖掘结果,其中,所述挖掘结果包括所述地理区域中的各区域在所述目标时段的事件发生概率;A work order mining module, configured to acquire information of historical events occurring in the geographical area, perform mining analysis on the information of the historical events, and obtain mining results, wherein the mining results include each area in the geographical area the probability of occurrence of the event during said target period;
所述工单挖掘模块,还用于根据所述挖掘结果生成针对所述地理区域的所述视频分析策略。The work order mining module is further configured to generate the video analysis strategy for the geographical area according to the mining result.
在一些可能的实现方式中,所述视频分析策略还包括事件类型;所述视频分析模块具体用于:In some possible implementations, the video analysis strategy further includes an event type; the video analysis module is specifically used for:
根据所述视频分析策略中的事件类型,确定与所述事件类型对应的事件分析算法;Determine an event analysis algorithm corresponding to the event type according to the event type in the video analysis strategy;
利用所述事件分析算法对所述目标视频数据进行分析,获得分析结果。Use the event analysis algorithm to analyze the target video data to obtain an analysis result.
在一些可能的实现方式中,所述视频分析模块具体用于:In some possible implementations, the video analysis module is specifically used for:
基于所述目标视频数据和所述事件分析算法生成视频分析作业;Generate a video analysis job based on the target video data and the event analysis algorithm;
将所述视频分析作业调度至目标计算节点;scheduling the video analysis job to the target computing node;
获得所述目标计算节点执行所述视频分析作业后的分析结果。Obtain an analysis result after the target computing node performs the video analysis job.
在一些可能的实现方式中,所述目标计算节点为终端设备,边缘环境的设备或云环境的设备。In some possible implementations, the target computing node is a terminal device, a device in an edge environment, or a device in a cloud environment.
在一些可能的实现方式中,所述策略管理模块还用于:In some possible implementations, the policy management module is also used for:
获取计算资源的信息,所述计算资源的信息包括所述计算资源的最大并发数量;Obtain information about computing resources, where the information about computing resources includes the maximum concurrent number of computing resources;
根据所述最大并发数量,更新所述视频分析策略。The video analysis policy is updated according to the maximum concurrent number.
在一些可能的实现方式中,所述策略管理模块具体用于:In some possible implementations, the policy management module is specifically used for:
当所述目标时段需要进行视频分析的目标区域的数量大于所述最大并发数量时,根据所述地理区域中的各区域在所述目标时段的事件发生概率,更新在所述目标时段需要进行视频分析的目标区域,更新后的所述目标区域的数量小于或等于所述最大并发数量。When the number of target areas for which video analysis needs to be performed in the target period is greater than the maximum concurrent number, update the video that needs to be performed in the target period according to the event occurrence probability of each area in the geographical area in the target period The analyzed target area, the updated number of the target area is less than or equal to the maximum concurrent number.
在一些可能的实现方式中,所述视频分析模块还用于:In some possible implementations, the video analysis module is also used for:
当所述分析结果表征所述目标区域在所述目标时段内有事件发生时,将所述分析结果上报至事件处理系统。When the analysis result indicates that an event occurs in the target area within the target period, the analysis result is reported to the event processing system.
在一些可能的实现方式中,所述工单挖掘模块具体用于:In some possible implementations, the work order mining module is specifically used for:
对所述地理区域的历史工单数据进行预处理,获得所述地理区域中发生的历史事件的信息,其中,所述历史事件的信息包括多条工单信息,每条工单信息包括时间、地点和事件类型。Preprocessing the historical work order data of the geographical area to obtain information of historical events occurring in the geographical area, wherein the information of the historical events includes multiple pieces of work order information, and each piece of work order information includes time, location and event type.
在一些可能的实现方式中,所述地理区域的历史工单数据来源于以下数据中的一种或多种:In some possible implementations, the historical work order data of the geographic area is derived from one or more of the following data:
人员上报的事件,人工巡检的事件,所述视频分析系统分析得到的历史事件。The events reported by personnel, the events of manual inspection, and the historical events obtained by the analysis of the video analysis system.
第三方面,本申请提供了一种视频分析方法,该方法可以由视频分析系统执行。具体地,视频分析系统获取地理区域的历史工单数据,根据所述历史工单数据,获得所述地理区域中发生的历史事件的挖掘结果,所述挖掘结果包括所述地理区域的各区域在目标时段的事件发生概率,然后根据所述地理区域的各区域在目标时段的事件发生概率,获取目标视频数据,目标视频数据记录了所述地理区域中的所述目标区域在所述目标时段的状况,目标区域为所述事件发生概率满足预设条件的区域,接着对所述目标视频数据进行分析,获得分析结果。In a third aspect, the present application provides a video analysis method, which can be performed by a video analysis system. Specifically, the video analysis system obtains historical work order data of a geographic area, and according to the historical work order data, obtains mining results of historical events that occurred in the geographic area, and the mining results include that each area of the geographic area is in The event occurrence probability of the target period, and then according to the event occurrence probability of each area of the geographical area in the target period, the target video data is obtained, and the target video data records the target area in the geographical area in the target period. condition, the target area is an area where the event occurrence probability satisfies a preset condition, and then the target video data is analyzed to obtain an analysis result.
需要说明的是,执行该方法所产生的有益效果可以参见第一方面相关内容描述,在此不再赘述。It should be noted that, for the beneficial effects produced by executing the method, reference may be made to the description of the relevant content of the first aspect, which will not be repeated here.
在一些可能的实现方式中,所述地理区域的各区域在目标时段的事件发生概率包括所述地理区域的各区域在目标时段发生各类型事件的概率。视频分析系统还可以根据所述地理区域的各区域在目标时段发生各类型事件的概率,获得与所述目标区域对应的事件类型。相应地,视频分析系统可以根据与所述目标区域对应的事件类型,确定与所述事件类型对应的事件分析算法,利用所述事件分析算法对所述目标视频数据进行分析,获得分析结果。In some possible implementations, the event occurrence probability of each area of the geographic area during the target time period includes the probability that various types of events occur in each area of the geographic area during the target time period. The video analysis system may also obtain the event type corresponding to the target area according to the probability of occurrence of various types of events in each area of the geographic area during the target period. Correspondingly, the video analysis system may determine an event analysis algorithm corresponding to the event type according to the event type corresponding to the target area, and use the event analysis algorithm to analyze the target video data to obtain an analysis result.
在一些可能的实现方式中,视频分析系统可以基于所述目标视频数据和所述事件分析算法生成视频分析作业,将所述视频分析作业调度至目标计算节点,获得所述目标计算节点执行所述视频分析作业后的分析结果。In some possible implementations, the video analysis system may generate a video analysis job based on the target video data and the event analysis algorithm, schedule the video analysis job to a target computing node, obtain the target computing node to execute the Analysis results after a video analysis job.
在一些可能的实现方式中,视频分析系统还可以获取计算资源的信息,计算资源的信息包括计算资源的最大并发数量。相应地,视频分析系统可以根据所述地理区域的各区域在目标时段的事件发生概率以及所述最大并发数量,获取目标视频数据。该目标视频数据记录了所述地理区域中的所述目标区域在所述目标时段的状况,该目标区域的数量小于或等于最大并发数量。其中,目标区域可以是目标时段中事件发生概率由大至小排序靠前的多个区域。In some possible implementations, the video analysis system may also acquire information on computing resources, where the information on computing resources includes the maximum concurrent number of computing resources. Correspondingly, the video analysis system may acquire the target video data according to the event occurrence probability of each area of the geographical area in the target period and the maximum concurrent number. The target video data records the condition of the target area in the geographic area during the target period, and the number of the target area is less than or equal to the maximum concurrent number. Wherein, the target area may be a plurality of areas in the target period in which the event occurrence probability is ranked from the largest to the smallest.
第四方面,本申请提供了一种视频分析系统。该视频分析系统包括用于执行第三方面或第三方面任一种可能实现方式中的视频分析方法的各个模块或单元。In a fourth aspect, the present application provides a video analysis system. The video analysis system includes various modules or units for executing the video analysis method in the third aspect or any possible implementation manner of the third aspect.
第五方面,本申请提供一种计算设备集群,所述计算设备集群包括至少一台计算设备。至少一台计算设备包括至少一个处理器和至少一个存储器。所述处理器、所述存储器进行相互的通信。所述至少一个处理器用于执行所述至少一个存储器中存储的指令,以使得计算设备集群执行如第一方面或第一方面的任一种实现方式所述的方法。In a fifth aspect, the present application provides a computing device cluster, where the computing device cluster includes at least one computing device. At least one computing device includes at least one processor and at least one memory. The processor and the memory communicate with each other. The at least one processor is configured to execute instructions stored in the at least one memory to cause a cluster of computing devices to perform the method of the first aspect or any implementation of the first aspect.
第六方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,所述指令指示计算设备或计算设备集群执行上述第一方面或第一方面的任一种实现方式所述的方法。In a sixth aspect, the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and the instructions instruct a computing device or a cluster of computing devices to execute the first aspect or any one of the first aspects. implement the method described.
第七方面,本申请提供了一种包含指令的计算机程序产品,当其在计算设备或计算设备集群上运行时,使得计算设备或计算设备集群执行上述第一方面或第一方面的任一种实现方式所述的方法。本申请在上述各方面提供的实现方式的基础上,还可以进行进一步组合以提供更多实现方式。In a seventh aspect, the present application provides a computer program product comprising instructions that, when run on a computing device or a cluster of computing devices, cause the computing device or cluster of computing devices to perform the first aspect or any one of the first aspects above implement the method described. On the basis of the implementation manners provided by the above aspects, the present application may further combine to provide more implementation manners.
为了更清楚地说明本申请实施例的技术方法,下面将对实施例中所需使用的附图作以简单地介绍。In order to illustrate the technical methods of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the embodiments.
图1为本申请实施例提供的一种基于定时轮询的视频分析方法的示意图;1 is a schematic diagram of a video analysis method based on timing polling provided by an embodiment of the present application;
图2A为本申请实施例提供的一种视频分析方法的应用场景示意图;2A is a schematic diagram of an application scenario of a video analysis method provided by an embodiment of the present application;
图2B为本申请实施例提供的一种视频分析系统的部署示意图;FIG. 2B is a schematic diagram of the deployment of a video analysis system according to an embodiment of the present application;
图3为本申请实施例提供的一种视频分析方法的流程图;3 is a flowchart of a video analysis method provided by an embodiment of the present application;
图4为本申请实施例提供的一种工单数据库的示意图;4 is a schematic diagram of a work order database provided by an embodiment of the present application;
图5A为本申请实施例提供的一种基于知识图谱进行挖掘分析的流程示意图;5A is a schematic flowchart of mining and analysis based on a knowledge graph according to an embodiment of the present application;
图5B为本申请实施例提供的另一种基于知识图谱进行挖掘分析的流程示意图;FIG. 5B is another schematic flowchart of mining and analysis based on a knowledge graph according to an embodiment of the present application;
图6为本申请实施例提供的一种基于工单信息构建的工单图谱的示意图;6 is a schematic diagram of a work order map constructed based on work order information according to an embodiment of the present application;
图7为本申请实施例提供的另一种视频分析方法的流程图;7 is a flowchart of another video analysis method provided by an embodiment of the present application;
图8为本申请实施例提供的一种验证实验的流程图;FIG. 8 is a flowchart of a verification experiment provided by the embodiment of the present application;
图9A为本申请实施例提供的一种实验结果的示意图;9A is a schematic diagram of an experimental result provided by an embodiment of the present application;
图9B为本申请实施例提供的另一种实验结果的示意图;9B is a schematic diagram of another experimental result provided by the embodiment of the application;
图10为本申请实施例提供的一种计算设备集群的结构示意图。FIG. 10 is a schematic structural diagram of a computing device cluster according to an embodiment of the present application.
本申请实施例中的术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。The terms "first" and "second" in the embodiments of the present application are only used for the purpose of description, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature.
为了便于理解本申请实施例,首先,对本申请涉及的部分术语进行解释说明。In order to facilitate the understanding of the embodiments of the present application, first, some terms involved in the present application are explained.
人工智能(artificial intelligence,AI),是一种通过计算机上运行的计算机程序模拟人类的思维过程和/或智能行为(如学习、推理、思考、规划等)的技术学科。具体可以通过AI模型实现人工智能,AI模型是一种可以从海量的数据中学习到规律的算法,通过海量数据进行针对性训练后的AI模型可以具有特定的功能。Artificial intelligence (AI) is a technical discipline that simulates human thought processes and/or intelligent behaviors (such as learning, reasoning, thinking, planning, etc.) through computer programs running on computers. Specifically, artificial intelligence can be realized through an AI model. An AI model is an algorithm that can learn rules from massive data. The AI model after targeted training through massive data can have specific functions.
人工智能包括多个分支,例如,包括计算机视觉(computer vision,CV)、自然语言处理(natural language processing,NLP)、语音识别(automatic speech recognition,ASR)等不同分支。Artificial intelligence includes multiple branches, for example, including different branches such as computer vision (computer vision, CV), natural language processing (natural language processing, NLP), speech recognition (automatic speech recognition, ASR).
计算机视觉,是一种利用摄像头和计算机代替人眼,使得计算机拥有对目标进行分割、分类、识别、检测或进行事件的判别决策等的功能的技术。计算机视觉技术可以通过算法实现(也即通过AI模型实现)。例如:部署在工厂的摄像头可以采集生产环境视频,该视频的视频帧可以被输入至火焰检测模型,通过火焰检测模型提取视频帧的特征,并基于该特征进行学习,可以确定该生产环境是否存在火焰,进而确定是否发生火灾等应急安全事件,其中,火焰检测模型是经过预先准备的数据集训练后的AI模型。又例如:部署在道路的摄像头可以采集道路视频,道路视频的视频帧可以被输入至目标检测模型,可以对道路上的车辆等进行检测,进而可以确定是否发生违规停车等交通违规事件,其中,目标检测模型是经过预先准备的数据集训练后的AI模型。Computer vision is a technology that uses cameras and computers to replace human eyes, so that computers have the functions of segmenting, classifying, identifying, detecting or making event discriminative decisions. Computer vision technology can be implemented through algorithms (that is, through AI models). For example, a camera deployed in a factory can capture the video of the production environment, and the video frame of the video can be input to the flame detection model. The features of the video frames are extracted by the flame detection model, and learning based on the features can determine whether the production environment exists. The flame detection model is used to determine whether an emergency safety event such as a fire occurs. The flame detection model is an AI model trained with a pre-prepared data set. Another example: a camera deployed on the road can collect road video, and the video frame of the road video can be input to the target detection model, which can detect vehicles on the road, etc., and then determine whether traffic violations such as illegal parking have occurred. Among them, Object detection models are AI models trained on pre-prepared datasets.
在实际应用中,计算机视觉可以用于地理区域的智能化治理。具体地,地理区域中部署海量摄像头,视频分析系统调用底层的计算资源运行一种或多种基于计算机视觉的事件分析算法,对摄像头采集的视频进行分析和处理,以发现地理区域中的交通违规事件、城管违章事件、应急安全事件等异常事件,从而实现智能化的区域治理。In practical applications, computer vision can be used for intelligent governance of geographic areas. Specifically, a large number of cameras are deployed in a geographic area, and the video analysis system invokes the underlying computing resources to run one or more event analysis algorithms based on computer vision to analyze and process the video collected by the cameras to discover traffic violations in the geographic area. Incidents, urban management violations, emergency security incidents and other abnormal events, so as to achieve intelligent regional governance.
目前,地理区域部署的数据采集设备如摄像头可以采集海量视频,对上述海量视频进行全量的分析需要消耗大量的计算资源、存储资源。为此,相关技术采用了定时轮询的分析方式。具体地,地理区域可以分为多个不同区域,在一个周期(例如是一天)的不同时段,视频分析系统轮流接入不同区域的摄像头进行视频分析。例如,参见图1,视频分析系统可以在T1时段接入区域1的摄像头,对视频源C进行分析,在T2时段接入区域2的摄像头,对视频源B进行分析,在T3时段接入区域3的摄像头对视频源A进行分析。Currently, data collection devices such as cameras deployed in geographic areas can collect massive amounts of video, and a large amount of computing resources and storage resources are consumed for full analysis of the aforementioned massive amounts of video. To this end, the related art adopts the analysis method of timed polling. Specifically, a geographic area may be divided into multiple different areas, and in different time periods of a cycle (eg, one day), the video analysis system takes turns accessing cameras in different areas to perform video analysis. For example, referring to FIG. 1, the video analysis system can access the cameras in area 1 during the T1 period, analyze the video source C, access the cameras in the area 2 during the T2 period, analyze the video source B, and access the area during the T3 period. The camera of 3 analyzes the video source A.
然而,地理区域的环境通常是复杂多变的,视频分析系统在每个时段中对预先设定的区域分析,难以匹配复杂多变的环境,容易在时间维度和空间维度形成感知盲区,导致关键事件遗漏。例如,上述示例中,在T3时段,区域1有较高概率发生事件,而视频分析系统此时接入区域3的摄像头对视频源A分析,并未接入区域1的摄像头对视频源C进行分析,因而产生了关键事件遗漏。一方面,遗漏关键事件将会影响区域治理的效果,另一方面,将资源(如进行视频分析的计算资源、存储资源)应用在事件发生概率较低的时段和区域,产生了资源浪费。However, the environment of geographical areas is usually complex and changeable. The video analysis system analyzes the preset area in each time period, which is difficult to match the complex and changeable environment, and it is easy to form perception blind spots in the time and space dimensions, resulting in critical Event omission. For example, in the above example, during the T3 period, there is a high probability of events in area 1, and the video analysis system is connected to the camera in area 3 to analyze video source A at this time, but the camera in area 1 is not connected to video source C. analysis, resulting in key event omissions. On the one hand, the omission of key events will affect the effect of regional governance. On the other hand, the application of resources (such as computing resources and storage resources for video analysis) in time periods and regions with a low probability of occurrence of events results in waste of resources.
有鉴于此,本申请实施例提供了一种视频分析方法。该方法可以由视频分析系统执行。在一些实施例中,该视频分析系统可以是软件系统。计算设备或计算设备集群通过运行该软件系统的程序代码,以执行视频分析方法。在另一些实施例中,该视频分析系统也可以是用于视频分析的硬件系统。本申请实施例以视频分析系统为软件系统进行示例说明。In view of this, embodiments of the present application provide a video analysis method. The method may be performed by a video analysis system. In some embodiments, the video analysis system may be a software system. The computing device or cluster of computing devices executes the video analysis method by running the program code of the software system. In other embodiments, the video analysis system may also be a hardware system for video analysis. The embodiments of the present application use a video analysis system as a software system for illustration.
具体地,地理区域的历史工单数据可以反映地理区域中发生的历史事件,视频分析系统可以基于历史工单数据对地理区域中发生的历史事件进行挖掘分析,例如对历史事件的时空分布进行挖掘分析,然后基于挖掘结果,获得视频分析策略。该视频分析策略包括地理区域中需要进行视频分析的目标时段和目标区域。视频分析系统基于上述视频分析策略获取目标视频数据,该目标视频数据记录了该地理区域中的目标区域在目标时段的视频数据,然后视频分析系统对上述目标视频数据进行分析,获得分析结果。Specifically, the historical work order data of a geographical area can reflect historical events that occurred in the geographical area, and the video analysis system can mine and analyze the historical events that occurred in the geographical area based on the historical work order data, such as mining the temporal and spatial distribution of historical events. Analysis, and then based on the mining results, a video analysis strategy is obtained. The video analysis strategy includes target time periods and target areas in the geographic area for which video analysis is required. The video analysis system obtains target video data based on the above video analysis strategy, the target video data records the video data of the target area in the geographical area in the target period, and then the video analysis system analyzes the above target video data to obtain analysis results.
该方法中,视频分析系统基于地理区域中历史事件的发生规律,例如是历史事件的时空分布,预测在目标时段内事件发生概率大的目标区域,对目标区域在目标时段的视频数据进 行重点分析,实现了AI能力(例如:部署事件分析算法等AI算法的计算资源的能力)的合理分配。通过将AI能力分配在合理的时间和地点,可以适应复杂多变的环境,减少时间维度和空间维度的感知盲区,提高关键事件的检出率,进而提升区域治理的效果。而且,视频分析系统无需对全量视频数据进行分析,将有限的资源应用于事件发生概率大的目标时段、目标区域,提高了资源利用率,降低了视频分析的成本。In this method, the video analysis system predicts the target area with a high probability of event occurrence in the target period based on the occurrence law of historical events in the geographical area, such as the temporal and spatial distribution of historical events, and analyzes the video data of the target area in the target period. , to achieve a reasonable allocation of AI capabilities (for example, the ability to deploy computing resources for AI algorithms such as event analysis algorithms). By allocating AI capabilities to a reasonable time and place, it can adapt to complex and changeable environments, reduce perception blind spots in time and space dimensions, improve the detection rate of key events, and improve the effect of regional governance. Moreover, the video analysis system does not need to analyze the full amount of video data, and applies limited resources to target time periods and target areas with high event probability, which improves resource utilization and reduces the cost of video analysis.
需要说明的是,该方法并非针对特定业务开发的视频分析方法,可以广泛应用于各种视频分析场景。例如可以应用于交通管理场景,对交通违规事件如超速、闯红灯等进行检测,或者应用于安全管理场景,对应急安全事件如火灾、烟雾等进行检测,或者是应用于生态环境保护场景,对破坏环境事件如偷排污水、焚烧垃圾等进行检测。It should be noted that this method is not a video analysis method developed for a specific business, and can be widely applied to various video analysis scenarios. For example, it can be applied to traffic management scenarios to detect traffic violations such as speeding and running red lights, or to safety management scenarios to detect emergency safety events such as fire and smoke, or to ecological environment protection scenarios to prevent damage Environmental incidents such as stealing sewage, incineration of garbage, etc. are detected.
为了使得本申请的技术方案更加清楚、易于理解,下面结合附图对本申请的应用场景进行介绍。In order to make the technical solutions of the present application clearer and easier to understand, the following describes the application scenarios of the present application with reference to the accompanying drawings.
参见图2A所示的视频分析方法的应用场景示意图,该场景中包括多路视频源100和视频管理平台200、视频分析系统300、业务管理平台400。其中,多路视频源100与视频管理平台200连接,视频分析系统300分别与视频管理平台200和业务管理平台400连接。Referring to the schematic diagram of the application scenario of the video analysis method shown in FIG. 2A , the scenario includes a multi-channel video source 100 , a video management platform 200 , a video analysis system 300 , and a service management platform 400 . The multi-channel video source 100 is connected to the video management platform 200 , and the video analysis system 300 is connected to the video management platform 200 and the service management platform 400 respectively.
视频源100可以包括端侧视频流(摄像头视频流)、边缘视频流、云视频流和离线视频文件中的任意一种或多种。与视频分析系统300类似,在一些实施例中,视频管理平台200和业务管理平台400可以是软件系统,计算设备或计算设备集群通过运行上述软件系统的程序代码,以进行视频管理和业务管理(例如是区域治理)。在另一些实施例中,视频管理平台200也可以是用于视频管理的硬件系统,业务管理平台400也可以是用于业务管理的硬件系统。图2A以视频管理平台200、视频分析系统300、业务管理平台400为软件系统进行示例说明。The video source 100 may include any one or more of terminal-side video streams (camera video streams), edge video streams, cloud video streams, and offline video files. Similar to the video analysis system 300, in some embodiments, the video management platform 200 and the service management platform 400 may be software systems, and computing devices or computing device clusters run the program codes of the above software systems to perform video management and service management ( such as regional governance). In other embodiments, the video management platform 200 may also be a hardware system for video management, and the service management platform 400 may also be a hardware system for service management. FIG. 2A uses the video management platform 200 , the video analysis system 300 , and the service management platform 400 as software systems for illustration.
用户可以通过客户端分别与视频管理平台200、视频分析系统300、业务管理平台400进行交互,实现视频管理、视频分析以及业务管理等功能。其中,客户端可以是集成视频管理功能、视频分析功能以及业务管理功能的通用客户端,也可以是分别具有视频管理功能、视频分析功能和业务管理功能的多个独立客户端。该客户端可以是网页客户端,也可以是应用程序客户端,本申请实施例对此不作限定。The user can interact with the video management platform 200 , the video analysis system 300 , and the service management platform 400 respectively through the client to realize functions such as video management, video analysis, and service management. The client may be a general client that integrates video management functions, video analysis functions, and service management functions, or may be multiple independent clients with video management functions, video analysis functions, and service management functions, respectively. The client may be a web client or an application client, which is not limited in this embodiment of the present application.
具体地,视频管理平台200包括交互模块201和视频管理模块202。交互模块201用于接入多路视频源100,视频管理模块202用于对多路视频源进行统一管理。例如,视频管理模块202支持用户批量查看多个视频源100的画面。又例如,视频管理模块202支持视频分析系统300通过统一的应用程序编程(application programming interface,API)接口获取目标视频数据。Specifically, the video management platform 200 includes an interaction module 201 and a video management module 202 . The interaction module 201 is used for accessing the multi-channel video sources 100, and the video management module 202 is used for unified management of the multi-channel video sources. For example, the video management module 202 supports the user to view pictures of multiple video sources 100 in batches. For another example, the video management module 202 supports the video analysis system 300 to obtain target video data through a unified application programming interface (application programming interface, API) interface.
视频分析系统300是视频分析、处理的统一化平台。针对不同应用场景中的不同异常事件检测需求,视频分析系统300可以提供相应的视频分析方法。具体地,视频分析系统300可以包括工单挖掘模块301、策略管理模块302和视频分析模块303。The video analysis system 300 is a unified platform for video analysis and processing. For different abnormal event detection requirements in different application scenarios, the video analysis system 300 may provide corresponding video analysis methods. Specifically, the video analysis system 300 may include a work order mining module 301 , a policy management module 302 and a video analysis module 303 .
工单挖掘模块301用于对地理区域发生的历史事件的信息进行挖掘分析,获得挖掘结果。地理区域发生的历史事件的信息可以是对历史工单数据进行预处理所得的多条工单信息。每条工单信息包括时间、地点和事件类型。挖掘结果包括地理区域中的各区域在目标时段的事件发生概率。其中,目标时段可以是一个周期内的一个或多个时段。The work order mining module 301 is configured to perform mining analysis on the information of historical events occurring in the geographical area to obtain mining results. The information of historical events occurring in the geographic area may be multiple pieces of work order information obtained by preprocessing historical work order data. Each ticket information includes time, location and event type. The mining results include the event occurrence probability of each area in the geographic area during the target period. Wherein, the target period may be one or more periods in a cycle.
策略管理模块302用于根据挖掘结果,获得视频分析策略。该视频分析策略包括地理区域中需要进行视频分析的目标时段和目标区域。挖掘结果还可以包括事件类型。相应地,视频分析策略还可以指示目标区域在目标时段可能发生事件的事件类型。The strategy management module 302 is configured to obtain a video analysis strategy according to the mining result. The video analysis strategy includes target time periods and target areas in the geographic area for which video analysis is required. Mining results can also include event types. Correspondingly, the video analysis strategy can also indicate the event types of events that may occur in the target area during the target period.
视频分析模块303用于根据视频分析策略,获取目标视频数据,对目标视频数据进行分析,获得分析结果。在一些实施例中,视频分析策略还包括事件类型。视频分析模块303可以根据视频分析策略中的事件类型,确定与上述事件类型对应的事件分析算法,利用所述事件分析算法对目标视频数据进行分析,获得分析结果。The video analysis module 303 is configured to acquire target video data according to the video analysis strategy, analyze the target video data, and obtain an analysis result. In some embodiments, the video analytics policy also includes an event type. The video analysis module 303 may determine an event analysis algorithm corresponding to the above event type according to the event type in the video analysis strategy, and use the event analysis algorithm to analyze the target video data to obtain an analysis result.
其中,视频分析模块303在对目标视频数据进行分析时,可以基于所述目标视频数据和所述事件分析算法生成视频分析作业,然后将所述视频分析作业调度至目标计算节点,例如是结合计算资源分布将视频分析作业调度至相应的目标计算节点,获得所述目标计算节点执行所述视频分析作业后的分析结果。Wherein, when the video analysis module 303 analyzes the target video data, it can generate a video analysis job based on the target video data and the event analysis algorithm, and then schedule the video analysis job to the target computing node, for example, combining computing The resource distribution schedules the video analysis job to the corresponding target computing node, and obtains the analysis result after the target computing node executes the video analysis job.
在一些可能的实现方式中,视频分析系统300还包括交互模块304。交互模块304用于支持用户通过用户界面如图形用户界面(graphical user interface,GUI)、命令用户界面(command user interface,CUI),或者是API接口,对视频分析作业执行管理操作,例如对视频分析作业执行查看、启动或停止操作。In some possible implementations, the video analysis system 300 also includes an interaction module 304 . The interaction module 304 is used to support the user to perform management operations on the video analysis job through a user interface such as a graphical user interface (graphical user interface, GUI), a command user interface (command user interface, CUI), or an API interface, such as video analysis. A job performs a view, start, or stop operation.
业务管理平台400是对事件进行处理的统一化平台,也可以称作事件处理系统。当视频分析系统300的分析结果表征所述目标区域在所述目标时段内有事件发生时,视频分析系统300可以将所述分析结果上报至业务管理平台400,以使所述业务管理平台400对所述事件进行处理。具体地,分析结果可以以工单的形式上报至业务管理平台400。其中,工单包括以下工单信息中的至少一种:时间、地点和事件类型。The service management platform 400 is a unified platform for processing events, and may also be called an event processing system. When the analysis result of the video analysis system 300 indicates that an event occurs in the target area within the target period, the video analysis system 300 may report the analysis result to the service management platform 400, so that the service management platform 400 can The event is processed. Specifically, the analysis result may be reported to the service management platform 400 in the form of a work order. The work order includes at least one of the following work order information: time, location, and event type.
业务管理平台400可以包括交互模块401和事件处理模块402。交互模块401用于支持用户通过GUI或CUI等用户界面,对视频分析系统300上报的工单进行校验。进一步地,交互模块401可以用于视频分析系统300上报的工单发生错误时,支持用户对工单进行修正。事件处理模块402用于根据工单信息,对视频分析系统300上报的工单对应的事件进行处理。具体地,事件处理模块402可以对工单执行分拨、处置、归档等流程。例如,事件处理模块402接收到火灾发生的工单时,可以根据工单中的时间和地点向消防单位发送提醒消息,以提醒消防单位就近调度消防车执行消防任务。The service management platform 400 may include an interaction module 401 and an event processing module 402 . The interaction module 401 is used to support the user to verify the work order reported by the video analysis system 300 through a user interface such as GUI or CUI. Further, the interaction module 401 can be used to support the user to correct the work order when an error occurs in the work order reported by the video analysis system 300 . The event processing module 402 is configured to process the event corresponding to the work order reported by the video analysis system 300 according to the work order information. Specifically, the event processing module 402 may perform processes such as allocating, disposing, and filing the work order. For example, when the event processing module 402 receives a work order for a fire, it can send a reminder message to the fire department according to the time and location in the work order, so as to remind the fire department to dispatch fire trucks nearby to perform fire fighting tasks.
需要说明的是,图2A所示实施例以视频分析系统300进行工单挖掘、基于工单挖掘生成视频分析策略,根据视频分析策略进行视频分析示例说明。图2A所示的视频分析系统300通过工单挖掘模块301实现工单挖掘功能。上述工单挖掘模块301可以是视频分析系统300的软件模块或者硬件模块。在一些可能的实现方式中,视频分析系统300也可以不包括上述工单挖掘模块301,工单挖掘功能可以由独立于视频分析系统300的工单挖掘系统实现。It should be noted that, in the embodiment shown in FIG. 2A , the video analysis system 300 performs work order mining, generates a video analysis strategy based on the work order mining, and illustrates an example of performing video analysis according to the video analysis strategy. The video analysis system 300 shown in FIG. 2A implements the work order mining function through the work order mining module 301 . The above-mentioned work order mining module 301 may be a software module or a hardware module of the video analysis system 300 . In some possible implementations, the video analysis system 300 may not include the above-mentioned work order mining module 301 , and the work order mining function may be implemented by a work order mining system independent of the video analysis system 300 .
类似地,视频分析系统300也可以不包括上述策略管理模块302,策略管理功能可以由独立于视频分析系统300的策略管理系统实现,或者是由具有策略管理功能的工单挖掘系统实现。Similarly, the video analysis system 300 may not include the above-mentioned policy management module 302, and the policy management function may be implemented by a policy management system independent of the video analysis system 300, or by a work order mining system with a policy management function.
以上对视频分析系统300与其他平台的交互过程进行了详细说明,接下来,对视频分析系统300的部署方式进行示例说明。The interaction process between the video analysis system 300 and other platforms has been described in detail above. Next, the deployment method of the video analysis system 300 is illustrated by way of example.
在一些可能的实现方式中,如图2B所示,当视频分析系统300为软件系统时,视频分析系统300可以部署在云环境上的一个或多个计算设备(例如:中心服务器)。在一些实施例中,视频分析系统300为硬件系统时,该视频分析系统300可以包括云环境上的一个或多个计算设备。其中,云环境指示云服务提供商拥有的,用于提供计算、存储、通信资源的中心计算设备集群。相应地,视频分析系统300可以提供视频分析的云服务以供用户使用。In some possible implementations, as shown in FIG. 2B , when the video analysis system 300 is a software system, the video analysis system 300 may be deployed on one or more computing devices (eg, a central server) in a cloud environment. In some embodiments, when the video analysis system 300 is a hardware system, the video analysis system 300 may include one or more computing devices on a cloud environment. The cloud environment indicates a cluster of central computing devices owned by the cloud service provider and used to provide computing, storage, and communication resources. Accordingly, the video analysis system 300 may provide a cloud service of video analysis for the user to use.
具体实现时,用户可以通过客户端触发启动视频分析系统300的操作,视频分析系统300可以根据视频分析策略,从视频管理平台200获取目标视频数据,然后视频分析系统300可以对目标视频分析数据进行分析,例如是基于目标视频数据和事件分析算法生成视频分析作业,然后将事件分析作业调度至目标计算节点。该目标计算节点可以是如图2B所示的终端设备,或者是云环境中的计算节点,或者是边缘环境中的计算节点。In specific implementation, the user can trigger the operation of starting the video analysis system 300 through the client. The video analysis system 300 can obtain the target video data from the video management platform 200 according to the video analysis strategy, and then the video analysis system 300 can analyze the target video data. Analysis, for example, generates a video analysis job based on target video data and an event analysis algorithm, and then schedules the event analysis job to the target computing node. The target computing node may be a terminal device as shown in FIG. 2B , or a computing node in a cloud environment, or a computing node in an edge environment.
其中,终端设备包括但不限于台式机、笔记本电脑、智能手机等用户终端,或者是具备计算能力的摄像头终端,如软件定义摄像头(Software-Defined Camera,SDC)。云环境指示云服务提供商拥有的,用于提供计算、存储、通信资源的中心计算设备集群。需要说明的是,目标计算节点所在的云环境与视频分析系统300所在的云环境可以是相同云环境,也可以是不同云环境,图2B以上述云环境为相同云环境进行示例说明。边缘环境指示在地理位置上距离终端设备(即端侧设备)较近的,用于提供计算、存储、通信资源的边缘计算设备集群。The terminal devices include but are not limited to user terminals such as desktop computers, notebook computers, and smart phones, or camera terminals with computing capabilities, such as software-defined cameras (Software-Defined Camera, SDC). A cloud environment indicates a cluster of central computing devices owned by a cloud service provider for providing computing, storage, and communication resources. It should be noted that the cloud environment where the target computing node is located and the cloud environment where the video analysis system 300 is located may be the same cloud environment or different cloud environments. FIG. 2B uses the above cloud environment as the same cloud environment for illustration. The edge environment indicates a cluster of edge computing devices that are geographically close to the terminal device (ie, the terminal-side device) and are used to provide computing, storage, and communication resources.
用户还可以通过客户端触发查看、启动或者停止视频分析作业的操作,视频分析系统300可以响应于用户的查看操作,向用户展示视频分析作业的执行进度、执行结果,或者是响应于用户的启动操作,启动相应的视频分析作业,响应于用户的停止操作,停止执行相应的视频分析作业。The user can also trigger the operation of viewing, starting or stopping the video analysis job through the client. The video analysis system 300 can display the execution progress and execution result of the video analysis job to the user in response to the user's viewing operation, or respond to the user's start. operation, start the corresponding video analysis job, and stop executing the corresponding video analysis job in response to the user's stop operation.
在另一些可能的实现方式中,视频分析系统300也可以部署在边缘环境中,例如部署在边缘环境中的一个或多个计算设备(边缘计算设备)上,或者是视频分析系统300包括边缘环境中的一个或多个计算设备。边缘计算设备可以为服务器、计算盒子等。当然,视频分析系统300还可以部署在终端设备上,或者为用于视频分析的终端设备。本实施例对此不作限定。In other possible implementations, the video analysis system 300 may also be deployed in an edge environment, for example, on one or more computing devices (edge computing devices) in the edge environment, or the video analysis system 300 includes an edge environment one or more computing devices in the . Edge computing devices can be servers, computing boxes, and the like. Of course, the video analysis system 300 may also be deployed on a terminal device, or be a terminal device used for video analysis. This embodiment does not limit this.
视频分析系统300不仅可以集中部署在云环境、边缘环境或者终端设备中。考虑到视频分析系统300可以分为多个部分,例如分为多个功能模块,上述多个功能模块还可以分布式地部署在不同环境中。The video analysis system 300 can not only be centrally deployed in a cloud environment, an edge environment or a terminal device. Considering that the video analysis system 300 can be divided into multiple parts, for example, into multiple functional modules, the above-mentioned multiple functional modules can also be deployed in different environments in a distributed manner.
以上对视频分析系统300的部署方式进行了示例说明,视频管理平台200、业务管理平台400的部署方式可以参照视频分析系统300的部署方式,在此不再赘述。The deployment mode of the video analysis system 300 is described above by way of example, and the deployment mode of the video management platform 200 and the service management platform 400 can be referred to the deployment mode of the video analysis system 300, and details are not repeated here.
接下来,从视频分析系统300的角度,结合附图对本申请实施例提供的视频分析方法进行介绍。Next, from the perspective of the video analysis system 300, the video analysis method provided by the embodiments of the present application is introduced with reference to the accompanying drawings.
参见图3所示的视频分析方法的流程图,该方法包括如下步骤:Referring to the flowchart of the video analysis method shown in FIG. 3, the method includes the following steps:
S302:视频分析系统300获取地理区域中发生的历史事件的信息。S302: The video analysis system 300 acquires information of historical events that occurred in the geographic area.
具体地,视频分析系统300可以获取该地理区域的历史工单数据,根据该历史工单数据获取地理区域中发生的历史事件的信息。该历史事件的信息包括多条工单信息,每条工单信息包括时间、地点和时间类型。Specifically, the video analysis system 300 may acquire historical work order data of the geographical area, and acquire information of historical events occurring in the geographical area according to the historical work order data. The information of the historical event includes multiple pieces of work order information, and each piece of work order information includes time, location, and time type.
其中,地理区域的历史工单数据来源于以下数据中的一种或多种:人员上报的事件,人工巡检的事件,视频分析系统300分析得到的历史事件。上述历史工单数据通常是非结构化的数据,例如是人工上报的工单图像,视频分析系统300分析得到的工单图像,或者是人员上报的工单文本、工单语音等等。基于此,视频分析系统300可以对地理区域的历史工单数据进行预处理,从而获得地理区域中发生的历史事件的信息。该历史事件的信息为结构化的数据。Wherein, the historical work order data of the geographic area comes from one or more of the following data: events reported by personnel, events of manual inspection, and historical events analyzed by the video analysis system 300 . The above historical work order data is usually unstructured data, such as work order images reported manually, work order images analyzed by the video analysis system 300, or work order text and work order voices reported by personnel. Based on this, the video analysis system 300 may preprocess the historical work order data of the geographic area, so as to obtain information of historical events that occurred in the geographic area. The information of the historical event is structured data.
根据工单历史数据的类型不同,视频分析系统300可以采用不同的预处理方式。例如,历史工单数据为工单图像时,视频分析系统300可以通过图像识别算法对工单图像进行识别,从而获得地理区域中发生的历史事件的信息。又例如,历史工单数据为工单文本时,视频分析系统300可以通过NLP等技术进行关键信息提取,从而获得地理区域中发生的历史事件的信息。还例如,历史工单数据为工单语音时,视频分析系统300可以通过ASR等技术对工单语音进行识别,获得工单文本,然后通过NLP等方式对工单文本进行关键信息提取,从而获得地理区域中发生的历史事件的信息。According to different types of work order history data, the video analysis system 300 may adopt different preprocessing methods. For example, when the historical work order data is a work order image, the video analysis system 300 can identify the work order image through an image recognition algorithm, thereby obtaining information of historical events that occurred in a geographic area. For another example, when the historical work order data is work order text, the video analysis system 300 can extract key information through technologies such as NLP, so as to obtain information of historical events that occurred in the geographic area. Also for example, when the historical work order data is the work order voice, the video analysis system 300 can recognize the work order voice through ASR and other technologies, obtain the work order text, and then extract key information from the work order text through NLP and other methods, so as to obtain the work order text. Information on historical events that occurred in a geographic area.
进一步地,视频分析系统300可以存储地理区域中发生的历史事件的信息,例如存储到工单数据库中,以便于后续基于该历史事件的信息进行进一步地挖掘分析。为了便于理解,本申请实施例还提供了相应的示例进行说明。Further, the video analysis system 300 may store the information of historical events occurring in the geographic area, for example, in the work order database, so as to facilitate further mining and analysis based on the information of the historical events in the future. For ease of understanding, the embodiments of the present application also provide corresponding examples for description.
参见图4所示的工单数据库的示意图,如图4所示,工单数据库包括多条工单信息,每条工单信息包括时间、地点和事件类型。其中,时间可以是发生时间。上报时间和发生时间大致相同,或者相差较小,可以忽略不计时,也可以是上报时间。工单信息中的时间一般可以精确到分或秒。地点可以精确到城市规划的区(县级),在一些实施例中,地点也可以精确到建筑物或建筑物的门牌号。事件类型可以包括事件大类和事件小类,其中,事件大类例如可以是环境卫生、绿化亮化、市容秩序等等,事件小类例如可以是牛皮癣、道路不洁等等。Referring to the schematic diagram of the work order database shown in FIG. 4 , as shown in FIG. 4 , the work order database includes multiple pieces of work order information, and each piece of work order information includes time, location, and event type. Wherein, time may be the time of occurrence. The reporting time and the occurrence time are roughly the same, or the difference is small, which can be ignored or not, or it can be the reporting time. The time in the ticket information can generally be accurate to minutes or seconds. The location can be accurate to the district (county level) of the city plan, and in some embodiments, the location can also be accurate to the building or the house number of the building. Event types may include event categories and event subcategories, wherein the event category may be, for example, environmental sanitation, greening and lighting, city appearance order, and the like, and the event subcategory may be, for example, psoriasis, unclean roads, and the like.
如图4所示,工单信息还可以包括工单来源。在一些实施例中,工单来源可以包括人工巡检(例如是网格员巡检后上报)、人员上报(例如是市民通过热线电话、信箱等方式上报)、AI分析(例如是视频分析系统300分析)中的任意一种或多种。进一步地,工单信息还可以包括其他辅助信息,例如是事件描述信息。As shown in FIG. 4 , the work order information may further include the work order source. In some embodiments, the source of the work order may include manual inspection (for example, grid personnel report after inspection), personnel report (for example, citizens report via hotline, mailbox, etc.), AI analysis (for example, video analysis system) 300 Analysis) any one or more. Further, the work order information may also include other auxiliary information, such as event description information.
S304:视频分析系统300对所述历史事件的信息进行挖掘分析,获得挖掘结果。S304: The video analysis system 300 performs mining analysis on the information of the historical event to obtain a mining result.
具体地,视频分析系统300可以选择至少一种数据分析方法,例如是数值统计、知识图谱或者是强化学习等方法中的至少一种,对历史事件的信息进行挖掘分析,获得挖掘结果。该挖掘结果包括所述地理区域中的各区域在目标时段的事件发生概率。Specifically, the video analysis system 300 may select at least one data analysis method, such as at least one of numerical statistics, knowledge graph, or reinforcement learning, to mine and analyze the information of historical events to obtain mining results. The mining result includes the event occurrence probability of each area in the geographic area during the target period.
为了便于理解,下面以基于数值统计的方式进行挖掘分析和基于知识图谱的方式进行挖掘分析示例说明。For ease of understanding, examples of mining analysis based on numerical statistics and mining analysis based on knowledge graphs are described below.
在第一种实现方式中,视频分析系统300可以统计地理区域中的各区域在过去一段时间中各时段的事件发生频率,基于事件发生频率估计地理区域中的各区域在目标时段的事件发生概率。In a first implementation manner, the video analysis system 300 can count the occurrence frequency of events in each region in the geographical area in each time period in the past period of time, and estimate the event occurrence probability of each region in the geographical area in the target time period based on the event occurrence frequency .
进一步地,视频分析系统300还可以按照事件类型,分别统计地理区域中的各区域在过去一段时间中各时段的某一类型的事件的发生频率,然后基于不同类型的事件的发生频率统计不同事件类型的事件发生概率。Further, the video analysis system 300 can also count the occurrence frequency of a certain type of event in each region in the geographical area in the past period of time according to the event type, and then count different events based on the occurrence frequency of different types of events. Type of event probability.
下面结合一具体示例进行说明。该示例中,过去一段时间可以为T天,每天可以按小时分为24个时段,工单数据库提供历史T天的工单信息,视频分析系统300可以通过如下公式确定地理区域中的每个区域在每个时段,各类型的事件的发生频率:The following description will be given in conjunction with a specific example. In this example, the past period of time can be T days, and each day can be divided into 24 time periods by hour. The work order database provides historical work order information for T days. The video analysis system 300 can determine each area in the geographic area by the following formula In each period, the frequency of each type of event:
其中,p(n,t,i)为在视频源n下,一天的第t个时段中,事件类型i的事件的发生频率,1≤n≤N,1≤t≤24。I(T′,n,t,i)为标记函数,表示在第T′天的工单中,在视频源n下,一天的第t个时段中,事件类型i的事件是否有发生,如果有发生,其值为1,否则为0。Wherein, p(n, t, i) is the frequency of events of event type i in the t-th period of the day under video source n, 1≤n≤N, 1≤t≤24. I(T', n, t, i) is a marking function, indicating whether an event of event type i occurs in the t-th period of the day under the video source n in the work order of day T', if Has occurred, its value is 1, otherwise it is 0.
当数据量足够大时,视频分析系统300可以将事件的发生频率近似为事件发生概率,从而得到不同事件类型的事件在时空上的概率分布Φ。在该示例中,概率分布Φ是一个N×24×C的矩阵,其中,C为事件类型的数量,矩阵中的每一个元素用于表征一个区域在一个时段中一种事件类型的事件发生概率。视频分析系统300可以根据上述概率分布Φ,获得地理区域中的各区域在目标时段的事件发生概率。When the amount of data is large enough, the video analysis system 300 can approximate the occurrence frequency of the event as the event occurrence probability, so as to obtain the probability distribution Φ of events of different event types in space and time. In this example, the probability distribution Φ is an N×24×C matrix, where C is the number of event types, and each element in the matrix is used to characterize the event occurrence probability of an event type in a region in a time period . The video analysis system 300 can obtain the event occurrence probability of each region in the geographic region in the target time period according to the above probability distribution Φ.
在第二种实现方式中,视频分析系统300可以构建工单图谱,基于工单图谱进行挖掘分析,进而获得地理区域中的各区域在目标时段的事件发生概率。其中,视频分析系统300在对工单图谱进行挖掘分析时,可以对特定事件的发生趋势进行预测,从而获得该特定事件的事件发生概率。视频分析系统300也可以基于工单图谱,融合不同事件的事理关系(例如是事件之间的顺承、因果、条件和上下位等事理逻辑关系),对各热点事件的发生趋势进行预测,从而获得各热点事件的事件发生概率。In the second implementation manner, the video analysis system 300 may construct a work order map, perform mining analysis based on the work order map, and then obtain the event occurrence probability of each region in the geographical area in the target period. The video analysis system 300 can predict the occurrence trend of a specific event when mining and analyzing the work order map, so as to obtain the event occurrence probability of the specific event. The video analysis system 300 can also integrate the eventual relationship of different events (for example, the eventual logical relationship between events, such as succession, causation, condition, and upper and lower levels) based on the work order map, and predict the occurrence trend of each hot event, thereby. Obtain the event occurrence probability of each hot event.
参见图5A所示的一种基于知识图谱进行挖掘分析的流程示意图,在对历史工单数据提取工单信息后,视频分析系统300可以基于工单信息构建知识图谱。知识图谱是由若干顶点按照规则相互连接而成的图结构数据。其中,基于工单信息构建的知识图谱也称作工单图谱。工单图谱以事件为顶点,每个顶点至少包括时间、地点和事件类型在内的三种属性。顶点之间根据时间、地点、事件类型的关联性彼此相互连接。Referring to a schematic flowchart of mining and analysis based on a knowledge graph shown in FIG. 5A , after extracting work order information from historical work order data, the video analysis system 300 can construct a knowledge graph based on the work order information. A knowledge graph is a graph structure data composed of several vertices connected to each other according to rules. Among them, the knowledge graph constructed based on the work order information is also called the work order graph. The ticket graph takes events as vertices, and each vertex includes at least three attributes including time, location and event type. The vertices are connected to each other according to the time, place, and event type association.
视频分析系统300可以从工单图谱中提取时间序列特征、空间序列特征和相关事件特征等不同的特征,上述不同的特征可以整合成特征向量,然后将该特征向量输入已训练的预测模型,可以预测某区域中该特定事件的发生趋势。如图5A所示,该特定事件的发生趋势通过曲线表征,该曲线用于表征不同时段下,特定事件在某区域的事件发生概率。与基于数值统计的分析方法相比,该方法引入不同的图谱特征,基于更多、更丰富的特征进行预测,可以提升预测准确度,为AI能力调度提供更多帮助。The video analysis system 300 can extract different features such as time series features, spatial sequence features, and related event features from the work order map. Predict the trend of that particular event in an area. As shown in FIG. 5A , the occurrence trend of the specific event is represented by a curve, and the curve is used to represent the event occurrence probability of the specific event in a certain area under different time periods. Compared with the analysis method based on numerical statistics, this method introduces different map features and makes predictions based on more and richer features, which can improve the prediction accuracy and provide more help for AI capability scheduling.
参见图5B所示的另一种基于知识图谱进行挖掘分析的流程示意图,在对历史工单数据提取工单信息后,视频分析系统300可以基于工单信息构建工单图谱。然后视频分析系统300可以基于工单图谱进行不同地区动态热点事件挖掘,获得事理关联时空动态图模型,以及从工单图谱中提取时间序列特征、空间序列特征和相关时间特征。接着将事理关联时空动态图模型和时间序列特征、空间序列特征和相关时间特征整合,输入已训练的预测模型,以对不同事件类型的事件发生概率进行预测。Referring to another schematic flowchart of mining and analysis based on a knowledge graph shown in FIG. 5B , after extracting work order information from historical work order data, the video analysis system 300 can construct a work order graph based on the work order information. The video analysis system 300 can then mine dynamic hot events in different regions based on the work order map, obtain a spatiotemporal dynamic graph model of event correlation, and extract time series features, spatial sequence features, and related temporal features from the work order map. Then, the event-related spatiotemporal dynamic graph model is integrated with time series features, spatial sequence features and related time features, and the trained prediction model is input to predict the event occurrence probability of different event types.
预测模型可以是图神经网络模型(graph neural networks,GNN)。其中,GNN模型可以包括多种类型,图5B以时空图卷积网络模型(temporal Graph Convolutional Networks)进行示例说明。该预测模型可以输出各事件类型的事件发生概率。在该方法中,基于GNN的预测模型能够融合不同事件的事理关系以及多维度时空属性进行预测,进一步提高准确度。The prediction model can be a graph neural network (GNN). Among them, the GNN model can include various types, and FIG. 5B is illustrated with a temporal Graph Convolutional Networks model. The prediction model can output the event occurrence probability of each event type. In this method, the GNN-based prediction model can integrate the eventual relationship of different events and multi-dimensional spatiotemporal attributes for prediction, which further improves the accuracy.
为了便于理解,本申请还提供了一具体示例进行说明。For ease of understanding, the present application also provides a specific example for description.
参见图6所示的工单图谱的示意图,在该示例中,某城市的地点A在时间8点时发生了积水事件,基于该积水事件可以构建工单图谱的一个顶点,该顶点的属性可以包括如下键值对:(地点,A)、(时间,8点)、(事件类型,路面积水)。随后仍在地点A,时间为9点、10点时,该积水事件仍存在,因而可以构建工单图谱的另外两个顶点。由于这三次积水事件在时间、地点和事件类型上具有关联性,因而可以将上述三个顶点连接。Referring to the schematic diagram of the work order map shown in FIG. 6 , in this example, a water accumulation event occurred at location A in a certain city at 8:00, and a vertex of the work order map can be constructed based on the water accumulation event. Attributes can include the following key-value pairs: (location, A), (time, 8 o'clock), (event type, road surface water). Then, at location A, at 9 o'clock and 10 o'clock, the water accumulation event still exists, so the other two vertices of the work order map can be constructed. Since these three flood events are related in time, place and event type, the above three vertices can be connected.
地点A和地点B相邻,地点B在时间9点时也发生了积水事件,由于地点、时间、事件类型的关联性,地点B的积水事件的顶点也与地点A的积水事件的顶点关联。此外,地面积水导致地点A在9点时引发了堵车事件,由于地点、时间的关联性,堵车事件的顶点也和地点A的三个积水事件的顶点关联。Location A is adjacent to location B, and location B also had a water accumulation event at 9:00. Due to the correlation of location, time, and event type, the apex of the water accumulation event at location B is also the same as the one at location A. Vertex association. In addition, the ground water caused a traffic jam event at location A at 9 o'clock. Due to the correlation between location and time, the vertices of the traffic jam event were also associated with the vertices of the three water accumulation events at location A.
基于上述图谱中顶点的连接关系,可以获得事件在时序上的延续性,在地理位置上的关联性,以及对其他事件的影响。基于此,视频分析系统可以从图谱中提取时间序列特征、空间序列特征和相关事件特征等,输入预测模型进行预测,获得事件发生概率。例如,预测地点A在11点发生积水事件的概率时,可以获取该地点A在8点、9点、10点的积水事件发生情况,作为该事件的时间序列特征。地点A和地点B相邻,可以获取地点B的积水事件发生情况,作为该事件的空间序列特征。积水事件和其他事件(例如是堵车事件)关联,因而可以获取地点A在8点、9点、10点时其他事件的发生情况作为相关事件特征。通过将上述特征整合为特征向量,输入已训练的预测模型,可以获得地点A在11点发生积水事件的概率。Based on the connection relationship of the vertices in the above graph, the continuity of events in time series, the correlation in geographical location, and the impact on other events can be obtained. Based on this, the video analysis system can extract time-series features, spatial-sequence features, and related event features from the atlas, and input the prediction model for prediction to obtain the probability of event occurrence. For example, when predicting the probability of a water accumulation event at 11:00, the occurrence of water accumulation at this location A at 8:00, 9:00, and 10:00 can be obtained as the time series feature of the event. The location A and location B are adjacent, and the occurrence of the water accumulation event at location B can be obtained as the spatial sequence feature of the event. The water accumulation event is related to other events (such as traffic jam events), so the occurrence of other events at 8:00, 9:00, and 10:00 at location A can be obtained as the relevant event features. By integrating the above features into a feature vector and inputting the trained prediction model, the probability of a water accumulation event at 11 o'clock in location A can be obtained.
S306:视频分析系统300根据挖掘结果生成针对所述地理区域的所述视频分析策略。S306: The video analysis system 300 generates the video analysis strategy for the geographical area according to the mining result.
视频分析策略包括所述地理区域中需要进行视频分析的目标时段和目标区域。例如,该目标时段和目标区域可以是概率分布Φ中事件发生概率大于预设阈值的元素所对应的时段和区域。在一些可能的实现方式中,视频分析策略还以包括事件类型。该事件类型例如可以是概率分布Φ中事件发生概率大于预设阈值的元素所对应的事件类型。The video analysis strategy includes a target time period and a target area in the geographic area for which video analysis needs to be performed. For example, the target time period and target area may be the time period and area corresponding to the elements in the probability distribution Φ whose event occurrence probability is greater than the preset threshold. In some possible implementations, the video analysis strategy also includes event types. The event type may be, for example, an event type corresponding to an element in the probability distribution Φ whose event occurrence probability is greater than a preset threshold.
视频分析系统300可以根据挖掘结果中地理区域的各区域在目标时段的事件发生概率确定目标区域,基于目标时段和目标区域生成视频分析策略。进一步地,挖掘结果中的事件发生概率包括各事件类型的事件发生概率时,视频分析系统300可以根据目标时段、目标区域、事件类型(例如是与目标区域对应的目标事件类型)生成针对所述地理区域的视频分析策略。The video analysis system 300 may determine the target area according to the event occurrence probability of each area of the geographic area in the mining result in the target period, and generate a video analysis strategy based on the target period and the target area. Further, when the event occurrence probability in the mining result includes the event occurrence probability of each event type, the video analysis system 300 may generate a target event type corresponding to the target area according to the target period, target area, and event type (for example, the target event type corresponding to the target area). Video analytics strategies for geographic regions.
在一些可能的实现方式中,视频分析系统300还可以获取计算资源的信息。其中,计算资源是包括分布在各个地方的计算节点的集合。该集合中的计算节点可以并发计算。本申请中,该集合允许并行执行的视频分析作业的最大数量称为计算资源的最大并发数量。计算资源的信息包括计算资源的最大并发数量。视频分析系统300还可以根据所述最大并发数量,更新所述视频分析策略。In some possible implementations, the video analysis system 300 may also obtain information on computing resources. Among them, the computing resource is a set including computing nodes distributed in various places. Compute nodes in this set can compute concurrently. In this application, the maximum number of video analysis jobs that the set allows to execute in parallel is referred to as the maximum concurrent number of computing resources. The information of computing resources includes the maximum concurrent number of computing resources. The video analysis system 300 may also update the video analysis policy according to the maximum concurrent number.
具体地,当所述目标时段需要进行视频分析的目标区域的数量大于所述最大并发数量时,视频分析系统300可以根据地理区域中的各区域在目标时段的事件发生概率,更新在目标时段需要进行视频分析的目标区域。更新后的目标区域的数量小于或等于上述最大并发数量。其中,更新后的目标区域可以为上述概率由大到小排序靠前的区域。在一些实施例中,更新后的目标区域包括概率由大到小排序前M的区域。其中,M为最大并发数量。Specifically, when the number of target areas for which video analysis needs to be performed in the target period is greater than the maximum concurrent number, the video analysis system 300 may update the target period according to the event occurrence probability of each area in the geographical area during the target period. Target area for video analysis. The number of updated target regions is less than or equal to the maximum concurrent number above. Wherein, the updated target area may be the area with the above-mentioned probability in descending order. In some embodiments, the updated target area includes the top M areas in descending order of probability. Among them, M is the maximum concurrent number.
类似地,地理区域中的各区域在目标时段的事件发生概率包括各事件类型的事件发生概率,即各区域在目标时段发生各类型事件的概率时,视频分析系统300还可以根据所述地理区域中的各区域在所述目标时段发生各类型事件的概率,获得与更新后的所述目标区域对应的事件类型。更新后的视频分析策略还包括该事件类型。Similarly, the event occurrence probability of each area in the geographical area during the target period includes the event occurrence probability of each event type, that is, when the probability of each type of event occurring in each area in the target period, the video analysis system 300 can also be based on the geographical area. The probability of occurrence of various types of events in each area in the target period is obtained, and the event type corresponding to the updated target area is obtained. The updated video analytics policy also includes this event type.
为了便于理解,下面结合示例进行说明。视频分析系统300可以根据概率分布Φ,在一天中的每个时段,选取概率最大的前M个区域-事件类型组合,生成视频分析策略,该视频分析策略指示在对应时段,按照概率最大的前M个区域-事件类型组合,对相应区域的目标 视频数据进行分析,以确定相应类型的事件是否发生。其中,视频分析策略也可以表示为一个矩阵Ψ,该矩阵Ψ也可以称作AI能力调度矩阵。For ease of understanding, the following description is given with examples. The video analysis system 300 can, according to the probability distribution Φ, select the top M area-event type combinations with the highest probability in each time period of the day, and generate a video analysis strategy, which indicates that in the corresponding time period, according to the highest probability before the There are M area-event type combinations, and the target video data of the corresponding area is analyzed to determine whether an event of the corresponding type occurs. The video analysis strategy can also be expressed as a matrix Ψ, which can also be called an AI capability scheduling matrix.
其中,矩阵Ψ是一个N×24×C的矩阵,该矩阵中每个元素的取值为0或1,用于表示在对应时段和对应区域是否调度相应事件类型的AI能力,也即是否对相应的视频数据进行分析,以确定是否发生相应事件类型的事件。Among them, the matrix Ψ is an N×24×C matrix, and the value of each element in the matrix is 0 or 1, which is used to indicate whether to schedule the AI capability of the corresponding event type in the corresponding time period and corresponding area, that is, whether to The corresponding video data is analyzed to determine whether an event of the corresponding event type occurs.
在一些可能的实现方式中,历史工单数据可以有一部分来源于视频分析系统300分析得到的历史事件,考虑到视频分析系统300存在误检的情况,业务管理平台400还可以对视频分析系统300上报的分析结果进行校验,从而保障对历史工单数据中历史事件的信息进行挖掘分析的有效性。在另一些可能的实现方式中,视频分析系统300也可以设置异常终止机制,以保障对历史工单数据中历史事件的信息进行挖掘分析的有效性,进而保障视频分析策略的准确性。In some possible implementations, part of the historical work order data may come from historical events analyzed by the video analysis system 300 . Considering that the video analysis system 300 has false detections, the service management platform 400 can also analyze the video analysis system 300 The reported analysis results are verified to ensure the validity of mining and analysis of historical event information in historical work order data. In other possible implementation manners, the video analysis system 300 may also set an abnormal termination mechanism to ensure the validity of mining and analysis of historical event information in historical work order data, thereby ensuring the accuracy of the video analysis strategy.
该异常终止机制可以为:当终止条件被满足时,将视频分析系统300分析得到的历史事件排除。可以基于剩余的历史事件如人员上报的事件、人工巡检的事件的信息进行挖掘分析。在一些实施例中,也可以将视频分析系统300分析得到的特定历史事件排除,基于剩余的历史事件的信息进行挖掘分析。The abnormal termination mechanism may be: when the termination condition is satisfied, the historical events analyzed by the video analysis system 300 are excluded. Mining and analysis can be performed based on information on remaining historical events, such as events reported by personnel and events manually inspected. In some embodiments, the specific historical events analyzed by the video analysis system 300 may also be excluded, and mining analysis is performed based on the information of the remaining historical events.
其中,终止条件可以是至少一个区域-事件类型组合的调度频率大于预设频率。其中,调度频率可以是一天内(例如是过去的一天内)上述区域-事件类型组合的调度时长(调度相应AI能力的时长)相对于一天时长的比值。预设频率可以根据经验值设置,例如可以设置为70%。进一步地,终止条件还可以包括调度频率大于预设频率的区域-事件类型组合的数量小于计算资源的最大并发数量的预设比例。该预设比例可以根据经验值设置,例如可以设置为30%。、The termination condition may be that the scheduling frequency of at least one area-event type combination is greater than a preset frequency. The scheduling frequency may be the ratio of the scheduling duration (duration of scheduling the corresponding AI capability) of the above region-event type combination within a day (eg, the past day) to the duration of one day. The preset frequency can be set according to the experience value, for example, it can be set to 70%. Further, the termination condition may further include a preset ratio where the number of region-event type combinations whose scheduling frequency is greater than the preset frequency is less than the preset ratio of the maximum concurrent number of computing resources. The preset ratio can be set according to the experience value, for example, it can be set as 30%. ,
为了便于理解,本申请还提供了一个示例。例如,过去一天的调度策略可以通过矩阵Ψ′表征。矩阵Ψ′中的每个元素用于表示对应区域的对应时段是否调度与相应事件类型对应的AI能力。例如,元素取值为1,表示调度对应的AI能力,元素取值为0,表示不调度对应的AI能力。视频分析系统300可以通过矩阵Ψ′确定区域-事件类型组合的调度频率,并对调度频率大于预设频率如70%的区域-事件类型组合进行计数。当该数量小于或等于计算资源的最大并发数量的预设比例如30%时,当日的调度策略可以保持不变。当该数量大于计算资源的最大并发数量的预设比例时,可以触发异常终止机制,并更新当日的调度策略。如此可以解决事件分析算法等AI算法持续产生误判的事件,遗漏真实的事件的问题,提高了可用性。For ease of understanding, this application also provides an example. For example, the scheduling policy for the past day can be characterized by the matrix Ψ'. Each element in the matrix Ψ' is used to indicate whether the AI capability corresponding to the corresponding event type is scheduled for the corresponding time period of the corresponding area. For example, the value of the element is 1, indicating that the corresponding AI capability is scheduled, and the value of the element is 0, which means that the corresponding AI capability is not scheduled. The video analysis system 300 can determine the scheduling frequency of the area-event type combination through the matrix Ψ', and count the area-event type combination whose scheduling frequency is greater than a preset frequency, such as 70%. When the number is less than or equal to a preset ratio of the maximum concurrent number of computing resources, such as 30%, the scheduling policy of the day can remain unchanged. When the number is greater than the preset ratio of the maximum concurrent number of computing resources, the abnormal termination mechanism can be triggered, and the scheduling policy of the day can be updated. This can solve the problem that AI algorithms such as event analysis algorithms continue to generate misjudged events and miss real events, improving usability.
需要说明的是,上述S302至S306为本实施例中视频分析系统300获取视频分析策略的一种可选实施方式,在本实施例其他可能的实现方式中,工单挖掘系统可以对历史事件的信息进行挖掘分析,获得分析结果,并基于该分析结果获得视频分析策略。视频分析系统300可以从工单挖掘系统获得视频分析策略。It should be noted that the above S302 to S306 are an optional implementation manner for the video analysis system 300 to obtain the video analysis strategy in this embodiment. In other possible implementation manners of this embodiment, the work order mining system may The information is mined and analyzed, the analysis result is obtained, and the video analysis strategy is obtained based on the analysis result. Video analytics system 300 may obtain video analytics policies from the work order mining system.
S308:视频分析系统300根据视频分析策略获取目标视频数据。S308: The video analysis system 300 acquires target video data according to the video analysis strategy.
具体地,视频分析策略中包括目标区域和目标时段,视频分析系统300可以根据目标区域从视频管理平台200接入的多路视频源100中确定目标视频源,然后从该目标视频源获取目标时段的视频数据,从而获得目标视频数据。Specifically, the video analysis strategy includes a target area and a target time period. The video analysis system 300 can determine the target video source from the multi-channel video sources 100 accessed by the video management platform 200 according to the target area, and then obtain the target time period from the target video source. video data to obtain the target video data.
进一步地,视频分析系统300结合计算资源分布获得表征视频分析策略的AI能力调度矩阵Ψ时,也可以根据该AI能力调度矩阵从视频管理平台200获取目标视频数据。例如,视频 分析系统300可以根据AI能力调度矩阵Ψ中元素值为1的元素所对应的时段和区域,获取该区域在目标时段的视频数据,从而获得目标视频数据。Further, when the video analysis system 300 obtains the AI capability scheduling matrix Ψ representing the video analysis strategy based on the distribution of computing resources, the target video data can also be obtained from the video management platform 200 according to the AI capability scheduling matrix. For example, the video analysis system 300 can schedule the time period and area corresponding to the element whose element value is 1 in the matrix Ψ according to the AI capability, and obtain the video data of the area in the target time period, thereby obtaining the target video data.
在一些可能的实现方式中,视频分析系统300也可以在获得挖掘结果后,直接根据挖掘结果中地理区域的各区域在目标时段的事件发生概率,获取目标视频数据。该目标视频数据记录了所述地理区域中的所述目标区域在所述目标时段的状况。其中,目标区域可以为事件发生概率满足预设条件的区域。在一些实施例中,该预设条件可以是事件发生概率大于预设阈值。在另一些实施例中,该预设条件可以是事件发生概率由大至小排序前M。当然,预设条件还可以是事件发生概率大于预设阈值,且由大至小排序前M。In some possible implementations, after obtaining the mining results, the video analysis system 300 may directly obtain the target video data according to the event occurrence probability of each region in the geographic region in the mining results in the target period. The target video data records the condition of the target area in the geographic area during the target period. The target area may be an area where the event occurrence probability satisfies a preset condition. In some embodiments, the preset condition may be that the event occurrence probability is greater than a preset threshold. In other embodiments, the preset condition may be the top M in order of event occurrence probability in descending order. Of course, the preset condition may also be that the event occurrence probability is greater than the preset threshold, and the top M is sorted from largest to smallest.
S310:视频分析系统300根据视频分析策略中的事件类型,确定与所述事件类型对应的事件分析算法。S310: The video analysis system 300 determines an event analysis algorithm corresponding to the event type according to the event type in the video analysis strategy.
具体地,视频分析策略中包括事件类型时,视频分析系统300可以从多种事件分析算法中确定与该事件类型对应的事件分析算法,以用于对目标视频数据进行分析。Specifically, when an event type is included in the video analysis strategy, the video analysis system 300 may determine an event analysis algorithm corresponding to the event type from a variety of event analysis algorithms, so as to analyze the target video data.
类似地,视频分析系统300结合计算资源分布获得表征视频分析策略的AI能力调度矩阵Ψ时,也可以根据该AI能力调度矩阵中元素值为1的元素所对应的事件类型,确定与该事件类型对应的事件分析算法。Similarly, when the video analysis system 300 obtains the AI capability scheduling matrix Ψ representing the video analysis strategy in combination with the distribution of computing resources, it can also determine the type of event corresponding to the element whose value is 1 in the AI capability scheduling matrix. The corresponding event analysis algorithm.
需要说明的是,上述S308和S310可以并行执行,也可以按照设定的顺序先后执行,本申请实施例对此不作限定。此外,上述S310为本申请实施例的可选步骤,执行本申请实施例的视频分析方法,也可以不执行上述S310。例如,视频分析策略中不包括事件类型,或者用户关注某种特定事件类型是否发生,而不关注其他事件类型是否发生时,也可以不执行上述S310。It should be noted that, the foregoing S308 and S310 may be executed in parallel, or may be executed sequentially according to the set order, which is not limited in this embodiment of the present application. In addition, the foregoing S310 is an optional step of this embodiment of the present application, and the above-mentioned S310 may not be executed to execute the video analysis method of this embodiment of the present application. For example, when the video analysis strategy does not include event types, or the user is concerned about whether a certain event type occurs, but does not care about whether other event types occur, the above-mentioned S310 may not be performed.
S312:视频分析系统300基于所述目标视频数据和所述事件分析算法生成视频分析作业。S312: The video analysis system 300 generates a video analysis job based on the target video data and the event analysis algorithm.
具体地,视频分析系统300可以直接将目标视频数据和事件分析算法的代码包打包生成视频分析作业。在一些实施例中,视频分析系统300也可以将目标视频数据和事件分析算法的标识打包生成视频分析作业。其中,事件分析算法的标识可以包括事件分析算法的名称、哈希码等。事件分析算法的标识用于指示视频分析作业的执行节点获取相应的事件分析算法,对目标视频数据进行分析。Specifically, the video analysis system 300 can directly package the target video data and the code package of the event analysis algorithm to generate a video analysis job. In some embodiments, the video analysis system 300 may also package the target video data and the identification of the event analysis algorithm to generate a video analysis job. The identifier of the event analysis algorithm may include the name of the event analysis algorithm, a hash code, and the like. The identifier of the event analysis algorithm is used to instruct the execution node of the video analysis job to obtain the corresponding event analysis algorithm and analyze the target video data.
S314:视频分析系统300将所述视频分析作业调度至目标计算节点。S314: The video analysis system 300 schedules the video analysis job to the target computing node.
具体地,视频分析系统300可以将上述视频分析作业分别调度至作业的执行节点,该执行节点称作目标计算节点。目标计算节点可以是终端设备,即终端计算节点,也可以是云环境中的计算节点,或者是边缘环境中的计算节点。Specifically, the video analysis system 300 may schedule the above-mentioned video analysis jobs respectively to execution nodes of the jobs, and the execution nodes are called target computing nodes. The target computing node may be a terminal device, that is, a terminal computing node, a computing node in a cloud environment, or a computing node in an edge environment.
考虑到时延问题,视频分析系统300可以先确定空闲的计算节点,然后从空闲的计算节点中选择距离最近的M个计算节点作为目标计算节点,然后将视频分析作业调度至上述目标计算节点,以便于目标计算节点执行上述视频分析作业。Considering the delay problem, the video analysis system 300 can first determine the idle computing nodes, and then select the nearest M computing nodes from the idle computing nodes as the target computing nodes, and then schedule the video analysis job to the above-mentioned target computing nodes, In order to facilitate the target computing node to perform the above video analysis job.
S316:视频分析系统300获得目标计算节点执行视频分析作业后的分析结果。当分析结果表征目标区域在目标时段内有事件发生时,执行S318。S316: The video analysis system 300 obtains the analysis result after the target computing node performs the video analysis job. When the analysis result indicates that an event occurs in the target area within the target period, S318 is executed.
具体地,目标计算节点执行视频分析作业时,可以执行视频分析作业中事件分析算法的代码包,以运行事件分析算法,通过该事件分析算法对该视频分析作业中的目标视频数据进行分析,可以获得分析结果。Specifically, when the target computing node executes the video analysis job, it can execute the code package of the event analysis algorithm in the video analysis job to run the event analysis algorithm. Get analysis results.
在一些可能的实现方式中,目标计算节点也可以根据视频分析作业中事件分析算法的标识,获取事件分析算法的代码包,例如可以从本地(目标计算节点直接连接的存储设备)或远端(目标计算节点通过网络连接的存储设备)获取事件分析算法的代码包,然后执行该事 件分析算法的代码包,以运行事件分析算法,通过该事件分析算法对该视频分析作业中的目标视频数据进行分析,可以获得分析结果。In some possible implementations, the target computing node can also obtain the code package of the event analysis algorithm according to the identifier of the event analysis algorithm in the video analysis job. The target computing node obtains the code package of the event analysis algorithm through the network-connected storage device), and then executes the code package of the event analysis algorithm to run the event analysis algorithm, and the target video data in the video analysis job is processed through the event analysis algorithm. analysis, the analysis results can be obtained.
视频分析系统300可以接收目标计算节点返回的分析结果。当分析结果表征目标区域在目标时段内有事件发生时,也即目标视频数据中检测到事件时,视频分析系统300可以执行分析结果上报流程,具体如S318所示。The video analysis system 300 may receive the analysis result returned by the target computing node. When the analysis result indicates that an event occurs in the target area within the target period, that is, when an event is detected in the target video data, the video analysis system 300 may perform the analysis result reporting process, as shown in S318.
上述S312至S316为本申请实施例中视频分析系统300对所述目标视频数据进行分析,获得分析结果的一种实现方式。在本申请实施例其他可能的实现方式中,视频分析系统300还可以通过其他方式对目标视频数据进行分析,例如视频分析系统300可以直接调用事件分析算法,对目标视频数据进行分析。本实施例对此不作限定。The foregoing S312 to S316 are an implementation manner in which the video analysis system 300 in this embodiment of the present application analyzes the target video data and obtains an analysis result. In other possible implementation manners of the embodiments of the present application, the video analysis system 300 may also analyze the target video data in other ways. For example, the video analysis system 300 may directly call an event analysis algorithm to analyze the target video data. This embodiment does not limit this.
S318:视频分析系统300将所述分析结果上报至业务管理平台400,以使所述业务管理平台400对所述事件进行处理。S318: The video analysis system 300 reports the analysis result to the service management platform 400, so that the service management platform 400 processes the event.
具体地,视频分析系统300可以将分析结果以工单(也称作智能巡查工单)形式上报至业务管理平台400。其中,视频分析系统300提供统一的输出接口。视频分析系统300通过该统一的输出接口将工单上报至业务管理平台400,如此,业务管理平台400可以对工单对应的事件进行处理。例如,业务管理平台400可以将工单自动进行分拨、归档、处置等流程。进一步地,业务管理平台400还支持用户通过GUI界面等对工单进行管理,或者对视频分析系统300分析错误的工单进行修正。业务管理平台400还可以将视频分析系统300输出的工单进行预处理,获得工单信息,然后将工单信息更新至工单数据库中,以便利用不断更新的工单数据库提升挖掘分析的效果。Specifically, the video analysis system 300 may report the analysis result to the service management platform 400 in the form of a work order (also referred to as an intelligent inspection work order). Among them, the video analysis system 300 provides a unified output interface. The video analysis system 300 reports the work order to the service management platform 400 through the unified output interface, so that the service management platform 400 can process the event corresponding to the work order. For example, the business management platform 400 can automatically perform processes such as allocating, filing, and disposing of work orders. Further, the service management platform 400 also supports the user to manage the work order through a GUI interface or the like, or to correct the work order that is wrongly analyzed by the video analysis system 300 . The business management platform 400 can also preprocess the work orders output by the video analysis system 300 to obtain work order information, and then update the work order information to the work order database, so as to improve the effect of mining and analysis by using the continuously updated work order database.
上述S318为本申请实施例的可选步骤,执行视频分析方法也可以不执行上述步骤,本申请实施例对此不作限定。The foregoing S318 is an optional step in this embodiment of the present application, and the above step may not be performed when the video analysis method is executed, which is not limited in this embodiment of the present application.
基于上述内容描述,视频分析系统300基于地理区域中历史事件的发生规律,例如是历史事件的时空分布,预测在目标时段内事件发生概率大的目标区域,对目标区域在目标时段的视频数据进行重点分析,实现了AI能力的合理分配。通过将AI能力分配在合理的时间和地点,可以适应复杂多变的环境,减少检测盲区,提高关键事件的检出率,进而提升区域治理的效果。而且,视频分析系统300可以将有限资源应用于事件发生概率大的目标时段、目标区域,提高了资源利用率,降低了分析成本。Based on the above description, the video analysis system 300 predicts the target area with a high probability of event occurrence within the target time period based on the occurrence law of historical events in the geographical area, such as the temporal and spatial distribution of historical events, and analyzes the video data of the target area in the target time period. Focused on analysis to achieve a reasonable distribution of AI capabilities. By allocating AI capabilities to a reasonable time and place, it can adapt to complex and changeable environments, reduce detection blind spots, improve the detection rate of key events, and improve the effect of regional governance. Furthermore, the video analysis system 300 can apply limited resources to target time periods and target areas with a high probability of event occurrence, thereby improving resource utilization and reducing analysis costs.
图3所示实施例主要从视频分析系统300执行工单挖掘、视频分析策略以及基于视频分析策略进行视频分析进行示例说明,本申请还提供了视频分析方法的另一实施例。该实施例中,工单挖掘可以工单挖掘系统500实现。The embodiment shown in FIG. 3 is mainly exemplified by the video analysis system 300 performing work order mining, video analysis strategy, and video analysis based on the video analysis strategy. The present application also provides another embodiment of a video analysis method. In this embodiment, work order mining may be implemented by the work order mining system 500 .
参见图7所示的视频分析方法的流程图,该方法由视频管理平台200、视频分析系统300、业务管理平台400和工单挖掘系统500协同完成。具体地,该方法包括以下步骤:Referring to the flowchart of the video analysis method shown in FIG. 7 , the method is completed by the video management platform 200 , the video analysis system 300 , the business management platform 400 and the work order mining system 500 in cooperation. Specifically, the method includes the following steps:
步骤1:预处理系统(图7中未示出)获取历史工单数据,对历史工单数据进行预处理,获得多条工单信息,将多条工单信息存储至工单数据库中。Step 1: The preprocessing system (not shown in FIG. 7 ) acquires historical work order data, preprocesses the historical work order data, obtains multiple pieces of work order information, and stores the multiple pieces of work order information in the work order database.
其中,历史工单数据可以来源于以下任意一种或多种:网格员上报的历史事件、市民通过热线、信箱、电子邮箱等上报的历史事件和视频分析系统300分析所得的历史事件(也称作智能巡查事件)。其中,智能巡查事件可以包括经过用户人工修正的事件。The historical work order data can be derived from any one or more of the following: historical events reported by grid personnel, historical events reported by citizens through hotlines, mailboxes, e-mails, etc., and historical events analyzed by the video analysis system 300 (also known as smart patrol events). The intelligent inspection events may include events manually corrected by the user.
预处理系统对历史工单数据进行预处理的过程可以参见图3所示实施例相关内容描述,例如可以参见S302相关内容描述,在此不再赘述。For the process of preprocessing the historical work order data by the preprocessing system, reference may be made to the description of the relevant content of the embodiment shown in FIG. 3 , for example, reference to the description of the relevant content of S302 , which will not be repeated here.
步骤2:工单挖掘系统500从工单数据库中获取多条工单信息,对多条工单信息进行挖掘分析,获得挖掘结果。Step 2: The work order mining system 500 obtains multiple pieces of work order information from the work order database, performs mining analysis on the multiple pieces of work order information, and obtains mining results.
其中,挖掘结果包括地理区域中的各区域在目标时段的事件发生概率。地理区域中的各区域在目标时段的事件发生概率可以表征事件的时空分布规律。Wherein, the mining result includes the event occurrence probability of each area in the geographic area during the target period. The event occurrence probability of each region in the geographic area during the target period can represent the spatiotemporal distribution law of the event.
工单挖掘系统500对工单信息进行挖掘分析的过程可以参见图3所示实施例中视频分析系统300进行挖掘分析的相关内容描述,也即可以参考S304相关内容描述,在此不再赘述。For the process of mining and analyzing the work order information by the work order mining system 500, reference may be made to the relevant content description of the mining and analysis performed by the video analysis system 300 in the embodiment shown in FIG.
步骤3:工单挖掘系统500根据挖掘结果,获得基于工单挖掘的轮询调度方案。Step 3: The work order mining system 500 obtains a round-robin scheduling scheme based on work order mining according to the mining result.
本实施例中,基于工单挖掘的轮询调度方案为初步的调度方案,该调度方案相当于图3所示实施例中视频分析系统300基于挖掘结果生成的初步的视频分析策略。基于此,工单挖掘系统500根据挖掘结果,获得基于工单挖掘的轮询调度方案的具体实现可以参见S306相关内容描述。In this embodiment, the polling scheduling scheme based on work order mining is a preliminary scheduling scheme, and the scheduling scheme is equivalent to the preliminary video analysis strategy generated by the video analysis system 300 based on the mining results in the embodiment shown in FIG. 3 . Based on this, the work order mining system 500 obtains, according to the mining result, the specific implementation of the round-robin scheduling scheme based on work order mining, please refer to the description of the relevant content of S306.
步骤4:视频分析系统300获取计算资源分布信息,根据计算资源分布信息进行AI算法智能调度,获得优化的调度方案。Step 4: The video analysis system 300 acquires computing resource distribution information, and performs AI algorithm intelligent scheduling according to the computing resource distribution information to obtain an optimized scheduling scheme.
其中,该优化的调度方案是指结合计算资源分布信息对视频分析策略进行更新所得的更新后的视频分析策略。其具体实现可以参见S306相关内容描述,在此不再赘述。The optimized scheduling scheme refers to an updated video analysis strategy obtained by updating the video analysis strategy in combination with the computing resource distribution information. For the specific implementation thereof, reference may be made to the description of the related content of S306, which will not be repeated here.
步骤5:视频分析系统300根据优化的调度方案,获取目标视频数据。Step 5: The video analysis system 300 obtains target video data according to the optimized scheduling scheme.
具体地,视频源100接入视频管理平台200进行统一管理,视频分析系统300可以根据优化的调度方案,从视频管理平台200获取目标视频数据,例如是目标区域在目标时段的视频数据。Specifically, the video source 100 accesses the video management platform 200 for unified management, and the video analysis system 300 can obtain target video data from the video management platform 200 according to the optimized scheduling scheme, for example, video data of the target area in the target time period.
步骤6:视频分析系统300基于优化的调度方案,对目标视频数据启动智能视频分析。Step 6: The video analysis system 300 starts intelligent video analysis on the target video data based on the optimized scheduling scheme.
具体地,优化的调度方案中还包括事件类型,视频分析系统300可以基于该事件类型确定对应的事件分析算法,然后可以根据目标视频数据和事件分析算法生成视频分析作业,并将该视频分析作业调度至目标计算节点,例如是端侧摄像头终端或者是边缘服务器、云上服务器(即云服务器)等,目标计算节点可以运行事件分析算法,对目标视频数据进行分析,获得分析结果。视频分析系统300可以获取目标计算节点的分析结果。Specifically, the optimized scheduling scheme also includes an event type, and the video analysis system 300 can determine a corresponding event analysis algorithm based on the event type, and then can generate a video analysis job according to the target video data and the event analysis algorithm, and use the video analysis job to Scheduled to target computing nodes, such as end-side camera terminals or edge servers, cloud servers (ie, cloud servers), etc., the target computing nodes can run event analysis algorithms to analyze target video data and obtain analysis results. The video analysis system 300 can obtain the analysis result of the target computing node.
步骤7:当分析结果表征目标时段在目标区域有事件发生时,视频分析系统300可以输出智能巡查事件。Step 7: When the analysis result indicates that an event occurs in the target area during the target period, the video analysis system 300 may output the intelligent inspection event.
其中,视频分析系统300可以通过智能巡查事件工单的形式向业务管理平台400上报智能巡查事件。The video analysis system 300 may report the intelligent inspection event to the service management platform 400 in the form of an intelligent inspection event work order.
步骤8:业务管理平台400接收到智能巡查事件工单,执行工单分拨、处置和归档。Step 8: The business management platform 400 receives the intelligent inspection event work order, and performs work order allocation, processing and filing.
其中,业务管理平台400还支持用户对智能巡查事件工单进行人工校验。当智能巡查事件工单存在错误时,业务管理平台400还可以接收用户对智能巡查事件工单的修正。相应地,业务管理平台400可以根据修正后的工单,执行工单分拨、处置和归档。Among them, the service management platform 400 also supports the user to perform manual verification on the intelligent inspection event work order. When there is an error in the intelligent inspection event work order, the service management platform 400 may also receive the user's correction to the intelligent inspection event work order. Correspondingly, the business management platform 400 can perform work order allocation, processing and filing according to the revised work order.
在该实施例中,工单挖掘系统500可以对工单数据库中的工单信息进行挖掘,基于挖掘结果生成初步的视频分析策略,视频分析系统300可以根据初步的视频分析策略进行进一步优化,然后基于优化后的视频分析策略实现智能化的视频分析。视频分析系统300检测到事件时,可以以工单形式上报。该工单的工单信息可以被更新至工单数据库中,以进一步优化工单挖掘系统500。In this embodiment, the work order mining system 500 can mine the work order information in the work order database, and generate a preliminary video analysis strategy based on the mining results. The video analysis system 300 can further optimize according to the preliminary video analysis strategy, and then Intelligent video analysis is realized based on the optimized video analysis strategy. When the video analysis system 300 detects an event, it can be reported in the form of a work order. The work order information of the work order can be updated into the work order database to further optimize the work order mining system 500 .
本申请实施例还设计了对照实验,验证本申请实施例的视频分析方法和相关技术中的视频分析方法的效果。The embodiment of the present application also designs a control experiment to verify the effect of the video analysis method of the embodiment of the present application and the video analysis method in the related art.
实验设计方案为:模拟真实地理区域的规模,假设该地理区域部署10000路摄像头,一天包括24个时段。每个地点的每个时段可能发生3类事件。由于计算资源通常是有限的,同一时间通常只能支持N路视频源中事件的并发识别,其中,N<10000·3。The experimental design scheme is: simulating the scale of a real geographic area, assuming that 10,000 cameras are deployed in the geographic area, and a day includes 24 time periods. There are 3 types of events that can occur in each time period at each location. Since computing resources are usually limited, only concurrent identification of events in N video sources can usually be supported at the same time, where N<10000·3.
如图8所示,假定真实的事件发生概率在时空上服从类高斯分布P。基于这一分布P,可以随机生成一系列历史工单数据。该历史工单数据的周期可以根据实际需求而设置。在该示例中,可以生成过去10天的历史工单数据。其中,每条工单数据包含了时间、地点、事件类型三种信息。考虑到工单数据既可以来源于人工上报,也可以来源于视频分析系统300智能识别,而视频分析系统300识别的结果存在一定误差。因此,可以挑选50%的工单数据作为视频分析系统300识别的工单数据,在视频分析系统300识别的工单数据中,每一条工单数据的事件类型均有20%的误判率,也就有80%的识别准确率。基于上述历史工单数据,可以通过数值统计的方法预测出每类事件在时空上的概率分布。接着,在每个时段,可以根据计算资源的最大并发数量M,确定概率最大的前M个地点-事件类型组合,根据概率最大的前M个地点-事件类型组合生成AI能力调度矩阵。As shown in Figure 8, it is assumed that the real event occurrence probability follows a Gaussian-like distribution P in space and time. Based on this distribution P, a series of historical ticket data can be randomly generated. The period of the historical work order data can be set according to actual needs. In this example, historical ticket data for the past 10 days can be generated. Among them, each work order data contains three kinds of information: time, location, and event type. Considering that the work order data can come from either manual reporting or intelligent identification by the video analysis system 300, and there is a certain error in the identification result of the video analysis system 300. Therefore, 50% of the work order data can be selected as the work order data recognized by the video analysis system 300. In the work order data recognized by the video analysis system 300, the event type of each work order data has a 20% false positive rate. There is an 80% recognition accuracy rate. Based on the above historical work order data, the probability distribution of each type of event in space and time can be predicted by numerical statistics. Then, in each period, the top M location-event type combinations with the highest probability can be determined according to the maximum concurrent number M of computing resources, and the AI capability scheduling matrix can be generated according to the top M location-event type combinations with the highest probability.
在测试阶段,可以遵循分布P,随机生成一系列的工单数据作为测试集。然后根据测试集和AI能力调度矩阵确定事件捕获率和资源浪费率,具体计算公式如下:In the testing phase, a series of work order data can be randomly generated as a test set following the distribution P. Then, the event capture rate and resource waste rate are determined according to the test set and the AI capability scheduling matrix. The specific calculation formulas are as follows:
其中,测试集中事件的数量可以视为真实的事件总数量,AI能力调度矩阵中元素值为1的元素所对应区域和时段真实发生了对应事件类型的事件时,则可以将AI资源正确覆盖到的事件数量加1,当遍历AI能力调度矩阵中所有元素值为1的元素后,可以获得AI资源正确覆盖到的事件数量。其中,AI资源可以是运行事件分析算法等AI算法的计算资源。Among them, the number of events in the test set can be regarded as the total number of real events. When an event of the corresponding event type actually occurs in the area and time period corresponding to the element whose value is 1 in the AI capability scheduling matrix, the AI resource can be correctly covered to Add 1 to the number of events, and after traversing all elements in the AI capability scheduling matrix whose value is 1, the number of events correctly covered by AI resources can be obtained. The AI resources may be computing resources for running AI algorithms such as event analysis algorithms.
类似地,总共部署的AI资源数量可以为M,AI能力调度矩阵中元素值为1的元素所对应区域和时段未真实发生对应事件类型的事件时,则可以将没有覆盖到事件的AI资源数量加1,当遍历AI能力调度矩阵中所有元素值为1的元素后,可以获得没有覆盖到事件的AI资源数量。Similarly, the total number of AI resources deployed can be M. When the area and time period corresponding to the element value of 1 in the AI capability scheduling matrix does not actually occur an event of the corresponding event type, the number of AI resources not covered by the event can be calculated. Add 1, and after traversing all the elements whose value is 1 in the AI capability scheduling matrix, the number of AI resources that are not covered by the event can be obtained.
图9A和图9B示出了本申请的视频分析方法(也称作基于统计的调度方法)和基于定时轮询的分析方法、基于全量接入的视频分析方法的实验结果,如图9A、图9B所示,本申请的方法相比于基于定时轮询的视频分析方法,在相同的并发资源成本下,能达到更高的事件捕获率和更低的资源浪费率,并且当并发资源越受限的时候,资源浪费率的优势越明显。此外,基于全量接入的视频分析方法虽然能达到100%的事件捕获率,但是资源浪费率高达91%,成本较高,可用性较低。无论是基于定时轮询的视频分析方法还是基于全量接入的视频分析方法,本质上均为基于固定时长的机械式调度,由此导致将大量AI资源应用于不必要的地点,难以适配真实环境的变化,造成了大量资源浪费。而本申请实施例的方法,基于工单数据进行挖掘分析,基于分析结果能够实现对AI能力或AI资源的合理调度,提高了资源利用率。FIGS. 9A and 9B show the experimental results of the video analysis method (also referred to as the statistics-based scheduling method), the analysis method based on timed polling, and the video analysis method based on full access of the present application, as shown in FIGS. 9A and 9B . As shown in 9B, compared with the video analysis method based on timed polling, the method of the present application can achieve a higher event capture rate and a lower resource waste rate under the same concurrent resource cost, and when the concurrent resources are more When the time limit is reached, the advantage of resource waste rate is more obvious. In addition, although the video analysis method based on full access can achieve a 100% event capture rate, the resource waste rate is as high as 91%, the cost is high, and the availability is low. Whether it is a video analysis method based on timed polling or a video analysis method based on full access, they are essentially mechanical scheduling based on a fixed duration, which results in the application of a large number of AI resources to unnecessary locations, making it difficult to adapt Changes in the environment have resulted in a lot of waste of resources. The method of the embodiment of the present application, on the other hand, performs mining and analysis based on work order data, and based on the analysis results, can realize reasonable scheduling of AI capabilities or AI resources, and improve resource utilization.
基于本申请实施例提供的视频分析方法,本申请实施例还提供了一种如前述的视频分析系统300。下面将结合附图对本申请实施例提供的视频分析系统进行介绍。Based on the video analysis method provided by the embodiments of the present application, the embodiments of the present application further provide a video analysis system 300 as described above. The video analysis system provided by the embodiments of the present application will be introduced below with reference to the accompanying drawings.
参见图2A所示的视频分析系统300的结构示意图,该系统300包括:策略管理模块302和视频分析模块303。其中,策略管理模块302具体用于执行前述图3方法流程中的S306,视频分析模块303用于执行前述图3方法流程中的S308,以获取目标视频数据,然后对该目标视频数据进行分析,获得分析结果。Referring to the schematic structural diagram of the video analysis system 300 shown in FIG. 2A , the system 300 includes: a policy management module 302 and a video analysis module 303 . Wherein, the strategy management module 302 is specifically configured to execute S306 in the aforementioned method flow of Fig. 3, and the video analysis module 303 is configured to execute S308 in the aforementioned method flow of Fig. 3 to obtain target video data, and then analyze the target video data, Get analysis results.
在一些可能的实现方式中,策略管理模块302也可以不执行上述S306。例如,视频分析系统300还可以包括工单挖掘模块301,该工单挖掘模块301可以执行上述S306,相应地,策略管理模块302可以直接获取视频分析策略。又例如,视频分析系统300与工单挖掘系统500连接,工单挖掘系统500可以根据挖掘结果生成视频分析策略,视频分析系统300可以从工单挖掘系统500获取视频分析策略。In some possible implementations, the policy management module 302 may not perform the above S306. For example, the video analysis system 300 may further include a work order mining module 301, and the work order mining module 301 may execute the above S306, and correspondingly, the policy management module 302 may directly obtain the video analysis policy. For another example, the video analysis system 300 is connected to the work order mining system 500 , the work order mining system 500 can generate a video analysis strategy according to the mining result, and the video analysis system 300 can obtain the video analysis strategy from the work order mining system 500 .
当视频分析系统300还包括工单挖掘模块301时,该工单挖掘模块301还可以用于执行前述图3方法流程中的S302至S304,以实现对工单信息的挖掘,进而可以根据对工单信息的挖掘结果,生成针对地理区域的视频分析策略。When the video analysis system 300 further includes a work order mining module 301, the work order mining module 301 can also be used to perform S302 to S304 in the aforementioned method flow of FIG. The mining results of single information generate video analysis strategies for geographic areas.
在一些可能的实现方式中,视频分析模块303具体用于执行前述图3方法流程中的S310,以确定与事件类型对应的事件分析算法,进而根据该事件分析算法对目标视频数据进行分析,获得分析结果。In some possible implementations, the video analysis module 303 is specifically configured to perform S310 in the aforementioned method flow of FIG. 3 to determine an event analysis algorithm corresponding to the event type, and then analyze the target video data according to the event analysis algorithm to obtain Analyze the results.
在一些可能的实现方式中,视频分析模块303具体用于执行前述图3方法流程中的S312至S316,以生成视频分析作业,将视频分析作业调度至目标计算节点,从而实现对目标视频数据的分析,获得分析结果。In some possible implementations, the video analysis module 303 is specifically configured to execute S312 to S316 in the aforementioned method flow of FIG. 3 to generate a video analysis job, and schedule the video analysis job to the target computing node, so as to realize the analysis of target video data. Analyze and get the results of the analysis.
在一些可能的实现方式中,目标计算节点可以是终端设备、边缘环境的设备或者是云环境的设备,本实施例对此不作限制。In some possible implementation manners, the target computing node may be a terminal device, a device in an edge environment, or a device in a cloud environment, which is not limited in this embodiment.
在一些可能的实现方式中,策略管理模块302还用于执行前述图3方法流程中的S306,以实现根据计算资源的最大并发数量,更新视频分析策略。In some possible implementations, the policy management module 302 is further configured to execute S306 in the foregoing method flow in FIG. 3 , so as to update the video analysis policy according to the maximum concurrent number of computing resources.
在一些可能的实现方式中,视频分析模块303还用于执行前述图3方法流程中的S318,以将分析结果上报至事件处理系统,例如是业务管理平台400。In some possible implementations, the video analysis module 303 is further configured to execute S318 in the foregoing method flow in FIG. 3 , so as to report the analysis result to an event processing system, such as the service management platform 400 .
在一些可能的实现方式中,工单挖掘模块301具体用于执行前述图3方法流程中的S302,以获取地理区域中发生的历史事件的信息。In some possible implementation manners, the work order mining module 301 is specifically configured to execute S302 in the foregoing method flow of FIG. 3 to obtain information of historical events occurring in a geographic area.
在一些可能的实现方式中,地理区域的历史工单数据来源于以下数据中的一种或多种:In some possible implementations, the historical ticket data for the geographic area is derived from one or more of the following data:
人员上报的事件,人工巡检的事件,所述视频分析系统分析得到的历史事件。The events reported by personnel, the events of manual inspection, and the historical events obtained by the analysis of the video analysis system.
根据本申请实施例的视频分析系统300可对应于执行本申请实施例中描述的方法,并且视频分析系统300的各个模块/单元的上述和其它操作和/或功能分别为了实现图3所示实施例中的各个方法的相应流程,为了简洁,在此不再赘述。The video analysis system 300 according to the embodiments of the present application may correspond to executing the methods described in the embodiments of the present application, and the above-mentioned and other operations and/or functions of the respective modules/units of the video analysis system 300 are implemented in order to realize the implementation shown in FIG. 3 , respectively. For the sake of brevity, the corresponding flow of each method in the example will not be repeated here.
本申请实施例还提供一种计算设备集群。该计算设备集群包括至少一台计算设备,该至少一台计算设备中的任一台计算设备可以来自云环境或者边缘环境,也可以是终端设备。该计算设备集群具体用于实现如图2A所示实施例中视频分析系统300的功能。Embodiments of the present application also provide a computing device cluster. The computing device cluster includes at least one computing device, and any computing device in the at least one computing device may be from a cloud environment or an edge environment, or may be a terminal device. The computing device cluster is specifically used to implement the functions of the video analysis system 300 in the embodiment shown in FIG. 2A .
图10提供了一种计算设备集群的结构示意图,如图10所示,计算设备集群10包括多台计算设备1000,计算设备1000包括总线1001、处理器1002、通信接口1003和存储器1004。处理器1002、存储器1004和通信接口1003之间通过总线1001通信。FIG. 10 provides a schematic structural diagram of a computing device cluster. As shown in FIG. 10 , the computing device cluster 10 includes multiple computing devices 1000 , and the computing devices 1000 include a bus 1001 , a processor 1002 , a communication interface 1003 and a memory 1004 . Communication between the processor 1002 , the memory 1004 and the communication interface 1003 is through the bus 1001 .
总线1001可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线可以分为地址 总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 1001 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 10, but it does not mean that there is only one bus or one type of bus.
处理器1002可以为中央处理器(central processing unit,CPU)、图形处理器(graphics processing unit,GPU)、微处理器(micro processor,MP)或者数字信号处理器(digital signal processor,DSP)等处理器中的任意一种或多种。The processor 1002 may be a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP), etc. any one or more of the devices.
通信接口1003用于与外部通信。例如,通信接口1003用于输出分析结果等等。The communication interface 1003 is used for external communication. For example, the communication interface 1003 is used to output analysis results and the like.
存储器1004可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM)。存储器1004还可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器,硬盘驱动器(hard disk drive,HDD)或固态驱动器(solid state drive,SSD)。Memory 1004 may include volatile memory, such as random access memory (RAM). The memory 1004 may also include non-volatile memory (non-volatile memory), such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (solid state drive) , SSD).
存储器1004中存储有计算机可读指令,处理器1002执行该计算机可读指令,以使得计算设备集群10执行前述视频分析方法(或实现前述视频分析系统300的功能)。Computer-readable instructions are stored in the memory 1004, and the processor 1002 executes the computer-readable instructions to cause the computing device cluster 10 to perform the aforementioned video analysis method (or implement the aforementioned functions of the video analysis system 300).
具体地,在实现图2A所示系统的实施例的情况下,且图2A中所描述的视频分析系统300的各模块如工单挖掘模块301、策略管理模块302、视频分析模块303的功能为通过软件实现的情况下,执行图2A中各模块的功能所需的软件或程序代码可以存储在计算设备集群10中的至少一个存储器1004中。至少一个处理器1002执行存储器1004中存储的程序代码,以使得计算设备集群10执行前述视频分析方法。Specifically, in the case of implementing the embodiment of the system shown in FIG. 2A, and the functions of each module of the video analysis system 300 described in FIG. 2A, such as the work order mining module 301, the policy management module 302, and the video analysis module 303, are: In the case of software implementation, the software or program code required to perform the functions of the modules in FIG. 2A may be stored in at least one memory 1004 in the computing device cluster 10 . At least one processor 1002 executes program code stored in memory 1004 to cause computing device cluster 10 to perform the aforementioned video analysis method.
本申请实施例还提供了一种计算机可读存储介质。所述计算机可读存储介质可以是计算设备能够存储的任何可用介质或者是包含一个或多个可用介质的数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘)等。该计算机可读存储介质包括指令,所述指令指示计算设备或计算设备集群执行上述视频分析方法。Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium may be any available medium that a computing device can store, or a data storage device such as a data center that contains one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like. The computer-readable storage medium includes instructions instructing a computing device or cluster of computing devices to perform the video analysis method described above.
本申请实施例还提供了一种计算机程序产品。所述计算机程序产品包括一个或多个计算机指令。在计算设备上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算设备或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算设备或数据中心进行传输。所述计算机程序产品可以为一个软件安装包,在需要使用前述视频分析方法的任一方法的情况下,可以下载该计算机程序产品并在计算设备或计算设备集群上执行该计算机程序产品。The embodiments of the present application also provide a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computing device, all or part of the processes or functions described in the embodiments of the present application are generated. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from a website site, computing device or data center via Transmission to another website site, computing device, or data center by wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) means. The computer program product can be a software installation package, which can be downloaded and executed on a computing device or a cluster of computing devices if any one of the aforementioned video analysis methods needs to be used.
上述各个附图对应的流程或结构的描述各有侧重,某个流程或结构中没有详述的部分,可以参见其他流程或结构的相关描述。The descriptions of the processes or structures corresponding to each of the above-mentioned drawings have their own emphasis, and for the parts that are not described in detail in a certain process or structure, reference may be made to the related descriptions of other processes or structures.
Claims (23)
- 一种视频分析方法,其特征在于,所述方法应用于视频分析系统,包括:A video analysis method, wherein the method is applied to a video analysis system, comprising:获取视频分析策略,所述视频分析策略根据地理区域中发生的历史事件的挖掘结果获得,所述视频分析策略包括所述地理区域中需要进行视频分析的目标时段和目标区域;Obtaining a video analysis strategy, the video analysis strategy is obtained according to the mining results of historical events occurring in the geographical area, and the video analysis strategy includes a target period and a target area in which video analysis needs to be performed in the geographical area;根据所述视频分析策略获取目标视频数据,所述目标视频数据记录了所述地理区域中的所述目标区域在所述目标时段的状况;Acquiring target video data according to the video analysis strategy, the target video data records the status of the target area in the geographic area during the target period;对所述目标视频数据进行分析,获得分析结果。The target video data is analyzed to obtain an analysis result.
- 根据权利要求1所述的方法,其特征在于,在获取视频分析策略之前,所述方法还包括:The method according to claim 1, wherein before acquiring the video analysis strategy, the method further comprises:获取所述地理区域中发生的历史事件的信息;obtain information on historical events that occurred in the geographic area;对所述历史事件的信息进行挖掘分析,获得挖掘结果,其中,所述挖掘结果包括所述地理区域中的各区域在所述目标时段的事件发生概率;Mining and analyzing the information of the historical event to obtain a mining result, wherein the mining result includes the event occurrence probability of each area in the geographical area in the target time period;根据所述挖掘结果生成针对所述地理区域的所述视频分析策略。The video analysis strategy for the geographic area is generated according to the mining result.
- 根据权利要求1或2所述的方法,其特征在于,所述视频分析策略还包括事件类型;所述对所述目标视频数据进行分析,获得分析结果,包括:The method according to claim 1 or 2, wherein the video analysis strategy further includes an event type; the analyzing the target video data to obtain an analysis result, comprising:根据所述视频分析策略中的事件类型,确定与所述事件类型对应的事件分析算法;Determine an event analysis algorithm corresponding to the event type according to the event type in the video analysis strategy;利用所述事件分析算法对所述目标视频数据进行分析,获得分析结果。Use the event analysis algorithm to analyze the target video data to obtain an analysis result.
- 根据权利要求3所述的方法,其特征在于,所述利用所述事件分析算法对所述目标视频数据进行分析,获得分析结果,具体包括:method according to claim 3, is characterized in that, described utilizes described event analysis algorithm to analyze described target video data, obtains analysis result, specifically comprises:基于所述目标视频数据和所述事件分析算法生成视频分析作业;Generate a video analysis job based on the target video data and the event analysis algorithm;将所述视频分析作业调度至目标计算节点;scheduling the video analysis job to the target computing node;获得所述目标计算节点执行所述视频分析作业后的分析结果。Obtain an analysis result after the target computing node performs the video analysis job.
- 根据权利要求4所述的方法,其特征在于,所述目标计算节点为终端设备,边缘环境的设备或云环境的设备。The method according to claim 4, wherein the target computing node is a terminal device, a device in an edge environment or a device in a cloud environment.
- 根据权利要求1至5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:获取计算资源的信息,所述计算资源的信息包括所述计算资源的最大并发数量;Obtain information about computing resources, where the information about computing resources includes the maximum concurrent number of computing resources;根据所述最大并发数量,更新所述视频分析策略。The video analysis policy is updated according to the maximum concurrent number.
- 根据权利要求6所述的方法,其特征在于,所述根据所述最大并发数量,更新所述视频分析策略,包括:The method according to claim 6, wherein the updating the video analysis policy according to the maximum concurrent number comprises:当所述目标时段需要进行视频分析的目标区域的数量大于所述最大并发数量时,根据所述地理区域中的各区域在所述目标时段的事件发生概率,更新在所述目标时段需要进行视频分析的目标区域,更新后的所述目标区域的数量小于或等于所述最大并发数量。When the number of target areas for which video analysis needs to be performed in the target period is greater than the maximum concurrent number, update the video that needs to be performed in the target period according to the event occurrence probability of each area in the geographical area in the target period The analyzed target area, the updated number of the target area is less than or equal to the maximum concurrent number.
- 根据权利要求1至7任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 7, wherein the method further comprises:当所述分析结果表征所述目标区域在所述目标时段内有事件发生时,将所述分析结果上报至事件处理系统。When the analysis result indicates that an event occurs in the target area within the target period, the analysis result is reported to the event processing system.
- 根据权利要求2所述的方法,其特征在于,所述获取所述地理区域中发生的历史事件的信息,包括:The method according to claim 2, wherein the acquiring information of historical events occurring in the geographical area comprises:对所述地理区域的历史工单数据进行预处理,获得所述地理区域中发生的历史事件的信息,其中,所述历史事件的信息包括多条工单信息,每条工单信息包括时间、地点和事件类型。Preprocessing the historical work order data of the geographical area to obtain information of historical events occurring in the geographical area, wherein the information of the historical events includes multiple pieces of work order information, and each piece of work order information includes time, location and event type.
- 根据权利要求9所述的方法,其特征在于,所述地理区域的历史工单数据来源于以下数据中的一种或多种:The method according to claim 9, wherein the historical work order data of the geographical area is derived from one or more of the following data:人员上报的事件,人工巡检的事件,所述视频分析系统分析得到的历史事件。The events reported by personnel, the events of manual inspection, and the historical events obtained by the analysis of the video analysis system.
- 一种视频分析系统,其特征在于,包括:A video analysis system, comprising:策略管理模块,用于获取视频分析策略,所述视频分析策略根据地理区域中发生的历史事件的挖掘结果获得,所述视频分析策略包括所述地理区域中需要进行视频分析的目标时段和目标区域;The strategy management module is used to obtain a video analysis strategy, the video analysis strategy is obtained according to the mining results of historical events that occurred in the geographical area, and the video analysis strategy includes the target period and target area in which the video analysis needs to be performed in the geographical area ;视频分析模块,用于根据所述视频分析策略获取目标视频数据,所述目标视频数据记录了所述地理区域中的所述目标区域在所述目标时段的状况,对所述目标视频数据进行分析,获得分析结果。A video analysis module, configured to obtain target video data according to the video analysis strategy, the target video data records the status of the target area in the geographical area during the target period, and analyzes the target video data to obtain the analysis results.
- 根据权利要求11所述的系统,其特征在于,所述视频分析系统还包括:The system of claim 11, wherein the video analysis system further comprises:工单挖掘模块,用于获取所述地理区域中发生的历史事件的信息,对所述历史事件的信息进行挖掘分析,获得挖掘结果,其中,所述挖掘结果包括所述地理区域中的各区域在所述目标时段的事件发生概率;A work order mining module, configured to acquire information of historical events occurring in the geographical area, perform mining analysis on the information of the historical events, and obtain mining results, wherein the mining results include each area in the geographical area the probability of occurrence of the event during said target period;所述工单挖掘模块,还用于根据所述挖掘结果生成针对所述地理区域的所述视频分析策略。The work order mining module is further configured to generate the video analysis strategy for the geographical area according to the mining result.
- 根据权利要求11或12所述的系统,其特征在于,所述视频分析策略还包括事件类型;所述视频分析模块具体用于:The system according to claim 11 or 12, wherein the video analysis strategy further includes an event type; the video analysis module is specifically used for:根据所述视频分析策略中的事件类型,确定与所述事件类型对应的事件分析算法;Determine an event analysis algorithm corresponding to the event type according to the event type in the video analysis strategy;利用所述事件分析算法对所述目标视频数据进行分析,获得分析结果。Use the event analysis algorithm to analyze the target video data to obtain an analysis result.
- 根据权利要求13所述的系统,其特征在于,所述视频分析模块具体用于:system according to claim 13, is characterized in that, described video analysis module is specially used for:基于所述目标视频数据和所述事件分析算法生成视频分析作业;Generate a video analysis job based on the target video data and the event analysis algorithm;将所述视频分析作业调度至目标计算节点;scheduling the video analysis job to the target computing node;获得所述目标计算节点执行所述视频分析作业后的分析结果。Obtain an analysis result after the target computing node performs the video analysis job.
- 根据权利要求14所述的系统,其特征在于,所述目标计算节点为终端设备,边缘环境的设备或云环境的设备。The system according to claim 14, wherein the target computing node is a terminal device, a device in an edge environment or a device in a cloud environment.
- 根据权利要求11至15任一项所述的系统,其特征在于,所述策略管理模块还用于:The system according to any one of claims 11 to 15, wherein the policy management module is further configured to:获取计算资源的信息,所述计算资源的信息包括所述计算资源的最大并发数量;Obtain information about computing resources, where the information about computing resources includes the maximum concurrent number of computing resources;根据所述最大并发数量,更新所述视频分析策略。The video analysis policy is updated according to the maximum concurrent number.
- 根据权利要求16所述的系统,其特征在于,所述策略管理模块具体用于:The system according to claim 16, wherein the policy management module is specifically configured to:当所述目标时段需要进行视频分析的目标区域的数量大于所述最大并发数量时,根据所述地理区域中的各区域在所述目标时段的事件发生概率,更新在所述目标时段需要进行视频分析的目标区域,更新后的所述目标区域的数量小于或等于所述最大并发数量。When the number of target areas for which video analysis needs to be performed in the target period is greater than the maximum concurrent number, update the video that needs to be performed in the target period according to the event occurrence probability of each area in the geographical area in the target period The analyzed target area, the updated number of the target area is less than or equal to the maximum concurrent number.
- 根据权利要求11至17任一项所述的系统,其特征在于,所述视频分析模块还用于:The system according to any one of claims 11 to 17, wherein the video analysis module is further configured to:当所述分析结果表征所述目标区域在所述目标时段内有事件发生时,将所述分析结果上报至事件处理系统。When the analysis result indicates that an event occurs in the target area within the target period, the analysis result is reported to the event processing system.
- 根据权利要求12所述的系统,其特征在于,所述工单挖掘模块具体用于:The system according to claim 12, wherein the work order mining module is specifically used for:对所述地理区域的历史工单数据进行预处理,获得所述地理区域中发生的历史事件的信息,其中,所述历史事件的信息包括多条工单信息,每条工单信息包括时间、地点和事件类型。Preprocessing the historical work order data of the geographical area to obtain information of historical events occurring in the geographical area, wherein the information of the historical events includes multiple pieces of work order information, and each piece of work order information includes time, location and event type.
- 根据权利要求19所述的系统,其特征在于,所述地理区域的历史工单数据来源于以下数据中的一种或多种:The system according to claim 19, wherein the historical work order data of the geographic area is derived from one or more of the following data:人员上报的事件,人工巡检的事件,所述视频分析系统分析得到的历史事件。The events reported by personnel, the events of manual inspection, and the historical events obtained by the analysis of the video analysis system.
- 一种计算设备集群,其特征在于,所述计算设备集群包括至少一台计算设备,所述至少一台计算设备包括至少一个处理器和至少一个存储器,所述至少一个存储器中存储有计算机可读指令,所述至少一个处理器执行所述计算机可读指令,使得所述计算设备集群执行如权利要求1至10任一项所述的方法。A computing device cluster, characterized in that the computing device cluster includes at least one computing device, the at least one computing device includes at least one processor and at least one memory, and the at least one memory stores computer-readable instructions, the at least one processor executing the computer-readable instructions, causing the cluster of computing devices to perform the method of any one of claims 1-10.
- 一种计算机可读存储介质,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算设备或计算设备集群上运行时,使得所述计算设备或计算设备集群执行如权利要求1至10任一项所述的方法。A computer-readable storage medium, characterized by comprising computer-readable instructions, when the computer-readable instructions are executed on a computing device or a cluster of computing devices, the computing device or the cluster of computing devices is made to perform as claimed in claim 1 The method of any one of to 10.
- 一种计算机程序产品,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算设备或计算设备集群上运行时,使得所述计算设备或计算设备集群执行如权利要求1至10任一项所述的方法。A computer program product, characterized in that it includes computer-readable instructions that, when the computer-readable instructions are executed on a computing device or a cluster of computing devices, cause the computing device or the cluster of computing devices to perform as claimed in claims 1 to 10 The method of any one.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110414846 | 2021-04-17 | ||
CN202110414846.X | 2021-04-17 | ||
CN202111088882.8A CN115292546A (en) | 2021-04-17 | 2021-09-16 | Video analysis method and related system |
CN202111088882.8 | 2021-09-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022218001A1 true WO2022218001A1 (en) | 2022-10-20 |
Family
ID=83639475
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/072428 WO2022218001A1 (en) | 2021-04-17 | 2022-01-17 | Video analysis method and related system |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2022218001A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118227826A (en) * | 2024-03-15 | 2024-06-21 | 北京易用时代科技有限公司 | Data acquisition fusion analysis system |
CN118761474A (en) * | 2024-09-06 | 2024-10-11 | 浙江大华技术股份有限公司 | Data processing method, electronic device, and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140118543A1 (en) * | 2012-10-31 | 2014-05-01 | Motorola Solutions, Inc. | Method and apparatus for video analysis algorithm selection based on historical incident data |
US20190026564A1 (en) * | 2017-07-19 | 2019-01-24 | Pegatron Corporation | Video surveillance system and video surveillance method |
CN111405246A (en) * | 2020-03-12 | 2020-07-10 | 高宽友 | Smart city monitoring method and device and management terminal |
CN111582235A (en) * | 2020-05-26 | 2020-08-25 | 瑞纳智能设备股份有限公司 | Alarm method, system and equipment for monitoring abnormal events in station in real time |
CN112102367A (en) * | 2020-09-21 | 2020-12-18 | 中国电子科技集团公司第二十八研究所 | Video analysis computing power real-time distribution scheduling method based on motion model |
CN112312087A (en) * | 2020-10-22 | 2021-02-02 | 中科曙光南京研究院有限公司 | Method and system for quickly positioning event occurrence time in long-term monitoring video |
-
2022
- 2022-01-17 WO PCT/CN2022/072428 patent/WO2022218001A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140118543A1 (en) * | 2012-10-31 | 2014-05-01 | Motorola Solutions, Inc. | Method and apparatus for video analysis algorithm selection based on historical incident data |
US20190026564A1 (en) * | 2017-07-19 | 2019-01-24 | Pegatron Corporation | Video surveillance system and video surveillance method |
CN111405246A (en) * | 2020-03-12 | 2020-07-10 | 高宽友 | Smart city monitoring method and device and management terminal |
CN111582235A (en) * | 2020-05-26 | 2020-08-25 | 瑞纳智能设备股份有限公司 | Alarm method, system and equipment for monitoring abnormal events in station in real time |
CN112102367A (en) * | 2020-09-21 | 2020-12-18 | 中国电子科技集团公司第二十八研究所 | Video analysis computing power real-time distribution scheduling method based on motion model |
CN112312087A (en) * | 2020-10-22 | 2021-02-02 | 中科曙光南京研究院有限公司 | Method and system for quickly positioning event occurrence time in long-term monitoring video |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118227826A (en) * | 2024-03-15 | 2024-06-21 | 北京易用时代科技有限公司 | Data acquisition fusion analysis system |
CN118761474A (en) * | 2024-09-06 | 2024-10-11 | 浙江大华技术股份有限公司 | Data processing method, electronic device, and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ma et al. | Data sets, modeling, and decision making in smart cities: A survey | |
US10101244B2 (en) | Self-learning simulation environments | |
CN111813545A (en) | Resource allocation method, device, medium and equipment | |
WO2022218001A1 (en) | Video analysis method and related system | |
CN110663030A (en) | Edge device, system and method for processing extreme data | |
CN108039959A (en) | Situation Awareness method, system and the relevant apparatus of a kind of data | |
WO2021190379A1 (en) | Method and device for realizing automatic machine learning | |
CN111062562A (en) | Community grid service linkage disposal control method and system | |
CN112001322B (en) | Method, device and storage medium for determining label personnel aggregation | |
CN104991849A (en) | Method for monitoring system resource occupation of Linux process through zabbix | |
CN109873790A (en) | Network security detection method, device and computer readable storage medium | |
US10762089B2 (en) | Open ended question identification for investigations | |
CN115967821A (en) | Video cloud storage method, device, equipment and storage medium | |
US20220058745A1 (en) | System and method for crowdsensing-based insurance premiums | |
CN114356712A (en) | Data processing method, device, equipment, readable storage medium and program product | |
CN118171920A (en) | LLM model-based park safety emergency response method, device and medium | |
CN115567563B (en) | Comprehensive transportation hub monitoring and early warning system based on end edge cloud and control method thereof | |
CN115220131B (en) | Meteorological data quality inspection method and system | |
CN117435999A (en) | Risk assessment method, apparatus, device and medium | |
CN116824455A (en) | Event detection method, device, equipment and storage medium | |
CN115292546A (en) | Video analysis method and related system | |
CN116843395A (en) | Alarm classification method, device, equipment and storage medium of service system | |
CN114640841A (en) | Abnormity determining method and device, electronic equipment and storage medium | |
CN112153341B (en) | Task supervision method, device and system, electronic equipment and storage medium | |
CN111523826B (en) | Data acquisition method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22787232 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22787232 Country of ref document: EP Kind code of ref document: A1 |