Video recording method, system and device based on multiple devices
By using a combination of wireless broadcast signals and video processing servers during law enforcement, video recording of video devices is automatically turned on, which solves the problems of video recording equipment opening delay and video file integrity, and improves the efficiency of law enforcement and the reliability of evidence management.
Patent Information
- Application Number
- CN202411263216.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-11-19
AI Technical Summary
During law enforcement, the video recording function of the video recording device is prone to untimely recording of video due to delay in manual opening or network instability, resulting in the loss of key evidence, and remote control signals are prone to loss, affecting the integrity of evidence and law enforcement efficiency.
The target video recording device sends out a wireless broadcast signal, carrying identification information, recording start time and signal flow identification, candidate video recording device receives and verifys signals within the preset range, ensures consistency of wireless communication protocols, automatically enables video recording and generates video files , send to the video processing server.
It ensures the timely opening of video recording equipment during the law enforcement process and the integrity of video files, reduces the operational burden of law enforcement personnel, and improves the efficiency of law enforcement and the reliability of evidence management.
Smart Images

Figure CN118984366A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information scheduling, and in particular to a video recording method, system and device based on multiple devices. Background Art
[0002] Teamwork is crucial in the law enforcement process. In order to ensure the transparency of law enforcement activities and the effectiveness of evidence, each law enforcement officer will be equipped with a mobile video recording device, or the law enforcement officer's vehicle will also be installed with a video recording device. These video recording devices usually have independent control functions and can record, videotape and capture, and upload video data to the server for evidence archiving and video playback.
[0003] Currently, during the law enforcement process, the video recording function of the video recording equipment is mainly turned on manually by law enforcement personnel or remotely controlled by a remote server. Manual activation may cause untimely video recording and loss of key evidence due to the complexity of the law enforcement process. Remote control through a remote server may cause the start signal of video recording to be lost easily due to network instability. Summary of the invention
[0004] The present invention provides a multi-device based video recording method, system and device to ensure the timeliness of starting the video recording device and the integrity of the video file during the law enforcement process.
[0005] According to one aspect of the present invention, a multi-device based video recording method is provided, characterized in that the method is applied to a candidate video recording device and comprises:
[0006] Receive a wireless broadcast signal sent by a target video recording device; wherein the wireless broadcast signal carries identification information of the target video recording device, recording start time information of the target video recording device, and a signal flow identification; the candidate video recording device refers to a video recording device within a preset range of the target video recording device;
[0007] Based on a preset wireless communication protocol, verify the wireless broadcast signal to determine whether the wireless broadcast signal complies with the wireless communication protocol;
[0008] Based on the identification information, the recording start time information and the signal flow identification, determining whether the wireless broadcast signal is a wireless broadcast signal received for the first time;
[0009] In a case where the wireless broadcast signal is received for the first time, a candidate video file is generated in response to the wireless broadcast signal, and the candidate video file is sent to a video processing server.
[0010] According to another aspect of the present invention, a multi-device based video recording method is provided, characterized in that the method is applied to a target video recording device and comprises:
[0011] In response to a target video recording instruction, a video recording function is turned on, a target video file is generated, and a wireless broadcast signal is simultaneously emitted; wherein the target video recording instruction is used to indicate a video recording trigger condition, including a manual video recording instruction, a voice video recording instruction, a gunshot recognition instruction, and a gun drawing trigger instruction; and the target video recording device refers to a video recording device that triggers the target video recording instruction;
[0012] The target video file is sent to a video processing server.
[0013] According to another aspect of the present invention, there is provided a multi-device based video recording system, characterized in that it includes a target video recording device, at least one candidate video recording device and a video processing server;
[0014] The target video recording device is used to respond to the target video recording instruction, start the video recording function, generate the target video file, and send out a wireless broadcast signal at the same time; wherein the target video recording instruction is used to indicate the video recording triggering condition, including a manual video recording instruction, a voice video recording instruction, a gunshot recognition instruction, and a gun drawing trigger instruction; the wireless broadcast signal carries the identification information of the target video recording device, the recording start time information of the target video recording device, and the signal flow identification; the target video recording device refers to the video recording device that triggers the target video recording instruction;
[0015] The candidate video recording device is used to receive the wireless broadcast signal sent by the target video recording device, and based on a preset wireless communication protocol, verify the wireless broadcast signal to determine whether the wireless broadcast signal complies with the wireless communication protocol; and based on the identification information, the recording start time information and the signal flow identification, determine whether the wireless broadcast signal is a wireless broadcast signal received for the first time, and in the case that the wireless broadcast signal is received for the first time, generate a candidate video file in response to the wireless broadcast signal; wherein the candidate video recording device refers to a video recording device within a preset range of the target video recording device;
[0016] The video processing server is used to receive a target video file and at least one candidate video file, and based on the target video file and the candidate video file, merge the target video file and the at least one candidate video file to generate an integrated video file.
[0017] According to another aspect of the present invention, a video recording device is provided, the video recording device comprising:
[0018] at least one processor; and
[0019] a memory communicatively connected to the at least one processor; wherein,
[0020] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the multi-device based video recording method described in any embodiment of the present invention.
[0021] The technical solution of the embodiment of the present invention sends out a wireless broadcast signal when the target video recording device responds to the target video recording instruction, so that the candidate video recording device that receives the wireless broadcast signal automatically starts video recording, thereby ensuring the timeliness of starting the video recording device and the integrity of the video file during the law enforcement process.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 is a flowchart of a multi-device based video recording method provided according to Embodiment 1 of the present invention;
[0025] Figure 2 is a flowchart of a multi-device based video recording method provided according to Embodiment 2 of the present invention;
[0026] Figure 3a is a flowchart of a multi-device based video recording method provided according to Embodiment 3 of the present invention;
[0027] Figure 3b is a schematic diagram of a format of a communication protocol provided according to Embodiment 3 of the present invention;
[0028] Figure 4a is a flowchart of a multi-device based video recording method provided according to Embodiment 4 of the present invention;
[0029] Figure 4b is a data structure diagram of signal data of a wireless broadcast signal provided according to a fourth embodiment of the present invention;
[0030] Figure 5ais a system architecture diagram of a multi-device based video recording system provided according to Embodiment 5 of the present invention;
[0031] Figure 5b is a schematic diagram of a video fusion process provided according to Embodiment 5 of the present invention;
[0032] Figure 5c is a schematic diagram of a playback interface integrating video files provided according to Embodiment 5 of the present invention;
[0033] Figure 6 It is a structural schematic diagram of a video recording device for implementing the multi-device based video recording method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0036] Embodiment 1
[0037] Figure 1 A flowchart of a video recording method based on multiple devices is provided for the first embodiment of the present invention. This embodiment is applicable to the case where a video recording device is used to record a video during law enforcement. The method can be performed by a candidate video recording device. Figure 1 As shown, the method includes:
[0038] S110: Receive a wireless broadcast signal sent by a target video recording device.
[0039] The wireless broadcast signal may carry the identification information of the target video recording device, the recording start time information of the target video recording device, and the signal flow identification, which may be used to instruct the candidate video recording device to start the video recording function; the candidate video recording device may refer to a video recording device within a preset range of the target video recording device. It should be noted that there may be multiple video recording devices within the preset range of the target video recording device, that is, there may be multiple candidate video recording devices, and the shooting angles of the target video recording device and the candidate video recording device are different from each other, and the shooting angles of the candidate video recording devices are also different from each other. Optionally, the preset range may be adaptively set according to those skilled in the art.
[0040] It should be noted that the identification information of the target recording device may be the device serial number information of the recording device, or the number information of the law enforcement officer bound when the target recording device is activated; the recording start time information of the target recording device may refer to the time when the target recording device sends a wireless broadcast signal or the time when the target recording device starts recording.
[0041] Specifically, after the target video recording device sends out the wireless broadcast signal, all video recording devices except the target video recording device within the preset range of the target video recording device will receive the wireless broadcast signal sent out by the target video recording device.
[0042] S120: Based on a preset wireless communication protocol, verify the wireless broadcast signal to determine whether the wireless broadcast signal complies with the wireless communication protocol.
[0043] The wireless broadcast signal may be encapsulated based on a preset wireless communication protocol, and the wireless communication protocol may be a dedicated communication protocol for wireless communication between the target video recording device and the candidate video recording device. Optionally, in an embodiment of the present invention, the wireless broadcast signal may be a Bluetooth broadcast signal.
[0044] Specifically, after receiving the wireless broadcast signal, the candidate recording device will parse and verify the wireless broadcast signal according to its own pre-configured wireless communication protocol to determine whether the wireless broadcast signal conforms to the signal corresponding to the wireless communication protocol configured by itself.
[0045] S130: Determine whether the wireless broadcast signal is a wireless broadcast signal received for the first time based on the identification information, the recording start time information, and the signal flow identification.
[0046] The signal flow identifier may be used to indicate the number of times the wireless broadcast signal is repeatedly sent.
[0047] In an embodiment of the present invention, in order to prevent the candidate recording device from failing to receive the wireless broadcast signal sent by the target recording device during the law enforcement process, the target recording device will send the wireless broadcast signal multiple times within a preset sending time range. Based on this, after receiving the wireless broadcast signal, the candidate recording device will determine whether the currently received wireless broadcast signal is received for the first time based on the identification information of the target recording device carried in the wireless broadcast signal, the recording start time information of the target recording device, and the signal flow identification.
[0048] S140: When the wireless broadcast signal is received for the first time, generate a candidate video file in response to the wireless broadcast signal, and send the candidate video file to a video processing server.
[0049] In an embodiment of the present invention, if the candidate video recording device determines that the currently received wireless broadcast signal is an initial reception, the candidate video recording device may respond to the wireless broadcast signal, generate a candidate video file, and send the generated candidate video file to the video processing server.
[0050] Optionally, when the wireless broadcast signal is received for the first time, a candidate video file is generated in response to the wireless broadcast signal, including: when the wireless broadcast signal is received for the first time, in response to the wireless broadcast signal, starting a video recording function to generate a candidate video file, and writing identification information in the wireless broadcast signal into the recorded candidate video file.
[0051] In other words, the candidate video recording file generated by the candidate video recording device carries the identification information of the target video recording device.
[0052] By writing the identification information of the target recording device into the candidate recording file, it is convenient to quickly summarize and organize the candidate recording files generated in response to the wireless broadcast signal of the target recording device, and to classify and uniformly store the evidence documents within the same time period in a unified law enforcement scenario.
[0053] The technical solution of the embodiment of the present invention, by sending out a wireless broadcast signal when the target recording device responds to the target recording instruction, so that the candidate recording device that receives the wireless broadcast signal automatically starts video recording, thereby avoiding the situation where law enforcement personnel cannot quickly start recording due to emergency situations during the law enforcement process, ensuring the timeliness of starting the recording device during the law enforcement process and the integrity of the video files, while reducing the operational burden of law enforcement personnel during the law enforcement process and improving their law enforcement efficiency.
[0054] Embodiment 2
[0055] Figure 2This is a flowchart of a multi-device video recording method provided in Embodiment 2 of the present invention. This embodiment further refines the above embodiment and provides specific steps for determining whether the wireless broadcast signal is a wireless broadcast signal received for the first time based on identification information, recording start time information, and signal flow identification. It should be noted that for the undetailed parts of the embodiments of the present invention, please refer to the relevant descriptions of other embodiments, which will not be repeated here. Figure 2 As shown, the method includes:
[0056] S210: Obtain identification information, recording start time information, and signal flow identification carried in the currently received wireless broadcast signal.
[0057] S220: Traverse the received historical wireless broadcast signals to determine whether there is a historical wireless broadcast signal having the same identification information and recording start time information as those in the currently received wireless broadcast signal and a different signal flow identifier.
[0058] S230: If not, determine that the currently received wireless broadcast signal is a wireless broadcast signal received for the first time.
[0059] In an embodiment of the present invention, after the wireless broadcast signal currently received by the candidate recording device meets the preset wireless communication protocol, the wireless communication protocol will be parsed to obtain the identification information of the target recording device, the recording start time information of the target recording device and the signal flow identification carried in the wireless broadcast signal. Then, the candidate recording device will traverse the historical wireless broadcast signals received within the historical reception time range to determine whether there is a historical wireless broadcast signal in the historical wireless broadcast signal that has the same identification information and recording start time information as the currently received wireless broadcast signal and a different signal flow identification. If there is, it indicates that the currently received wireless broadcast signal and the historical wireless broadcast signal are wireless broadcast signals repeatedly sent by the target recording device within the preset sending time; if not, it is determined that the wireless broadcast signal currently received by the candidate recording device is a wireless broadcast signal received for the first time. Optionally, the historical receiving time and the preset sending time can be the same, and the time setting can be adaptively set according to those skilled in the art, for example, five minutes.
[0060] Optionally, if there is a historical wireless broadcast signal that has the same identification information and recording start time information as the currently received wireless broadcast signal and the same signal flow identifier, it may indicate that there is a broadcast signal abnormality. The candidate recording device will temporarily not process the currently received wireless broadcast signal and issue an alarm.
[0061] The technical solution of the embodiment of the present invention performs duplication checking through the identification information and recording start time information carried by the wireless broadcast signal sent by the target recording device, and avoids the candidate recording device from responding to useless broadcast signals and wasting operating resources on the basis of ensuring that the candidate recording device can successfully receive the wireless broadcast signal.
[0062] Embodiment 3
[0063] Figure 3a This is a flowchart of a multi-device video recording method provided in Embodiment 3 of the present invention. This embodiment further refines the above embodiments and provides specific steps for verifying wireless broadcast signals based on a preset wireless communication protocol to determine whether the wireless broadcast signals comply with the wireless communication protocol. It should be noted that for the undetailed parts of the embodiments of the present invention, please refer to the relevant descriptions of other embodiments, which will not be repeated here. Figure 3a As shown, the method includes:
[0064] S310: According to the preset wireless communication protocol, verify whether the protocol identification information of the wireless communication protocol and the protocol version information of the wireless communication protocol in the wireless broadcast signal are consistent with the preset wireless communication protocol.
[0065] S320. If they are consistent, verify whether the data length field information and the signal check field information in the wireless broadcast signal conform to the data length field information and the signal check field information specified in the preset wireless communication protocol.
[0066] S330: If yes, determine that the wireless broadcast signal complies with the wireless communication protocol.
[0067] In the embodiment of the present invention, the pre-set wireless communication protocol can encapsulate the broadcast signal data according to a certain encapsulation format. Figure 3b As shown, the wireless communication protocol between the video recording devices may include a protocol identifier, a protocol version, a data length, a data area, and verification data.
[0068] The protocol identifier can be used to determine whether it is a wireless broadcast signal that complies with the communication standard, so as to avoid interference from signals sent by recording devices of non-law enforcement personnel during the law enforcement process; the protocol version can be used to indicate the version of the current communication protocol of the recording device, and the protocol version can be used to determine whether the communication protocol of the recording device is updated, and only recording devices with the same protocol version of the configured communication protocol can communicate; the data length can be used to indicate the length of the data area; the data area can be the data content to be sent by the wireless broadcast signal; the verification data can be an encrypted value (digest value) based on all the above data (protocol identifier, protocol version, data length, data area). Optionally, the data length and the content of the data can be adaptively set according to those skilled in the art, and the verification data can use a preset encryption algorithm to obtain a digest value, and the encryption algorithm can be adaptively set according to those skilled in the art.
[0069] It should be noted that after receiving the wireless broadcast signal, the candidate recording device will first perform signal verification on the wireless broadcast signal according to the communication protocol dedicated to the law enforcement personnel's recording device. First, the candidate recording device will verify the protocol identification information and protocol version information in the wireless broadcast signal to determine whether the protocol identification information and protocol version information in the wireless broadcast signal are consistent with the information specified in the pre-set wireless communication protocol. If they are consistent, the data length information and signal verification data information in the wireless broadcast signal will continue to be verified to see whether they meet the data length field information and signal verification field information specified in the pre-set wireless communication protocol. If they meet, it is determined that the wireless broadcast signal currently received by the candidate recording device meets the pre-set wireless communication protocol. Otherwise, it is determined that the wireless broadcast signal currently received by the candidate recording device does not meet the pre-set wireless communication protocol, and the wireless broadcast signal is discarded.
[0070] The technical solution of the embodiment of the present invention ensures the legitimacy of the wireless broadcast signals received by the candidate video recording device during the law enforcement process by verifying the wireless broadcast signals received by the candidate video recording device, and reduces the interference of the wireless signals caused by the surrounding environment during the law enforcement process.
[0071] Embodiment 4
[0072] Figure 4a A flowchart of a video recording method based on multiple devices is provided for the fourth embodiment of the present invention. This embodiment is applicable to the case where a video recording device is used to record a video during law enforcement. The method can be executed by a target video recording device. Figure 4a As shown, the method includes:
[0073] S410 , in response to a target video recording instruction, starting a video recording function, generating a target video file, and simultaneously sending out a wireless broadcast signal.
[0074] Among them, the target recording instruction can be used to indicate the recording triggering conditions, including manual recording instructions, voice recording instructions, gunshot recognition instructions and gun drawing trigger instructions; the target recording device can refer to the recording device that triggers the target recording instruction.
[0075] For example, during the law enforcement process of law enforcement officers, if any law enforcement officer's video recording device triggers a target video recording command, such as recognizing the sound of a gunshot, recognizing a voice command to start recording, or continuously monitoring the current high-frequency shaking, then the video recording device is the target video recording device, and the remaining video recording devices within the preset range of the target video recording device are candidate video recording devices. In other words, the video recording device integrates intelligent recognition functions for different law enforcement scenarios, such as intelligent voice recognition, which can recognize gunshots and voice commands of the law enforcement officers.
[0076] In the embodiment of the present invention, after the target video recording instruction is triggered, the target video recording device will respond to the target video recording instruction, start its own video recording function to record the video, and send out a wireless broadcast signal according to a preset wireless communication protocol.
[0077] Optionally, the target video recording device will write its own identification information and the target instruction type into the target video recording file during the process of generating the target video file. By writing the identification information of the target video recording device and the instruction type of the target response instruction into the target recording file, it is convenient to quickly summarize and organize the target recording files in the future, and to facilitate the classification and unified storage of evidence files.
[0078] Optionally, in an embodiment of the present invention, sending a wireless broadcast signal includes: based on a preset wireless communication protocol, encapsulating the command type of the target video recording command, the identification information of the target video recording device and the recording start time information, and the signal flow identifier, generating a wireless broadcast signal and sending it.
[0079] The preset wireless communication protocol can encapsulate the broadcast signal data according to a certain encapsulation format. The wireless communication protocol between the recording devices can include a protocol identifier, a protocol version, a data length, a data area, and verification data.
[0080] The protocol identifier can be used to determine whether it is a wireless broadcast signal that complies with the communication standard, so as to avoid interference from signals sent by recording devices of non-law enforcement personnel during the law enforcement process; the protocol version can be used to indicate the version of the current communication protocol of the recording device, and the protocol version can be used to determine whether the communication protocol of the recording device is updated, and only recording devices with the same protocol version of the configured communication protocol can communicate; the data length can be used to indicate the length of the data area; the data area can be the data content to be sent by the wireless broadcast signal; the verification data can be an encrypted value (digest value) based on all the above data (protocol identifier, protocol version, data length, data area). Optionally, the data length and the content of the data can be adaptively set according to those skilled in the art, and the verification data can use a preset encryption algorithm to obtain a digest value, and the encryption algorithm can be adaptively set according to those skilled in the art.
[0081] Optional, such as Figure 4b As shown, the data information in the data area may include the instruction type of the target video instruction, the identification information and recording start time information of the target video device, and the signal flow identifier; the signal flow identifier can be used to indicate the number of times the wireless broadcast signal is repeatedly sent; the target video device can encapsulate the protocol identifier, protocol version, data length, the instruction type of the target video instruction, the identification information and recording start time information of the target video device, the signal flow identifier, and the verification data according to the pre-set wireless communication protocol, generate a wireless broadcast signal and send it out.
[0082] In an optional implementation of the embodiment of the present invention, sending a wireless broadcast signal further includes: periodically sending a wireless broadcast signal at a preset sending frequency within a preset sending duration, and within the preset sending duration, the identification information and recording start time information in the sent wireless broadcast signal are the same, and the value of the signal flow identifier is accumulated within the preset sending duration as the number of times it is sent increases. Optionally, the preset sending duration and the preset sending frequency can be adaptively set according to those skilled in the art.
[0083] Exemplarily, during the law enforcement process, in order to ensure that the wireless broadcast signal sent by the target video recording device can be received by the candidate video recording device, the target video recording device will periodically repeat the transmission of the same wireless broadcast signal at a preset transmission frequency within a preset transmission duration, and within the same preset transmission duration when the target video recording device begins to respond to the target video recording instruction, the identification information and recording start time information in the wireless broadcast signal sent by the target video recording device are the same, and the value of the signal flow identifier in the wireless broadcast signal will accumulate as the number of transmissions increases within the preset transmission duration. By repeatedly sending wireless broadcast signals with the same identification information and recording start time information but different signal flow identifiers, it is ensured that the candidate video recording device can receive the wireless broadcast signal.
[0084] S420: Send the target video file to a video processing server.
[0085] The technical solution of the embodiment of the present invention, by sending out a wireless broadcast signal when the target recording device responds to the target recording instruction, so that the candidate recording device that receives the wireless broadcast signal automatically starts video recording, thereby avoiding the situation where law enforcement personnel cannot quickly start recording due to emergency situations during the law enforcement process, ensuring the timeliness of starting the recording device during the law enforcement process and the integrity of the video files, while reducing the operational burden of law enforcement personnel during the law enforcement process and improving their law enforcement efficiency.
[0086] Embodiment 5
[0087] Figure 5a This is a structural topology diagram of a multi-device based video recording system provided in Embodiment 5 of the present invention. The system includes: a target video recording device, at least one candidate video recording device and a video processing server.
[0088] As shown in Figure 5, recording devices A, B, C and D are law enforcement recording devices within a certain preset range. When any of the recording devices triggers a target recording command, the recording device is the target recording device, and the remaining recording devices are candidate recording devices. The recording devices can communicate with each other and with the video server through wireless communication.
[0089] The target video recording device can be used to respond to the target video recording instruction, start the video recording function, generate the target video file, and send out a wireless broadcast signal at the same time; wherein the target video recording instruction is used to indicate the video recording triggering condition, including a manual video recording instruction, a voice video recording instruction, a gunshot recognition instruction, and a gun drawing trigger instruction; the wireless broadcast signal carries the identification information of the target video recording device, the recording start time information of the target video recording device, and the signal flow identification; the target video recording device refers to the video recording device that has triggered the target video recording instruction;
[0090] The candidate video recording device can be used to receive the wireless broadcast signal sent by the target video recording device, and based on a preset wireless communication protocol, verify the wireless broadcast signal to determine whether the wireless broadcast signal complies with the wireless communication protocol; and based on the identification information, the recording start time information and the signal flow identification, determine whether the wireless broadcast signal is a wireless broadcast signal received for the first time, and in the case that the wireless broadcast signal is received for the first time, generate a candidate video file in response to the wireless broadcast signal; wherein the candidate video recording device refers to a video recording device within a preset range of the target video recording device;
[0091] The video processing server can be used to receive a target video file and at least one candidate video file, and based on the target video file and the candidate video file, merge the target video file and the at least one candidate video file to generate an integrated video file.
[0092] The technical solution of the embodiment of the present invention, by sending out a wireless broadcast signal when the target recording device responds to the target recording instruction, so that the candidate recording device that receives the wireless broadcast signal automatically starts video recording, thereby avoiding the situation where law enforcement personnel cannot quickly start recording due to emergency situations during the law enforcement process, ensuring the timeliness of starting the recording device during the law enforcement process and the integrity of the video files, while reducing the operational burden of law enforcement personnel during the law enforcement process and improving their law enforcement efficiency.
[0093] Optionally, the video processing server may be specifically used for:
[0094] Extracting identification information and recording start time information from the target video file and at least one candidate video file respectively; using the target video file and the candidate video file having the same identification information as the target video file as the video file to be merged; determining the start and end time of the video file to be merged according to the recording start time information of the video file to be merged and the duration information of the video file; if the start and end time of the video files to be merged overlap, performing video fusion on the video files to be merged to generate an integrated video file;
[0095] The start timestamp of the integrated video file is the earliest start timestamp among the start timestamps of the video files to be merged, and the end timestamp of the integrated video file is the latest end timestamp among the end timestamps of the video files to be merged.
[0096] For example, Figure 5bAs shown, the video processing server received four video files sent by four recording devices, A law enforcement recorder, B law enforcement recorder, C law enforcement recorder and D law enforcement recorder, respectively, including A law enforcement recorder video, B law enforcement recorder video, C law enforcement recorder video and D law enforcement recorder video, and the device serial number of A law enforcement recorder is 0D12533FFF; wherein, the identification information (device serial number) in the A law enforcement recorder video, B law enforcement recorder video and C law enforcement recorder video is the same, and the identification information recorded in the A law enforcement recorder video is the same as the device serial number of its own device, that is, A law enforcement recorder is the target recording device, B law enforcement recorder and C law enforcement recorder are candidate recording devices, and B law enforcement recorder and C law enforcement recorder generate B law enforcement recorder video and C law enforcement recorder video carrying the device serial number information of A law enforcement recorder in response to the wireless broadcast signal sent by A law enforcement recorder. However, the identification information recorded in the D law enforcement recorder video is not the device serial number of A law enforcement recorder, and the D law enforcement recorder video is not generated by D law enforcement recorder in response to the wireless broadcast signal sent by A law enforcement recorder. Therefore, the video processing server only merges the video of A body camera, B body camera and C body camera. The merged video of A body camera, B body camera and C body camera can be as follows Figure 5c As shown, the integrated video file formed by merging can simultaneously display video images shot from different angles by different video recording devices at one playback moment.
[0097] By fusing video files with the same identification information, more comprehensive process information of the law enforcement scene can be provided, facilitating analysis of the law enforcement process and evidence review.
[0098] Optionally, the video processing server may also be configured to archive and uniformly store video files having the same identification information according to the identification information carried in the received video files.
[0099] By organizing video files according to identification information carried in the video files, the file management efficiency is improved.
[0100] Embodiment 6
[0101] Figure 6 The schematic diagram of the structure of the video recording device 610 that can be used to implement the multi-device based video recording method of the present invention is shown. It should be noted that the components, their connections and relationships, and their functions shown herein are only examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0102] like Figure 6As shown, the video recording device 610 includes at least one processor 611, and a memory connected to the at least one processor 611, such as a read-only memory (ROM) 612, a random access memory (RAM) 613, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 611 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 612 or the computer program loaded from the storage unit 618 to the random access memory (RAM) 613. In the RAM 613, various programs and data required for the operation of the video recording device 610 can also be stored. The processor 611, the ROM 612, and the RAM 613 are connected to each other via a bus 614. An input / output (I / O) interface 615 is also connected to the bus 614.
[0103] Multiple components in the video recording device 610 are connected to the I / O interface 615, including: an input unit 616, such as a keyboard, a mouse, etc.; an output unit 617, such as various types of displays, speakers, etc.; a storage unit 618, such as a disk, an optical disk, etc.; and a communication unit 619, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 619 allows the video recording device 610 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0104] The processor 611 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 611 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 611 executes the various methods and processes described above, such as a multi-device based video recording method.
[0105] In some embodiments, the multi-device based video recording method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 618. In some embodiments, part or all of the computer program may be loaded and / or installed on the video recording device 610 via the ROM 612 and / or the communication unit 619. When the computer program is loaded into the RAM 613 and executed by the processor 611, one or more steps of the multi-device based video recording method described above may be performed. Alternatively, in other embodiments, the processor 611 may be configured to perform the multi-device based video recording method in any other appropriate manner (e.g., by means of firmware).
[0106] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0107] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0108] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0109] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0110] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0111] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0112] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0113] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A video recording method based on multiple devices, characterized in that: Applied to a candidate video recording device, the method comprises: Receive a wireless broadcast signal sent by a target video recording device; wherein the wireless broadcast signal carries identification information of the target video recording device, recording start time information of the target video recording device, and a signal flow identification; the candidate video recording device refers to a video recording device within a preset range of the target video recording device; Based on a preset wireless communication protocol, verify the wireless broadcast signal to determine whether the wireless broadcast signal complies with the wireless communication protocol; Based on the identification information, the recording start time information and the signal flow identification, determining whether the wireless broadcast signal is a wireless broadcast signal received for the first time; In a case where the wireless broadcast signal is received for the first time, a candidate video file is generated in response to the wireless broadcast signal, and the candidate video file is sent to a video processing server.
2. The method according to claim 1, characterized in that The determining whether the wireless broadcast signal is a wireless broadcast signal received for the first time based on the identification information, the recording start time information and the signal flow identification includes: Acquire the identification information, the recording start time information and the signal flow identification carried in the currently received wireless broadcast signal; Traversing the received historical wireless broadcast signals to determine whether there is a historical wireless broadcast signal having the same identification information and recording start time information as the currently received wireless broadcast signal and a different signal flow identifier; If not, it is determined that the currently received wireless broadcast signal is a wireless broadcast signal received for the first time.
3. The method according to claim 1, characterized in that The checking of the wireless broadcast signal based on the preset wireless communication protocol to determine whether the wireless broadcast signal complies with the wireless communication protocol includes: According to the preset wireless communication protocol, verify whether the protocol identification information of the wireless communication protocol and the protocol version information of the wireless communication protocol in the wireless broadcast signal are consistent with the preset wireless communication protocol; If they are consistent, verify whether the data length information and the signal check data information in the wireless broadcast signal conform to the data length field information and the signal check field information specified in the preset wireless communication protocol; If yes, it is determined that the wireless broadcast signal complies with the wireless communication protocol.
4. The method according to claim 1, characterized in that: The step of generating a candidate video file in response to the wireless broadcast signal when the wireless broadcast signal is received for the first time includes: In the case where the wireless broadcast signal is received for the first time, a video recording function is started in response to the wireless broadcast signal, a candidate video file is generated, and identification information in the wireless broadcast signal is written into the recorded candidate video file.
5. A video recording method based on multiple devices, characterized in that: Applied to a target video recording device, the method comprises: In response to a target video recording instruction, a video recording function is turned on, a target video file is generated, and a wireless broadcast signal is simultaneously emitted; wherein the target video recording instruction is used to indicate a video recording trigger condition, including a manual video recording instruction, a voice video recording instruction, a gunshot recognition instruction, and a gun drawing trigger instruction; and the target video recording device refers to a video recording device that triggers the target video recording instruction; The target video file is sent to a video processing server.
6. The method according to claim 5, characterized in that The sending of a wireless broadcast signal comprises: Based on a preset wireless communication protocol, the command type of the target video command, the identification information of the target video device and the recording start time information, and the signal flow identification are encapsulated to generate a wireless broadcast signal and send it out.
7. The method according to claim 6, characterized in that The signal flow identifier is used to indicate the number of times the wireless broadcast signal is repeatedly sent; accordingly, sending the wireless broadcast signal also includes: A wireless broadcast signal is periodically sent out at a preset sending frequency within a preset sending duration, and within the preset sending duration, the identification information and recording start time information in the sent wireless broadcast signal are the same, and the value of the signal flow identifier is accumulated within the preset sending duration as the number of times it is sent increases.
8. A video recording system based on multiple devices, characterized in that: It includes a target video recording device, at least one candidate video recording device and a video processing server; The target video recording device is used to respond to the target video recording instruction, start the video recording function, generate the target video file, and send out a wireless broadcast signal at the same time; wherein the target video recording instruction is used to indicate the video recording triggering condition, including a manual video recording instruction, a voice video recording instruction, a gunshot recognition instruction, and a gun drawing trigger instruction; the wireless broadcast signal carries the identification information of the target video recording device, the recording start time information of the target video recording device, and the signal flow identification; the target video recording device refers to the video recording device that triggers the target video recording instruction; The candidate video recording device is used to receive the wireless broadcast signal sent by the target video recording device, and based on a preset wireless communication protocol, verify the wireless broadcast signal to determine whether the wireless broadcast signal complies with the wireless communication protocol; and based on the identification information, the recording start time information and the signal flow identification, determine whether the wireless broadcast signal is a wireless broadcast signal received for the first time, and in the case that the wireless broadcast signal is received for the first time, generate a candidate video file in response to the wireless broadcast signal; wherein the candidate video recording device refers to a video recording device within a preset range of the target video recording device; The video processing server is used to receive a target video file and at least one candidate video file, and based on the target video file and the candidate video file, merge the target video file and the at least one candidate video file to generate an integrated video file.
9. The system according to claim 8, characterized in that The video processing server is specifically used for: Respectively extracting identification information and recording start time information from the target video file and the at least one candidate video file; The target video file and the candidate video file having the same identification information as the target video file are used as the video files to be merged; Determine the start and end time of the video files to be merged according to the recording start time information of the video files to be merged and the duration information of the video files; if the start and end time of the video files to be merged overlap, perform video fusion on the video files to be merged to generate an integrated video file; The start timestamp of the integrated video file is the earliest start timestamp among the start timestamps of the video files to be merged, and the end timestamp of the integrated video file is the latest end timestamp among the end timestamps of the video files to be merged.
10. A video recording device, characterized in that: The video recording device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the multi-device based video recording method according to any one of claims 1 to 7.
