WO2022088344A1 - Video recording method and system, terminal device, and computer-readable storage medium - Google Patents

Video recording method and system, terminal device, and computer-readable storage medium Download PDF

Info

Publication number
WO2022088344A1
WO2022088344A1 PCT/CN2020/132005 CN2020132005W WO2022088344A1 WO 2022088344 A1 WO2022088344 A1 WO 2022088344A1 CN 2020132005 W CN2020132005 W CN 2020132005W WO 2022088344 A1 WO2022088344 A1 WO 2022088344A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
video data
data
audio data
storage unit
Prior art date
Application number
PCT/CN2020/132005
Other languages
French (fr)
Chinese (zh)
Inventor
李明沅
梁启明
Original Assignee
深圳真伊科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳真伊科技有限公司 filed Critical 深圳真伊科技有限公司
Publication of WO2022088344A1 publication Critical patent/WO2022088344A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising

Definitions

  • the present invention relates to the field of information technology, and in particular, to a method, a system, a terminal device and a computer-readable storage medium for video recording by a video capture unit.
  • IP Cameras with SD cards can record 7x24 hours of continuous video, so that every scene can be recorded, and the video content can be edited later.
  • Such an operation is very troublesome, and the SD card needs to be pulled out for manual editing from time to time, and it is often necessary to search for the desired content in the long-term video files, which affects the user experience.
  • the long-term erasing and writing operations of the SD card can easily cause bad blocks of the SD card and affect the life of the SD card.
  • the capacity of the SD card is limited. If you do not review it in time, all the target video clips will be lost after the SD card video content is overwritten in a loop.
  • the prior art lacks an effective video recording method capable of recording and compensating for recording the beautiful moments in life in time.
  • the present invention provides a video recording method, system, terminal device and computer-readable storage medium.
  • a video recording method comprising the following steps: S1: Continuously collect video data within a set range within the visual field of a video capture unit and/or audio data around the audio capture unit, and automatically and dynamically buffer a first set duration or a first set duration
  • the first video data and/or the first audio data of the storage capacity are stored in the first storage unit, so as to keep the first storage unit dynamically buffered with real-time updating, the length of which is the first set duration or the storage capacity of the first storage unit.
  • the first video data and/or the first audio data of the first set storage capacity S2: when the first trigger signal is received, all or part of the buffered data in the first storage unit at this time point is stored.
  • the first video data and/or the first audio data are dumped to the second storage unit; at the same time, the video data and/or audio data collected after the time point are automatically and dynamically buffered to the first storage unit.
  • step S2 while transferring the first video data and/or the first audio data to the second storage unit, continue to collect and store the second video data and/or the second audio data to the second storage unit.
  • the first storage unit is a readable and writable storage medium, including a volatile storage medium, a non-volatile storage medium, and an external network storage medium; the first video stored in the first storage unit When the data and/or the first audio data have reached the first set duration or the first set storage capacity, the later recorded video data and/or audio data cyclically cover the first recorded video data and the first set storage capacity. /or audio data; the second storage unit is a local storage unit or a remote storage unit, configured to receive the dumped first video data and/or the first audio data, and/or directly store the first video data and/or the first audio data.
  • the processing includes synchronizing the first video data and the first audio data, synchronizing the second video data and the second audio data.
  • the data of the second storage unit is stored and/or transmitted in a secure encrypted manner.
  • the first trigger signal is a passive trigger signal or an active trigger signal;
  • the passive trigger signal includes a first trigger signal output by receiving a trigger instruction from a user or a trigger instruction from an associated device;
  • the active trigger signal Including continuous matching with preset trigger conditions, and if the matching is successful, then actively triggering as the first trigger signal;
  • the trigger conditions include: preset target object list, preset expression type, preset action type, preset Set at least one of the sound types.
  • the triggering instruction of the user includes pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction; the preset target object list Including people, animals, objects.
  • the target object is placed in the video frame by judging the movement of the target object to control the rotation of the video capture unit.
  • the position of the target object in the video picture in the video data is adjusted through digital zoom.
  • the video data is collected through a wide-angle panoramic lens; or, the first sub-video data is collected respectively through at least two video collection units, and the first sub-video data is spliced into a horizontal panoramic video picture as the video data.
  • the second sub-video data is obtained by shooting from different angles through a distributed video capture system composed of at least two video capture units placed in different positions, and each of the second sub-video data is the For the video data collected by the video collection unit, the second sub-video data is spliced to complete multi-angle video data, and the video data is obtained from the multi-angle video data according to the collection time.
  • the method further includes: performing time synchronization on the video capture unit; analyzing the second sub-video data of the video capture unit, and adjusting the angle of the video capture unit or the size of the video frame;
  • the two sub-video data have date and time information, and the video data is obtained by splicing video data from different angles according to the time stamp.
  • audio data is collected from different locations through a distributed audio collection system composed of at least two wireless audio collection units placed at different locations.
  • time synchronization is performed on the wireless audio collection unit; or, the wireless audio collection unit forms a sound localization system, and the position of the target object is determined according to the sound of the target object.
  • the method further includes: S3: After receiving a second trigger signal, stop storing the collected second video data and/or second audio data in the second storage unit, and continue to collect the first video data and/or the second audio data. /or the first audio data is automatically circularly buffered to the first storage unit.
  • the second trigger signal is a passive trigger signal or an active trigger signal;
  • the passive trigger signal includes a second trigger signal output by receiving a user's trigger instruction or receiving a trigger instruction from an associated device;
  • the user's triggering The instructions include pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction;
  • the active trigger signal includes continuous matching with preset trigger conditions, If the matching fails continuously within the second set time period, the active trigger is used as the second trigger signal;
  • the trigger conditions include: a preset target object list, a preset expression type, a preset action type, and a preset sound. at least one of the types;
  • the preset target object list includes characters, animals, and objects.
  • the present invention also provides a video recording system, comprising: a video capture unit configured to continuously capture video data within a certain range of the video capture unit's field of view; an audio capture unit configured to capture audio around the audio capture unit data; a first storage unit configured to automatically and dynamically buffer the first video data and/or the first audio data of a first set duration or a first set storage capacity, so that the first storage unit In the dynamic cache there is real-time updated first video data and/or first audio data whose length is the first set duration or whose storage capacity is the first set storage capacity; the second storage unit is configured as When the processing unit receives the first trigger signal, the processing unit receives all or part of the first video data and/or the first audio data that are dumped by the first storage unit and buffered at this point in time; the A processing unit for executing any of the methods described above.
  • the video data further includes second video data collected after the processing unit receives the first trigger signal;
  • the audio data further includes second video data collected after the processing unit receives the first trigger signal the second audio data;
  • the second storage unit is further configured to store the second video data and/or the second audio data.
  • the present invention further provides a video recording terminal device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. steps of the method described.
  • the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of any of the above methods.
  • a video recording method, system, terminal device and computer-readable storage medium are provided, and by setting the first storage unit and the second storage unit, according to the first trigger signal, The first video data and/or the first audio data are transferred to the second storage unit, so as to realize the timely recording or compensation recording of the event, that is, the occurrence of the recording event will not be missed, and a large amount of useless video data will not be generated.
  • FIG. 1 is a schematic diagram of a first video recording method in an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a second video recording method in an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a third video recording method in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a fourth video recording method in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a first video recording system in an embodiment of the present invention.
  • connection can be used for both the fixing function and the circuit connection function.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as “first”, “second” may expressly or implicitly include one or more of that feature. In the description of the embodiments of the present invention, “plurality” means two or more, unless otherwise expressly and specifically defined.
  • the present invention provides a video recording method, comprising the following steps:
  • S1 Continuously collect video data within a set range of the video capture unit and/or audio data around the audio capture unit, and automatically and dynamically circularly buffer the first video data and/or the first set duration or first set storage capacity. Or the first audio data is sent to the first storage unit, so as to keep the first storage unit dynamically buffered with a real-time update, the length of which is the first set duration or the storage capacity of which is the first set storage capacity.
  • a video data and/or first audio data
  • a camera is used to record and collect video data
  • a sound recorder is used to collect audio data
  • the first storage unit is RAM
  • the second storage unit is permanent storage.
  • the first video data and/or the first audio data are stored in the pre-allocated storage space.
  • the camera and/or the recorder works normally to collect the first video data and the first audio data and store them in the RAM.
  • the first set duration for the first audio and video data to be cached in the first storage unit can be preset.
  • the first set storage capacity that is, only the first video data and/or the first audio data of the first set duration are stored; or the first video data and/or the first audio data of the first set storage capacity are stored.
  • the video recording system receives the first trigger signal, it transfers the data of the first storage unit to the second storage unit. It can be understood that when the video recording system starts recording, the first storage unit may be in a state of zero storage, and the first video data and/or the first audio data of the first set duration are accumulated from nothing; A first video data and/or first audio data with a set storage capacity, and then dynamically circularly buffered.
  • the A trigger signal to transfer all the first video data and/or the first audio data in the first storage unit to the second storage unit, or transfer only the first video data and/or the first video data and/or the first video data related to the event to be recorded
  • An audio data is dumped to the second storage unit.
  • the cached video is stored as a permanent video to complete the timely recording or compensation recording of the event.
  • the partial dumping in the present invention refers to dumping the first video data and/or the first audio data related to the event to be recorded to the second storage unit, and this part of the video or audio data may be the first video data and/or the first audio data. Set any period in the duration or the first set storage capacity.
  • the parent is telling a story to the child, and suddenly the child says childish words, or suddenly lies on the back of the parent. It will be very regrettable; even if the child re-enacts it once, it will not restore the scene at that time.
  • the user can use the method of the present invention to record in time what has just happened and is worth recording.
  • the user can send a first trigger signal to transfer all the first video data and/or the first audio data in the first storage unit to the second storage unit.
  • the first set duration set by the video recording system is 5 minutes.
  • the system receives the first trigger signal, it dumps the first video data and/or audio data of the first set duration, that is, 5 minutes, to the second storage unit; and continues the video data and/or audio data collected after the moment Or the audio data is automatically and dynamically buffered to the first storage unit.
  • the first trigger signal is received again. At this time, it will be from the time when the first trigger signal was last received to the second time when the first trigger signal is received. 3 minutes of video and/or audio data between points are dumped to the second storage unit.
  • the video and/or audio data 2 minutes before the moment when the first trigger signal is received for the first time (this part of the data is also stored in the first storage unit because it is not overwritten)
  • the rest are dynamically cyclically covered by the new data collected after the first trigger signal is received), consisting of 3 minutes of video and/or audio data after the moment when the first trigger signal is first received 5 minutes of video and/or audio data are transferred to the second storage unit together.
  • the video data within a set range within the visual field of the video capture unit and/or the audio data around the audio capture unit are collected.
  • the set range it can be understood that the default setting is the video capture unit
  • the user can also set the saved video data to be a sub-picture in the field of view, and the sub-picture scope is the set range at this time.
  • a sub-picture in the video field of view can be selected, and zoomed in by means of digital interpolation, etc., to realize a digital zoom function, and record the video content of the sub-picture at this time in an enlarged manner.
  • FIG. 2 in a further embodiment, while transferring the first video data and/or the first audio data to the second storage unit, the collection of the second video data and/or the first audio data is continued.
  • the second audio data is stored in the second storage unit, and the subsequent scene is recorded.
  • the first set duration or the first set duration cached in the first storage unit can be set by the first trigger signal.
  • the storage capacity is transferred to the second storage unit for judging the real state of things.
  • the supplementary recording of the event is realized by the method of the present invention.
  • the first storage unit and the second storage unit are arranged, and the first video data and/or the first audio data stored in the first storage unit are transferred to the second storage unit according to the first trigger signal, so as to realize the detection of the event Timely recording or compensating recording, that is, neither missing recording events nor generating a large amount of useless video data.
  • first video data and/or the first audio data need to be transferred to the second storage unit through the first storage unit, while the second video data and/or the second audio data are directly stored in the second storage unit. storage unit. Because the first video data and/or the first audio data stored in the first storage unit has reached the first set duration or the first set storage capacity, the later recorded video data and/or audio data cyclically cover the first Recorded video data and/or audio data. In one embodiment, when the first trigger signal is received, the event has already occurred, so the data of the complete event can be formed by splicing the first audio and video data and the second audio and video data at this time.
  • the first storage unit is a readable and writable storage medium, including a volatile storage medium, a non-volatile storage medium, and an external network storage medium.
  • Volatile storage media including RAM, SRAM, Cache, etc.
  • non-volatile storage media including Flash, flash memory, SD card, hard disk, etc.
  • external network storage including NAS storage systems, cloud storage systems, etc.
  • Flash includes Nor Flash , NAND Flash, etc.
  • hard drives include solid-state drives, magnetic hard drives, etc.
  • the first video data and/or audio data can be automatically and dynamically cached in the NAND Flash or SD card, and when the first trigger signal is received, all or part of the first video data and/or the audio data is dumped into the second storage unit.
  • the cloud storage dump instruction can be sent directly, and the cloud storage server performs the dump operation without transferring the data from the first storage unit.
  • a storage unit is downloaded to the video recording system, and then transferred to the second storage, so that higher execution efficiency can be obtained.
  • the second storage unit is a permanent storage medium, which can be an SD card, Flash, or hard disk integrated in the device, or a remote external storage, such as a NAS network storage at home, or a cloud storage service provided by an Internet service provider.
  • the audio and video data in the first storage unit is accumulated to the first video data and/or the first audio data of the first set duration; or the first video data and/or the first audio data of the first set storage capacity are stored After the data starts to cover the loop, keep a segment updated in real time, the length is the first set duration or the first set storage capacity;
  • the second storage unit is a permanent storage unit, used for receiving the dumped first video data and/or or the first audio data, and/or directly store the second video data and/or the second audio data; or, store the processed first video data and/or the first audio data, the second video data and/or the second audio data audio data; in an embodiment of the present invention, the processing includes synchronizing the first video data and the first audio data, and synchronizing the second video data and the second audio data; the collection unit is always collecting, and the collected audio
  • the video data is limited to the receipt of the first trigger signal, and can be divided into two parts: the first video data and/or the first audio data collected from the past to the moment when the
  • the video recording system includes an intelligent recognition unit, which can recognize the type, expression, action and/or sound of the target object, and then match the preset trigger condition, and if the match is successful, it will send out the first trigger signal.
  • the first trigger signal includes a passive trigger signal and an active trigger signal
  • the passive trigger signal includes a first trigger signal output by receiving a user's trigger instruction or receiving a trigger instruction from an associated device;
  • the active trigger signal includes continuous matching with a preset trigger condition, and if the matching fails, the active trigger is used as the first trigger signal;
  • the trigger condition includes: a preset target object list, a preset expression type, a preset at least one of the action type and the preset sound type.
  • the video recording system outputs the first trigger signal after receiving the trigger instruction. Even if the user does not know what will happen next, for example, a child who can't walk suddenly walks independently, he can send a trigger command immediately when the event is discovered. Although there will be a delay, because the first video data is recorded in real time For a certain period of time, the cached first video data is transferred to the second storage unit, and the second audio and video data can be continuously collected, or a video of the completion event can be formed.
  • the user's triggering instruction includes pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction.
  • the user can press a button or remotely press the button on the remote control device to send the command, send the command through a pre-installed applet or APP on the smart terminal, or send the command by voice, or send the command directly through the somatosensory control.
  • a trigger instruction from an associated device may also be received.
  • the associated device is associated with the video recording system through some preset conditions, and when the associated device satisfies a certain condition, a trigger signal is sent to the video recording system.
  • the smart speaker at home is associated with the video recording system. After the smart speaker receives the command issued by the user through voice, it sends a trigger command to the video recording system, which becomes the first trigger command.
  • both the video acquisition unit and the audio acquisition unit of the video recording system are provided with a wireless transceiver module, which can start to collect data in response to a user's instruction; the collected second video data and second audio data can also be obtained through The wireless transceiver module is transmitted to the second storage unit.
  • the elder sister and younger sister play together in the game area in the living room, and the elder sister picks up the picture book to tell the story to the younger sister.
  • This scene is very warm.
  • the parents come out of the living room from the room or the kitchen, they see the current warmth You can press the button on the remote control device without disturbing the children, and you can also record the warm scene that you just missed. If parents go to press the button on the video recording terminal device, they can also record, but they will also be recorded in the video recording, and video editing will not be so convenient and perfect in the future.
  • the button on the remote control device can notify the recording terminal device to save the cached recording and start the real-time recording through Wi-Fi, Bluetooth or infrared signal.
  • a preset list of target objects can be preferentially identified, and it is determined whether there is a target object in the preset list of target objects, and the target objects include people, animals, and objects; for example, a family of three uses a baby as a
  • the target object, and the pets at home can also be the target objects at the same time.
  • the target object After determining the target object, you can track the target object according to the collected audio and video data, identify the expression, action or sound of the target object, and continue to match with the preset expression type, preset action type, and preset sound type. If successful, the first trigger signal is issued.
  • the video recording system detects that the audio and video data has the above trigger condition, and sends out first trigger signal.
  • the method of the present invention is used to detect eggs, and the set trigger condition is that the video screen changes, then when the chick breaks out of the egg, the first trigger signal will be triggered, thereby automatically transferring the pre-recorded video the first video data, and start recording the second video data at the same time. That is, the method of the present invention is used to track the change event of the determined target object. Although the specific time of the event occurrence is uncertain, the method of the present invention can record or compensate the record in time.
  • the trigger condition can be updated regularly or irregularly. For example, with the change of the age of the person, especially the growth of the child, the behavior changes greatly, so the above trigger condition will be updated.
  • the video recording system After receiving the first trigger signal, the video recording system transfers the collected first video data and/or first audio data of the first set duration to the second storage unit. At this point, the complete event may have been recorded. If the complete event is not recorded, the second video data and/or the second audio data will continue to be collected and stored in the second storage unit.
  • the end of the event is also judged.
  • the video recording system receives the second trigger signal, and the audio and video data collected at this time are no longer stored in the second storage unit, but only in the first storage unit.
  • a trigger signal occurs, the above steps are performed again.
  • the method of the present invention also includes:
  • the second trigger signal is a passive trigger signal or an active trigger signal
  • the passive trigger signal includes a second trigger signal output by receiving a user's trigger instruction or receiving a trigger instruction from an associated device;
  • the active trigger signal includes continuously matching with a preset trigger condition, and if the matching fails continuously within the second set time period, the active trigger is used as the second trigger signal;
  • the trigger condition includes: a preset target object list, At least one of a preset expression type, a preset action type, and a preset voice type.
  • the preset trigger condition is the baby's laughter or smiling face
  • the first trigger signal is automatically triggered, and the cached video content is automatically saved to the video
  • the SD card memory of the terminal while continuing to collect the second audio and video data and directly storing it in the SD card memory of the video recording terminal.
  • the video terminal device starts timing, and continuously detects whether the children have returned to the screen.
  • a second trigger signal will be triggered to stop storing the collected second video data and/or second audio data in the second storage unit, and continue to collect the first video
  • the data and/or the first audio data are automatically and cyclically buffered to the first storage unit.
  • the second trigger signal can also be actively triggered after the third set duration, and the third set duration can be set according to the general time when the event occurs, for example, the baby laughing time will not exceed 5 minutes, the duration of collecting the second video data or the second audio data is determined according to the event type, so that invalid data can be further reduced.
  • the collection of the second video data and the second audio data may also be stopped according to the user's instruction.
  • the user's triggering instruction includes pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction.
  • the pre-set target object list includes people, animals, and objects. As mentioned above, it will not be repeated here.
  • a trigger instruction from an associated device may also be received.
  • the associated device is associated with the video recording system through some preset conditions, and when the associated device satisfies a certain condition, a second trigger signal is sent to the video recording system.
  • the smart speaker at home is associated with the video recording system. After the smart speaker receives the command sent by the user through voice, it sends a trigger command to the video recording system, which becomes the second trigger signal.
  • a notification to start recording the second video data or second audio data is sent to the user. The specific event determines whether to send the second trigger signal.
  • the target object in the second video data in order to obtain data more accurately, can be placed in a video frame by judging the movement of the target object to control the rotation of the video capture unit.
  • the video recording system includes a rotating device, which can make the video capture unit rotate.
  • the intelligent identification unit can discriminate the movement of the target shooting object, and control the rotating device to follow the movement of the target object to rotate, so that the target object is in the center of the video image captured by the video capture unit.
  • the first video data is captured by a wide-angle panoramic lens to realize 360° panoramic video capture, instead of the rotating device.
  • the video acquisition unit further includes a video preprocessing unit, which performs distortion correction on the obtained image, and expands it into a horizontal 360° panoramic video image, which is convenient for the user to watch.
  • the intelligent recognition unit determines the movement of the target object, it tells the processing unit the coordinate position of the target object, and the processing unit can adjust the center position of the panoramic video, and intercept a video of a suitable size as the shooting video of the target object, and start the follow-up shooting function of the object.
  • the first sub-video data is collected through at least two lenses and an image sensor, respectively, and spliced into a horizontal 360° panoramic video picture as the first video data or the second video data.
  • the video acquisition unit also includes a video preprocessing unit, which performs distortion correction on the obtained images, and stitches the videos from different lenses and image sensors into a horizontal 360° panoramic video picture, which is convenient for users to watch. Users can send instructions to control the recording master to select one of the sub-pictures of the 360° panoramic video picture for viewing and recording.
  • the intelligent recognition unit determines the movement of the target object, it tells the processing unit the coordinate position of the target object, and the processing unit can adjust the center position of the panoramic video, and intercept a video of a suitable size as the shooting video of the target object, and start the follow-up shooting function of the object.
  • the second sub-video data is obtained by shooting from different angles through a distributed video capture system composed of at least two video capture units placed in different positions.
  • Each second sub-video data It is the video data collected by each of the video collection units, the second sub-video data is processed to obtain video data containing multiple angles, and the first video data and/or the second video are obtained from the multi-angle video data according to the collection time. data.
  • Multiple video capture units can be combined to form a distributed video capture system. These video capture units are placed in different positions of the shooting scene, shoot the target object from different angles, and transmit the respective captured videos to audio and video.
  • the processing center is automatically edited and edited by the audio and video processing center, and finally outputs a video clip containing multiple angles to the user.
  • the video capture unit here may be an independent video capture unit and an audio capture unit, or may be a part of the video capture unit and the audio capture unit.
  • a panoramic video can be obtained at the same time and artificial intelligence (AI) analysis can be performed to determine the orientation of the target object, thereby avoiding narrow-angle lenses and rotating devices. It is impossible to capture the occurrence of specific targets or specific expressions and actions in time; it is more conducive to record the occurrence of events in time.
  • multiple video capture units configured as a distributed video capture system further include a time synchronization unit, which sends time synchronization information to each other, and ensures that the system clocks of these video capture units are kept synchronized through a time synchronization protocol. under 1 millisecond.
  • a single video capture unit can only capture the side or back of the target object.
  • multiple videos are deployed.
  • the acquisition units are placed at different angles, and the facial expressions, smiles and other expressions of the target object can be photographed from multiple angles, and the videos from multiple video acquisition units can be edited into a multi-angle video through automatic video editing and splicing. , which makes up for the shortcoming that a single video cannot capture the front of the target object.
  • the first trigger signal is sent out in time to send the collected video data to the second storage unit, and further, the event notification can be sent to the family through the application program of the mobile terminal such as the mobile phone, so as to achieve timely notification and early treatment.
  • the time synchronization unit periodically performs synchronization to eliminate accumulated errors of system clocks between different video capture units.
  • time stamp a time stamp to identify the time of occurrence of each recorded video for the audio and video processing center to perform video recording. Synchronize video images during editing and editing.
  • their respective intelligent identification units when multiple video capture units jointly record videos, their respective intelligent identification units will analyze the video images of the video capture unit, find out the position and angle of the target object, and unify them through a coordination system. Coordinate, adjust the angle, picture size and other settings of the respective video capture units to obtain high-quality pictures that can be edited.
  • the video processing center arranges the videos from each video acquisition unit through the timeline synchronization, and according to a specific algorithm or some preset editing methods, clips clips from different angles, and then splices them into a continuous and complete video footage.
  • the position of the target object in the video picture in the second video data is adjusted through digital zooming.
  • the video recording system can perform digital zooming. Since the video resolution of the video acquisition unit is relatively high (above 1920x1080 resolution), digital zooming can be performed by magnifying the image and interpolating.
  • the video capture unit further includes: a zoom lens, when the target object is far away and the proportion in the video picture is relatively small, it can be enlarged through optical zoom, so that the target object occupies a proper proportion of the entire video picture.
  • the video capture unit is connected to an external audio capture unit wirelessly (Bluetooth or Wi-Fi) to capture the sound of the surrounding environment or the conversation of the target object, so as to avoid the distance between the video capture unit and the target object.
  • Bluetooth Wireless Fidelity
  • Wi-Fi wirelessly
  • audio data is collected from different positions through a distributed audio collection system composed of at least two wireless audio collection units placed at different positions.
  • the video recording system includes: a distributed audio collection system to improve the audio collection quality.
  • the distributed audio acquisition system is composed of a network of multiple external wireless audio acquisition units, and these external audio acquisition units are distributed and placed in different positions to collect audio.
  • the video camera is far away from the target object, and the effect of using one audio capture is not good; through distributed audio capture, it is possible to capture high-quality video while having sufficient video distance and field of view angle. audio data.
  • the above video and audio collected by the distributed video collection system and the distributed audio collection system are synchronized in the audio and video processing center, and the final audio and video recording files are output.
  • multiple external wireless audio acquisition units configured as a distributed audio acquisition system also include a time synchronization unit, which sends time synchronization information to each other, and ensures that the system clocks of these external wireless audio acquisition units are kept synchronized through a time synchronization protocol. , the error is less than 1 millisecond.
  • the time synchronization unit periodically performs synchronization to eliminate accumulated errors of system clocks between different external wireless audio collection devices.
  • these external wireless audio acquisition units are combined to form a sound localization system, which locates the position of the target object according to the sound of the target object, thereby assisting the video acquisition unit to aim the lens of the video acquisition unit at the target object.
  • the method of the present invention also includes:
  • the third trigger signal includes receiving a trigger instruction from a user or receiving a trigger instruction from an associated device, and outputting the third trigger signal.
  • the user's triggering instruction includes pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction.
  • the associated device is associated with the video recording system through some preset conditions, and when the associated device satisfies a certain condition, a third trigger signal is sent to the video recording system.
  • the smart speaker at home is associated with the video recording system. After the smart speaker receives the command sent by the user through voice, it sends a trigger command to the video recording system, which becomes the third trigger signal.
  • users need to change clothes or need to suspend the collection of audio and video data for other reasons to protect the privacy of users.
  • the third trigger signal when the second trigger signal is not received, the third trigger signal may be directly received, and the collection of audio and video data may be suspended, so as to protect the privacy of the user.
  • the video capture unit optionally needs to receive a trigger signal before starting to work. For example: after the owner returns home, actively send a trigger signal to turn on the video capture unit or the video capture unit uses face recognition, or uses a mobile phone electronic fence, or checks whether the mobile phone and the video terminal equipment are under the same wireless local area network, and cooperate to judge The master's home and automatically turn on.
  • This trigger signal can also be sent by an external device associated with the video capture system, such as a smart fingerprint door lock. After the owner unlocks the house with a fingerprint, the smart fingerprint door lock sends a trigger signal to the video capture system to start the video capture work.
  • the second video data and/or the second audio data are stored and/or transmitted in a secure and encrypted manner.
  • the present invention also provides a video recording system, characterized in that it includes:
  • a video capture unit configured to continuously capture video data within a certain range within the visual field of the video capture unit
  • an audio collection unit configured to collect audio data around the audio collection unit
  • the first storage unit is configured to automatically and dynamically buffer the first video data and/or the first audio data of the first set duration or the first set storage capacity, so that the dynamic cache the first video data and/or the first audio data updated in real time, the length is the first set duration or the storage capacity is the first set storage capacity;
  • the second storage unit is configured to, when the processing unit receives the first trigger signal, receive all or part of the first video data and/or all the first video data and/or all the buffered first video data and/or the stored data dumped by the first storage unit at this point in time. describe the first audio data;
  • a processing unit for executing any of the methods described above.
  • the video data further includes second video data collected after the processing unit receives the first trigger signal;
  • the audio data further includes second audio data collected after the processing unit receives the first trigger signal ;
  • a second storage unit further configured to store the second video data and/or the second audio data.
  • the video capture unit of the video recording system further includes: a privacy protection mode; by rotating the video capture unit up and down, the lens of the video capture unit is completely hidden inside the casing and covered by the casing, which physically ensures the user's privacy. The image will not enter the video capture unit lens, thus ensuring user privacy.
  • a privacy protection mode by rotating the video capture unit up and down, the lens of the video capture unit is completely hidden inside the casing and covered by the casing, which physically ensures the user's privacy. The image will not enter the video capture unit lens, thus ensuring user privacy.
  • the video recording system further includes: a privacy protection mode switching module, which controls the video recording system to switch from the video recording mode to the privacy mode, or from the privacy mode to the video recording mode.
  • the user's triggering instruction includes pressing a button to send an instruction or remotely pressing a button on a remote control device, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction.
  • an internationally recognized security encryption method will be used for encrypted transmission to ensure that the video is not illegally intercepted during the transmission process.
  • the second storage unit in the video recording system of the present invention is a cloud storage unit.
  • cloud server subscription and sharing can also be performed. Based on the user's permission, the data stored in the cloud server can be Share to other users to realize data sharing among family members or related members.
  • the video data storage is stored in the second storage in a secure encryption manner to ensure that even if the storage (eg, SD card) is stolen, the recorded video in the storage cannot be decrypted.
  • the storage eg, SD card
  • the first storage unit has a certain capacity of storage space for buffering the first video data and the first audio data, and ensures that video images of several recent durations are recorded by means of cyclic video recording.
  • the first video data and the first audio data are transferred to the second storage unit for permanent storage, and the second video data and the second audio data collected next are transferred to the second storage unit for permanent storage.
  • the video collecting unit can track the position change of the target object, and rotate the video collecting unit to track and shoot.
  • the sound is collected through the built-in audio acquisition unit or an external audio acquisition unit and synchronized with the video data to obtain the best audio and video effects.
  • An embodiment of the present application further provides a control device, including a processor and a storage medium for storing a computer program; wherein the processor is configured to execute at least the above method when executing the computer program.
  • Embodiments of the present application further provide a storage medium for storing a computer program, and when the computer program is executed, at least the above method is performed.
  • An embodiment of the present application further provides a processor, where the processor executes a computer program, and at least executes the above method.
  • the storage medium may be implemented by any type of volatile or non-volatile storage device, or a combination thereof.
  • the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, Ferromagnetic Random Access Memory), Flash Memory (Flash Memory), Magnetic Surface Memory, Optical Disc , or Compact Disc Read-Only Memory (CD-ROM, Compact Disc Read-Only Memory); magnetic surface storage can be disk storage or tape storage.
  • RAM Random Access Memory
  • SRAM Static Random Access Memory
  • SSRAM SynchronousStatic Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDR SDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Enhanced Synchronization Dynamic random access memory
  • SLDRAM synchronous connection dynamic random access memory
  • DRRAM Direct Rambus Random Access Memory
  • the storage medium described in the embodiments of the present invention is intended to include, but not limited to, these and any other suitable types of memory.
  • the disclosed system and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
  • the unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present invention may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integration
  • the unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
  • the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and other various A medium on which program code can be stored.
  • ROM read-only memory
  • RAM Random Access Memory
  • magnetic disk or an optical disk and other various A medium on which program code can be stored.
  • the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the computer software products are stored in a storage medium and include several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the methods described in the various embodiments of the present invention.
  • the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.

Abstract

A video recording method and system, a terminal device and a computer-readable storage medium. The method comprises: continuously collecting video data of a set range within a field of view of a video acquisition unit and/or audio data around an audio acquisition unit, and automatically and dynamically caching a first video and/or audio data of a first set duration or a first set storage capacity in a circulatory manner to a first storage unit so as to keep the first video and/or audio data updated in real time dynamically cached in the first storage unit; when receiving a first trigger signal, transferring all or part of the first video data and/or the first audio data cached at a time point in the first storage unit to a second storage unit; and at the same time, continuing to automatically and dynamically cache the video data and/or audio data in a circulatory manner collected after the time point in the first storage unit. The prompt recording or compensational recording of events is achieved, i.e. the recording of events will not be missed, and a large amount of useless video data will not be produced.

Description

一种录像的方法、系统、终端设备及计算机可读存储介质A video recording method, system, terminal device and computer-readable storage medium 技术领域technical field
本发明涉及信息技术领域,尤其涉及一种视频采集单元录像的方法、系统、终端设备及计算机可读存储介质。The present invention relates to the field of information technology, and in particular, to a method, a system, a terminal device and a computer-readable storage medium for video recording by a video capture unit.
背景技术Background technique
随着数字媒体技术的发展,以及智能手机等智能设备的广泛应用,人们越来越习惯于通过智能设备记录生活中的美好时刻。人们用智能设备记录生活基本上有两种情况,一种预先不知道会发生的情况,另一种是预先知道会发生的情况。比如家里有小孩情况,家长希望记录孩子成长过程中的点点滴滴,不愿错过每一个感动时刻。但是,美妙的时刻总是转瞬即逝,往往在发现孩子展现童真一面的时候,再启动智能设备对准小孩子后,就已经错过刚才的表情和场景了,针对这种预先不知道会发生的情况,不能及时的记录。此外,当自己参与孩子的互动时,或制作美食而双手需要占用时,往往会找不到其他人帮忙录像而错失;即便有人帮忙,也会因刻意的录像而失去自然的感觉,导致视频记录的效果欠佳。With the development of digital media technology and the wide application of smart devices such as smart phones, people are more and more accustomed to recording beautiful moments in life through smart devices. There are basically two situations in which people use smart devices to record their life, one is the situation that is not known in advance, and the other is the situation that is known in advance. For example, if there are children at home, parents want to record every bit of the child's growth, and do not want to miss every moving moment. However, wonderful moments are always fleeting. Often when the child is found to be showing his innocence, and the smart device is turned on and aimed at the child, the expression and scene just now have been missed. The situation cannot be recorded in time. In addition, when I participate in the interaction of the children, or when I make food and my hands need to be occupied, I often cannot find other people to help with the video and miss it; The effect is not good.
现有技术中,有些带SD卡的网络摄像头(IP Camera),可以进行7x24小时的连续录像,这样可以将每一个场景都记录下来,事后再对录像内容进行剪辑。这样的操作非常麻烦,而且还需要时常拔取SD卡进行手工剪辑,往往还需要在长时间的录像文件中去查找想要的内容,影响到用户体验。对于没有SD卡的机型,则无法实现想要场景的录像。另外,SD卡的长期进行擦除和写操作,很容易产生SD卡坏块,影响SD卡寿命。而且SD卡容量有限,如果没有及时回看,往往在SD卡录像内容被循环覆盖后便丢失了所有的目标录像片段。In the prior art, some IP Cameras with SD cards can record 7x24 hours of continuous video, so that every scene can be recorded, and the video content can be edited later. Such an operation is very troublesome, and the SD card needs to be pulled out for manual editing from time to time, and it is often necessary to search for the desired content in the long-term video files, which affects the user experience. For models without an SD card, recording of the desired scene cannot be achieved. In addition, the long-term erasing and writing operations of the SD card can easily cause bad blocks of the SD card and affect the life of the SD card. Moreover, the capacity of the SD card is limited. If you do not review it in time, all the target video clips will be lost after the SD card video content is overwritten in a loop.
所以,现有技术中缺乏一种有效的能及时记录及补偿记录生活中的美好时刻的录像方法。Therefore, the prior art lacks an effective video recording method capable of recording and compensating for recording the beautiful moments in life in time.
以上背景技术内容的公开仅用于辅助理解本发明的构思及技术方案,其并不必然属于本专利申请的现有技术,在没有明确的证据表明上述内容在本专利申请的申请日已经公开的情况下,上述背景技术不应当用于评价本申请的新颖性和创造性。The disclosure of the above background technology content is only used to assist the understanding of the concept and technical solution of the present invention, and it does not necessarily belong to the prior art of the present patent application. In this case, the above background art should not be used to evaluate the novelty and inventive step of the present application.
发明内容SUMMARY OF THE INVENTION
本发明为了解决现有的问题,提供一种录像的方法、系统、终端设备及计算机可读存储介质。In order to solve the existing problems, the present invention provides a video recording method, system, terminal device and computer-readable storage medium.
为了解决上述问题,本发明采用的技术方案如下所述:In order to solve the above problems, the technical scheme adopted in the present invention is as follows:
一种录像方法,包括如下步骤:S1:持续采集视频采集单元视野内设定范围的视频数据和/或音频采集单元周围的音频数据,并自动动态循环缓存第一设定时长或第一设定存储容量的第 一视频数据和/或第一音频数据到第一存储单元,以保持所述第一存储单元中动态缓存有实时更新的、长度为所述第一设定时长或存储容量为所述第一设定存储容量的第一视频数据和/或第一音频数据;S2:当接收到第一触发信号时,将所述第一存储单元中在该时刻点所缓存的全部或部分所述第一视频数据和/或所述第一音频数据转存到第二存储单元;同时继续将该时刻点之后采集的视频数据和/或音频数据自动动态循环缓存到所述第一存储单元。A video recording method, comprising the following steps: S1: Continuously collect video data within a set range within the visual field of a video capture unit and/or audio data around the audio capture unit, and automatically and dynamically buffer a first set duration or a first set duration The first video data and/or the first audio data of the storage capacity are stored in the first storage unit, so as to keep the first storage unit dynamically buffered with real-time updating, the length of which is the first set duration or the storage capacity of the first storage unit. The first video data and/or the first audio data of the first set storage capacity; S2: when the first trigger signal is received, all or part of the buffered data in the first storage unit at this time point is stored. The first video data and/or the first audio data are dumped to the second storage unit; at the same time, the video data and/or audio data collected after the time point are automatically and dynamically buffered to the first storage unit.
优选地,在步骤S2中,在将所述第一视频数据和/或所述第一音频数据转存到第二存储单元的同时,继续采集第二视频数据和/或第二音频数据并存储到第二存储单元。Preferably, in step S2, while transferring the first video data and/or the first audio data to the second storage unit, continue to collect and store the second video data and/or the second audio data to the second storage unit.
优选地,所述第一存储单元是可读写的存储介质,包括易失性存储介质,非易失性存储介质、外部网络存储介质;所述第一存储单元中存储的所述第一视频数据和/或所述第一音频数据已达所述第一设定时长或所述第一设定存储容量时,在后录制的视频数据和/或音频数据循环覆盖最先录制的视频数据和/或音频数据;所述第二存储单元是本地存储单元或远程存储单元,用于接收转存的所述第一视频数据和/或所述第一音频数据,和/或直接存储所述第二视频数据和/或所述第二音频数据;或,用于存储处理后的所述第一视频数据和/或所述第一音频数据、所述第二视频数据和/或所述第二音频数据;所述处理包括将所述第一视频数据和所述第一音频数据同步、将所述第二视频数据和所述第二音频数据同步。Preferably, the first storage unit is a readable and writable storage medium, including a volatile storage medium, a non-volatile storage medium, and an external network storage medium; the first video stored in the first storage unit When the data and/or the first audio data have reached the first set duration or the first set storage capacity, the later recorded video data and/or audio data cyclically cover the first recorded video data and the first set storage capacity. /or audio data; the second storage unit is a local storage unit or a remote storage unit, configured to receive the dumped first video data and/or the first audio data, and/or directly store the first video data and/or the first audio data. two video data and/or the second audio data; or, for storing the processed first video data and/or the first audio data, the second video data and/or the second audio data; the processing includes synchronizing the first video data and the first audio data, synchronizing the second video data and the second audio data.
优选地,所述第二存储单元的数据以安全加密的方式进行存储和/或传输。Preferably, the data of the second storage unit is stored and/or transmitted in a secure encrypted manner.
优选地,所述第一触发信号是被动触发信号或主动触发信号;所述被动触发信号包括接收用户的触发指令或接收来自关联设备的触发指令而输出的第一触发信号;所述主动触发信号包括持续与预先设置的触发条件进行匹配,若匹配成功,则主动触发作为第一触发信号;所述触发条件包括:预先设置的目标对象清单、预先设置的表情类型、预先设置的动作类型、预先设置的声音类型中的至少一个。Preferably, the first trigger signal is a passive trigger signal or an active trigger signal; the passive trigger signal includes a first trigger signal output by receiving a trigger instruction from a user or a trigger instruction from an associated device; the active trigger signal Including continuous matching with preset trigger conditions, and if the matching is successful, then actively triggering as the first trigger signal; the trigger conditions include: preset target object list, preset expression type, preset action type, preset Set at least one of the sound types.
优选地,所述用户的触发指令包括按动按钮或远程按动遥控装置上的按钮发送指令、通过应用程序发送指令、通过语音发送指令、通过体感交互发送指令;所述预先设置的目标对象清单包括人物、动物、物品。Preferably, the triggering instruction of the user includes pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction; the preset target object list Including people, animals, objects.
优选地,通过判别所述目标对象的移动以控制视频采集单元的转动使所述目标对象处于视频画面中。Preferably, the target object is placed in the video frame by judging the movement of the target object to control the rotation of the video capture unit.
优选地,通过数字变焦调整目标对象在所述视频数据中视频画面的位置。Preferably, the position of the target object in the video picture in the video data is adjusted through digital zoom.
优选地,通过广角全景镜头采集所述视频数据;或,通过至少两个视频采集单元分别采集第一子视频数据,将所述第一子视频数据拼接成横向全景视频画面作为所述视频数据。Preferably, the video data is collected through a wide-angle panoramic lens; or, the first sub-video data is collected respectively through at least two video collection units, and the first sub-video data is spliced into a horizontal panoramic video picture as the video data.
优选地,通过至少两台放置在不同位置的视频采集单元联合组成的分布式视频采集系统从不同角度进行拍摄得到第二子视频数据,每一个所述第二子视频数据是每一台所述视频采集单元采集的视频数据,对所述第二子视频数据进行剪接完成多角度的视频数据,根据采集时间从所述多角度的视频数据得到所述视频数据。Preferably, the second sub-video data is obtained by shooting from different angles through a distributed video capture system composed of at least two video capture units placed in different positions, and each of the second sub-video data is the For the video data collected by the video collection unit, the second sub-video data is spliced to complete multi-angle video data, and the video data is obtained from the multi-angle video data according to the collection time.
优选地,还包括:对所述视频采集单元进行时间同步;对所述视频采集单元的所述第二子视频数据进行分析,调整所述视频采集单元的角度或视频画面的大小;所述第二子视频数据带有日期时间信息,根据所述时间戳剪辑不同角度的视频数据拼接得到所述视频数据。Preferably, the method further includes: performing time synchronization on the video capture unit; analyzing the second sub-video data of the video capture unit, and adjusting the angle of the video capture unit or the size of the video frame; The two sub-video data have date and time information, and the video data is obtained by splicing video data from different angles according to the time stamp.
优选地,通过至少两台放置在不同位置的无线音频采集单元组成的分布式音频采集系统从不同位置采集音频数据。Preferably, audio data is collected from different locations through a distributed audio collection system composed of at least two wireless audio collection units placed at different locations.
优选地,对所述无线音频采集单元进行时间同步;或,所述无线音频采集单元组成声音定位系统,根据目标对象的声音确定所述目标对象的位置。Preferably, time synchronization is performed on the wireless audio collection unit; or, the wireless audio collection unit forms a sound localization system, and the position of the target object is determined according to the sound of the target object.
优选地,还包括:S3:接收到第二触发信号,停止将采集的所述第二视频数据和/或第二音频数据存储到所述第二存储单元,继续采集所述第一视频数据和/或所述第一音频数据并自动循环缓存到所述第一存储单元。Preferably, the method further includes: S3: After receiving a second trigger signal, stop storing the collected second video data and/or second audio data in the second storage unit, and continue to collect the first video data and/or the second audio data. /or the first audio data is automatically circularly buffered to the first storage unit.
优选地,所述第二触发信号是被动触发信号或主动触发信号;所述被动触发信号包括接收用户的触发指令或接收来自关联设备的触发指令而输出的第二触发信号;所述用户的触发指令包括按动按钮或远程按动遥控装置上的按钮发送指令、通过应用程序发送指令、通过语音发送指令、通过体感交互发送指令;所述主动触发信号包括持续与预先设置的触发条件进行匹配,若在第二设定时长内持续匹配失败,则主动触发作为第二触发信号;所述触发条件包括:预先设置的目标对象清单、预先设置的表情类型、预先设置的动作类型、预先设置的声音类型中的至少一个;所述预先设置的目标对象清单包括人物、动物、物品。Preferably, the second trigger signal is a passive trigger signal or an active trigger signal; the passive trigger signal includes a second trigger signal output by receiving a user's trigger instruction or receiving a trigger instruction from an associated device; the user's triggering The instructions include pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction; the active trigger signal includes continuous matching with preset trigger conditions, If the matching fails continuously within the second set time period, the active trigger is used as the second trigger signal; the trigger conditions include: a preset target object list, a preset expression type, a preset action type, and a preset sound. at least one of the types; the preset target object list includes characters, animals, and objects.
本发明还提供一种录像系统,包括:视频采集单元,被配置为可持续采集所述视频采集单元视野内一定范围的视频数据;音频采集单元,被配置为采集所述音频采集单元周围的音频数据;第一存储单元,被配置为自动动态循环缓存第一设定时长或第一设定存储容量的所述第一视频数据和/或所述第一音频数据,以便所述第一存储单元中动态缓存有实时更新的、长度为所述第一设定时长或存储容量为所述第一设定存储容量的第一视频数据和/或第一音频数据;第二存储单元,被配置为在处理单元接收到所述第一触发信号时,接收所述第一存储单元转存的该时刻点所缓存的全部或部分所述第一视频数据和/或所述第一音频数据;所述处理单元,用于执行如上任一所述的方法。The present invention also provides a video recording system, comprising: a video capture unit configured to continuously capture video data within a certain range of the video capture unit's field of view; an audio capture unit configured to capture audio around the audio capture unit data; a first storage unit configured to automatically and dynamically buffer the first video data and/or the first audio data of a first set duration or a first set storage capacity, so that the first storage unit In the dynamic cache there is real-time updated first video data and/or first audio data whose length is the first set duration or whose storage capacity is the first set storage capacity; the second storage unit is configured as When the processing unit receives the first trigger signal, the processing unit receives all or part of the first video data and/or the first audio data that are dumped by the first storage unit and buffered at this point in time; the A processing unit for executing any of the methods described above.
优选地,所述视频数据还包括在所述处理单元接收到所述第一触发信号之后采集的第二视频数据;所述音频数据还包括所述处理单元接收到所述第一触发信号之后采集的第二音频数据;所述第二存储单元,还被配置为存储所述第二视频数据和/或所述第二音频数据。Preferably, the video data further includes second video data collected after the processing unit receives the first trigger signal; the audio data further includes second video data collected after the processing unit receives the first trigger signal the second audio data; the second storage unit is further configured to store the second video data and/or the second audio data.
本发明再提供一种录像终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上任一所述方法的步骤。The present invention further provides a video recording terminal device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. steps of the method described.
本发明又提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上任一所述方法的步骤。The present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of any of the above methods.
本发明的有益效果为:提供一种录像的方法、系统、终端设备及计算机可读存储介质,通过设置第一存储单元、第二存储单元,根据第一触发信号将存储在第一存储单元的第一视频数据和/或第一音频数据转存到第二存储单元,实现了对事件的及时记录或补偿记录,即不会错过记录事件发生,也不会产生大量的无用的视频数据。The beneficial effects of the present invention are as follows: a video recording method, system, terminal device and computer-readable storage medium are provided, and by setting the first storage unit and the second storage unit, according to the first trigger signal, The first video data and/or the first audio data are transferred to the second storage unit, so as to realize the timely recording or compensation recording of the event, that is, the occurrence of the recording event will not be missed, and a large amount of useless video data will not be generated.
附图说明Description of drawings
图1是本发明实施例中第一种录像方法的示意图。FIG. 1 is a schematic diagram of a first video recording method in an embodiment of the present invention.
图2是本发明实施例中第二种录像方法的示意图。FIG. 2 is a schematic diagram of a second video recording method in an embodiment of the present invention.
图3是本发明实施例中第三种录像方法的示意图。FIG. 3 is a schematic diagram of a third video recording method in an embodiment of the present invention.
图4是本发明实施例中第四种录像方法的示意图。FIG. 4 is a schematic diagram of a fourth video recording method in an embodiment of the present invention.
图5是本发明实施例中第一种录像系统的示意图。FIG. 5 is a schematic diagram of a first video recording system in an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明实施例所要解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions and beneficial effects to be solved by the embodiments of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
需要说明的是,当元件被称为“固定于”或“设置于”另一个元件,它可以直接在另一个元件上或者间接在该另一个元件上。当一个元件被称为是“连接于”另一个元件,它可以是直接连接到另一个元件或间接连接至该另一个元件上。另外,连接既可以是用于固定作用也可以是用于电路连通作用。It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element. In addition, the connection can be used for both the fixing function and the circuit connection function.
需要理解的是,术语“长度”、“宽度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明实施例和简化描述,而不是指示或 暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。It is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top" , "bottom", "inside", "outside", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that The device or element referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as limiting the invention.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多该特征。在本发明实施例的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first", "second" may expressly or implicitly include one or more of that feature. In the description of the embodiments of the present invention, "plurality" means two or more, unless otherwise expressly and specifically defined.
如图1所示,本发明提供一种录像方法,包括如下步骤:As shown in Figure 1, the present invention provides a video recording method, comprising the following steps:
S1:持续采集视频采集单元视野内设定范围的视频数据和/或音频采集单元周围的音频数据,并自动动态循环缓存第一设定时长或第一设定存储容量的第一视频数据和/或第一音频数据到第一存储单元,以保持所述第一存储单元中动态缓存有实时更新的、长度为所述第一设定时长或存储容量为所述第一设定存储容量的第一视频数据和/或第一音频数据;S1: Continuously collect video data within a set range of the video capture unit and/or audio data around the audio capture unit, and automatically and dynamically circularly buffer the first video data and/or the first set duration or first set storage capacity. Or the first audio data is sent to the first storage unit, so as to keep the first storage unit dynamically buffered with a real-time update, the length of which is the first set duration or the storage capacity of which is the first set storage capacity. a video data and/or first audio data;
S2:当接收到第一触发信号时,将所述第一存储单元中在该时刻点所缓存的全部或部分所述第一视频数据和/或所述第一音频数据转存到第二存储单元;同时继续将该时刻点之后采集的视频数据和/或音频数据自动动态循环缓存到所述第一存储单元。S2: When the first trigger signal is received, transfer all or part of the first video data and/or the first audio data buffered in the first storage unit at the moment to the second storage unit At the same time, the video data and/or audio data collected after the time point are continuously automatically and dynamically buffered to the first storage unit.
在一种具体的实施例中,采用摄像头进行录像采集视频数据,采用录音器采集音频数据,第一存储单元是RAM,第二存储单元是永久存储器。可以理解的是,对于第一存储单元中的RAM中其中一部分内存作为预分配的存储空间,另一部分内存用于其他存储,第一视频数据和/或第一音频数据存储在预分配的存储空间。在正常情况下,摄像头和/或录音器正常工作采集得到第一视频数据、第一音频数据并存储在RAM,可以预先设置第一音视频数据在第一存储单元中缓存的第一设定时长或第一设定存储容量,即只存储第一设定时长的第一视频数据和/或第一音频数据;或存储第一设定存储容量的第一视频数据和/或第一音频数据。当录像系统接收到第一触发信号的时候,将第一存储单元的数据转存到第二存储单元。可以理解的是,录像系统开始录制的时候,第一存储单元中可能是零存储的状态,从无开始累积到第一设定时长的第一视频数据和/或第一音频数据;或存储第一设定存储容量的第一视频数据和/或第一音频数据,然后动态循环缓存。In a specific embodiment, a camera is used to record and collect video data, and a sound recorder is used to collect audio data, the first storage unit is RAM, and the second storage unit is permanent storage. It can be understood that, for a part of the memory in the RAM in the first storage unit as the pre-allocated storage space, and the other part of the memory for other storage, the first video data and/or the first audio data are stored in the pre-allocated storage space. . Under normal circumstances, the camera and/or the recorder works normally to collect the first video data and the first audio data and store them in the RAM. The first set duration for the first audio and video data to be cached in the first storage unit can be preset. Or the first set storage capacity, that is, only the first video data and/or the first audio data of the first set duration are stored; or the first video data and/or the first audio data of the first set storage capacity are stored. When the video recording system receives the first trigger signal, it transfers the data of the first storage unit to the second storage unit. It can be understood that when the video recording system starts recording, the first storage unit may be in a state of zero storage, and the first video data and/or the first audio data of the first set duration are accumulated from nothing; A first video data and/or first audio data with a set storage capacity, and then dynamically circularly buffered.
在一种具体的实施例中,因为第一存储单元中缓存的第一设定时长或第一设定存储容量,假定用户发现在过去的3分钟内发生了值得记录的事情,则可以发出第一触发信号,将第一存储单元内的全部的第一视频数据和/或第一音频数据转存到第二存储单元,或者仅将与需要记录的事件相关的第一视频数据和/或第一音频数据转存到第二存储单元。此时,将缓存的视频存储 为永久的视频,完成对事件的及时记录或补偿记录。可以理解的是,本发明中的部分转存就是指与需要记录的事件相关的第一视频数据和/或第一音频数据转存到第二存储单元,这一部分视频或音频数据可以是第一设定时长或第一设定存储容量中的任意一段。In a specific embodiment, because of the first set duration or the first set storage capacity cached in the first storage unit, if the user finds that something worth recording has occurred in the past 3 minutes, the A trigger signal to transfer all the first video data and/or the first audio data in the first storage unit to the second storage unit, or transfer only the first video data and/or the first video data and/or the first video data related to the event to be recorded An audio data is dumped to the second storage unit. At this time, the cached video is stored as a permanent video to complete the timely recording or compensation recording of the event. It can be understood that the partial dumping in the present invention refers to dumping the first video data and/or the first audio data related to the event to be recorded to the second storage unit, and this part of the video or audio data may be the first video data and/or the first audio data. Set any period in the duration or the first set storage capacity.
在一种具体的实施例中,父母在给小孩子讲故事,突然间小孩子一句童言稚语,或者突然间的趴在父母背上,场面非常温馨;此时事情已经发生了,如果没有及时记录便会非常遗憾;即便让孩子重新演绎一次也无法复原当时的场景。此时,用户可以采用本发明的方法及时记录刚刚发生的值得记录的事情。用户可以发出第一触发信号,将第一存储单元内的全部的第一视频数据和/或第一音频数据转存到第二存储单元。In a specific embodiment, the parent is telling a story to the child, and suddenly the child says childish words, or suddenly lies on the back of the parent. It will be very regrettable; even if the child re-enacts it once, it will not restore the scene at that time. At this time, the user can use the method of the present invention to record in time what has just happened and is worth recording. The user can send a first trigger signal to transfer all the first video data and/or the first audio data in the first storage unit to the second storage unit.
在本发明的一种实施例中,假设录像系统设定的第一设定时长为5分钟。当系统接收到第一触发信号时,把第一设定时长即5分钟的第一视频数据和/或音频数据转存到第二存储单元;并继续将该时刻点之后采集的视频数据和/或音频数据自动动态循环缓存到第一存储单元。3分钟后(小于第一设定时长的5分钟),又接收到一次第一触发信号,此时将从上一次接收到第一触发信号的时刻点到第二次接收到第一触发信号时刻点之间的3分钟视频和/或音频数据转存到第二存储单元。In an embodiment of the present invention, it is assumed that the first set duration set by the video recording system is 5 minutes. When the system receives the first trigger signal, it dumps the first video data and/or audio data of the first set duration, that is, 5 minutes, to the second storage unit; and continues the video data and/or audio data collected after the moment Or the audio data is automatically and dynamically buffered to the first storage unit. After 3 minutes (less than 5 minutes of the first set duration), the first trigger signal is received again. At this time, it will be from the time when the first trigger signal was last received to the second time when the first trigger signal is received. 3 minutes of video and/or audio data between points are dumped to the second storage unit.
在本发明的另一种实施例中,将第一次接收到第一触发信号的时刻点之前2分钟的视频和/或音频数据(这部分数据由于没有被覆盖,还保存在第一存储单元中,其余的则被第一次接收到第一触发信号后采集的新数据动态循环覆盖了),与第一次接收到第一触发信号的时刻点之后的3分钟视频和/或音频数据组成的5分钟视频和/或音频数据,一起转存到第二存储单元。In another embodiment of the present invention, the video and/or audio data 2 minutes before the moment when the first trigger signal is received for the first time (this part of the data is also stored in the first storage unit because it is not overwritten) , the rest are dynamically cyclically covered by the new data collected after the first trigger signal is received), consisting of 3 minutes of video and/or audio data after the moment when the first trigger signal is first received 5 minutes of video and/or audio data are transferred to the second storage unit together.
在本发明的再一种实施例中,采集视频采集单元视野内设定范围的视频数据和/或音频采集单元周围的音频数据,对于设定范围,可以理解为缺省设定是视频采集单元的全部视野范围;用户还可以设定保存的视频数据是视野范围中的一个子画面,此时子画面的范围就是设定范围。一种具体的实施方式中,可以选取视频视野范围中的一个子画面,通过数字插值等方式进行放大,实现数字变焦功能,以放大的方式记录此时子画面的视频内容。如图2所示,在进一步的实施例中,在将所述第一视频数据和/或所述第一音频数据转存到第二存储单元的同时,继续采集第二视频数据和/或第二音频数据并存储到第二存储单元,记录后续发生的场景。In yet another embodiment of the present invention, the video data within a set range within the visual field of the video capture unit and/or the audio data around the audio capture unit are collected. For the set range, it can be understood that the default setting is the video capture unit The user can also set the saved video data to be a sub-picture in the field of view, and the sub-picture scope is the set range at this time. In a specific implementation, a sub-picture in the video field of view can be selected, and zoomed in by means of digital interpolation, etc., to realize a digital zoom function, and record the video content of the sub-picture at this time in an enlarged manner. As shown in FIG. 2, in a further embodiment, while transferring the first video data and/or the first audio data to the second storage unit, the collection of the second video data and/or the first audio data is continued. The second audio data is stored in the second storage unit, and the subsequent scene is recorded.
在另一种具体的实施例中,家里的孩子们发生矛盾,父母无法判断事情的真实状况,则可以通过第一触发信号将第一存储单元中缓存的第一设定时长或第一设定存储容量转存到第二存储单元,用于判断事情的真实状况。此时,通过本发明的方法实现对事件的补录。In another specific embodiment, if there is a conflict among the children at home, and the parents cannot judge the real situation of the matter, the first set duration or the first set duration cached in the first storage unit can be set by the first trigger signal. The storage capacity is transferred to the second storage unit for judging the real state of things. At this time, the supplementary recording of the event is realized by the method of the present invention.
本发明通过设置第一存储单元、第二存储单元,根据第一触发信号将存储在第一存储单 元的第一视频数据和/或第一音频数据转存到第二存储单元,实现了对事件的及时记录或补偿记录,即不会错过记录事件发生,也不会产生大量的无用的视频数据。In the present invention, the first storage unit and the second storage unit are arranged, and the first video data and/or the first audio data stored in the first storage unit are transferred to the second storage unit according to the first trigger signal, so as to realize the detection of the event Timely recording or compensating recording, that is, neither missing recording events nor generating a large amount of useless video data.
在本发明的另一种实施例中,在将所述第一视频数据和/或所述第一音频数据转存到第二存储单元的同时,继续采集第二视频数据和/或第二音频数据并存储到第二存储单元。In another embodiment of the present invention, while transferring the first video data and/or the first audio data to the second storage unit, continue to collect the second video data and/or the second audio data and stored in the second storage unit.
可以理解的是,第一视频数据和/或第一音频数据是需要通过第一存储单元转存到第二存储单元的,而第二视频数据和/或第二音频数据是直接存储到第二存储单元的。因为第一存储单元中存储的第一视频数据和/或第一音频数据已达第一设定时长或第一设定存储容量时,在后录制的视频数据和/或音频数据循环覆盖最先录制的视频数据和/或音频数据。在一种实施例中,当接收第一触发信号时,事件已经发生了,所以将此时的第一音视频数据与第二音视频数据拼接,可以构成完整事件的数据。It can be understood that the first video data and/or the first audio data need to be transferred to the second storage unit through the first storage unit, while the second video data and/or the second audio data are directly stored in the second storage unit. storage unit. Because the first video data and/or the first audio data stored in the first storage unit has reached the first set duration or the first set storage capacity, the later recorded video data and/or audio data cyclically cover the first Recorded video data and/or audio data. In one embodiment, when the first trigger signal is received, the event has already occurred, so the data of the complete event can be formed by splicing the first audio and video data and the second audio and video data at this time.
在本发明的一种实施例中,第一存储单元是可读写的存储介质,包括易失性存储介质,非易失性存储介质,以及外部网络存储介质。易失性存储介质,包括RAM,SRAM,Cache等;非易失性存储介质,包括Flash,闪存,SD卡,硬盘等;外部网络存储,包括NAS存储系统,云存储系统等;Flash包括Nor Flash,NAND Flash等;硬盘包括固态硬盘,磁硬盘等。在一种具体的实施例中,可以将第一视频数据和/或音频数据自动动态循环缓存在NAND Flash或者SD卡中,当接收到第一触发信号时,就将全部或部分第一视频数据和/或音频数据转存到第二存储单元中。在另一种具体的实施例中,如果第一存储单元、第二存储单元都是云存储,则可以直接发送云存储的转存指令,由云存储服务器进行转存操作,不必把数据从第一存储单元下载到录像系统,再转存到第二存储器中,这样可以获得更高的执行效率。第二存储单元是永久存储介质,可以是本设备集成的SD卡、Flash、硬盘,也可以是远端的外部存储器,如家里面的NAS网络存储器,或者互联网服务商提供的云存储服务。In an embodiment of the present invention, the first storage unit is a readable and writable storage medium, including a volatile storage medium, a non-volatile storage medium, and an external network storage medium. Volatile storage media, including RAM, SRAM, Cache, etc.; non-volatile storage media, including Flash, flash memory, SD card, hard disk, etc.; external network storage, including NAS storage systems, cloud storage systems, etc.; Flash includes Nor Flash , NAND Flash, etc.; hard drives include solid-state drives, magnetic hard drives, etc. In a specific embodiment, the first video data and/or audio data can be automatically and dynamically cached in the NAND Flash or SD card, and when the first trigger signal is received, all or part of the first video data and/or the audio data is dumped into the second storage unit. In another specific embodiment, if the first storage unit and the second storage unit are both cloud storages, the cloud storage dump instruction can be sent directly, and the cloud storage server performs the dump operation without transferring the data from the first storage unit. A storage unit is downloaded to the video recording system, and then transferred to the second storage, so that higher execution efficiency can be obtained. The second storage unit is a permanent storage medium, which can be an SD card, Flash, or hard disk integrated in the device, or a remote external storage, such as a NAS network storage at home, or a cloud storage service provided by an Internet service provider.
第一存储单元里面的音视频数据累积到累积到第一设定时长的第一视频数据和/或第一音频数据;或存储第一设定存储容量的第一视频数据和/或第一音频数据后开始循环覆盖,保持实时更新的、长度为第一设定时长的或者第一设定存储容量的一段;第二存储单元是永久存储单元,用于接收转存的第一视频数据和/或第一音频数据,和/或直接存储第二视频数据和/或第二音频数据;或,存储处理后的第一视频数据和/或第一音频数据、第二视频数据和/或第二音频数据;在本发明的一种实施例中,处理包括将第一视频数据和第一音频数据同步、将第二视频数据和第二音频数据同步;采集单元是一直在采集的,采集的音视频数据以收到第一触发信号为界限,可以分成两个部分:从过去到接收到第一触发信号的时刻所采集到的第一视频数据和/ 或第一音频数据;从接收到第二触发信号的时刻之后采集的第二视频数据和/或第二音频数据。The audio and video data in the first storage unit is accumulated to the first video data and/or the first audio data of the first set duration; or the first video data and/or the first audio data of the first set storage capacity are stored After the data starts to cover the loop, keep a segment updated in real time, the length is the first set duration or the first set storage capacity; the second storage unit is a permanent storage unit, used for receiving the dumped first video data and/or or the first audio data, and/or directly store the second video data and/or the second audio data; or, store the processed first video data and/or the first audio data, the second video data and/or the second audio data audio data; in an embodiment of the present invention, the processing includes synchronizing the first video data and the first audio data, and synchronizing the second video data and the second audio data; the collection unit is always collecting, and the collected audio The video data is limited to the receipt of the first trigger signal, and can be divided into two parts: the first video data and/or the first audio data collected from the past to the moment when the first trigger signal is received; The second video data and/or the second audio data collected after the time of the trigger signal.
在本发明的一种实施例中,录像系统包括智能识别单元,可以识别出目标对象的类型、表情、动作和/或声音,进而与预先设置的触发条件匹配,如果匹配成功,则发出第一触发信号。In an embodiment of the present invention, the video recording system includes an intelligent recognition unit, which can recognize the type, expression, action and/or sound of the target object, and then match the preset trigger condition, and if the match is successful, it will send out the first trigger signal.
在本发明的另一种实施例中,第一触发信号包括被动触发信号、主动触发信号;In another embodiment of the present invention, the first trigger signal includes a passive trigger signal and an active trigger signal;
所述被动触发信号包括接收用户的触发指令或接收来自关联设备的触发指令而输出的第一触发信号;The passive trigger signal includes a first trigger signal output by receiving a user's trigger instruction or receiving a trigger instruction from an associated device;
所述主动触发信号包括持续与预先设置的触发条件进行匹配,若匹配失败,则主动触发作为第一触发信号;所述触发条件包括:预先设置的目标对象清单、预先设置的表情类型、预先设置的动作类型、预先设置的声音类型中的至少一个。The active trigger signal includes continuous matching with a preset trigger condition, and if the matching fails, the active trigger is used as the first trigger signal; the trigger condition includes: a preset target object list, a preset expression type, a preset at least one of the action type and the preset sound type.
比如,当用户已经知道接下来要陪小孩讲故事,则可以发送触发指令,录像系统接收到触发指令后,输出第一触发信号。即便用户不知道接下来要发生的事情,比如本不会走路的小孩突然独立行走,也可以在发现事件的时候,立即发送触发指令,虽然会有延迟,但是因为第一视频数据是在实时记录的且有一定时长,将缓存的第一视频数据转存到第二存储单元,并可以继续采集第二音视频数据,也可以构成完成事件的视频。在本发明的一种实施例中,用户的触发指令包括按动按钮或远程按动遥控装置上的按钮发送指令、通过应用程序发送指令、通过语音发送指令、通过体感交互发送指令。比如,用户可以按动一个按钮或远程按动遥控装置上的按钮发送指令,通过预设安装到智能终端的小程序或APP发送指令,或者通过语音发送指令,也可以通过体感控制直接发送指令。For example, when the user already knows that he will tell stories with the child next, he can send a trigger instruction, and the video recording system outputs the first trigger signal after receiving the trigger instruction. Even if the user does not know what will happen next, for example, a child who can't walk suddenly walks independently, he can send a trigger command immediately when the event is discovered. Although there will be a delay, because the first video data is recorded in real time For a certain period of time, the cached first video data is transferred to the second storage unit, and the second audio and video data can be continuously collected, or a video of the completion event can be formed. In an embodiment of the present invention, the user's triggering instruction includes pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction. For example, the user can press a button or remotely press the button on the remote control device to send the command, send the command through a pre-installed applet or APP on the smart terminal, or send the command by voice, or send the command directly through the somatosensory control.
在另一种实施例种,还可以接收来自关联设备的触发指令。可以理解的是,关联设备与录像系统通过一些预设条件关联起来,当关联设备满足某种条件时,则给录像系统发出一个触发信号。例如家里的智能音箱与录像系统建立了关联,智能音箱收到用户通过语音发出的指令后,给录像系统发送触发指令,成为第一触发指令。In another embodiment, a trigger instruction from an associated device may also be received. It can be understood that the associated device is associated with the video recording system through some preset conditions, and when the associated device satisfies a certain condition, a trigger signal is sent to the video recording system. For example, the smart speaker at home is associated with the video recording system. After the smart speaker receives the command issued by the user through voice, it sends a trigger command to the video recording system, which becomes the first trigger command.
在一种具体的实施例中,录像系统的视频获取单元和音频获取单元都设置无线收发模块,可以响应于用户的指令开始采集数据;采集得到的第二视频数据和第二音频数据也可以通过无线收发模块传输到第二存储单元。In a specific embodiment, both the video acquisition unit and the audio acquisition unit of the video recording system are provided with a wireless transceiver module, which can start to collect data in response to a user's instruction; the collected second video data and second audio data can also be obtained through The wireless transceiver module is transmitted to the second storage unit.
在另一种具体的实施例中,家里面姐姐和妹妹在客厅游戏区一起玩,姐姐拿起绘本给妹妹讲故事,这场景非常的温馨,当父母从房间或厨房出来客厅,看到了当前温馨的一幕,可以按动了远程遥控装置上的按钮,既不干扰到孩子们,也可以将刚才错过的温馨一幕记录下来。如果父母走去按动视频录像终端设备机身上面的按钮,也是可以记录的,但是会将自己也收录到 视频录像中,未来剪辑视频就没有那么方便和完美了。此远程遥控装置上的按钮,可以通过Wi-Fi、蓝牙或者红外信号,通知录像终端设备进行保存缓存录像并启动实时录像。In another specific embodiment, the elder sister and younger sister play together in the game area in the living room, and the elder sister picks up the picture book to tell the story to the younger sister. This scene is very warm. When the parents come out of the living room from the room or the kitchen, they see the current warmth You can press the button on the remote control device without disturbing the children, and you can also record the warm scene that you just missed. If parents go to press the button on the video recording terminal device, they can also record, but they will also be recorded in the video recording, and video editing will not be so convenient and perfect in the future. The button on the remote control device can notify the recording terminal device to save the cached recording and start the real-time recording through Wi-Fi, Bluetooth or infrared signal.
当然,针对用户无法预测的情况,还可以通过主动触发信号进行触发。此时需要录像系统能够通过人工智能(AI)识别,识别出预先设置的目标对象清单、预先设置的表情类型、预先设置的动作类型、预先设置的声音类型。在一种具体的实施例中,可以优先识别出预先设置的目标对象清单,确定是否有预先设置的目标对象清单中的目标对象,目标对象包括人物、动物、物品;比如一家三口中将宝宝作为目标对象,还可以同时将家里的宠物作为目标对象。同时跟踪的目标对象可以为不止一个,比如家里有两个宝宝,可以将两个宝宝作为一个目标对象,即只跟踪两个宝宝同时出现的情况;也可以将两个宝宝分别作为目标对象,此时只要跟踪到其中一个宝宝,即认为匹配到了目标对象。Of course, for situations that the user cannot predict, it can also be triggered by an active trigger signal. At this time, the video recording system needs to be able to recognize through artificial intelligence (AI), and identify the preset target object list, the preset expression type, the preset action type, and the preset sound type. In a specific embodiment, a preset list of target objects can be preferentially identified, and it is determined whether there is a target object in the preset list of target objects, and the target objects include people, animals, and objects; for example, a family of three uses a baby as a The target object, and the pets at home can also be the target objects at the same time. There can be more than one target object to be tracked at the same time. For example, if there are two babies at home, the two babies can be used as one target object, that is, only the situation where the two babies appear at the same time can be tracked; As long as one of the babies is tracked, it is considered that the target object is matched.
确定目标对象以后,可以根据采集的音视频数据跟踪目标对象,识别目标对象的表情、动作或声音,继续与预先设置的表情类型、预先设置的动作类型、预先设置的声音类型进行匹配,如果匹配成功,则发出第一触发信号。After determining the target object, you can track the target object according to the collected audio and video data, identify the expression, action or sound of the target object, and continue to match with the preset expression type, preset action type, and preset sound type. If successful, the first trigger signal is issued.
在一种具体的实施例中,比如将宝宝的表情:笑,声音:笑声,动作:嘴巴张开中的至少一个作为触发条件,则录像系统监测到音视频数据中有如上的触发条件,则发出第一触发信号。In a specific embodiment, for example, taking at least one of the baby's expression: laugh, voice: laughter, and action: mouth opening as a trigger condition, the video recording system detects that the audio and video data has the above trigger condition, and sends out first trigger signal.
在另一种具体的实施例中,孩子们想要看到小鸡从蛋壳中孵化出来的一刻,会一直盯着鸡蛋看,但不知道小鸡什么时候会出生,这样很耗时。如果用本发明的方法对着鸡蛋进行检测,设定的触发条件是视频画面发生变化,则当小鸡从鸡蛋中破壳而出的一刻,便触发第一触发信号,从而自动转存预录像的第一视频数据,并同时开启录制第二视频数据。即本发明中的方法用于跟踪确定的目标对象的变化事件,虽然不确定事件发生的具体时间,但是通过本发明的方法能够及时记录或补偿记录。In another specific embodiment, children want to see the moment when the chick hatches from the egg shell, they will keep staring at the egg, but do not know when the chick will be born, which is time-consuming. If the method of the present invention is used to detect eggs, and the set trigger condition is that the video screen changes, then when the chick breaks out of the egg, the first trigger signal will be triggered, thereby automatically transferring the pre-recorded video the first video data, and start recording the second video data at the same time. That is, the method of the present invention is used to track the change event of the determined target object. Although the specific time of the event occurrence is uncertain, the method of the present invention can record or compensate the record in time.
在本发明的一种实施例中,触发条件是可以定期或不定期更新的,比如随着人员年龄变化,尤其是小孩的成长变化其行为变化比较大,所以上述触发条件会更新。In an embodiment of the present invention, the trigger condition can be updated regularly or irregularly. For example, with the change of the age of the person, especially the growth of the child, the behavior changes greatly, so the above trigger condition will be updated.
录像系统接受了第一触发信号后,将已经采集的第一设定时长的第一视频数据和/或第一音频数据转存到第二存储单元。此时可能已经记录了完整的事件,若没有记录完整的事件,则将继续采集第二视频数据和/或第二音频数据并存储到第二存储单元。After receiving the first trigger signal, the video recording system transfers the collected first video data and/or first audio data of the first set duration to the second storage unit. At this point, the complete event may have been recorded. If the complete event is not recorded, the second video data and/or the second audio data will continue to be collected and stored in the second storage unit.
在一些变通实施例中,还对事件的结束进行判断。当判断事件结束的时候,录像系统收到第二触发信号,此时采集的音视频数据则不再存储到第二存储单元,而是只缓存到第一存储单元,待下次再接收到第一触发信号时再重新执行如前所述的步骤。In some alternative embodiments, the end of the event is also judged. When the judgment event is over, the video recording system receives the second trigger signal, and the audio and video data collected at this time are no longer stored in the second storage unit, but only in the first storage unit. When a trigger signal occurs, the above steps are performed again.
如图3所示,本发明的方法还包括:As shown in Figure 3, the method of the present invention also includes:
S3:接收到第二触发信号,停止将采集的所述第二视频数据和/或第二音频数据存储到所述第二存储单元,继续采集所述第一视频数据和/或所述第一音频数据并自动循环缓存到所述第一存储单元。S3: After receiving the second trigger signal, stop storing the collected second video data and/or second audio data in the second storage unit, and continue to collect the first video data and/or the first The audio data is automatically circularly buffered to the first storage unit.
在本发明的一种实施例中,第二触发信号是被动触发信号或主动触发信号;In an embodiment of the present invention, the second trigger signal is a passive trigger signal or an active trigger signal;
所述被动触发信号包括接收用户的触发指令或接收来自关联设备的触发指令而输出的第二触发信号;The passive trigger signal includes a second trigger signal output by receiving a user's trigger instruction or receiving a trigger instruction from an associated device;
所述主动触发信号包括持续与预先设置的触发条件进行匹配,若在第二设定时长内持续匹配失败,则主动触发作为第二触发信号;所述触发条件包括:预先设置的目标对象清单、预先设置的表情类型、预先设置的动作类型、预先设置的声音类型中的至少一个。The active trigger signal includes continuously matching with a preset trigger condition, and if the matching fails continuously within the second set time period, the active trigger is used as the second trigger signal; the trigger condition includes: a preset target object list, At least one of a preset expression type, a preset action type, and a preset voice type.
在另一种具体的实施例中,预先设置触发条件是宝宝的笑声或笑脸,当检测到孩子的笑脸图像或者笑声后,则自动触发第一触发信号,自动将缓存录像内容保存到录像终端的SD卡存储器,同时继续采集第二音视频数据并直接存储到录像终端的SD卡存储器。当孩子们离开画面时,录像终端设备开始计时,并持续检测孩子们有没有回到画面中,如果回来了则结束计时;当计时超过第二设定时长,孩子们都没有回来,则认为在第二设定时长内持续匹配失败,会触发第二触发信号,停止将采集的所述第二视频数据和/或第二音频数据存储到所述第二存储单元,继续采集所述第一视频数据和/或所述第一音频数据并自动循环缓存到所述第一存储单元。In another specific embodiment, the preset trigger condition is the baby's laughter or smiling face, and when the child's smiling face image or laughter is detected, the first trigger signal is automatically triggered, and the cached video content is automatically saved to the video The SD card memory of the terminal, while continuing to collect the second audio and video data and directly storing it in the SD card memory of the video recording terminal. When the children leave the screen, the video terminal device starts timing, and continuously detects whether the children have returned to the screen. If they come back, the timing will end; when the timing exceeds the second set time and the children have not come back, it is considered that If the matching fails continuously within the second set time period, a second trigger signal will be triggered to stop storing the collected second video data and/or second audio data in the second storage unit, and continue to collect the first video The data and/or the first audio data are automatically and cyclically buffered to the first storage unit.
在本发明的一种实施例中,第二触发信号还可以在第三设定时长后主动触发,可以根据事件发生的一般时间设置第三设定时长,比如宝宝大笑的时间不会超过5分钟,则根据事件类型确定采集第二视频数据或第二音频数据的时长,从而可以进一步减少无效数据。In an embodiment of the present invention, the second trigger signal can also be actively triggered after the third set duration, and the third set duration can be set according to the general time when the event occurs, for example, the baby laughing time will not exceed 5 minutes, the duration of collecting the second video data or the second audio data is determined according to the event type, so that invalid data can be further reduced.
在本发明的一种实施例中,也可以根据用户的指示停止第二视频数据和第二音频数据的采集。用户的触发指令包括按动按钮或远程按动遥控装置上的按钮发送指令、通过应用程序发送指令、通过语音发送指令、通过体感交互发送指令。预先设置的目标对象清单包括人物、动物、物品。此处如前所述,不再赘述。In an embodiment of the present invention, the collection of the second video data and the second audio data may also be stopped according to the user's instruction. The user's triggering instruction includes pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction. The pre-set target object list includes people, animals, and objects. As mentioned above, it will not be repeated here.
同样的,在另一种实施例种,还可以接收来自关联设备的触发指令。可以理解的是,关联设备与录像系统通过一些预设条件关联起来,当关联设备满足某种条件时,则给录像系统发出第二触发信号。例如家里的智能音箱与录像系统建立了关联,智能音箱收到用户通过语音发出的指令后,给录像系统发送触发指令,成为第二触发信号。在本发明的一种实施例中,不管第一触发信号是主动触发还是被动触发,都给用户发送一个开始录制第二视频数据或第二音频数 据的通知,用户收到这个通知后,可以根据具体的事件决定是否发送第二触发信号。Likewise, in another embodiment, a trigger instruction from an associated device may also be received. It can be understood that the associated device is associated with the video recording system through some preset conditions, and when the associated device satisfies a certain condition, a second trigger signal is sent to the video recording system. For example, the smart speaker at home is associated with the video recording system. After the smart speaker receives the command sent by the user through voice, it sends a trigger command to the video recording system, which becomes the second trigger signal. In an embodiment of the present invention, regardless of whether the first trigger signal is an active trigger or a passive trigger, a notification to start recording the second video data or second audio data is sent to the user. The specific event determines whether to send the second trigger signal.
在本发明的一种实施例中,为了更精准地获取数据,可以通过判别所述目标对象的移动以控制视频采集单元的转动使所述第二视频数据中所述目标对象处于视频画面中。In an embodiment of the present invention, in order to obtain data more accurately, the target object in the second video data can be placed in a video frame by judging the movement of the target object to control the rotation of the video capture unit.
在一种具体的实施例中,录像系统包括转动装置,可以使得视频采集单元转动。智能识别单元可以判别目标拍摄对象的移动,并控制转动装置跟随目标对象移动而转动,使目标对象处于视频采集单元所采集的视频画面的中心位置。In a specific embodiment, the video recording system includes a rotating device, which can make the video capture unit rotate. The intelligent identification unit can discriminate the movement of the target shooting object, and control the rotating device to follow the movement of the target object to rotate, so that the target object is in the center of the video image captured by the video capture unit.
在本发明的另一种实施例中,通过广角全景镜头采集所述第一视频数据,来实现360°全景视频采集,以替代转动装置。此时,视频采集单元还包括视频预处理单元,此单元将获得的图像进行畸变矫正,展开成横向360°全景视频画面,方便用户观看。当智能识别单元判别目标对象的移动后,将目标对象所处的坐标位置告诉处理单元,处理单元便能调整全景视频的中心位置,并截取合适大小的视频作为目标对象的拍摄视频,启动跟随拍摄对象的功能。在本发明的再一种实施例中,通过至少两个镜头和图像传感器分别采集第一子视频数据并拼接成横向360°全景视频画面作为第一视频数据或第二视频数据。同样地,视频采集单元还包括视频预处理单元,将获得的图像进行畸变矫正,并且将来自不同镜头、图像传感器的视频拼接成横向360°全景视频画面,方便用户观看。用户可以发送指令控制录像主控选择360°全景视频画面的其中一个子画面进行观看和录像。当智能识别单元判别目标对象的移动后,将目标对象所处的坐标位置告诉处理单元,处理单元便能调整全景视频的中心位置,并截取合适大小的视频作为目标对象的拍摄视频,启动跟随拍摄对象的功能。In another embodiment of the present invention, the first video data is captured by a wide-angle panoramic lens to realize 360° panoramic video capture, instead of the rotating device. At this time, the video acquisition unit further includes a video preprocessing unit, which performs distortion correction on the obtained image, and expands it into a horizontal 360° panoramic video image, which is convenient for the user to watch. When the intelligent recognition unit determines the movement of the target object, it tells the processing unit the coordinate position of the target object, and the processing unit can adjust the center position of the panoramic video, and intercept a video of a suitable size as the shooting video of the target object, and start the follow-up shooting function of the object. In yet another embodiment of the present invention, the first sub-video data is collected through at least two lenses and an image sensor, respectively, and spliced into a horizontal 360° panoramic video picture as the first video data or the second video data. Similarly, the video acquisition unit also includes a video preprocessing unit, which performs distortion correction on the obtained images, and stitches the videos from different lenses and image sensors into a horizontal 360° panoramic video picture, which is convenient for users to watch. Users can send instructions to control the recording master to select one of the sub-pictures of the 360° panoramic video picture for viewing and recording. When the intelligent recognition unit determines the movement of the target object, it tells the processing unit the coordinate position of the target object, and the processing unit can adjust the center position of the panoramic video, and intercept a video of a suitable size as the shooting video of the target object, and start the follow-up shooting function of the object.
在本发明的又一种实施例中,通过至少两台放置在不同位置的视频采集单元联合组成的分布式视频采集系统从不同角度进行拍摄得到第二子视频数据,每一个第二子视频数据是每一台所述视频采集单元采集的视频数据,对第二子视频数据进行处理得到包含多角度的视频数据,根据采集时间从多角度的视频数据得到第一视频数据和/或第二视频数据。可以将多台的视频采集单元联合组成一个分布式视频采集系统,这些视频采集单元被安放在拍摄场景的不同位置,从不同角度对目标对象进行拍摄,并且将各自拍摄到的视频传送到音视频处理中心,由音视频处理中心进行自动编辑、剪辑,最后输出一段包含多角度的录像片段给用户。此处的视频采集单元可以是独立的视频采集单元和音频采集单元,也可以是视频采集单元和音频采集单元的一部分。In yet another embodiment of the present invention, the second sub-video data is obtained by shooting from different angles through a distributed video capture system composed of at least two video capture units placed in different positions. Each second sub-video data It is the video data collected by each of the video collection units, the second sub-video data is processed to obtain video data containing multiple angles, and the first video data and/or the second video are obtained from the multi-angle video data according to the collection time. data. Multiple video capture units can be combined to form a distributed video capture system. These video capture units are placed in different positions of the shooting scene, shoot the target object from different angles, and transmit the respective captured videos to audio and video. The processing center is automatically edited and edited by the audio and video processing center, and finally outputs a video clip containing multiple angles to the user. The video capture unit here may be an independent video capture unit and an audio capture unit, or may be a part of the video capture unit and the audio capture unit.
在一种具体的实施例中,采用广角全景镜头或者多镜头拼接全景画面,可以同时获取全景的视频并进行人工智能(AI)分析,判断目标对象的方位,从而避免了窄角度镜头和旋转 装置无法及时捕捉到特定目标或者特定表情、动作的发生;更有利于及时记录事件的发生。在一些变通实施例中,配置成分布式视频采集系统的多台视频采集单元,还包括时间同步单元,互相发送时间同步信息,通过时间同步协议,保证这些视频采集单元的系统时钟保持同步,误差在1毫秒以下。In a specific embodiment, by using a wide-angle panoramic lens or multi-lens stitching of panoramic images, a panoramic video can be obtained at the same time and artificial intelligence (AI) analysis can be performed to determine the orientation of the target object, thereby avoiding narrow-angle lenses and rotating devices. It is impossible to capture the occurrence of specific targets or specific expressions and actions in time; it is more conducive to record the occurrence of events in time. In some alternative embodiments, multiple video capture units configured as a distributed video capture system further include a time synchronization unit, which sends time synchronization information to each other, and ensures that the system clocks of these video capture units are kept synchronized through a time synchronization protocol. under 1 millisecond.
在一种具体的实施例中,对于仅有一个视频采集单元的情况,有时候目标对象会转过身去,单一视频采集单元只能采集到目标对象的侧面或者背影,这时候部署多个视频采集单元,分别放在不同的角度,则可以从多个角度拍摄到目标对象的正面、笑容等表情,通过自动视频剪辑、拼接,将来自多个视频采集单元的视频编辑为一个多角度的视频,弥补了单一视频会拍摄不到目标对象正面的缺点。In a specific embodiment, for a situation where there is only one video capture unit, sometimes the target object will turn around, and a single video capture unit can only capture the side or back of the target object. In this case, multiple videos are deployed. The acquisition units are placed at different angles, and the facial expressions, smiles and other expressions of the target object can be photographed from multiple angles, and the videos from multiple video acquisition units can be edited into a multi-angle video through automatic video editing and splicing. , which makes up for the shortcoming that a single video cannot capture the front of the target object.
在另一种具体的实施例中,通过采用放置在不同位置的分布式视频采集系统,还可以针对家里老人进行全方位、全角度照顾。比如家里从客厅到卫生间,是先转90度经过一段走廊,才进入到卫生间。这时候安装在客厅的视频采集单元,无法拍摄到走廊那边的情况,如果老人从客厅去洗手间,中途跌倒了,则客厅的视频采集单元无法捕捉到相关视频。这时候如果是在走廊也安装了第二个视频采集单元,与客厅的视频采集单元组成分布式视频采集系统,则可以跟随拍摄老人从客厅走去卫生间的过程,万一老人家跌倒了,便可以及时发出第一触发信号将采集的视频数据到第二存储单元,进一步地,还可以通过手机等移动终端的应用程序发送事件通知给家人,做到及时通知,尽早救治。In another specific embodiment, by adopting distributed video capture systems placed in different positions, it is also possible to take care of the elderly at home in all directions and from all angles. For example, from the living room to the bathroom at home, you first turn 90 degrees through a corridor before entering the bathroom. At this time, the video capture unit installed in the living room cannot capture the situation on the other side of the corridor. If the old man falls from the living room to the bathroom, the video capture unit in the living room cannot capture the relevant video. At this time, if a second video capture unit is also installed in the corridor to form a distributed video capture system with the video capture unit in the living room, you can follow the process of filming the elderly walking from the living room to the bathroom. The first trigger signal is sent out in time to send the collected video data to the second storage unit, and further, the event notification can be sent to the family through the application program of the mobile terminal such as the mobile phone, so as to achieve timely notification and early treatment.
在一些变通实施例中,此时间同步单元定期会执行一次同步,以消除在不同视频采集单元之间的系统时钟的累计误差。In some alternative embodiments, the time synchronization unit periodically performs synchronization to eliminate accumulated errors of system clocks between different video capture units.
在一些变通实施例中,多台视频采集单元在联合录制视频时,会带上日期时间信息,比如日期时间戳(Time Stamp)以标识每一个录像视频的发生时刻,供音视频处理中心进行视频编辑、剪辑处理时进行视频画面同步。In some alternative embodiments, when multiple video capture units jointly record videos, they will bring date and time information, such as a time stamp (Time Stamp), to identify the time of occurrence of each recorded video for the audio and video processing center to perform video recording. Synchronize video images during editing and editing.
在一些变通实施例中,多台视频采集单元在联合录制视频时,会由各自的智能识别单元对本视频采集单元的视频画面进行分析,找出目标对象的位置、角度,通过一个协调系统进行统一协调,调整各自视频采集单元的角度、画面大小等设置,以得到可供剪辑的高质量画面。In some alternative embodiments, when multiple video capture units jointly record videos, their respective intelligent identification units will analyze the video images of the video capture unit, find out the position and angle of the target object, and unify them through a coordination system. Coordinate, adjust the angle, picture size and other settings of the respective video capture units to obtain high-quality pictures that can be edited.
视频处理中心将来自各台视频采集单元的视频,通过时间轴同步将各段视频排列起来,根据特定的算法,或者一些预先设定的剪辑方法,剪辑不同角度的片段,再拼接成连续、完整的录像片段。The video processing center arranges the videos from each video acquisition unit through the timeline synchronization, and according to a specific algorithm or some preset editing methods, clips clips from different angles, and then splices them into a continuous and complete video footage.
在本发明的另一种是实施例中,通过数字变焦调整目标对象在所述第二视频数据中视频画面的位置。录像系统可以进行数字变焦,由于视频采集单元的视频分辨率比较高(1920x1080以上分辨率),可以通过放大图像、插值的方法进行数字变焦放大。可选地,视频采集单元还包括:可变焦镜头,当目标对象离得比较远,在视频画面中比例比较小时,可以通过光学变焦进行放大,使目标对象占整个视频画面的比例合适。In another embodiment of the present invention, the position of the target object in the video picture in the second video data is adjusted through digital zooming. The video recording system can perform digital zooming. Since the video resolution of the video acquisition unit is relatively high (above 1920x1080 resolution), digital zooming can be performed by magnifying the image and interpolating. Optionally, the video capture unit further includes: a zoom lens, when the target object is far away and the proportion in the video picture is relatively small, it can be enlarged through optical zoom, so that the target object occupies a proper proportion of the entire video picture.
在本发明的一种实施例中,视频采集单元通过无线(蓝牙或者Wi-Fi)连接外置的音频采集单元,采集周围环境的声音,或者目标对象的对话,避免由于视频采集单元离目标对象较远而录音效果变差。In an embodiment of the present invention, the video capture unit is connected to an external audio capture unit wirelessly (Bluetooth or Wi-Fi) to capture the sound of the surrounding environment or the conversation of the target object, so as to avoid the distance between the video capture unit and the target object. The longer the distance, the poorer the recording effect.
在本发明的另一种实施例中,通过至少两台放置在不同位置的无线音频采集单元组成的分布式音频采集系统从不同位置采集音频数据。具体地,录像系统包括:分布式音频采集系统,以提高音频采集质量。分布式音频采集系统,由多个外置无线音频采集单元联网组成,这些外置音频采集单元被分布安放于不同的位置采集音频。In another embodiment of the present invention, audio data is collected from different positions through a distributed audio collection system composed of at least two wireless audio collection units placed at different positions. Specifically, the video recording system includes: a distributed audio collection system to improve the audio collection quality. The distributed audio acquisition system is composed of a network of multiple external wireless audio acquisition units, and these external audio acquisition units are distributed and placed in different positions to collect audio.
在本发明的一种实施例中,视频摄像头离目标对象远,采用一个音频采集的效果不好;通过分布式音频采集,能在有足够视频距离、视场角度的同时,还可以采集高质量的音频数据。In an embodiment of the present invention, the video camera is far away from the target object, and the effect of using one audio capture is not good; through distributed audio capture, it is possible to capture high-quality video while having sufficient video distance and field of view angle. audio data.
上述通过分布式视频采集系统和分布式音频采集系统采集到的视频和音频,在音视频处理中心进行音视频同步,并输出最终的音视频录像文件。The above video and audio collected by the distributed video collection system and the distributed audio collection system are synchronized in the audio and video processing center, and the final audio and video recording files are output.
可选地,配置成分布式音频采集系统的多台外置无线音频采集单元还包括时间同步单元,互相发送时间同步信息,通过时间同步协议,保证这些外置无线音频采集单元的系统时钟保持同步,误差在1毫秒以下。Optionally, multiple external wireless audio acquisition units configured as a distributed audio acquisition system also include a time synchronization unit, which sends time synchronization information to each other, and ensures that the system clocks of these external wireless audio acquisition units are kept synchronized through a time synchronization protocol. , the error is less than 1 millisecond.
可选地,此时间同步单元定期会执行一次同步,以消除在不同外置无线音频采集设备之间的系统时钟的累计误差。Optionally, the time synchronization unit periodically performs synchronization to eliminate accumulated errors of system clocks between different external wireless audio collection devices.
可选地,这些外置无线音频采集单元联合组成声音定位系统,根据目标对象的声音定位目标对象的位置,从而辅助视频采集单元将视频采集单元的镜头对准目标对象。Optionally, these external wireless audio acquisition units are combined to form a sound localization system, which locates the position of the target object according to the sound of the target object, thereby assisting the video acquisition unit to aim the lens of the video acquisition unit at the target object.
如图4所示,本发明的方法还包括:As shown in Figure 4, the method of the present invention also includes:
S4:接收到第三触发信号,停止采集视频采集单元视野内一定范围的视频数据和/或音频采集单元周围的音频数据。S4: After receiving the third trigger signal, stop collecting video data within a certain range of the video capture unit and/or audio data around the audio capture unit.
可以理解的是,第三触发信号包括接收用户的触发指令或接收来自关联设备的触发指令,输出第三触发信号。用户的触发指令包括按动按钮或远程按动遥控装置上的按钮发送指令、通过应用程序发送指令、通过语音发送指令、通过体感交互发送指令。或者,关联设备与录像系 统通过一些预设条件关联起来,当关联设备满足某种条件时,则给录像系统发出第三触发信号。例如家里的智能音箱与录像系统建立了关联,智能音箱收到用户通过语音发出的指令后,给录像系统发送触发指令,成为第三触发信号。比如用户需要换衣服或者其他原因需要暂停采集音视频数据,以保护用户的隐私。It can be understood that the third trigger signal includes receiving a trigger instruction from a user or receiving a trigger instruction from an associated device, and outputting the third trigger signal. The user's triggering instruction includes pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction. Alternatively, the associated device is associated with the video recording system through some preset conditions, and when the associated device satisfies a certain condition, a third trigger signal is sent to the video recording system. For example, the smart speaker at home is associated with the video recording system. After the smart speaker receives the command sent by the user through voice, it sends a trigger command to the video recording system, which becomes the third trigger signal. For example, users need to change clothes or need to suspend the collection of audio and video data for other reasons to protect the privacy of users.
在本发明的一种实施例中,也可以在没有接收到第二触发信号的时候,直接接收到第三触发信号,暂停采集音视频数据,以保护用户的隐私。In an embodiment of the present invention, when the second trigger signal is not received, the third trigger signal may be directly received, and the collection of audio and video data may be suspended, so as to protect the privacy of the user.
在本发明的一种实施例中,视频采集单元可选地需要接收到触发信号才开始工作。比如:在主人回家后,主动发送触发信号开启视频采集单元或者视频采集单元通过采用人脸识别,或者采用手机电子围栏、或者检查手机与录像终端设备是否在同一个无线局域网下,配合来判断主人的回家并自动开启。这触发信号还可以由与视频采集系统关联的外部设备发出,例如智能指纹门锁,主人通过指纹开锁进屋后,智能指纹门锁给视频采集系统发出开启视频采集工作的触发信号。In an embodiment of the present invention, the video capture unit optionally needs to receive a trigger signal before starting to work. For example: after the owner returns home, actively send a trigger signal to turn on the video capture unit or the video capture unit uses face recognition, or uses a mobile phone electronic fence, or checks whether the mobile phone and the video terminal equipment are under the same wireless local area network, and cooperate to judge The master's home and automatically turn on. This trigger signal can also be sent by an external device associated with the video capture system, such as a smart fingerprint door lock. After the owner unlocks the house with a fingerprint, the smart fingerprint door lock sends a trigger signal to the video capture system to start the video capture work.
进一步地,第二视频数据和/或所述第二音频数据以安全加密的方式进行存储和/或传输。Further, the second video data and/or the second audio data are stored and/or transmitted in a secure and encrypted manner.
如图5所示,本发明还提供一种录像系统,其特征在于,包括:As shown in Figure 5, the present invention also provides a video recording system, characterized in that it includes:
视频采集单元,被配置为可持续采集所述视频采集单元视野内一定范围的视频数据;a video capture unit, configured to continuously capture video data within a certain range within the visual field of the video capture unit;
音频采集单元,被配置为采集所述音频采集单元周围的音频数据;an audio collection unit configured to collect audio data around the audio collection unit;
第一存储单元,被配置为自动动态循环缓存第一设定时长或第一设定存储容量的所述第一视频数据和/或所述第一音频数据,以便所述第一存储单元中动态缓存有实时更新的、长度为所述第一设定时长或存储容量为所述第一设定存储容量的第一视频数据和/或第一音频数据;The first storage unit is configured to automatically and dynamically buffer the first video data and/or the first audio data of the first set duration or the first set storage capacity, so that the dynamic cache the first video data and/or the first audio data updated in real time, the length is the first set duration or the storage capacity is the first set storage capacity;
第二存储单元,被配置为在处理单元接收到所述第一触发信号时,接收所述第一存储单元转存的该时刻点所缓存的全部或部分所述第一视频数据和/或所述第一音频数据;The second storage unit is configured to, when the processing unit receives the first trigger signal, receive all or part of the first video data and/or all the first video data and/or all the buffered first video data and/or the stored data dumped by the first storage unit at this point in time. describe the first audio data;
处理单元,用于执行如上任一所述的方法。A processing unit for executing any of the methods described above.
在本发明的一种实施例中,视频数据还包括在处理单元接收到第一触发信号之后采集的第二视频数据;音频数据还包括处理单元接收到第一触发信号之后采集的第二音频数据;第二存储单元,还被配置为存储第二视频数据和/或所述第二音频数据。In an embodiment of the present invention, the video data further includes second video data collected after the processing unit receives the first trigger signal; the audio data further includes second audio data collected after the processing unit receives the first trigger signal ; a second storage unit, further configured to store the second video data and/or the second audio data.
可选地,此录像系统的视频采集单元还包括:隐私保护模式;通过上下旋转视频采集单元,使视频采集单元的镜头完全藏到壳体内部,被壳体遮盖,从物理上保证了用户的图像不会进入到视频采集单元镜头,从而保证了用户隐私。Optionally, the video capture unit of the video recording system further includes: a privacy protection mode; by rotating the video capture unit up and down, the lens of the video capture unit is completely hidden inside the casing and covered by the casing, which physically ensures the user's privacy. The image will not enter the video capture unit lens, thus ensuring user privacy.
可选地,录像系统还包括:隐私保护的模式切换模块,控制录像系统从录像模式切换到 隐私模式,或者从隐私模式切换到录像模式。用户的触发指令包括按动按钮发送指令或远程按动遥控装置上的按钮、通过应用程序发送指令、通过语音发送指令、通过体感交互发送指令。Optionally, the video recording system further includes: a privacy protection mode switching module, which controls the video recording system to switch from the video recording mode to the privacy mode, or from the privacy mode to the video recording mode. The user's triggering instruction includes pressing a button to send an instruction or remotely pressing a button on a remote control device, sending an instruction through an application program, sending an instruction through voice, and sending an instruction through somatosensory interaction.
可选地,视频数据在网络传输,将采用国际认可的安全加密方法进行加密传输,保证视频在传输过程中不被非法截取。Optionally, when video data is transmitted over the network, an internationally recognized security encryption method will be used for encrypted transmission to ensure that the video is not illegally intercepted during the transmission process.
通过本发明的系统和方法可以及时、完整的记录生活中可以预测或不可以预测的事件,提高用户的体验。Through the system and method of the present invention, predictable or unpredictable events in life can be recorded in a timely and complete manner, thereby improving user experience.
在本发明的一种实施例中,本发明的录像系统中第二存储单元是云存储单元,进一步地,还可以进行云服务器订阅、共享,基于用户的许可,可以将存储在云服务器的数据共享给其他用户,实现家庭成员或相关成员之间的数据分享。In an embodiment of the present invention, the second storage unit in the video recording system of the present invention is a cloud storage unit. Further, cloud server subscription and sharing can also be performed. Based on the user's permission, the data stored in the cloud server can be Share to other users to realize data sharing among family members or related members.
可选地,视频数据存储以安全加密方式存放在第二存储器中,保证哪怕存储器(如SD卡)被窃取了,也无法解密出其中的录像视频来。Optionally, the video data storage is stored in the second storage in a secure encryption manner to ensure that even if the storage (eg, SD card) is stolen, the recorded video in the storage cannot be decrypted.
本发明中第一存储单元有一定容量的存储空间对第一视频数据和第一音频数据进行缓存,通过循环录像的方式,保证记录了最近若干时长的视频图像。In the present invention, the first storage unit has a certain capacity of storage space for buffering the first video data and the first audio data, and ensures that video images of several recent durations are recorded by means of cyclic video recording.
当接收到第一触发信号时,才将第一视频数据和第一音频数据转存到第二存储单元进行永久存储,同时将接下来采集的第二视频数据和第二音频数据转存到第二存储单元,共同组成完整事件的音视频数据。When the first trigger signal is received, the first video data and the first audio data are transferred to the second storage unit for permanent storage, and the second video data and the second audio data collected next are transferred to the second storage unit for permanent storage. Two storage units, which together form the audio and video data of the complete event.
进一步地,在采集音视频数据的时候,视频采集单元可以追踪目标对象的位置变化,旋转视频采集单元跟踪拍摄。通过内置的音频采集单元或外接的音频采集单元对声音进行采集并与视频数据同步,获得最佳音视频效果。Further, when collecting audio and video data, the video collecting unit can track the position change of the target object, and rotate the video collecting unit to track and shoot. The sound is collected through the built-in audio acquisition unit or an external audio acquisition unit and synchronized with the video data to obtain the best audio and video effects.
本申请实施例还提供一种控制装置,包括处理器和用于存储计算机程序的存储介质;其中,处理器用于执行所述计算机程序时至少执行如上所述的方法。An embodiment of the present application further provides a control device, including a processor and a storage medium for storing a computer program; wherein the processor is configured to execute at least the above method when executing the computer program.
本申请实施例还提供一种存储介质,用于存储计算机程序,该计算机程序被执行时至少执行如上所述的方法。Embodiments of the present application further provide a storage medium for storing a computer program, and when the computer program is executed, at least the above method is performed.
本申请实施例还提供一种处理器,所述处理器执行计算机程序,至少执行如上所述的方法。An embodiment of the present application further provides a processor, where the processor executes a computer program, and at least executes the above method.
所述存储介质可以由任何类型的易失性或非易失性存储设备、或者它们的组合来实现。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,ErasableProgrammable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,ElectricallyErasable Programmable  Read-Only Memory)、磁性随机存取存储器(FRAM,Ferromagnetic Random Access Memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,SynchronousStatic Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random AccessMemory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random AccessMemory)、双倍数据速率同步动态随机存取存储器(DDR SDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储介质旨在包括但不限于这些和任意其它适合类型的存储器。The storage medium may be implemented by any type of volatile or non-volatile storage device, or a combination thereof. Among them, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, Ferromagnetic Random Access Memory), Flash Memory (Flash Memory), Magnetic Surface Memory, Optical Disc , or Compact Disc Read-Only Memory (CD-ROM, Compact Disc Read-Only Memory); magnetic surface storage can be disk storage or tape storage. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of example but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), SynchronousStatic Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronization Dynamic random access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronous connection dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, Direct Rambus Random Access Memory). The storage medium described in the embodiments of the present invention is intended to include, but not limited to, these and any other suitable types of memory.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed system and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may all be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM, Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and other various A medium on which program code can be stored.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art. The computer software products are stored in a storage medium and include several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined under the condition of no conflict to obtain new method embodiments.
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the several product embodiments provided in this application can be combined arbitrarily without conflict to obtain a new product embodiment.
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.
以上内容是结合具体的优选实施方式对本发明所做的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的技术人员来说,在不脱离本发明构思的前提下,还可以做出若干等同替代或明显变型,而且性能或用途相同,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be considered that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art to which the present invention belongs, under the premise of not departing from the concept of the present invention, several equivalent substitutions or obvious modifications can be made, and the performance or use is the same, which should be regarded as belonging to the protection scope of the present invention.

Claims (19)

  1. 一种录像方法,其特征在于,包括如下步骤:A video recording method, comprising the steps of:
    S1:持续采集视频采集单元视野内设定范围的视频数据和/或音频采集单元周围的音频数据,并自动动态循环缓存第一设定时长或第一设定存储容量的第一视频数据和/或第一音频数据到第一存储单元,以保持所述第一存储单元中动态缓存有实时更新的、长度为所述第一设定时长或存储容量为所述第一设定存储容量的第一视频数据和/或第一音频数据;S1: Continuously collect video data within a set range of the video capture unit and/or audio data around the audio capture unit, and automatically and dynamically circularly buffer the first video data and/or the first set duration or first set storage capacity. Or the first audio data is sent to the first storage unit, so as to keep the first storage unit dynamically buffered with a real-time update, the length of which is the first set duration or the storage capacity of which is the first set storage capacity. a video data and/or first audio data;
    S2:当接收到第一触发信号时,将所述第一存储单元中在该时刻点所缓存的全部或部分所述第一视频数据和/或所述第一音频数据转存到第二存储单元;同时继续将该时刻点之后采集的视频数据和/或音频数据自动动态循环缓存到所述第一存储单元。S2: When the first trigger signal is received, transfer all or part of the first video data and/or the first audio data buffered in the first storage unit at the moment to the second storage unit At the same time, the video data and/or audio data collected after the time point are continuously automatically and dynamically buffered to the first storage unit.
  2. 如权利要求1所述的录像方法,其特征在于,在步骤S2中,在将所述第一视频数据和/或所述第一音频数据转存到第二存储单元的同时,继续采集第二视频数据和/或第二音频数据并存储到第二存储单元。The video recording method according to claim 1, wherein in step S2, while transferring the first video data and/or the first audio data to the second storage unit, continue to capture the second The video data and/or the second audio data are stored in the second storage unit.
  3. 如权利要求2所述的录像方法,其特征在于,所述第一存储单元是可读写的存储介质,包括易失性存储介质,非易失性存储介质、外部网络存储介质;所述第一存储单元中存储的所述第一视频数据和/或所述第一音频数据已达所述第一设定时长或所述第一设定存储容量时,在后录制的视频数据和/或音频数据循环覆盖最先录制的视频数据和/或音频数据;The video recording method according to claim 2, wherein the first storage unit is a readable and writable storage medium, including a volatile storage medium, a non-volatile storage medium, and an external network storage medium; When the first video data and/or the first audio data stored in a storage unit has reached the first set duration or the first set storage capacity, the video data and/or the later recorded video data and/or Audio data loops over the first recorded video data and/or audio data;
    所述第二存储单元是本地存储单元或远程存储单元,用于接收转存的所述第一视频数据和/或所述第一音频数据,和/或直接存储所述第二视频数据和/或所述第二音频数据;或,用于存储处理后的所述第一视频数据和/或所述第一音频数据、所述第二视频数据和/或所述第二音频数据;The second storage unit is a local storage unit or a remote storage unit for receiving the dumped first video data and/or the first audio data, and/or directly storing the second video data and/or or the second audio data; or, for storing the processed first video data and/or the first audio data, the second video data and/or the second audio data;
    所述处理包括将所述第一视频数据和所述第一音频数据同步、将所述第二视频数据和所述第二音频数据同步。The processing includes synchronizing the first video data and the first audio data, and synchronizing the second video data and the second audio data.
  4. 如权利要求3所述的录像方法,其特征在于,所述第二存储单元的数据以安全加密的方式进行存储和/或传输。The video recording method according to claim 3, wherein the data of the second storage unit is stored and/or transmitted in a secure encryption manner.
  5. 如权利要求1所述的录像方法,其特征在于,所述第一触发信号是被动触发信号或主动触发信号;The video recording method of claim 1, wherein the first trigger signal is a passive trigger signal or an active trigger signal;
    所述被动触发信号包括接收用户的触发指令或接收来自关联设备的触发指令而输出的第一触发信号;The passive trigger signal includes a first trigger signal output by receiving a user's trigger instruction or receiving a trigger instruction from an associated device;
    所述主动触发信号包括持续与预先设置的触发条件进行匹配,若匹配成功,则主动触发作为第一触发信号;所述触发条件包括:预先设置的目标对象清单、预先设置的表情类型、预先设置的动作类型、预先设置的声音类型中的至少一个。The active trigger signal includes continuous matching with a preset trigger condition, and if the match is successful, the active trigger is used as the first trigger signal; the trigger condition includes: a preset target object list, a preset expression type, a preset at least one of the action type and the preset sound type.
  6. 如权利要求5所述的录像方法,其特征在于,所述用户的触发指令包括按动按钮或远程按动遥控装置上的按钮发送指令、通过应用程序发送指令、通过语音发送指令、通过体感交互发送指令;The video recording method according to claim 5, wherein the triggering instruction of the user comprises pressing a button or remotely pressing a button on a remote control device to send an instruction, sending an instruction through an application program, sending an instruction through a voice, and using a somatosensory interaction send instructions;
    所述预先设置的目标对象清单包括人物、动物、物品。The preset target object list includes characters, animals, and objects.
  7. 如权利要求6所述的录像方法,其特征在于,通过判别所述目标对象的移动以控制视频采集单元的转动使所述目标对象处于视频画面中。6. The video recording method according to claim 6, wherein the target object is placed in the video frame by judging the movement of the target object to control the rotation of the video capture unit.
  8. 如权利要求6所述的录像方法,其特征在于,通过数字变焦调整目标对象在所述视频数据中视频画面的位置。6. The video recording method according to claim 6, wherein the position of the target object in the video image in the video data is adjusted through digital zoom.
  9. 如权利要求1-8任一所述的录像方法,其特征在于,通过广角全景镜头采集所述视频数据;The video recording method according to any one of claims 1-8, wherein the video data is collected through a wide-angle panoramic lens;
    或,通过至少两个视频采集单元分别采集第一子视频数据,将所述第一子视频数据拼接成横向全景视频画面作为所述视频数据。Or, the first sub-video data is collected by at least two video collection units respectively, and the first sub-video data is spliced into a horizontal panoramic video picture as the video data.
  10. 如权利要求1-8任一所述的录像方法,其特征在于,通过至少两台放置在不同位置的视频采集单元联合组成的分布式视频采集系统从不同角度进行拍摄得到第二子视频数据,每一个所述第二子视频数据是每一台所述视频采集单元采集的视频数据,对所述第二子视频数据进行剪接完成多角度的视频数据,根据采集时间从所述多角度的视频数据得到所述视频数据。The video recording method according to any one of claims 1 to 8, wherein the second sub-video data is obtained by shooting from different angles by a distributed video capture system jointly formed by at least two video capture units placed at different positions, Each of the second sub-video data is the video data collected by each of the video acquisition units. The second sub-video data is spliced to complete multi-angle video data. data to obtain the video data.
  11. 如权利要求10所述的录像方法,其特征在于,还包括:对所述视频采集单元进行时间同步;The video recording method according to claim 10, further comprising: performing time synchronization on the video capture unit;
    对所述视频采集单元的所述第二子视频数据进行分析,调整所述视频采集单元的角度或视频画面的大小;Analyze the second sub-video data of the video capture unit, and adjust the angle of the video capture unit or the size of the video frame;
    所述第二子视频数据带有日期时间信息,根据所述时间戳剪辑不同角度的视频数据拼接得到所述视频数据。The second sub-video data carries date and time information, and the video data is obtained by splicing video data from different angles according to the time stamp.
  12. 如权利要求1-8任一所述的录像方法,其特征在于,通过至少两台放置在不同位置的无线音频采集单元组成的分布式音频采集系统从不同位置采集音频数据。The video recording method according to any one of claims 1 to 8, wherein the audio data is collected from different positions through a distributed audio collection system composed of at least two wireless audio collection units placed at different positions.
  13. 如权利要求12所述的录像方法,其特征在于,对所述无线音频采集单元进行时间同步;The video recording method of claim 12, wherein time synchronization is performed on the wireless audio acquisition unit;
    或,所述无线音频采集单元组成声音定位系统,根据目标对象的声音确定所述目标对象的位置。Or, the wireless audio collection unit constitutes a sound localization system, and the position of the target object is determined according to the sound of the target object.
  14. 如权利要求2-3任一所述的录像方法,其特征在于,还包括:The video recording method according to any one of claims 2-3, further comprising:
    S3:接收到第二触发信号,停止将采集的所述第二视频数据和/或第二音频数据存储到所述第二存储单元,继续采集所述第一视频数据和/或所述第一音频数据并自动循环缓存到所述第一 存储单元。S3: After receiving the second trigger signal, stop storing the collected second video data and/or second audio data in the second storage unit, and continue to collect the first video data and/or the first The audio data is automatically circularly buffered to the first storage unit.
  15. 如权利要求14所述的录像方法,其特征在于,所述第二触发信号是被动触发信号或主动触发信号;The video recording method of claim 14, wherein the second trigger signal is a passive trigger signal or an active trigger signal;
    所述被动触发信号包括接收用户的触发指令或接收来自关联设备的触发指令而输出的第二触发信号;所述用户的触发指令包括按动按钮或远程按动遥控装置上的按钮发送指令、通过应用程序发送指令、通过语音发送指令、通过体感交互发送指令;The passive trigger signal includes a second trigger signal output by receiving a trigger instruction from a user or receiving a trigger instruction from an associated device; the user's trigger instruction includes pressing a button or remotely pressing a button on a remote control device to send an instruction, and sending an instruction through a remote control device. The application sends instructions, sends instructions through voice, and sends instructions through somatosensory interaction;
    所述主动触发信号包括持续与预先设置的触发条件进行匹配,若在第二设定时长内持续匹配失败,则主动触发作为第二触发信号;所述触发条件包括:预先设置的目标对象清单、预先设置的表情类型、预先设置的动作类型、预先设置的声音类型中的至少一个;The active trigger signal includes continuously matching with a preset trigger condition, and if the matching fails continuously within the second set time period, the active trigger is used as the second trigger signal; the trigger condition includes: a preset target object list, at least one of a preset expression type, a preset action type, and a preset voice type;
    所述预先设置的目标对象清单包括人物、动物、物品。The preset target object list includes characters, animals, and objects.
  16. 一种录像系统,其特征在于,包括:A video recording system, comprising:
    视频采集单元,被配置为可持续采集所述视频采集单元视野内一定范围的视频数据;a video capture unit, configured to continuously capture video data within a certain range within the visual field of the video capture unit;
    音频采集单元,被配置为采集所述音频采集单元周围的音频数据;an audio collection unit configured to collect audio data around the audio collection unit;
    第一存储单元,被配置为自动动态循环缓存第一设定时长或第一设定存储容量的所述第一视频数据和/或所述第一音频数据,以便所述第一存储单元中动态缓存有实时更新的、长度为所述第一设定时长或存储容量为所述第一设定存储容量的第一视频数据和/或第一音频数据;The first storage unit is configured to automatically and dynamically buffer the first video data and/or the first audio data of the first set duration or the first set storage capacity, so that the dynamic cache the first video data and/or the first audio data updated in real time, the length is the first set duration or the storage capacity is the first set storage capacity;
    第二存储单元,被配置为在处理单元接收到所述第一触发信号时,接收所述第一存储单元转存的该时刻点所缓存的全部或部分所述第一视频数据和/或所述第一音频数据;The second storage unit is configured to, when the processing unit receives the first trigger signal, receive all or part of the first video data and/or all the first video data and/or all the buffered first video data and/or the stored data dumped by the first storage unit at this point in time. describe the first audio data;
    所述处理单元,用于执行如权利要求1-15任一所述的方法。The processing unit is configured to execute the method according to any one of claims 1-15.
  17. 如权利要求16所述的一种录像系统,其特征在于,所述视频数据还包括在所述处理单元接收到所述第一触发信号之后采集的第二视频数据;The video recording system according to claim 16, wherein the video data further comprises second video data collected after the processing unit receives the first trigger signal;
    所述音频数据还包括所述处理单元接收到所述第一触发信号之后采集的第二音频数据;The audio data further includes second audio data collected after the processing unit receives the first trigger signal;
    所述第二存储单元,还被配置为存储所述第二视频数据和/或所述第二音频数据。The second storage unit is further configured to store the second video data and/or the second audio data.
  18. 一种录像终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-15任一所述方法的步骤。A video recording terminal device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, when the processor executes the computer program, the computer program as claimed in claim 1 is realized. -15 the steps of any of the methods.
  19. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-15任一所述方法的步骤。A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1-15 are implemented.
PCT/CN2020/132005 2020-10-28 2020-11-27 Video recording method and system, terminal device, and computer-readable storage medium WO2022088344A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011172118.4A CN112788266B (en) 2020-10-28 2020-10-28 Video recording method, system, terminal equipment and computer readable storage medium
CN202011172118.4 2020-10-28

Publications (1)

Publication Number Publication Date
WO2022088344A1 true WO2022088344A1 (en) 2022-05-05

Family

ID=75751090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/132005 WO2022088344A1 (en) 2020-10-28 2020-11-27 Video recording method and system, terminal device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN112788266B (en)
WO (1) WO2022088344A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037724A (en) * 2022-05-07 2022-09-09 北京雷石天地电子技术有限公司 Remote interaction method, device, storage medium and song requesting system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788266B (en) * 2020-10-28 2022-04-15 深圳真伊科技有限公司 Video recording method, system, terminal equipment and computer readable storage medium
CN113556485A (en) * 2021-07-23 2021-10-26 上海商汤智能科技有限公司 Video generation method and device, electronic equipment and storage medium
CN116701675A (en) * 2022-02-25 2023-09-05 荣耀终端有限公司 Image data processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008109172A1 (en) * 2007-03-07 2008-09-12 Wiklof Christopher A Recorder with retrospective capture
US20170251163A1 (en) * 2016-02-29 2017-08-31 Toyota Motor Engineering & Manufacturing North America, Inc. System and method for multimedia capture
CN110324698A (en) * 2018-03-28 2019-10-11 努比亚技术有限公司 A kind of video recording method, terminal and computer readable storage medium
US10506281B1 (en) * 2015-12-22 2019-12-10 United Services Automobile Association (Usaa) System and method for capturing audio or video data
US20200051413A1 (en) * 2018-08-08 2020-02-13 Digital Ally, Inc. Remote video triggering and tagging
CN112788266A (en) * 2020-10-28 2021-05-11 深圳真伊科技有限公司 Video recording method, system, terminal equipment and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070008321A1 (en) * 2005-07-11 2007-01-11 Eastman Kodak Company Identifying collection images with special events
US9774636B2 (en) * 2012-07-24 2017-09-26 Cisco Technology, Inc. Utilize extra web semantic for video caching
CN103699309B (en) * 2013-11-28 2017-08-15 小米科技有限责任公司 A kind of method for recording of synchronization video, device and mobile terminal
CN204013859U (en) * 2014-07-24 2014-12-10 周永业 A kind of video record device
CN104836992A (en) * 2015-05-08 2015-08-12 无锡天脉聚源传媒科技有限公司 Surveillance video recording method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008109172A1 (en) * 2007-03-07 2008-09-12 Wiklof Christopher A Recorder with retrospective capture
US10506281B1 (en) * 2015-12-22 2019-12-10 United Services Automobile Association (Usaa) System and method for capturing audio or video data
US20170251163A1 (en) * 2016-02-29 2017-08-31 Toyota Motor Engineering & Manufacturing North America, Inc. System and method for multimedia capture
CN110324698A (en) * 2018-03-28 2019-10-11 努比亚技术有限公司 A kind of video recording method, terminal and computer readable storage medium
US20200051413A1 (en) * 2018-08-08 2020-02-13 Digital Ally, Inc. Remote video triggering and tagging
CN112788266A (en) * 2020-10-28 2021-05-11 深圳真伊科技有限公司 Video recording method, system, terminal equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115037724A (en) * 2022-05-07 2022-09-09 北京雷石天地电子技术有限公司 Remote interaction method, device, storage medium and song requesting system

Also Published As

Publication number Publication date
CN112788266A (en) 2021-05-11
CN112788266B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
WO2022088344A1 (en) Video recording method and system, terminal device, and computer-readable storage medium
JP6766086B2 (en) Imaging device and its control method
WO2020057355A1 (en) Three-dimensional modeling method and device
JP5888172B2 (en) Data storage device and program
US9100667B2 (en) Life streaming
US20050151852A1 (en) Wireless multi-recorder system
JP2013504933A (en) Time-shifted video communication
TWI523453B (en) Remote monitoring system and its operation method
JP4912184B2 (en) Video surveillance system and video surveillance method
US20150281568A1 (en) Content acquisition device, portable device, server, information processing device, and storage medium
CN108063909B (en) Video conference system, image tracking and collecting method and device
JP2014045259A (en) Terminal device, server, and program
CN109922252A (en) The generation method and device of short-sighted frequency, electronic equipment
JP5151451B2 (en) Person identification system, person identification device, person identification method, and person identification program
JP2009200621A (en) Imaging apparatus with image transmission/reception function
JP7403218B2 (en) Imaging device, its control method, program, storage medium
WO2017147827A1 (en) Image acquisition method
JP6214762B2 (en) Image search system, search screen display method
JP6801286B2 (en) Multi-camera system, camera, camera processing method, confirmation device and confirmation device processing method
JP2001126173A (en) Notification system for home security information
JP2002142214A (en) Image monitoring system
WO2017049474A1 (en) Filming method and smart wristband
CN105100621B (en) The method, apparatus and terminal of output shooting video
WO2021237744A1 (en) Photographing method and apparatus
JP7199808B2 (en) Imaging device and its control method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20959503

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/09/2023)