A video recording plan execution situation monitoring method, system, electronic device and medium
By monitoring the execution of recording plans through the data acquisition and display module, the problem of unstable execution of recording plans in video surveillance systems is solved, enabling timely detection of anomalies and improving monitoring efficiency, thereby enhancing monitoring efficiency and user satisfaction.
Patent Information
- Application Number
- CN202412000466.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2044-12-31
AI Technical Summary
When a recording schedule is executed in a video surveillance system, it is easily affected by equipment, environment, and network factors, resulting in recording interruptions, dropped frames, and data loss. Traditional solutions are inefficient and make it difficult to detect problems in a timely manner.
The data acquisition module obtains recording plan information, current recording status, and storage information, calculates the recording plan execution completion rate of the recording channel, displays the results through the recording plan execution status display module, and generates abnormal alarm messages to push to the front end.
It enables automatic monitoring of the recording schedule execution, timely detection of recording schedule execution anomalies or data loss, and improves monitoring efficiency and user satisfaction.
Smart Images

Figure CN119814978B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of video monitoring, and mainly relates to a video plan execution situation monitoring method and system, an electronic device and a medium. BACKGROUND
[0002] With the rapid development of economy and the advancement of urbanization process, video monitoring systems, as a powerful measure to ensure the safety of residents, have been widely used in various industries. From large-scale smart cities and safe city projects to small-scale intelligent transportation, park monitoring, scenic area monitoring, and even some special monitoring in mines, video monitoring systems are involved. The video plan function, as the core function of the video monitoring system, plays a crucial role in video monitoring, allowing users to flexibly schedule recording times according to their needs.
[0003] The video plan function allows users to set specific recording time periods, such as starting recording at a certain time on a certain day or days, and not recording at other times. This setting can be personalized according to actual safety needs. In addition, the recording duration can also be set independently, ensuring the traceability and long-term preservation of recording data. This flexibility not only improves monitoring efficiency but also reduces unnecessary storage costs.
[0004] However, the execution of the video plan in the video monitoring system is often affected by factors such as equipment, environment, and network, which may cause problems such as recording interruption, frame loss, and data loss during recording. Moreover, the execution of the video plan is a long and tedious process, and it is difficult to detect these problems in a timely manner. The traditional solution mainly relies on data sampling and manual inspection. However, both data sampling and manual inspection have obvious limitations, are time-consuming, and inefficient.
[0005] Therefore, there is an urgent need for a new video plan execution situation monitoring method. SUMMARY
[0006] One of the purposes of the present application is to provide a video plan execution situation monitoring method to solve or at least partially solve the problems in the related art. The second purpose of the present application is to provide a video monitoring system, the third purpose of the present application is to provide an electronic device, and the fourth purpose of the present application is to provide a medium.
[0007] To achieve the above-mentioned purposes, the technical solutions of the present application are as follows:
[0008] A video recording plan execution monitoring method applied to a video monitoring system, the video monitoring system comprising a data acquisition module, a database, a video recording module, a storage module and a video recording plan execution display module, the database being configured to store video recording plan information in the video monitoring system, the video recording module being configured to execute a video recording plan and acquire video recording data through at least one video recording channel, and the storage module being configured to store the video recording data acquired by the video recording module, the method comprising:
[0009] The data acquisition module acquires video recording plan information from the database, current recording state information of each video recording channel from the video recording module, and video recording storage information from the storage module, wherein the video recording plan information at least comprises a video recording channel code, and the video recording storage information at least comprises a video recording channel code;
[0010] The data acquisition module analyzes the video recording plan information according to the video recording channel code to obtain video recording plan information of each video recording channel, and analyzes the video recording storage information according to the video recording channel code to obtain video recording storage information of each video recording channel;
[0011] The data acquisition module obtains video recording plan execution completeness rate data of each video recording channel according to the video recording plan information, the current recording state information and the video recording storage information of each video recording channel, and stores the data into the database;
[0012] The video recording plan execution display module acquires the video recording plan execution completeness rate data of each video recording channel from the database and displays the data.
[0013] Optionally, the video monitoring system further comprises a video recording plan execution abnormality alarm module, and the method further comprises:
[0014] The data acquisition module determines whether the current recording state of each video recording channel is abnormal according to the current recording state information of each video recording channel, generates a video recording state abnormality alarm message of a first video recording channel in a case where the current recording state of the first video recording channel is determined to be abnormal, and the video recording state abnormality alarm message comprises video recording plan information and current recording state information of the first video recording channel;
[0015] The data acquisition module determines a second video recording channel with a video recording plan execution completeness rate lower than a completeness rate threshold according to the video recording plan execution completeness rate data of each video recording channel, generates a video recording completeness rate abnormality alarm message of the second video recording channel, and the video recording completeness rate abnormality alarm message comprises video recording plan information and video recording plan execution completeness rate data of the second video recording channel;
[0016] The data collection module stores the recording state abnormal alarm message of the first recording channel and the recording completeness abnormal alarm message of the second recording channel into an alarm message queue in sequence according to the generation time of each alarm message.
[0017] The recording plan execution abnormal alarm module obtains the alarm message from the alarm message queue and pushes it to the front end.
[0018] Optionally, the data collection module stores the recording state abnormal alarm message of the first recording channel and the recording completeness abnormal alarm message of the second recording channel into an alarm message queue in sequence according to the generation time of each alarm message, comprising:
[0019] The data collection module integrates the recording state abnormal alarm message and the recording completeness abnormal alarm message of the same recording channel to obtain a recording abnormal alarm message, and stores the recording abnormal alarm message into the alarm message queue according to the generation time of the recording state abnormal alarm message of the recording channel, wherein the recording abnormal alarm message comprises recording plan information, current recording state information and recording plan execution completeness data of the recording channel.
[0020] Optionally, after the recording plan execution abnormal alarm module obtains the alarm message from the alarm message queue and pushes it to the front end, the method further comprises:
[0021] The recording plan execution abnormal alarm module generates alarm prompt information according to the alarm message, and sends the alarm prompt information to a preset terminal.
[0022] Optionally, the recording plan information further comprises recording plan time period description and recording plan storage period, and the recording storage information further comprises recording start time and recording end time; the data collection module obtains the recording plan execution completeness data of each recording channel according to the recording plan information, the current recording state information and the recording storage information of each recording channel, comprising:
[0023] The data collection module determines the total planned recording time of each recording channel according to the recording plan time period description and the recording plan storage period in the recording plan information of each recording channel;
[0024] The data collection module determines the total actual recording time according to the recording start time and the recording end time in the recording storage information of each recording channel;
[0025] The data collection module determines the recording plan execution completeness of each recording channel according to the total planned recording time and the total actual recording time.
[0026] Optionally, the data collection module acquires recording plan information from the database according to a preset acquisition period, acquires current recording state information of each recording channel from the recording module, and acquires recording storage information from the storage module.
[0027] Before collecting information each time, the data collection module empties a data temporary table in the database, and after obtaining the recording plan execution completeness rate data of each recording channel, the data collection module stores the recording plan execution completeness rate data of each recording channel into the data temporary table, empties a data formal table, and stores data in the data temporary table into the data formal table.
[0028] Optionally, the recording plan execution condition display module acquires and displays the recording plan execution completeness rate data of each recording channel from the database, including:
[0029] The recording plan execution condition display module provides a preset interface and a monitoring page to the outside, displays recording plan execution data, and the recording plan execution data includes recording plan information, current recording state information, and recording storage information of each recording channel, and the recording plan execution completeness rate data.
[0030] A video monitoring system, comprising a data collection module, a database, a recording module, a storage module, and a recording plan execution condition display module; the database is used to store recording plan information in the video monitoring system, the recording module is used to execute a recording plan and collect recording data through at least one recording channel, and the storage module is used to store recording data collected by the recording module;
[0031] The data collection module is used to acquire recording plan information from the database, acquire current recording state information of each recording channel from the recording module, and acquire recording storage information from the storage module; the recording plan information at least includes recording channel code, and the recording storage information at least includes recording channel code;
[0032] The data collection module is further used to analyze the recording plan information according to recording channel code, to obtain recording plan information of each recording channel, and analyze the recording storage information according to recording channel code, to obtain recording storage information of each recording channel;
[0033] The data collection module is further used to obtain recording plan execution completeness rate data of each recording channel according to recording plan information, current recording state information, and recording storage information of each recording channel, and store the data into the database;
[0034] The video recording plan execution condition display module is configured to obtain the video recording plan execution completeness data of each video recording channel from the database and display the data.
[0035] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the video recording plan execution condition monitoring method as described above when executing the computer program.
[0036] A non-volatile storage medium has a computer program stored thereon, and the program is executable on a processor to implement the video recording plan execution condition monitoring method as described above.
[0037] The beneficial effects of the present application are as follows:
[0038] In the present application, the data acquisition module of the video monitoring system can integrate the video recording plan information, the current recording state information, and the corresponding video recording storage information of each video recording channel, thereby calculating the video recording plan execution completeness of each video recording channel and displaying the same by the video recording plan execution condition display module, so as to complete the monitoring function of the video recording plan execution condition in the video monitoring system, and to visualize, intuitize, and timize the execution condition of the video recording plan in the video monitoring system. The system user can timely find the abnormal video recording plan execution or the abnormal condition such as video data loss in the video recording plan execution process, and the video recording plan execution condition display module can display the video recording plan execution condition through the visual interface in the daily use of the video monitoring system, so as to enable the relevant personnel to quickly control the video recording plan execution condition and improve the customer satisfaction and the product comprehensive competitiveness.
[0039] Therefore, the video recording plan execution condition monitoring method provided by the present application can complete the automatic monitoring of the video recording plan execution condition, and enable the user, the system operation and maintenance personnel, and the developer to quickly, intuitively, and comprehensively view the video recording plan execution condition and control the operation condition of the system. BRIEF DESCRIPTION OF DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative labor.
[0041] Figure 1 is a flowchart of the video recording plan execution condition monitoring method described in an embodiment of the present application;
[0042] Figure 2 is an example diagram of the video recording plan information of the video recording plan execution condition monitoring method described in an embodiment of the present application;
[0043] Figure 3 is an execution logic diagram of the data collection module in the video recording plan execution condition monitoring method in an embodiment of the present application;
[0044] Figure 4 is an overview example diagram of the execution condition of the video recording plan of each video recording channel exhibited by the video recording plan execution condition exhibiting module in the video recording plan execution condition monitoring method in an embodiment of the present application;
[0045] Figure 5 is a detail example diagram of the video recording plan execution condition of a certain video recording channel exhibited by the video recording plan execution condition exhibiting module in the video recording plan execution condition monitoring method in an embodiment of the present application;
[0046] Figure 6 is a framework diagram of the video monitoring system in an embodiment of the present application.
[0047] Among them, 600-video monitoring system, 601-data collection module, 602-database, 603-video recording module, 604-storage module, 605-video recording plan execution condition exhibiting module. DETAILED DESCRIPTION
[0048] The exemplary embodiments of the present application will be described in detail hereinafter with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the drawings, it is understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present application can be more thoroughly and completely conveyed to those skilled in the art.
[0049] In an embodiment of the present application, with reference to Figure 1 , Figure 1 is a flowchart of the video recording plan execution condition monitoring method in an embodiment of the present application. As Figure 1 shown, the method comprises the following steps:
[0050] S101, the data collection module obtains video recording plan information from the database, obtains current recording state information of each video recording channel from the video recording module, and obtains video recording storage information from the storage module.
[0051] Among them, the video recording plan information at least includes video recording channel code, and the video recording storage information at least includes video recording channel code.
[0052] S102, the data collection module analyzes the video recording plan information according to the video recording channel code to obtain the video recording plan information of each video recording channel, and analyzes the video recording storage information according to the video recording channel code to obtain the video recording storage information of each video recording channel.
[0053] S103, the data collection module obtains the video recording plan execution completeness rate data of each video recording channel according to the video recording plan information, the current recording state information and the video recording storage information of each video recording channel, and stores the data into the database.
[0054] S104, the video recording plan execution condition display module obtains the video recording plan execution completeness rate data of each video recording channel from the database and displays the data.
[0055] In the present application, the method is applied to a video monitoring system, the video monitoring system comprising a data collection module, a database, a video recording module, a storage module and a video recording plan execution condition display module, the database being configured to store video recording plan information in the video monitoring system, the video recording module being configured to execute a video recording plan and collect video recording data through at least one video recording channel, and the storage module being configured to store the video recording data collected by the video recording module.
[0056] In the present application, the video monitoring system collects video recordings through at least one video recording channel, one video recording channel can correspond to one video recording device, in actual application, a user can configure a video recording plan for a video recording device, and in the video monitoring system, the video recording plan configured by the user for the video recording device can be associated with the video recording channel corresponding to the video recording device. Figure 2 As shown in the figure, an example diagram of video recording plan information configured in the video monitoring system in the present application is shown, it can be seen that the video recording plan information can include video recording plan name, code stream type, video recording plan storage period, planned video recording time and other information.
[0057] In the present application, a user can configure one video recording plan for one video recording device, then one video recording channel corresponds to one video recording plan, or the user can configure multiple video recording plans for one video recording device, then one video recording channel corresponds to multiple video recording plans, for the case that one video recording channel corresponds to multiple video recording plans, each video recording plan can be collected and analyzed according to the number of each video recording plan.
[0058] In the present application, the video recording plan refers to a function set in a video recording device or a video recording system, which allows a user to start storing video recordings at a specific time period or when a specific event is triggered according to actual needs. By reasonably setting the video recording plan, the monitoring resources can be effectively managed, the video recording at important moments can be ensured not to be missed, and the use of storage space can be optimized.
[0059] In the present application, the video monitoring system can store the video recording plan configured by the user in the database. Specifically, the video recording plan information can include: channel name, video recording channel code, video recording plan name, video recording plan time period description, video recording plan storage period, etc. In the present application, the video recording plan time period description can specifically include: video recording plan start time and video recording plan end time.
[0060] In the present application, the video monitoring system records the video collected through each video recording channel based on the video recording module, so that the video recording module can monitor the current recording state of each video recording channel. Specifically, the current recording state information of each video recording channel can include: offline state of the channel, recording state of the channel, recording type, recording state details, etc.
[0061] In the present application, the video monitoring system stores the video collected through each video recording channel through the storage module, and records the video storage information. Specifically, the video storage information can include the video start time and the video end time of each video.
[0062] In the present application, the data acquisition module can be in communication connection with the database, the video recording module and the storage module, so as to acquire each video recording plan information from the database, acquire the current recording state information of each video recording channel from the video recording module, and acquire the video storage information from the storage module. The three kinds of information are analyzed and summarized to obtain the video recording plan information, the current recording state information and the video storage information of each video recording channel, so as to monitor the video recording plan execution of each video recording channel.
[0063] In the present application, the data acquisition module can analyze the acquired information to obtain the video recording plan execution completeness rate data, and store it in the database. Thus, the video recording plan execution situation display module can obtain the video recording plan execution completeness rate data of each video recording channel from the database and display it, so that the user, system operation personnel and developers can quickly, intuitively and comprehensively view the video recording plan execution situation and control the operation of the system.
[0064] Specifically, the video recording plan execution situation display module reads data from the database, provides RestAPI interface and monitoring page to the outside for relevant personnel to view. RestAPI (Representational State Transfer Application Programming Interface) is a software architecture style, which can be used to design network applications and use standard HTTP methods to process data and interaction.
[0065] Specifically, the video plan execution condition display module can obtain the video plan execution completeness data corresponding to all video channels in the video monitoring system, and display the overview of all video channels on the monitoring page. Specifically, the monitoring page provided by the video plan execution condition display module can include the following display information: channel name, video channel code, video plan name, video plan description, storage period, channel offline state, channel recording state, recording type, etc.
[0066] Specifically, the video plan execution condition display module can also separately display the specific recording condition of each video channel on the monitoring page. In this case, the monitoring page can include the following display information: channel name, video channel code, video plan name, plan video duration, actual video duration, recording state details, video time period list, etc.
[0067] In this application, the video plan information also includes video plan time period description and video plan storage period, and the video storage information also includes video start time and video end time; the data collection module obtains the video plan execution completeness data of each video channel according to the video plan information, the current recording state information and the video storage information of each video channel. The step S102 includes:
[0068] S1021, the data collection module determines the total plan video duration of each video channel according to the video plan time period description and the video plan storage period in the video plan information of each video channel.
[0069] S1022, the data collection module determines the total actual video duration according to the video start time and the video end time in the video storage information of each video channel.
[0070] S1023, the data collection module determines the video plan execution completeness of each video channel according to the total plan video duration and the total actual video duration.
[0071] In this application, the video plan storage period refers to the retention period of the video file on the storage medium set by the user or the system administrator according to the actual demand. The video file exceeding this period will be deleted or overwritten by new video.
[0072] Based on the video plan time period description, the start period of the video plan and the plan video duration at each video plan start can be determined, and combined with the video plan storage period, the total plan video duration that should be theoretically stored in the storage module can be calculated.
[0073] For example, assume that the recording plan time period of the recording channel A is from 8:00 to 9:00 every day, and the recording plan storage period is 7 days, so it can be determined that the storage module should store the recording data of 8:00 to 9:00 for 7 consecutive days in theory, and the total recording time of the plan is 7 hours.
[0074] In the present application, the recording data of a certain channel stored in the storage module can include multiple recording periods, in which case the recording start time and the recording end time of each recording period are recorded.
[0075] In the present application, each recording period can be recording data obtained by single recording according to the recording plan. It can also be multiple recording periods formed by the recording terminal due to network anomalies and other reasons during single recording.
[0076] In the present application, based on the recording start time and the recording end time of each recording period of a certain recording channel stored in the recording module, the actual total recording time of the recording module actually collected and stored by the recording channel is calculated, so that the recording plan execution completeness rate can be determined according to the total recording time of the plan and the actual total recording time.
[0077] Specifically, the recording plan execution completeness rate can be obtained by the ratio of the actual recording time and the total recording time of the plan.
[0078] In the present application, the data collection module obtains recording plan information from the database, current recording state information of each recording channel from the recording module, and recording storage information from the storage module according to a preset collection period. Before collecting information each time, the data collection module empties the data temporary table in the database, and after obtaining the recording plan execution completeness rate data of each recording channel, the data collection module stores the recording plan execution completeness rate data of each recording channel in the data temporary table, empties the data formal table, and stores the data in the data temporary table into the data formal table.
[0079] In the present application, the data collection module can collect recording plan information, current recording state information and recording storage information according to a preset collection period. For example, recording plan information, current recording state information and recording storage information are collected every 10 seconds.
[0080] In the present application, the data collection module empties the data temporary table before collecting information each time, and stores the data in the data temporary table after calculating the recording plan execution completeness rate data, then empties the data formal table, and stores the data in the data temporary table in the data formal table. The form of storing data in the data temporary table and then transferring to the data formal table can avoid the data formal table being emptied during data analysis, which causes the recording plan execution condition display module to be unable to obtain valid data and abnormal display.
[0081] In the present application, the video monitoring system further comprises a video recording plan execution exception alarm module; and the method further comprises:
[0082] S105, the data collection module determines whether the current recording state of each video channel is abnormal according to the current recording state information of each video channel, and generates a video recording state exception alarm message of the first video channel in the case that the current recording state of the first video channel is abnormal, wherein the video recording state exception alarm message comprises the video recording plan information and the current recording state information of the first video channel.
[0083] S106, the data collection module determines a second video channel with a video recording plan execution completeness rate lower than a completeness rate threshold according to the video recording plan execution completeness rate data of each video channel, and generates a video recording completeness rate exception alarm message of the second video channel, wherein the video recording completeness rate exception alarm message comprises the video recording plan information and the video recording plan execution completeness rate data of the second video channel.
[0084] S107, the data collection module stores the video recording state exception alarm message of the first video channel and the video recording completeness rate exception alarm message of the second video channel in the alarm message queue in the order of generation time of each alarm message.
[0085] S108, the video recording plan execution exception alarm module obtains the alarm message from the alarm message queue and pushes it to the front end.
[0086] In the present application, the data collection module can also generate an exception alarm message of an abnormal channel in real time in the process of collecting and analyzing the video recording plan information, the current recording state information and the video storage information of each video channel.
[0087] In the present application, the exception alarm message mainly comprises a video recording state exception alarm message and a video recording completeness rate exception alarm message.
[0088] The video recording state exception alarm message is generated in the case that the current recording state of a certain video channel is abnormal, and the video recording completeness rate exception alarm message is generated in the case that the video recording plan completeness rate of a certain video channel is lower than the completeness rate threshold.
[0089] In the present application, the data acquisition module stores the generated abnormal alarm messages into the alarm message queue in sequence according to the generation time, and the video monitoring system video recording plan execution abnormal alarm module can be used as a consumer of the alarm message queue, and the abnormal alarm information is sequentially taken out from the message queue, and the information is pushed to the front end through the SoketIO mode, and the front end highlights the information on the page after receiving the alarm information, so as to help the user to discover and handle the abnormality in time.
[0090] In the present application, step S107 specifically comprises:
[0091] The data acquisition module integrates the video recording state abnormal alarm message and the video recording completeness abnormal alarm message of the same video recording channel, obtains a video recording abnormal alarm message, and stores the video recording abnormal alarm message into the alarm message queue according to the generation time of the video recording state abnormal alarm message of the video recording channel, wherein the video recording abnormal alarm message comprises the video recording plan information, the current recording state information and the video recording plan execution completeness data of the video recording channel.
[0092] In the present application, considering that when the video recording state of a video recording channel is abnormal, the video recording completeness will also be affected accordingly, in this case, multiple abnormal alarm messages of the same video recording channel will be generated in a short time, which will cause too frequent alarm messages and interference.
[0093] Therefore, the data acquisition module can periodically store the abnormal alarm messages generated in a period into the alarm message queue according to a preset storage period. Thus, the data acquisition module can integrate the video recording state abnormal alarm message and the video recording completeness abnormal alarm message of the same video recording channel generated in a period, obtain a video recording abnormal alarm message, and store the video recording abnormal alarm message into the message queue according to the generation time of the video recording state abnormal alarm message of the video recording channel.
[0094] In the present application, generally speaking, the video recording state abnormal alarm message of a certain video recording channel is generated first, and then the video recording completeness abnormal alarm message is generated, so that the generation time of the video recording state abnormal alarm message is used as the generation time of the integrated video recording abnormal alarm message, so that the push time of the abnormal alarm message is more consistent with the actual abnormal time of the video recording channel.
[0095] In the present application, the method further comprises:
[0096] S109, the video recording plan execution abnormal alarm module generates alarm prompt information according to the alarm message, and sends the alarm prompt information to a preset terminal.
[0097] In the present application, the preset terminal can be a mobile terminal of an operation and maintenance personnel or a technical personnel configured in advance.
[0098] In the present application, the video plan execution exception alarm module can also generate alarm prompt information according to the alarm message obtained from the alarm message queue and send it to the preset terminal to remind the specific operation and maintenance personnel or technical personnel.
[0099] In the present application, the video plan execution alarm module can not only push the abnormal alarm information to the front end to display on the front end page, but also generate alarm prompt information and send it to the preset terminal to remind the specific operation and maintenance personnel or technical personnel, so that the operation and maintenance personnel or technical personnel can discover and handle the exception in time.
[0100] For the convenience of understanding, the following is based on Figure 3 The execution logic of the video plan execution situation monitoring method of the present application is described, Figure 3 The execution logic diagram of the data collection module in the video plan execution situation monitoring method of the present application is shown, as Figure 3 As shown, in the present application, the data collection module collects related information according to the preset period, and after the collection starts, it empties the temporary data table, collects video plan information from the database, collects video state information from the video module, and collects video storage information from the storage module, wherein the video plan information, the video state information and the video storage information correspond to the channel identifier.
[0101] In the present application, after collecting the three kinds of information, the data collection module can integrate and analyze the three kinds of information to determine the total video time of the video plan and the actual total video time of each video channel, and calculate the video plan execution completeness rate data, store the video plan execution completeness rate data in the data temporary table, empty the data formal table, and store the data in the data temporary table in the data formal table, complete a collection. Thus, the real-time execution situation of the video plan of each video channel can be displayed in real time through the video plan execution situation display module.
[0102] In addition, in the present application, in the process of collecting information and analyzing, the data collection module can also judge whether the recording state of each recording channel is abnormal and whether the video plan execution completeness rate of each recording plan is lower than the completeness rate threshold. For the recording channel with abnormal recording state and the recording channel with video plan execution completeness rate lower than the completeness rate threshold, generate an alarm message and store it in the alarm message queue, so that the video plan execution exception alarm module can complete the pushing of the alarm message. As Figure 4 As shown, it shows an overview example diagram of the execution situation of the video plan of each video channel displayed by the video plan execution situation display module in the present application, from Figure 4As can be seen from the above, the video recording plan execution condition display module can display the video recording collection conditions of each video recording channel included in the video monitoring system, including the video recording state and the completeness rate, so as to find the video recording channel with abnormal video recording condition in time. Figure 5 As shown in the figure, it shows an example of details of the video recording plan execution condition of a certain video recording channel displayed by the video recording plan execution condition display module in the present application, from which Figure 5 As can be seen from the above, the video recording plan execution condition display module can display the video recording plan execution condition of the video recording channel according to the video recording time, so as to intuitively reflect the video recording completeness rate. In addition, the missing video recording time period can be prompted, so as to facilitate the subsequent technical personnel to analyze and repair the video recording abnormal condition.
[0103] In an embodiment of the present application, referring to Figure 6 , Figure 6 is a frame schematic diagram of the video monitoring system 600 in an embodiment of the present application. As shown in the figure, Figure 6 The video monitoring system 600 includes a data collection module 601, a database 602, a video recording module 603, a storage module 604 and a video recording plan execution condition display module 605; the database 602 is used to store the video recording plan information in the video monitoring system, the video recording module 603 is used to execute the video recording plan and collect the video recording data through at least one video recording channel, and the storage module 604 is used to store the video recording data collected by the video recording module;
[0104] The data collection module 601 is used to obtain the video recording plan information from the database, the current recording state information of each video recording channel from the video recording module, and the video recording storage information from the storage module; the video recording plan information at least includes the video recording channel code, and the video recording storage information at least includes the video recording channel code;
[0105] The data collection module 601 is also used to analyze the video recording plan information according to the video recording channel code to obtain the video recording plan information of each video recording channel, and analyze the video recording storage information according to the video recording channel code to obtain the video recording storage information of each video recording channel;
[0106] The data collection module 601 is also used to obtain the video recording plan execution completeness rate data of each video recording channel according to the video recording plan information, the current recording state information and the video recording storage information of each video recording channel, and store the data to the database 602;
[0107] The video recording plan execution condition display module 605 is used to obtain the video recording plan execution completeness rate data of each video recording channel from the database 602 and display the data.
[0108] Optionally, the video monitoring system further comprises a video recording plan execution exception alarm module.
[0109] The data collection module 601 is further configured to determine whether the current recording state of each video channel is abnormal according to the current recording state information of each video channel, and generate a video recording state exception alarm message of the first video channel if it is determined that the current recording state of the first video channel is abnormal, wherein the video recording state exception alarm message comprises the video recording plan information and the current recording state information of the first video channel.
[0110] The data collection module 601 is further configured to determine a second video channel with a recording plan execution completeness rate lower than a completeness rate threshold according to the recording plan execution completeness rate data of each video channel, and generate a video recording completeness rate exception alarm message of the second video channel, wherein the video recording completeness rate exception alarm message comprises the video recording plan information and the recording plan execution completeness rate data of the second video channel.
[0111] The data collection module 601 is further configured to store the video recording state exception alarm message of the first video channel and the video recording completeness rate exception alarm message of the second video channel into an alarm message queue in the order of generation time of each alarm message.
[0112] The video recording plan execution exception alarm module is configured to obtain alarm messages from the alarm message queue and push them to the front end.
[0113] Optionally, the data collection module 601 is specifically configured to integrate the video recording state exception alarm message and the video recording completeness rate exception alarm message of the same video channel to obtain a video exception alarm message, and store the video exception alarm message into the alarm message queue in the order of generation time of the video recording state exception alarm message of the video channel, wherein the video exception alarm message comprises the video recording plan information, the current recording state information and the recording plan execution completeness rate data of the video channel.
[0114] Optionally, the video recording plan execution exception alarm module is further configured to generate alarm prompt information according to the alarm message, and send the alarm prompt information to a preset terminal.
[0115] Optionally, the video recording plan information further comprises a video recording plan time period description and a video recording plan storage period, and the video storage information further comprises a video start time and a video end time; the data collection module 601 is specifically configured to:
[0116] The data collection module determines the total planned video length of each video channel according to the video recording plan time period description and the video recording plan storage period in the video recording plan information of each video channel.
[0117] The data collection module determines the actual total recording time according to the recording start time and the recording end time in the recording storage information of each recording channel;
[0118] The data collection module determines the recording plan execution completeness rate of each recording channel according to the planned total recording time and the actual total recording time.
[0119] Optionally, the data collection module 601 is configured to acquire the recording plan information from the database 602, the current recording state information of each recording channel from the recording module 603, and the recording storage information from the storage module 604 according to a preset collection period.
[0120] The data collection module 601 is further configured to empty the data temporary table in the database 602 before collecting information each time, and store the recording plan execution completeness rate data of each recording channel to the data temporary table after obtaining the recording plan execution completeness rate data of each recording channel, empty the data formal table, and store the data in the data temporary table to the data formal table.
[0121] Optionally, the recording plan execution condition display module 605 is specifically configured to provide a preset interface and a monitoring page to display the recording plan execution data, the recording plan execution data including the recording plan information, the current recording state information, the recording storage information, and the recording plan execution completeness rate data of each recording channel.
[0122] In the present application, the description of the system embodiment is less, and the specific description can refer to the above method embodiment, which will not be repeated here.
[0123] In an embodiment of the present application, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the above recording plan execution condition monitoring method.
[0124] In an embodiment of the present application, a non-volatile storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the recording plan execution condition monitoring method as described in the above embodiment.
[0125] Each embodiment in the present specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same and similar parts between each embodiment can be referred to each other.
[0126] Those skilled in the art will appreciate that embodiments of the application can be supplied as a method, a device, or a computer program product. Thus, embodiments of the application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the application can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) embodying computer readable program code.
[0127] Embodiments of the application are described herein with reference to the drawings, in which are shown flowcharts and / or block diagrams of methods, apparatuses (systems) and computer program products according to embodiments of the application. It will be understood that each flow and / or block of the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processing device or other programmable data processing terminal apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal apparatus, create means for implementing the functions specified in the flowcharts and / or block diagrams block or blocks. Figure 1 Figure 1
[0128] These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing terminal apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the flowcharts and / or block diagrams block or blocks. Figure 1 Figure 1
[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal apparatus to cause a series of operational steps to be performed on the computer or other programmable terminal apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal apparatus provide steps for implementing the flowcharts and / or block diagrams block or blocks. Figure 1 Figure 1
[0130] Although preferred embodiments of the application have been described, those skilled in the art will appreciate that additional modifications and changes can be made to these embodiments without departing from the true spirit and scope of the application. Accordingly, the appended claims are intended to cover all such modifications and changes as fall within the true spirit and scope of the application.
[0131] Finally, it is to be understood that the terms such as first and second, and the like, herein are used only to distinguish one from another entity or action, and do not necessarily require or imply such actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0132] The above provides a video recording plan execution monitoring method, system, electronic device and medium, which is described in detail. The principles and embodiments of the present application are described by using specific examples. The above description of the embodiments is only used to help understand the method and its core idea. For those skilled in the art, according to the idea of the present application, the specific embodiments and application scope can be changed. In summary, the content of the specification should not be understood as a limitation of the present application.
Claims
1. A method of monitoring the progress of a video recording schedule, characterized by, The application is applied to a video monitoring system, and the video monitoring system comprises a data acquisition module, a database, a video recording module, a storage module, a video recording plan execution condition display module and a video recording plan execution exception alarm module. The database is used for storing video recording plan information in the video monitoring system. The video recording module is used for executing a video recording plan and collecting video recording data through at least one video recording channel. The storage module is used for storing the video recording data collected by the video recording module. The method comprises the following steps: The data acquisition module obtains video recording plan information from the database, obtains current recording state information of each video recording channel from the video recording module, and obtains video recording storage information from the storage module. The video recording plan information at least comprises a video recording channel code, and the video recording storage information at least comprises a video recording channel code. The data acquisition module analyzes the video recording plan information according to the video recording channel code, and obtains the video recording plan information of each video recording channel. The data acquisition module analyzes the video recording storage information according to the video recording channel code, and obtains the video recording storage information of each video recording channel. The data acquisition module obtains the video recording plan execution completeness rate data of each video recording channel according to the video recording plan information, the current recording state information and the video recording storage information of each video recording channel, and stores the video recording plan execution completeness rate data into the database. The video recording plan execution condition display module obtains the video recording plan execution completeness rate data of each video recording channel from the database and displays the video recording plan execution completeness rate data. The data acquisition module determines whether the current recording state of each video recording channel is abnormal according to the current recording state information of each video recording channel. In the case that the current recording state of a first video recording channel is determined to be abnormal, a video recording state abnormal alarm message of the first video recording channel is generated. The data acquisition module determines a second video recording channel with a video recording plan execution completeness rate lower than a completeness rate threshold according to the video recording plan execution completeness rate data of each video recording channel, and generates a video recording completeness rate abnormal alarm message of the second video recording channel. The data acquisition module integrates the video recording state abnormal alarm message and the video recording completeness rate abnormal alarm message of the same video recording channel, obtains a video recording abnormal alarm message, and stores the video recording abnormal alarm message into an alarm message queue according to the time when the video recording state abnormal alarm message of the video recording channel is generated. The video recording plan execution exception alarm module obtains the alarm message from the alarm message queue and pushes the alarm message to the front end.
2. The video-recording schedule execution condition monitoring method according to Claim 1, wherein The video recording state abnormal alarm message comprises the video recording plan information and the current recording state information of the first video recording channel. The video recording completeness rate abnormal alarm message comprises the video recording plan information and the video recording plan execution completeness rate data of the second video recording channel.
3. The video-recording schedule execution condition monitoring method according to Claim 2, wherein The video recording abnormal alarm message comprises the video recording plan information, the current recording state information and the video recording plan execution completeness rate data of the video recording channel.
4. The video-recording schedule execution condition monitoring method according to Claim 2, wherein After the video recording plan execution exception alarm module obtains the alarm message from the alarm message queue and pushes the alarm message to the front end, the method further comprises the following steps: The video recording plan execution exception alarm module generates an alarm prompt information according to the alarm message, and sends the alarm prompt information to a preset terminal.
5. The video-recording schedule execution-monitoring method of claim 1, wherein, The video recording plan information further comprises a video recording plan time period description and a video recording plan storage period, and the video recording storage information further comprises a video recording start time and a video recording end time; the data collection module obtains the video recording plan execution completeness rate data of each video recording channel according to the video recording plan information, the current recording state information and the video recording storage information of each video recording channel, comprising: The data collection module determines the total planned video recording time of each video recording channel according to the video recording plan time period description and the video recording plan storage period in the video recording plan information of each video recording channel; The data collection module determines the total actual video recording time according to the video recording start time and the video recording end time in the video recording storage information of each video recording channel; The data collection module determines the video recording plan execution completeness rate of each video recording channel according to the total planned video recording time and the total actual video recording time.
6. The video-recording schedule execution condition monitoring method according to Claim 1, wherein Further comprising: The data collection module acquires the video recording plan information from the database, the current recording state information of each video recording channel from the video recording module and the video recording storage information from the storage module according to a preset collection period; Before collecting information each time, the data collection module empties the data temporary table in the database, and after obtaining the video recording plan execution completeness rate data of each video recording channel, the data collection module stores the video recording plan execution completeness rate data of each video recording channel into the data temporary table, empties the data formal table, and stores the data in the data temporary table into the data formal table.
7. The video-recording schedule execution monitoring method according to any one of claims 1 to 6, characterized by, The video recording plan execution condition display module acquires the video recording plan execution completeness rate data of each video recording channel from the database and displays the data, comprising: The video recording plan execution condition display module provides a preset interface and a monitoring page to the outside, displays the video recording plan execution data, and the video recording plan execution data comprises the video recording plan information, the current recording state information and the video recording storage information of each video recording channel and the video recording plan execution completeness rate data.
8. A video surveillance system characterized by, The video monitoring system comprises a data collection module, a database, a video recording module, a storage module, a video recording plan execution condition display module and a video recording plan execution abnormality alarm module; the database is used to store the video recording plan information in the video monitoring system, the video recording module is used to execute a video recording plan and collect video recording data through at least one video recording channel, and the storage module is used to store the video recording data collected by the video recording module; The data collection module is used to acquire the video recording plan information from the database, the current recording state information of each video recording channel from the video recording module and the video recording storage information from the storage module; the video recording plan information at least comprises a video recording channel code, and the video recording storage information at least comprises a video recording channel code; The data collection module is further used to analyze the video recording plan information according to the video recording channel code, and obtain the video recording plan information of each video recording channel; the data collection module analyzes the video recording storage information according to the video recording channel code, and obtains the video recording storage information of each video recording channel; The data collection module is further used to analyze the video recording plan information according to the video recording channel code, and obtain the video recording plan information of each video recording channel; the data collection module analyzes the video recording storage information according to the video recording channel code, and obtains the video recording storage information of each video recording channel; The data collection module is further configured to obtain recording plan execution completeness data of each recording channel according to the recording plan information, the current recording state information and the recording storage information of each recording channel, and store the data into the database; The recording plan execution condition display module is configured to obtain the recording plan execution completeness data of each recording channel from the database and display the data; The data collection module is further configured to determine whether the current recording state of each recording channel is abnormal according to the current recording state information of each recording channel, and generate a recording state abnormal alarm message of the first recording channel if it is determined that the current recording state of the first recording channel is abnormal; The data collection module is further configured to determine a second recording channel whose recording plan execution completeness data is lower than a completeness threshold according to the recording plan execution completeness data of each recording channel, and generate a recording completeness abnormal alarm message of the second recording channel; The data collection module is further configured to integrate the recording state abnormal alarm message and the recording completeness abnormal alarm message of the same recording channel to obtain a recording abnormal alarm message, store the recording abnormal alarm message into an alarm message queue according to the time when the recording state abnormal alarm message of the recording channel is generated, and the recording abnormal alarm message comprises the recording plan information, the current recording state information and the recording plan execution completeness data of the recording channel; The recording plan execution abnormal alarm module is configured to obtain the alarm message from the alarm message queue and push the alarm message to the front end.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to realize the recording plan execution condition monitoring method of any one of claims 1-7.
10. A non-volatile storage medium, comprising: A computer program product is provided, and the computer program product has a computer program stored thereon, which is executed by a processor to realize the recording plan execution condition monitoring method of any one of claims 1-7.
Citation Information
Patent Citations
Operation and maintenance method, system and equipment based on video integrity rate and storage integrity rate
CN117176943A