A method, system, and medium for independent audio pre-recording buffering for law enforcement equipment
Patent Information
- Application Number
- CN202611161695.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-10-20
AI Technical Summary
[0005]针对现有技术存在的现有执法设备的预录方式无法满足先录制音频后录制视频以降低执法对象和被执法对象之间冲突发生概率的场景诉求问题,本申请主要提供一种用于执法设备的独立音频预录缓冲方法、系统及介质,以解决该技术问题
[0009]本申请的技术方案可以达到的有益效果是:本申请一种用于执法设备的独立音频预录缓冲方法通过设置的与主处理器供电独立、工作独立的独立音频处理单元,能够让执法设备在预录阶段录制执法现场中执法对象和被执法对象之间的声音数据;在监听到需要采集视频数据的触发信息后,将主处理器从低功耗状态切换到视频采集状态,录制执法对象和被执法对象之间的视频数据,从而满足了先录制音频后录制视频以降低执法对象和被执法对象之间冲突发生概率的场景诉求。
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This application relates to the field of audio and video processing technology, and in particular to an independent audio pre-recording buffer method, system and medium for law enforcement equipment. Background Technology
[0002] As the requirements for the integrity of the chain of evidence continue to increase, in actual mobile law enforcement and police recording, important conversations with evidentiary value often take place when officers verbally inform the person being enforced that recording is about to begin. If audio and video recording only begins after the person being enforced informs them, the audio data from the notification stage cannot be preserved, failing to meet the requirements for the integrity of the chain of evidence. This can easily lead to a break in the chain of evidence, resulting in insufficient evidentiary value during case handling.
[0003] Currently, most law enforcement equipment used in the industry employs simultaneous audio and video recording or simultaneous audio and video pre-recording techniques to record law enforcement information. These techniques involve the simultaneous acquisition of audio and video during the normal recording or pre-recording phases. If the sound and video of the law enforcement scene are recorded simultaneously before informing the person being enforced against, it will increase the probability of conflict between the law enforcement officer and the person being enforced against, as well as the risk of privacy exposure for the person being enforced against. If audio recording is started before informing the person being enforced against, it is easier for the person being enforced against to accept the situation.
[0004] The existing pre-recording methods of law enforcement equipment cannot meet the scenario requirements of recording audio first and then recording video to reduce the probability of conflict between law enforcement subjects and those being enforced against, and to reduce the risk of privacy exposure. Summary of the Invention
[0005] To address the problem that existing pre-recording methods in law enforcement equipment cannot meet the scenario requirement of recording audio before recording video to reduce the probability of conflict between law enforcement targets and those being enforced against, this application mainly provides an independent audio pre-recording buffer method, system, and medium for law enforcement equipment to solve this technical problem.
[0006] To achieve the above objectives, the first technical solution adopted in this application is an independent audio pre-recording buffer method for law enforcement equipment, comprising: after the law enforcement equipment is turned on, switching the main processor to a low-power state, and having an independent audio processing unit that is independent of the main processor in terms of power supply and operation pre-recording sound data of the law enforcement scene; when the law enforcement equipment detects a trigger information that requires the acquisition of video data, stopping the process of pre-recording sound data, switching the main processor to a video acquisition state, and acquiring video data of the law enforcement scene; and splicing and encapsulating the sound data and video data into law enforcement data.
[0007] The second technical solution adopted in this application is: This application provides an independent audio pre-recording buffer system for law enforcement equipment. The system includes an independent audio processing unit, a ring buffer manager, a multi-mode trigger detection module, a main processor, and an audio-video synchronization encapsulation module. The independent audio pre-recording buffer method of the first technical solution is realized through the cooperation between the modules, the independent audio processing unit, the ring buffer manager, and the main processor.
[0008] The third technical solution adopted in this application is: a computer-readable storage medium storing a computer program / instruction, which is operated to execute the independent audio pre-recording buffer method of the first technical solution.
[0009] The beneficial effects that the technical solution of this application can achieve are as follows: The independent audio pre-recording buffer method for law enforcement equipment in this application, through the setting of an independent audio processing unit that is independent of the main processor in terms of power supply and operation, enables the law enforcement equipment to record the sound data between the law enforcement object and the law enforcement subject at the law enforcement scene during the pre-recording stage; after listening to the trigger information that video data needs to be collected, the main processor switches from a low-power state to a video acquisition state to record the video data between the law enforcement object and the law enforcement subject, thereby meeting the scenario requirement of recording audio first and then recording video to reduce the probability of conflict between the law enforcement object and the law enforcement subject.
[0010] Furthermore, recording audio data first and then video data during the enforcement stage, and then splicing and packaging the audio and video data to form enforcement data, can supplement the dialogue data between the enforcement subject and the subject during the notification stage. This helps to solve the problem that the enforcement subject only starts recording audio and video after informing the subject, which makes it impossible to retain the audio data during the notification stage, easily causing a break in the chain of evidence and resulting in insufficient evidentiary value during case handling. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This is a schematic flowchart of a specific embodiment of an independent audio pre-recording buffer method for law enforcement equipment according to this application; Figure 2 This is a schematic flowchart of one embodiment of a specific implementation of the independent audio pre-recording buffer method for law enforcement equipment according to this application; Figure 3This is a schematic structural diagram of a specific embodiment of an independent audio pre-recording buffer system for law enforcement equipment according to this application; Figure 4 This is a schematic structural diagram of a specific embodiment of a computer-readable storage medium according to this application.
[0013] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0014] The preferred embodiments of this application will now be described in detail with reference to the accompanying drawings, so that the advantages and features of this application can be more easily understood by those skilled in the art, thereby providing a clearer and more definite definition of the scope of protection of this application.
[0015] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0016] Below, for reference Figures 1 to 4 This document provides a detailed explanation of the technical solutions of this application and how they solve the aforementioned technical problems through specific implementation methods and embodiments. The specific embodiments described below can be combined to form new embodiments. Identical or similar ideas or processes described in one embodiment may not be repeated in other embodiments.
[0017] Figure 1 A schematic flowchart of a specific embodiment of an independent audio pre-recording buffer method for law enforcement equipment according to this application is shown.
[0018] like Figure 1As shown, in one specific embodiment of an independent audio pre-recording buffer method for law enforcement equipment in this application, the method includes step S101, after the law enforcement equipment is turned on, switching the main processor to a low-power state, and having an independent audio processing unit that is independent of the main processor in terms of power supply and operation pre-record the sound data of the law enforcement scene.
[0019] As an example, the low-power states of the main processor include sleep state, standby state, and other low-power states. The preset modes of the low-power states of the main processor can be set according to the actual situation.
[0020] In one specific embodiment of this application, after the law enforcement equipment is turned on, the main processor is started and its state is switched to a low-power state; at the same time, an independent audio processing unit with a power source and operating mode independent of the main processor is started, and the independent audio processing unit pre-records the sound data between the law enforcement object and the person being enforced in the law enforcement scene in real time.
[0021] As an example, the targets of enforcement are law enforcement personnel, including traffic police, public security officers, judicial personnel, and prosecutors. Those subject to enforcement include drivers, suspects, and pedestrians.
[0022] By using the configuration method of this embodiment, when pre-recording sound data at the law enforcement scene in real time, this application keeps the main processor in a low-power state, which helps to reduce the power consumption of the main processor and extend its usage time.
[0023] In one specific embodiment of this application, sound data from the law enforcement scene is pre-recorded by an independent audio processing unit that is powered and operates independently from the main processor, including cyclically writing sound data into a circular buffer with an adjustable buffer duration in the law enforcement equipment.
[0024] As an example, the adjustable buffer duration can be in the range of 10–60 seconds, 5–120 seconds, or other ranges. The buffer duration can be a value within the corresponding set range, and both the buffer duration and the corresponding range can be adjusted according to actual needs. The memory corresponding to the circular buffer can be located in a separate audio processing unit or as a separate memory within the law enforcement device, and this memory can be set according to actual needs.
[0025] For example, with a buffer duration of 60 seconds, when using law enforcement equipment to pre-record audio data, audio data, such as dialogue data between the law enforcement target and the person being enforced against, is written cyclically into a circular buffer with a buffer duration of 60 seconds. The circular buffer of the law enforcement equipment only retains audio data within the first 60 seconds of the current moment.
[0026] Through the setting method of this embodiment, this application can cyclically write audio data into a circular buffer with a set buffer duration, so that the circular buffer only retains audio data close to the current moment and with the set buffer duration, so that law enforcement officers can retain valid audio data during law enforcement, which helps to reduce the amount of invalid audio data pre-recorded at the law enforcement scene.
[0027] In one specific embodiment of this application, the method of cyclically writing audio data into a circular buffer with an adjustable buffer duration in a law enforcement device includes: cyclically writing audio frames of audio data organized according to a preset time granularity unit into the circular buffer.
[0028] As an example, the write granularity of the preset time granularity unit can be 5 milliseconds, 10 milliseconds, 20 milliseconds, etc. The setting value of the preset time granularity unit meets the timestamp splicing requirements during encapsulation. Under the premise of meeting the corresponding requirements, the specific value of the preset time granularity unit can be adjusted according to the actual situation.
[0029] As an example, the timestamp stitching requirement during encapsulation is that the preset time granularity unit value is not greater than the preset target threshold corresponding to the time error of encapsulation stitching. For example, if the preset time granularity unit is 10 milliseconds, the preset target threshold corresponding to the time error of encapsulating and stitching audio and video data is 10 milliseconds.
[0030] Through the setting method of this embodiment, this application can organize audio frames of sound data into a circular buffer according to a preset time granularity unit, thereby ensuring the continuity of the pre-recorded sound data in the circular buffer.
[0031] In one specific embodiment of this application, the storage medium corresponding to the circular buffer is eMMC, UFS, or other non-volatile storage media, which helps to persistently store the written audio data.
[0032] like Figure 1 As shown, in a specific embodiment of an independent audio pre-recording buffer method for law enforcement equipment in this application, the independent audio pre-recording buffer method for law enforcement equipment includes step S102, whereby, after the law enforcement equipment detects a trigger information that requires the acquisition of video data, it stops the process of pre-recording audio data, switches the main processor to video acquisition mode, and acquires video data from the law enforcement scene.
[0033] In one specific embodiment of this application, when listening to trigger information requiring video data collection, the trigger status of the trigger information is listened to in the order of physical buttons before voice commands. By setting a priority strategy that prioritizes physical buttons over voice commands, this application can reduce the risk of accidental triggering of video data recording due to the voices of non-law enforcement personnel in noisy environments, thereby avoiding wasting the power of law enforcement equipment and helping to extend the usage time of law enforcement equipment.
[0034] As an example, voice commands can be triggered by voice signals acquired via Bluetooth or by voice signals when Bluetooth is unavailable. The voice trigger signal can be something like "Start recording now".
[0035] In one specific embodiment of this application, the application uses a multi-mode trigger detection module to monitor the trigger information for collecting video data. The trigger modes of the multi-mode trigger detection module include physical buttons, voice commands, Bluetooth commands, platform remote commands, or linkage trigger modes with other sensors, and a priority strategy of physical buttons taking precedence over voice commands is set to trigger the recording of video data between the law enforcement target and the law enforcement subject.
[0036] By setting multiple triggering methods for collecting video data, this application can match law enforcement officers with various triggering habits, providing convenience for their work, while ensuring the reliability of law enforcement equipment being triggered in a timely manner to record video data.
[0037] In one specific embodiment of this application, when the law enforcement device detects a trigger message indicating that video data needs to be collected, it stops the process of pre-recording audio data by the independent audio processing unit and switches the state of the independent audio processing unit to standby or other low-power states, saving power and extending its working time. Simultaneously, while stopping the pre-recording of audio data by the independent audio processing unit, the main processor is woken up and its state is switched from low-power to video capture mode, recording video data between the law enforcement target and the person being enforced against in real time. This satisfies the scenario requirement of recording audio before video to reduce the probability of conflict between the law enforcement target and the person being enforced against, while also reducing the risk of privacy exposure for the person being enforced against.
[0038] like Figure 1 As shown, in a specific embodiment of an independent audio pre-recording buffer method for law enforcement equipment in this application, the independent audio pre-recording buffer method for law enforcement equipment includes step S103, which involves splicing and encapsulating sound data and video data into law enforcement data.
[0039] In one specific embodiment of this application, the audio data and video data are spliced and encapsulated into law enforcement data, including: splicing the audio data and video data at the encapsulation level based on the timestamp of time synchronization calibration, and controlling the splicing time error within a preset target threshold to obtain law enforcement data.
[0040] Specifically, after detecting the trigger information that requires video data to be recorded, the audio and video synchronization encapsulation module reads the audio data stored in the circular buffer, and concatenates and encapsulates the bitstream data corresponding to the real-time video data according to the time synchronization calibration timestamp into law enforcement data in MP4 or other compliant audio and video encapsulation container formats.
[0041] Through the configuration method of this embodiment, this application can automatically complete the splicing and encapsulation of pre-recorded audio data and real-time streaming video data, saving manual splicing work and significantly improving the processing efficiency of law enforcement data splicing and encapsulation. At the same time, the configuration method of this embodiment helps to reduce the cost of manual splicing and editing of audio and video data in the later stage.
[0042] As an example, the time stamp source for time synchronization calibration can include one or more of the following as a unified time reference: Global Positioning System, BeiDou Navigation Satellite System, Network Time Protocol, or base station time. As long as it is a traceable time stamp that can be set on law enforcement equipment, it is acceptable.
[0043] As an example, the audio and video encapsulation container format for law enforcement data can be MP4, or other audio and video encapsulation container formats such as MKV and TS under compliance conditions, so that the format of the encapsulated law enforcement data complies with police standards, such as GA / T 947-2015 police standard requirements, to meet the compliance requirements of law enforcement data format.
[0044] In conjunction with the above specific implementation methods and embodiments, this application records audio data first and then video data during the enforcement stage. The enforcement data formed by splicing and encapsulating the audio and video data can supplement the dialogue data between the enforcement subject and the subject during the notification stage. This helps solve the problem that recording audio and video only after the enforcement subject has informed the subject makes it impossible to retain the dialogue data during the notification stage, which can easily lead to a break in the chain of evidence and insufficient evidentiary value during case handling. The method of recording audio data first and then video data during the enforcement stage, and then splicing and encapsulating the audio and video data to form the enforcement data, can improve the integrity of the key evidence chain.
[0045] In one specific embodiment of this application, an independent audio pre-recording buffer method for law enforcement equipment further includes: when the law enforcement equipment malfunctions, backing up the sound data to local storage, and the backup duration is not less than the buffer duration of the circular buffer.
[0046] As an example, the backup time is 65 seconds or 60 seconds, and the buffer time is 60 seconds.
[0047] In one specific embodiment of this application, when the law enforcement equipment experiences power failure, restart, abnormal triggering of video recording signal, abnormal ring buffer, or other abnormal situations, the audio data stored in the ring buffer is backed up to a non-volatile storage medium in the local memory, such as Flash or other non-volatile storage medium, to ensure that the audio data is not lost.
[0048] In one specific embodiment of this application, setting the backup duration to be longer than the buffer duration of the circular buffer ensures that all audio data stored in the circular buffer is backed up, further reducing the risk of audio data loss and guaranteeing the integrity of the pre-recorded audio data. After the law enforcement equipment returns to normal operation, the audio data can continue to be used, and its encapsulation with subsequently recorded video data helps improve the recoverability of critical audio data, thereby reducing the risk of critical audio data loss.
[0049] In one specific embodiment of this application, an independent audio pre-recording buffer method for law enforcement equipment further includes encrypting law enforcement data and uploading it to an evidence management platform through an encrypted channel, which helps to ensure the security of law enforcement data.
[0050] In one specific implementation of this application, the law enforcement data is encrypted using the AES-256 algorithm and uploaded to the evidence management platform via HTTPS (Hypertext Transfer Protocol Secure) to store the law enforcement data; at the same time, the evidence management platform can interface with the application programming interface of the existing police platform to facilitate viewing of the law enforcement data and facilitate the work of law enforcement personnel.
[0051] Figure 2 A schematic flowchart of one embodiment of a specific implementation of an independent audio pre-recording buffer method for law enforcement equipment according to this application is shown.
[0052] like Figure 2As shown, in a specific embodiment of this application, when using a law enforcement device employing the independent audio pre-recording buffer method for law enforcement equipment, the data processing procedure of the law enforcement device includes step S201: After starting the law enforcement device, the main processor is switched to a low-power state, and the independent audio processing unit cyclically writes the sound data of the law enforcement scene collected during pre-recording into the circular buffer according to a preset time granularity unit. Step S202: After detecting the trigger information that video data needs to be collected, the process of the independent audio processing unit writing sound data to the circular buffer is stopped, and the state of the main processor is switched to the video acquisition state. The sound data stored in the circular buffer is read, and the main processor starts video encoding to record the video data of the law enforcement scene. Step S203: The sound data stored in the circular buffer and the real-time recorded video data are spliced and encapsulated to obtain law enforcement data. Step S204: The law enforcement data is encrypted, and the encrypted law enforcement data is transmitted to the evidence management platform through an encrypted channel. Step S205: When an abnormality is detected in the law enforcement device, the sound data in the circular buffer is automatically backed up to the local storage, and after the law enforcement device recovers, the sound data is read and spliced and encapsulated with the subsequently real-time recorded video data to form law enforcement data.
[0053] This application, through the establishment of an independent audio processing unit that is powered and operates independently from the main processor, enables law enforcement equipment to record audio data between the law enforcement target and the person being enforced against during the pre-recording stage; after listening to the trigger information for collecting video data, it wakes up the main processor to record video data between the law enforcement target and the person being enforced against, thereby meeting the scenario requirement of recording audio first and then recording video to reduce the probability of conflict, while also reducing the risk of privacy exposure of the person being enforced against.
[0054] After obtaining the assembled and packaged law enforcement data, encrypting and transmitting it securely can prevent data corruption and improve data security. Simultaneously, using an evidence management platform to centrally manage law enforcement data collected by various devices facilitates subsequent review of relevant videos and pre-recorded audio by law enforcement personnel, enabling them to quickly access corresponding data and streamline law enforcement operations.
[0055] This application records audio data first and then video data during the enforcement stage, and then splices and encapsulates the audio and video data to form enforcement data. This can supplement the dialogue data between the enforcement subject and the subject during the notification stage, improve the integrity of the evidence chain, and solve the problem that the enforcement subject only starts recording audio and video after informing the subject, which makes it impossible to retain the audio during the notification stage, easily causing the evidence chain to break and resulting in insufficient evidentiary value during case handling.
[0056] Furthermore, after the law enforcement equipment is turned on, the main processor is kept in a low-power state, and the independent audio processing unit pre-records the sound data of the law enforcement scene in real time. When a trigger information that requires video data to be recorded is detected, the main processor is switched to video acquisition state to record video data. This can reduce the power consumption of the law enforcement equipment, thereby extending the overall battery life of the law enforcement equipment and facilitating the law enforcement work of law enforcement personnel.
[0057] Figure 3 A schematic structural diagram of a specific embodiment of an independent audio pre-recording buffer system for law enforcement equipment is shown in this application.
[0058] like Figure 3 As shown, in one specific embodiment of this application, an independent audio pre-recording buffer system for law enforcement equipment includes an independent audio processing unit 304, a ring buffer manager 306, a multi-mode trigger detection module 310, a main processor 305, and an audio-video synchronization encapsulation module 312. The independent audio pre-recording buffer method described in any of the above embodiments is realized through the cooperation between the modules, the independent audio processing unit 304, the ring buffer manager 306, and the main processor.
[0059] In one specific embodiment of this application, the independent audio processing unit 304 is relatively independent from the main processor 305 in terms of power supply or operating mode, and is used for pre-recording audio data. The independent audio processing unit 304 and the main processor 305 belong to different encoding paths; if the encoding path corresponding to the main processor 305 undertakes the task of pre-recording audio for a long time, it will also pre-record video while pre-recording audio and perform other tasks, which will result in high standby power consumption of the law enforcement equipment; however, by setting up an independent audio processing unit 304 that is relatively independent from the main processor 305 in terms of power supply or operating mode, it can work independently to collect sound data at the law enforcement scene. Compared with the main processor 305's operation of simultaneously collecting audio and video, it consumes less power and can undertake the work of pre-recording audio data for a long time, which helps to extend the battery life of the law enforcement equipment and facilitates law enforcement work.
[0060] In one specific embodiment of this application, a circular buffer manager 306 manages the circular buffer, a buffer duration configurator 307, and preset time granularity units. According to the preset time granularity units, it cyclically writes pre-recorded audio data from an independent audio processing unit 304 into the circular buffer within the buffer duration. This application can cyclically write audio data into a circular buffer with a set buffer duration, allowing the circular buffer to retain only audio data close to the current moment and within the set buffer duration. This enables law enforcement officers to retain valid audio data during law enforcement operations, helping to reduce the amount of invalid pre-recorded audio data at the law enforcement scene; it also helps save on storage media costs.
[0061] In one specific implementation of this application, the multi-mode trigger detection module 310 includes a physical button listener 308, a voice command recognizer 309, and / or remote trigger commands, etc., for monitoring the trigger status of trigger information in multiple modes. By setting multiple trigger modes, this application can match law enforcement officers with various triggering habits, providing convenience for their work, while ensuring the reliability of law enforcement equipment being triggered in a timely manner to record video data.
[0062] In one specific implementation of this application, after the main processor 305 is woken up by the multi-mode trigger detection module 310 that detects the trigger information, it starts video encoding and records video data in real time. Wake-up of the main processor 305 by the multi-mode trigger detection module helps to quickly trigger and record video data at the law enforcement scene in a timely manner, avoiding the omission of key video data.
[0063] In one specific implementation of this application, after the audio and video synchronization encapsulation module 312 detects the trigger information that video data needs to be collected by the multi-mode trigger detection module 310, it reads the audio data stored in the circular buffer and concatenates it with the real-time acquired video data to encapsulate it into law enforcement data. That is, the encapsulation engine 311 concatenates and encapsulates the audio data stored in the circular buffer and the real-time acquired video data into law enforcement data in the target format, so that the final output law enforcement data conforms to police standards, ensuring the validity of the law enforcement data and facilitating law enforcement work.
[0064] In one specific embodiment of this application, the independent audio processing unit 304 includes an independent audio digital signal processor 302, a microphone array 301, an audio preprocessing module, and a local memory 303. Raw sound data is acquired through the microphone array 301, preprocessed by the audio preprocessing module, and then processed by the independent audio digital signal processor 302 to obtain sound data with better sound quality, which helps to improve the quality of the stored sound data.
[0065] In one specific implementation of this application, a hardware path including an independent audio digital signal processor 302, a microphone array 301, and a preprocessing module is adopted, which is relatively isolated from the hardware path of the main processor 305. This allows for low-power continuous acquisition of sound data in the standby state or other low-power states of the main processor 305. This is beneficial for maintaining the audio pre-recording capability of the law enforcement device in the sleep or low-power state of the main processor 305. Furthermore, setting a low-power indicator for the standby audio path, such as no more than 5mA, in a wide temperature environment is beneficial for extending the overall battery life of the law enforcement device.
[0066] In conjunction with the above implementation methods and multiple embodiments, this application, through the independent audio processing unit that is powered and operates independently from the main processor, enables law enforcement equipment to record audio data between the law enforcement target and the person being enforced against during the pre-recording stage; after listening to the trigger information that video data needs to be collected, it wakes up the main processor and switches the main processor's state from a low-power state to a video acquisition state, recording video data between the law enforcement target and the person being enforced against at the law enforcement scene, thus meeting the scenario requirement of recording audio first and then recording video to reduce the probability of conflict between the law enforcement target and the person being enforced against.
[0067] Furthermore, this application records audio data first and then video data during the enforcement stage. The enforcement data formed by splicing and packaging the audio and video data can supplement the dialogue data between the enforcement subject and the subject during the notification stage. This solves the problem that the audio and video recording only begins after the enforcement subject informs the subject, which makes it impossible to retain the audio data during the notification stage, easily causing a break in the chain of evidence and resulting in insufficient evidentiary value during case handling.
[0068] Furthermore, after the law enforcement equipment is turned on, the main processor is kept in a low-power state, and the independent audio processing unit pre-records sound data in real time. When a trigger information for recording video data is detected, the main processor is switched from the low-power state to the video acquisition state to record video data. This can reduce the power consumption of the law enforcement equipment, thereby extending the overall battery life of the equipment and facilitating law enforcement work for the subjects of law enforcement.
[0069] Figure 4 A schematic structural diagram of a specific embodiment of a computer-readable storage medium according to this application is shown.
[0070] like Figure 4 As shown, in one specific embodiment of this application, this application also provides a computer-readable storage medium 40, which stores a computer program / instructions 41, which is operated to perform the independent audio pre-recording buffer method described in any of the above embodiments or embodiments.
[0071] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0072] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0073] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for independent audio pre-recording buffers for law enforcement equipment, characterized in that, include: After the law enforcement equipment is turned on, the main processor is switched to a low-power state, and the sound data of the law enforcement scene is pre-recorded by an independent audio processing unit that is independent of the main processor in terms of power supply and operation. When the law enforcement device detects a trigger message indicating that video data needs to be collected, it stops the process of pre-recording audio data and switches the main processor to video acquisition mode to collect video data from the law enforcement scene. The audio data and video data are concatenated and packaged into law enforcement data.
2. The independent audio pre-recording buffer method according to claim 1, characterized in that, The pre-recorded sound data from the law enforcement scene by an independent audio processing unit that is powered and operates independently of the main processor includes: The sound data is cyclically written into a circular buffer with an adjustable buffer duration in the law enforcement device.
3. The independent audio pre-recording buffer method according to claim 2, characterized in that, The step of cyclically writing the audio data into a circular buffer with an adjustable buffer duration in the law enforcement device includes: The audio frames of the sound data are cyclically written to the circular buffer according to a preset time granularity unit.
4. The independent audio pre-recording buffer method according to claim 1, characterized in that, When listening to trigger information that requires the collection of video data, the trigger status of the trigger information is listened to in the order of physical button presses before voice commands.
5. The independent audio pre-recording buffer method according to claim 1, characterized in that, The step of concatenating and encapsulating the audio data and video data into law enforcement data includes: Based on the time stamp of the time synchronization calibration, the audio data and the video data are spliced together at the encapsulation level, and the splicing time error is controlled within a preset target threshold to obtain the law enforcement data.
6. The independent audio pre-recording buffer method according to claim 2, characterized in that, Also includes: When the law enforcement equipment malfunctions, the sound data is backed up to local storage, and the backup duration is not less than the buffer duration.
7. The independent audio pre-recording buffer method according to claim 1, characterized in that, Also includes: The law enforcement data is encrypted and uploaded to the evidence management platform through an encrypted channel.
8. An independent audio pre-recording buffer system for law enforcement equipment, characterized in that, The method includes the independent audio processing unit, the ring buffer manager, the multi-mode trigger detection module, the main processor, and the audio-video synchronization encapsulation module. The independent audio pre-recording buffer method according to any one of claims 1-7 is implemented through the cooperation between the modules, the independent audio processing unit, the ring buffer manager, and the main processor.
9. The independent audio pre-recording buffer system according to claim 1, characterized in that, The independent audio processing unit includes an independent audio digital signal processor, a microphone array, and an audio preprocessing module.
10. A computer-readable storage medium storing a computer program / instructions, characterized in that, The computer program / instructions are operated to perform the independent audio pre-recording buffer method as described in any one of claims 1-7.