A method and system for collecting audio and video data

The data is collected and stored in real time through the audio and video data collection terminal, and the integrity is judged in the control center, which solves the problem of data loss caused by poor network. Combined with positioning and signal assessment, it realizes data integrity and law enforcement trajectory monitoring, and timely warning. Optimized law enforcement data collection and analysis.

CN115514815BActive Publication Date: 2024-10-11WUHAN YIXUN ELECTRONICS INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210823795.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-13
Publication Date
2024-10-11
Estimated Expiration
2042-07-13

AI Technical Summary

Technical Problem

In the existing technology, when the network is poor, the data collected by audio and video data collection terminals may be lost, and it is impossible to determine whether there is human intervention or equipment failure, making it difficult to ensure the integrity of law enforcement data.

Method used

Provide an audio and video data collection method and system that collects and locally stores data in real time through audio and video data collection terminals, determines the integrity of the data in the management and control center, and sends a supplementary transmission request to solve the loss problem; at the same time, using positioning information and network signals Evaluate confidence, conduct early warning and data analysis, and optimize patrol routes and evidence collection processes.

Benefits of technology

It achieves data integrity protection when the network is not good, ensuring that law enforcement data is not lost, and through trajectory monitoring and video playback, it solves the problem of unclear locations and trajectories of law enforcement officers, provides timely warnings of possible interventions or failures, and optimizes law enforcement. Data collection and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115514815B_ABST
    Figure CN115514815B_ABST
Patent Text Reader

Abstract

The present invention relates to an audio and video data collection method and system, the collection method comprising: an audio and video data collection terminal collects audio and video data in real time, stores it locally and transmits it to a control center; when the control center determines that there is non-continuous data in the audio and video data, it notifies the audio and video data collection terminal to retransmit the corresponding audio and video data; the control center automatically retrieves the integrity of the audio and video data collected in real time, and sends a request for retransmission to the lost video, so as to solve the problem that when the network is not good, the law enforcement data is lost and the data can only be exported by wire and the missing part is manually intercepted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data collection, and in particular to a method and system for collecting audio and video data. Background Art

[0002] In the prior art, there are many places that need to obtain on-site audio and video data through patrolling. For example, a Chinese invention patent entitled "An intelligent indoor patrol device (CN108055504B)" discloses a scheme for video acquisition during indoor patrols, and a Chinese invention patent application entitled "A factory standard automatic inspection method based on video behavior recognition (CN114241392A)" discloses an inspection scheme for video acquisition of factories. A Chinese invention patent application entitled "An inspection robot for multi-layer gasification workshops in a coal-to-methanol plant" discloses a scheme for using robots to inspect coal-to-methanol plants.

[0003] The inspection process collection system collects video and audio data of on-site law enforcement in real time through the data collection terminal, and transmits the collected on-site data to the control center in real time through the wireless network. The control center saves, processes and plays the on-site law enforcement data.

[0004] However, when the network is not good, the data collected by the data collection terminal may be lost during the transmission process, and there is no way to determine whether there is human intervention or equipment failure when the data collection terminal collects data. Summary of the invention

[0005] In view of the technical problems existing in the prior art, the present invention provides an audio and video data collection method and system. The control center automatically searches for the integrity of the audio and video data collected in real time, and sends instructions to request retransmission of the lost video, thereby solving the problem that law enforcement data is lost when the network is poor and the data can only be exported through wired means and the missing parts can be manually intercepted.

[0006] According to a first aspect of the present invention, there is provided a method for collecting audio and video data, comprising:

[0007] Step 1: The audio and video data collection terminal collects audio and video data in real time, stores it locally, and transmits it to the control center;

[0008] Step 2: When the control center determines that there is discontinuous data in the audio and video data, it notifies the audio and video data acquisition terminal to retransmit the corresponding audio and video data.

[0009] Based on the above technical solution, the present invention can also make the following improvements.

[0010] Optionally, the collection method further includes:

[0011] Collecting trajectory data according to the positioning information of the audio and video data collection terminal, and uploading the collected trajectory data to the control center;

[0012] The control center combines the trajectory data with map data to perform trajectory playback to monitor the law enforcement trajectory of the audio and video data acquisition terminal.

[0013] Optionally, the corresponding audio and video data is supplemented at the audio and video data acquisition terminal, and then the method further includes:

[0014] The audio and video data in the audio and video data are transcoded through the FFMPEG plug-in and sent to the control center. The control center stores the transcoded audio and video data and previews and replays the transcoded audio and video data through the SRS streaming media service.

[0015] Optionally, after the control center receives the audio and video data transmitted or supplemented by the audio and video data acquisition terminal, the control center further includes:

[0016] The confidence of the network signal and the positioning information of the audio and video data are evaluated respectively to obtain the confidence of the network signal and the confidence of the positioning information, and an early warning is issued to the audio and video data acquisition terminal when the confidence of the network signal is lower than a first set threshold or the confidence of the positioning information is lower than a second set threshold;

[0017] The confidence level of the positioning information is set according to the power-on time and the number of satellites received by the audio and video data acquisition terminal, and the confidence level of the network signal is set according to the power value of the network signal.

[0018] Optionally, the confidence level of the positioning information is set according to the power-on time and the number of satellites received by the audio and video data acquisition terminal, including:

[0019] When the audio and video data acquisition terminal is started within a set time, the confidence level of the positioning information is set to 0;

[0020] When the power-on time exceeds the set time and the number of satellites received is between 4 and 6, the confidence level of the positioning information is set to 1;

[0021] When the power-on time exceeds the set time and the number of satellites received is between 7 and 10, the confidence level of the positioning information is set to 2;

[0022] When the power-on time exceeds the set time and the number of satellites received is greater than 10, the confidence level of the positioning information is set to 3;

[0023] The step of setting the confidence level of the network signal according to the power value of the network signal includes:

[0024] When the network signal is above -90dBm, the confidence level of the network signal is set to 3;

[0025] When the network signal is between -90dbm and -95dbm, the confidence level of the network signal is set to 2;

[0026] When the network signal is between -95dbm and -105dbm, the confidence level of the network signal is set to 1;

[0027] When the network signal is below -105dbm, the confidence of the network signal is set to 0;

[0028] Among them, when the confidence value is 0, 1, 2 and 3, it means unreliable, with a large deviation, reliable with low accuracy, and reliable with high accuracy, respectively.

[0029] Optionally, the collection method further includes:

[0030] Step 301, gridding each area to be patrolled, and setting patrol sequence numbers according to the mutual distances between each grid;

[0031] Step 302, marking the must-patrol grids; the must-patrol grids are grids of set key areas and / or areas that have not been patrolled for a set period of time;

[0032] Step 303, performing weighted summation of the confidence of the network signal of each grid and the confidence of the positioning information according to the set weight to obtain the total confidence, calculating the average value of the total confidence value of each grid within the set historical time, and marking the grid whose average value of the total confidence value is lower than the set value as a non-patrol grid;

[0033] Step 304: patrol the grids marked as must-patrol and not marked as not-patrolled according to the patrol sequence number to obtain the best patrol route for the area to be patrolled.

[0034] Optionally, the collection method further includes:

[0035] When the confidence level of the network signal is lower than a set value, the audio and video data acquisition terminal sends a prompt to the local video recording device to turn on the local video recording, so that the local video recording device turns on the local video recording to obtain the recorded video;

[0036] When the confidence level of the positioning signal is lower than a set value, the audio and video data acquisition terminal sends a prompt to the local shooting device to shoot the landmark, so that the local shooting device shoots the landmark to achieve positioning.

[0037] Optionally, the collection method further includes:

[0038] Calculate the historical average of the confidence of the network signal of each grid within the set historical time. When the confidence of the real-time network signal of any grid of the audio and video data acquisition terminal is less than or equal to 1, and the historical average of the confidence of the network signal of the grid is higher than the set value, issue a prompt whether the communication module is blocked or abnormal;

[0039] The historical average confidence level of the positioning information of each grid within the set historical time is calculated. When the confidence level of the real-time positioning information of any grid of the audio and video data acquisition terminal is less than or equal to 1, and the historical average confidence level of the positioning information of the grid is higher than the set value, a prompt is issued to indicate whether the positioning module is blocked or abnormal.

[0040] According to a second aspect of the present invention, there is provided an audio and video data acquisition system, comprising: an audio and video data acquisition terminal and a control center;

[0041] The audio and video data acquisition terminal collects audio and video data in real time, stores it locally, and transmits it to the control center;

[0042] When the control center determines that there is discontinuous data in the audio and video data, the control center notifies the audio and video data acquisition terminal to retransmit the corresponding audio and video data.

[0043] According to a third aspect of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein the processor is used to implement the steps of an audio and video data acquisition system when executing a computer management program stored in the memory.

[0044] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium on which a computer management program is stored, and when the computer management program is executed by a processor, the steps of the audio and video data acquisition system are implemented.

[0045] The present invention provides an audio and video data acquisition method, system, electronic device and storage medium. The control center automatically searches for the integrity of the audio and video data collected in real time, and sends a command to request retransmission of the lost video, so as to solve the problem that when the network is not good, the law enforcement data is lost and the data can only be exported by wire and the missing part is manually intercepted; it can realize the evidence collection combining trajectory and video, and solve the problem of unclear location and trajectory of law enforcement personnel in later evidence collection; the video is transcoded into FLV format and pushed in real time, which is convenient for real-time preview and historical video playback; it can comprehensively analyze the data returned by the device, timely warn the equipment that may be intervened by human or has faults, and then the background operation and maintenance personnel can investigate the specific reasons; the audio and video data are statistically analyzed to mark different law enforcement areas and the best patrol routes; corresponding prompts are sent to the audio and video data acquisition terminals located in the law enforcement areas to prevent the lack of necessary evidence in the audio and video data. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flowchart of an embodiment of an audio and video data acquisition method provided by the present invention;

[0047] Figure 2 A structural block diagram of an audio and video data acquisition system provided by the present invention;

[0048] Figure 3 A schematic diagram of the hardware structure of a possible electronic device provided by the present invention;

[0049] Figure 4 A schematic diagram of the hardware structure of a possible computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0050] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0051] Example 1

[0052] Embodiment 1 of the present invention is an embodiment of an audio and video data acquisition method provided by the present invention, combined with Figure 1 It can be seen that the embodiments of the collection method include:

[0053] Step 1: The audio and video data collection terminal collects audio and video data in real time, stores it locally and transmits it to the control center. Step 2: When the control center determines that there is discontinuous data in the audio and video data, it notifies the audio and video data collection terminal to retransmit the corresponding audio and video data.

[0054] It is understandable that in areas where duty is required, the audio and video data collection terminal will collect data collected during the duty process in real time, which is called audio and video data. The law enforcement collection terminal uploads the audio and video data collected in real time to the control center for storage. Due to poor network signals or other reasons during the duty process, the audio and video data uploaded by the law enforcement collection terminal to the control center may be incomplete or missed, etc. At this time, the control center will notify the audio and video data collection terminal to retransmit the previously missed audio and video data to form complete audio and video data.

[0055] Among them, when the audio and video data acquisition terminal uploads the real-time audio and video data to the control center, the control center can automatically identify whether the audio and video data is discontinuous, that is, whether there is a missed transmission. Specifically, the audio and video data acquisition terminal collects audio and video data at a certain frequency, so the audio and video data uploaded to the control center is time-stamped. After receiving the audio and video data uploaded by the audio and video data acquisition terminal, the control center determines whether there is a missed transmission based on the timestamp of the audio and video data. If so, the audio and video data acquisition terminal is notified to retransmit the corresponding audio and video data.

[0056] The present invention provides an audio and video data collection method, in which a control center automatically searches for the integrity of audio and video data collected in real time, and sends instructions to request retransmission of lost videos, thereby solving the problem that when the network is not good, law enforcement data is lost and the data can only be exported via wire and the missing parts are manually selected.

[0057] In a possible implementation manner, the collection method also includes: collecting trajectory data based on the positioning information of the audio and video data collection terminal, and uploading the collected trajectory data to a control center; the control center combines the trajectory data with map data for trajectory playback to monitor the law enforcement trajectory of the audio and video data collection terminal.

[0058] In specific implementation, the positioning information can be acquired using the Beidou / GPS positioning module, and the trajectory data formed by the real-time positioning information of the audio and video data acquisition terminal is uploaded to the control center, which combines the trajectory data with the map data for trajectory playback. This realizes the evidence collection by combining trajectory and video, solves the problem of unclear location and trajectory of law enforcement personnel in later evidence collection, and realizes the monitoring of the on-duty trajectory of on-duty personnel.

[0059] In a possible implementation manner, the corresponding audio and video data is supplemented at the audio and video data acquisition terminal, and then the audio and video data in the audio and video data is transcoded by an FFMPEG plug-in and sent to a control center, the control center stores the transcoded audio and video data, and the control center provides a preview and playback service of the audio and video data in the audio and video data through an SRS streaming media service.

[0060] During the playback of audio and video data at the control center, the audio and video data are transcoded, and then the SRS streaming media service is used to preview and playback the audio and video data so that management personnel can view them in real time.

[0061] In a possible implementation manner, after the control center receives the audio and video data transmitted or supplemented by the audio and video data acquisition terminal, it also includes: respectively evaluating the confidence of the network signal and the positioning information of the audio and video data to obtain the confidence of the network signal and the confidence of the positioning information, and issuing an early warning to the audio and video data acquisition terminal whose confidence of the network signal is lower than a first set threshold or whose confidence of the positioning information is lower than a second set threshold; wherein, the confidence of the positioning information of the audio and video data acquisition terminal is set according to the power-on time and the number of satellites received by the audio and video data acquisition terminal, and the confidence of the network signal is set according to the power value of the network signal.

[0062] It is understandable that when the audio and video data collection terminal collects audio and video data, it will upload relevant information about its own network signal strength information and positioning information to the control center. The control center evaluates the confidence of the network signal of the audio and video data collection terminal and the confidence of the positioning information based on the relevant information about the network signal strength information and the information about the positioning information uploaded by the audio and video data collection terminal. When the confidence of the network signal of the audio and video data collection terminal is lower than a certain preset threshold or the confidence of the positioning information is lower than a certain preset threshold, the audio and video data collection terminal is warned.

[0063] In a specific implementation, the preset threshold can be determined according to a custom experience value. A specific implementation example can be: for a working time (greater than four hours) when the built-in confidence is lower than the average confidence by more than 30%, an early warning will be issued.

[0064] In a possible implementation manner, the reference values ​​for evaluating the confidence of audio and video data include: video data, positioning data, network signal quality, and the number of satellites received. Among them, the confidence of the positioning information of the audio and video data acquisition terminal can be determined based on the boot time and the number of satellites received, and the confidence of the network signal can be determined based on the power value of the network signal of the audio and video data acquisition terminal.

[0065] In a possible implementation manner, the confidence of the positioning information of the audio and video data acquisition terminal is set according to the power-on time and the number of satellites received by the audio and video data acquisition terminal, including: when the audio and video data acquisition terminal is powered on within a set time, the confidence of the positioning information is set to 0; when the power-on time exceeds the set time and the number of satellites received is 4-6, the confidence of the positioning information is set to 1; when the power-on time exceeds the set time and the number of satellites received is 7-10, the confidence of the positioning information is set to 2; when the power-on time exceeds the set time and the number of satellites received is greater than 10, the confidence of the positioning information is set to 3.

[0066] The confidence of the network signal is set according to the power value of the network signal, including: when the network signal is above -90dBm, the confidence of the network signal is set to 3; when the network signal is between -90dbm and -95dbm, the confidence of the network signal is set to 2; when the network signal is between -95dbm and -105dbm, the confidence of the network signal is set to 1; when the network signal is below -105dbm, the confidence of the network signal is set to 0; wherein, when the confidence value is 0, 1, 2 and 3, it respectively indicates unreliable, large deviation, low precision and high precision.

[0067] It can be understood that the confidence level of the positioning information is: 0 means unreliable; 1 means it can be used as a reference with a large deviation; 2 means it is reliable with a small error; 3 means it is reliable with a high accuracy. The corresponding situations can be:

[0068] 1. When the device (audio and video data acquisition terminal) is just started, within the set startup time (specifically five minutes), the positioning accuracy is inaccurate, and the confidence of the positioning information is set to 0.

[0069] 2. When the number of satellites received by the audio and video data acquisition terminal is between 4 and 6, there will be a large static drift in the positioning. At this time, the position information on the device for a period of time may have errors. The confidence of the positioning information is set to 1.

[0070] 3. The number of satellites received by the audio and video data collection terminal is about 7 to 10, and the confidence level of the positioning information is set to 2.

[0071] 4. If the number of satellites received by the audio and video data collection terminal is greater than 10, the confidence level of the positioning information is set to 3.

[0072] The confidence level of the network signal is: 0 means no signal; 1 means the network fluctuates greatly and a large amount of video is lost; 2 means the network fluctuates slightly and a small amount of video is lost; 3 means the network is stable and there is basically no video loss. The corresponding situations can be:

[0073] 1. The power value of the network signal is above -90dBm, and the confidence level of the network signal is set to 3.

[0074] 2. The power value of the network signal is between -90dbm and -95dbm, and the confidence level of the network signal is set to 2.

[0075] 3. Signal -95dbm~-105dbm, set the confidence of the network signal to 1.

[0076] 4. Signal - 105dbm trawling, set the confidence of the network signal to 0.

[0077] It is understandable that the confidence of the network signal and the confidence of the positioning information are set in the process of audio and video data collection by the audio and video data collection terminal. If the confidence of the network signal is lower than a certain threshold or the positioning information is lower than the set threshold, it indicates that the audio and video data collected by the audio and video data collection terminal at this time is unreliable, there may be human intervention or the audio and video data collection terminal has a fault, and an early warning should be issued in time, and then the background operation and maintenance personnel will investigate the specific cause. In addition, the audio and video data collection terminal

[0078] Among them, during the on-duty process of the audio and video data acquisition terminal, patrol duty will be carried out according to the best patrol route. In a possible implementation method, the acquisition method also includes: step 301, gridding each area to be patrolled, and setting the patrol sequence number according to the mutual distance between each grid. Step 302, marking the grids that must be patrolled; the grids that must be patrolled are grids in the set key areas and / or areas that have not been patrolled for more than a set period of time. Step 303, weighted summing the confidence of the network signal and the confidence of the positioning information according to the set weights to obtain the total confidence, calculating the average value of the total confidence value of each grid within the set historical time, and marking the grid whose average total confidence value is lower than the set value as a non-patrol grid. Step 304, patrol the grids marked as must-patrol and those not marked as non-patrol according to the patrol sequence number to obtain the best patrol route for the area to be patrolled.

[0079] It is understandable that each law enforcement officer is assigned a corresponding patrol area. Before patrolling, the patrol area will be divided into grids, and the grids will be numbered sequentially according to the mutual distance between the grids.

[0080] According to the different situations of each network, the grids are divided into grids that must be patrolled and networks that do not need to be patrolled. Among them, the grids that must be patrolled are key patrol areas or areas that have not been patrolled for a long time. In addition, the confidence of the network signal and the confidence of the positioning information of the audio and video data acquisition terminal in each grid are counted, and the total confidence is calculated based on the confidence of the network signal and the confidence of the positioning information of each grid. When the average value of the total confidence of a grid is greater than the set threshold within a set historical period, there is no need to patrol the grid, because even if it is patrolled, the audio and video data collected by the audio and video data acquisition terminal is unavailable. Therefore, there is no need to patrol the grid. For such a grid, other methods need to be adopted to collect the corresponding data.

[0081] Based on the above method, the grids that must be patrolled and the grids that do not need to be patrolled are counted from the entire patrol area. Then, the grids that law enforcement officers finally need to patrol are the grids that must be patrolled and the grids that are not marked as not necessary to patrol. It can be understood that only the grids marked as not necessary to patrol do not need to be patrolled, and the other grids need to be patrolled. Patrol according to the numbering order of the grids that need to be patrolled, and generate the best patrol route. Later, when law enforcement officers are patrolling, they can patrol according to the best patrol route. In the embodiment of the present invention, the reason for marking the grids that must be patrolled is to remind law enforcement officers that when patrolling the grids that must be patrolled, they need to focus on patrolling, focus on collecting audio and video data of these grids, and focus on them.

[0082] The average confidence of each grid area is calculated using the grid method, and the overall confidence is calculated by network signal confidence * 70% + positioning information confidence * 30%. The overall signal quality of each grid area is determined, and then the law enforcement area of ​​the law enforcement personnel is checked to manually confirm the patrol route. If the law enforcement personnel enter an area with low confidence, that is, low network confidence or low positioning confidence, the control center will automatically send a prompt message and remind them when they enter other areas for law enforcement.

[0083] In a possible implementation manner, the collection process also includes: when the confidence of the network signal is lower than a set value, the audio and video data collection terminal sends a prompt to open the local recording to the local recording device, so that the local recording device opens the local recording to obtain the recorded video; when the confidence of the positioning signal is lower than a set value, the audio and video data collection terminal sends a prompt to shoot the landmark to the local shooting device, so that the local shooting device shoots the landmark to achieve positioning.

[0084] It is understandable that if the law enforcement officers find that the confidence of the network signal of a certain grid is lower than the set value during patrol, the audio and video data acquisition terminal may not be able to collect data at this time, and the collected audio and video data may be unreliable. Therefore, the audio and video data acquisition terminal sends a prompt to the local video recording device to open the local video recording, so that the local video recording device opens the local video recording to obtain the video recording. Similarly, when the audio and video data acquisition terminal arrives at a certain grid and finds that the confidence of its positioning information is lower than the set threshold, then the positioning information of the audio and video data acquisition terminal is inaccurate. At this time, the audio and video data acquisition terminal sends a prompt to shoot the landmark to the local shooting device, so that the local shooting device shoots the landmark to achieve positioning.

[0085] In a possible implementation mode, in the audio and video data, it also includes: calculating the historical average of the confidence of the network signal of each grid within the set historical time, and when the confidence of the real-time network signal of the audio and video data acquisition terminal in any grid is less than or equal to 1, and the historical average of the confidence of the network signal of the grid is higher than the set value, a prompt is issued to indicate whether the communication module is blocked or abnormal. Calculate the historical average of the confidence of the positioning information of each grid within the set historical time, and when the confidence of the real-time positioning information of the audio and video data acquisition terminal in any grid is less than or equal to 1, and the historical average of the confidence of the positioning information of the grid is higher than the set value, a prompt is issued to indicate whether the positioning module is blocked or abnormal.

[0086] It can be understood that for each grid, the average value of the confidence of the network signal of each grid within the set historical time is statistically calculated (called the historical average value of the network signal confidence of each grid). If the confidence of the real-time network signal of the audio and video data acquisition terminal in a certain grid is less than 1 (indicating that the network fluctuations are large and a large amount of video is lost), but the average value of the confidence of the network signal of the grid within the set historical time is higher than the set value, then it proves that there is an abnormality in the grid at this time. The communication module in the grid may be blocked or there are other abnormal reasons. In this case, the audio and video data acquisition terminal needs to send an abnormal prompt message.

[0087] Similarly, for each grid, the average confidence value of the positioning information of each grid within the set historical time is calculated (called the historical average confidence value of the positioning information of each grid). If the confidence value of the real-time positioning information of the audio and video data acquisition terminal in a certain grid is less than 1 (indicating that the positioning information is unreliable), but the average confidence value of the positioning information of the grid within the set historical time is higher than the set value, then it proves that the grid is abnormal at this time. It may be that the positioning function within the grid, such as the GPS module, Beidou positioning module, etc., is blocked or other abnormal reasons, then the audio and video data acquisition terminal needs to send an abnormal prompt message.

[0088] That is to say, in an area with good network quality shown by historical data, if the device signal is poor, there may be obstruction or communication module abnormality; in an area with good positioning quality shown by historical data, if the number of satellites received by the device is low, there may be obstruction or positioning module abnormality.

[0089] Example 2

[0090] Embodiment 2 provided by the present invention is an embodiment of an audio and video data acquisition system provided by the present invention. Figure 2This is a structural diagram of an audio and video data acquisition system provided in an embodiment of the present invention. In combination with FIG. 2 , it can be seen that the embodiment of the acquisition system includes: an audio and video data acquisition terminal 201 and a control center 202 .

[0091] The audio and video data collection terminal 201 collects audio and video data in real time, stores it locally and transmits it to the control center. When the control center 202 determines that there is discontinuous data in the audio and video data, it notifies the audio and video data collection terminal to retransmit the corresponding audio and video data.

[0092] The audio and video data acquisition terminal 201 uploads the trajectory data collected according to the positioning information to the control center 202 ; the control center 202 combines the trajectory data with the map data for trajectory playback to monitor the law enforcement trajectory of the audio and video data acquisition terminal 201 .

[0093] The audio and video data acquisition terminal 201 is also used to transcode the audio and video data in the audio and video data through the FFMPEG plug-in and send it to the control center 202. The control center 202 stores the transcoded audio and video data and previews and replays the transcoded audio and video data through the SRS streaming media service.

[0094] Among them, after the control center 202 receives the audio and video data transmitted or supplemented by the audio and video data acquisition terminal 201, it also includes: evaluating the confidence of the network signal and the positioning information of the audio and video data respectively, obtaining the confidence of the network signal and the confidence of the positioning information, and issuing an early warning to the audio and video data acquisition terminal 201 whose confidence of the network signal is lower than a first set threshold or whose confidence of the positioning information is lower than a second set threshold; wherein, the confidence of the positioning information is set according to the power-on time and the number of satellites received by the audio and video data acquisition terminal, and the confidence of the network signal is set according to the power value of the network signal.

[0095] Specifically, the confidence level of the positioning information is set according to the power-on time and the number of satellites received of the audio and video data acquisition terminal 201, including: when the audio and video data acquisition terminal 201 is powered on within a set time, the confidence level of the positioning information is set to 0; when the power-on time exceeds the set time and the number of satellites received is 4-6, the confidence level of the positioning information is set to 1; when the power-on time exceeds the set time and the number of satellites received is 7-10, the confidence level of the positioning information is set to 2; when the power-on time exceeds the set time and the number of satellites received is greater than 10, the confidence level of the positioning information is set to 3. The confidence of the network signal is set according to the power value of the network signal, including: when the network signal is above -90dBm, the confidence of the network signal is set to 3; when the network signal is between -90dbm and -95dbm, the confidence of the network signal is set to 2; when the network signal is between -95dbm and -105dbm, the confidence of the network signal is set to 1; when the network signal is below -105dbm, the confidence of the network signal is set to 0; wherein, when the confidence value is 0, 1, 2 and 3, it respectively indicates unreliable, large deviation, low precision and reliable, and high precision and reliable.

[0096] The control center 202 is also used to: divide each area to be patrolled into grids, set patrol sequence numbers according to the mutual distances between each grid; mark the grids that must be patrolled; the grids that must be patrolled are grids of set key areas and / or areas that have not been patrolled for a set period of time; perform weighted summation of the confidence of the network signal of each grid and the confidence of the positioning information according to set weights to obtain a total confidence, calculate the average value of the total confidence values ​​of each grid within a set historical time, and mark the grids whose average total confidence values ​​are lower than the set value as non-patrol grids; generate the best patrol route for the area to be patrolled according to the sequence numbers of the grids marked as must-patrol and those not marked as non-patrol, and send the best patrol route to the audio and video data acquisition terminal 201.

[0097] The audio and video data acquisition terminal 201 is used to send a prompt to the local recording device to turn on the local recording when the confidence of the network signal is lower than a set value, so that the local recording device turns on the local recording to obtain the recorded video; and when the confidence of the positioning signal is lower than a set value, send a prompt to the local shooting device to shoot the landmark, so that the local shooting device shoots the landmark to achieve positioning.

[0098] The control center 202 is further used to: calculate the historical average of the confidence of the network signal of each grid within a set historical time, and when the confidence of the real-time network signal of the audio and video data acquisition terminal 201 in any grid is less than or equal to 1, and the historical average of the confidence of the network signal of the grid is higher than the set value, issue a prompt whether the communication module is blocked or abnormal; and

[0099] Calculate the historical average confidence level of the positioning information of each grid within the set historical time. When the confidence level of the real-time positioning information of the audio and video data acquisition terminal 201 in any grid is less than or equal to 1, and the historical average confidence level of the positioning information of the grid is higher than the set value, a prompt is issued to indicate whether the positioning module is blocked or abnormal.

[0100] It can be understood that the audio and video data acquisition system provided by the present invention corresponds to the audio and video data acquisition system provided by the aforementioned embodiments. The relevant technical features of the audio and video data acquisition system can refer to the relevant technical features of the audio and video data acquisition system, which will not be repeated here.

[0101] See also Figure 3 , Figure 3 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 3 As shown, an embodiment of the present invention provides an electronic device, including a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor 320. When the processor 320 executes the computer program 311, the following steps are implemented: the audio and video data acquisition terminal acquires audio and video data in real time, stores it locally, and transmits it to the control center; when the control center determines that there is non-continuous data in the audio and video data, it notifies the audio and video data acquisition terminal to supplement the corresponding audio and video data.

[0102] See also Figure 4 , Figure 4 Schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. Figure 4 As shown, this embodiment provides a computer-readable storage medium 400 on which a computer program 411 is stored. When the computer program 411 is executed by a processor, the following steps are implemented: the audio and video data acquisition terminal acquires audio and video data in real time, stores it locally, and transmits it to a control center; when the control center determines that there is non-continuous data in the audio and video data, it notifies the audio and video data acquisition terminal to supplement the corresponding audio and video data.

[0103] The embodiment of the present invention provides an audio and video data collection method, system, electronic device and storage medium. The control center automatically searches for the integrity of the audio and video data collected in real time, and sends a request for retransmission of the lost video, so as to solve the problem that when the network is not good, the law enforcement data is lost and the data can only be exported by wire and the missing part is manually intercepted; it can realize the evidence collection combining trajectory and video, and solve the problem of unclear location and trajectory of law enforcement personnel in later evidence collection; the video is transcoded into FLV format and pushed in real time, which is convenient for real-time preview and historical video playback; it can comprehensively analyze the data sent back by the device, timely warn the equipment that may be intervened by human or has faults, and then the background operation and maintenance personnel can investigate the specific reasons; the audio and video data are statistically analyzed to mark different law enforcement areas and the best patrol routes; corresponding prompts are sent to the audio and video data collection terminals located in the law enforcement area to prevent the lack of necessary evidence in the audio and video data.

[0104] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0105] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0106] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0107] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0109] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0110] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for collecting audio and video data, characterized in that: The collection method comprises: Step 1: The audio and video data collection terminal collects audio and video data in real time, stores it locally, and transmits it to the control center; Step 2: When the control center determines that there is discontinuous data in the audio and video data, the control center notifies the audio and video data acquisition terminal to retransmit the corresponding audio and video data; After the control center receives the audio and video data transmitted or supplemented by the audio and video data acquisition terminal, it also includes: The confidence of the network signal and the positioning information of the audio and video data are evaluated respectively to obtain the confidence of the network signal and the confidence of the positioning information, and an early warning is issued to the audio and video data acquisition terminal when the confidence of the network signal is lower than a first set threshold or the confidence of the positioning information is lower than a second set threshold; The confidence level of the positioning information is set according to the power-on time and the number of satellites received by the audio and video data acquisition terminal, and the confidence level of the network signal is set according to the power value of the network signal; The collection method also includes: Step 301, gridding each area to be patrolled, and setting patrol sequence numbers according to the mutual distances between each grid; Step 302, marking the must-patrol grids; the must-patrol grids are grids of set key areas and / or areas that have not been patrolled for a set period of time; Step 303, performing weighted summation of the confidence of the network signal of each grid and the confidence of the positioning information according to the set weight to obtain the total confidence, calculating the average value of the total confidence value of each grid within the set historical time, and marking the grid whose average value of the total confidence value is lower than the set value as a non-patrol grid; Step 304: patrol the grids marked as must-patrol and not marked as not-patrolled according to the patrol sequence number to obtain the best patrol route for the area to be patrolled.

2. The collection method according to claim 1, characterized in that: The collection method also includes: Collecting trajectory data according to the positioning information of the audio and video data collection terminal, and uploading the collected trajectory data to the control center; The control center combines the trajectory data with map data to perform trajectory playback to monitor the trajectory of the audio and video data acquisition terminal.

3. The collection method according to claim 1, characterized in that: The corresponding audio and video data are supplemented at the audio and video data acquisition terminal, and then the method further includes: The audio and video data in the audio and video data are transcoded through the FFMPEG plug-in and sent to the control center. The control center stores the transcoded audio and video data and previews and replays the transcoded audio and video data through the SRS streaming media service.

4. The collection method according to claim 1, characterized in that: The step of setting the confidence level of the positioning information of the audio and video data acquisition terminal according to the power-on time and the number of satellites received by the audio and video data acquisition terminal includes: When the audio and video data acquisition terminal is started within a set time, the confidence level of the positioning information is set to 0; When the power-on time exceeds the set time and the number of satellites received is between 4 and 6, the confidence level of the positioning information is set to 1; When the power-on time exceeds the set time and the number of satellites received is between 7 and 10, the confidence level of the positioning information is set to 2; When the power-on time exceeds the set time and the number of satellites received is greater than 10, the confidence level of the positioning information is set to 3; The step of setting the confidence level of the network signal according to the power value of the network signal includes: When the network signal is above -90dBm, the confidence level of the network signal is set to 3; When the network signal is between -90dbm and -95dbm, the confidence level of the network signal is set to 2; When the network signal is between -95dbm and -105dbm, the confidence level of the network signal is set to 1; When the network signal is below -105dbm, the confidence of the network signal is set to 0; Among them, when the confidence value is 0, 1, 2 and 3, it means unreliable, with a large deviation, reliable with low accuracy, and reliable with high accuracy, respectively.

5. The collection method according to claim 1 or 4, characterized in that: The collection method also includes: When the confidence level of the network signal is lower than a set value, the audio and video data acquisition terminal sends a prompt to the local video recording device to turn on the local video recording, so that the local video recording device turns on the local video recording to obtain the recorded video; When the confidence level of the positioning information is lower than a set value, the audio and video data acquisition terminal sends a prompt to shoot the landmark to the local shooting device, so that the local shooting device shoots the landmark to achieve positioning.

6. The collection method according to claim 1 or 4, characterized in that: The collection method also includes: Calculate the historical average of the confidence of the network signal of each grid within the set historical time. When the confidence of the real-time network signal of any grid of the audio and video data acquisition terminal is less than or equal to 1, and the historical average of the confidence of the network signal of the grid is higher than the set value, issue a prompt whether the communication module is blocked or abnormal; The historical average confidence level of the positioning information of each grid within the set historical time is calculated. When the confidence level of the real-time positioning information of any grid of the audio and video data acquisition terminal is less than or equal to 1, and the historical average confidence level of the positioning information of the grid is higher than the set value, a prompt is issued to indicate whether the positioning module is blocked or abnormal.

7. An audio and video data acquisition system, characterized in that: The acquisition system includes: an audio and video data acquisition terminal and a control center; Each of the audio and video data collection terminals collects audio and video data in real time, stores it locally, and transmits it to the control center; When the control center determines that there is discontinuous data in the audio and video data, the control center notifies the audio and video data acquisition terminal to retransmit the corresponding audio and video data; After the control center receives the audio and video data transmitted or supplemented by the audio and video data acquisition terminal, it also includes: The confidence of the network signal and the positioning information of the audio and video data are evaluated respectively to obtain the confidence of the network signal and the confidence of the positioning information, and an early warning is issued to the audio and video data acquisition terminal when the confidence of the network signal is lower than a first set threshold or the confidence of the positioning information is lower than a second set threshold; The confidence level of the positioning information is set according to the power-on time and the number of satellites received by the audio and video data acquisition terminal, and the confidence level of the network signal is set according to the power value of the network signal; The acquisition system also includes: Divide each area to be patrolled into grids, and set patrol sequence numbers according to the distances between each grid; Mark the must-patrol grids; the must-patrol grids are grids of set key areas and / or areas that have not been patrolled for a set period of time; The confidence of the network signal of each grid and the confidence of the positioning information are weighted and summed according to the set weight to obtain the total confidence, and the average value of the total confidence value of each grid within the set historical time is calculated, and the grid whose average value of the total confidence value is lower than the set value is marked as a non-patrol grid; The grids marked as must-patrol and not marked as not-patrolled are patrolled according to the patrol sequence number to obtain the best patrol route for the area to be patrolled.

8. An electronic device, characterized in that: It comprises a memory and a processor, wherein the processor is used to implement the steps of the audio and video data acquisition method as described in any one of claims 1 to 5 when executing a computer management program stored in the memory.