Video dynamic acquisition method and device, system, image acquisition equipment and medium
Through the event-driven video dynamic acquisition method, the high energy consumption and data screening problems in the normal open camera in the security system are solved, low energy consumption and high efficiency monitoring data acquisition are achieved, and data utilization is improved.
Patent Information
- Application Number
- CN202011562906.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2040-12-25
AI Technical Summary
In existing security systems, cameras usually need to maintain a normal open state for monitoring data acquisition, resulting in high energy consumption and it is difficult for users to filter out the required data from the monitoring data, resulting in low data utilization.
Provide a dynamic video acquisition method, which enables video acquisition after receiving a trigger event, and determines the acquisition termination time according to the event type, updates the termination time during the acquisition process, realizes event-driven intelligent recording, and is sleepy when there is no trigger event. state.
It reduces the energy consumption of the equipment and ensures that the collected video data is turned on when the event occurs, and the duration matches the event type, improving the effectiveness and utilization of the data, making it easier for users to quickly find the required data for analysis.
Smart Images

Figure CN114697605B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of video acquisition technology, and in particular to a video dynamic acquisition method and device, system, image acquisition equipment and medium. Background Art
[0002] With the rise of the smart home industry, as the Internet infrastructure is becoming more and more complete, the Internet of Things is developing faster and faster, and various smart devices have entered thousands of households from large infrastructure projects. The security and reliability of smart homes are becoming more and more important. Monitoring, as an important part of the security system, is also becoming more and more widely used.
[0003] At present, security systems that collect monitoring data through cameras usually need to remain in a normally open state, which consumes very high energy. The monitoring images are usually recorded for a fixed duration. It is difficult for users to filter out the required data from the monitoring data, resulting in low data utilization. Summary of the invention
[0004] In order to solve the existing technical problems, the present application provides a video dynamic acquisition method and device, system, image acquisition equipment and computer-readable storage medium that can be started based on event triggering and can dynamically adjust the recording time.
[0005] To achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a video dynamic acquisition method, which is applied to an image acquisition device, comprising:
[0007] When it is determined that a trigger event is received, video acquisition is started, and an acquisition termination time is determined according to the type of the trigger event;
[0008] During the video acquisition process, when a new trigger event is received, the acquisition termination time is updated according to the type of the new trigger event.
[0009] In a second aspect, an embodiment of the present application provides a video dynamic acquisition method, which is applied to an image acquisition system, comprising:
[0010] The trigger device collects event data and sends the event data to the image acquisition device;
[0011] When the image acquisition device determines that a trigger event has been received, it starts video acquisition and determines the acquisition termination time according to the type of the trigger event; during the video acquisition process, when a new trigger event is received, the acquisition termination time is updated according to the type of the new trigger event.
[0012] In a third aspect, an embodiment of the present application provides a video dynamic acquisition device, comprising:
[0013] A starting module, used to start video acquisition when a trigger event is received, and determine the acquisition termination time according to the type of the trigger event;
[0014] The adjustment module is used to update the acquisition termination time according to the type of the new trigger event when a new trigger event is received during the video acquisition process.
[0015] In a fourth aspect, an embodiment of the present application provides an image acquisition device, comprising a controller, a memory, an image shooting module and a communication module, wherein the image shooting module is used to capture video, the communication module is used to communicate data with a cloud server and a trigger device, and the memory stores a computer program, which, when executed by the controller, implements the video dynamic acquisition method applied to the image acquisition device described in any embodiment of the present application.
[0016] In a fifth aspect, an embodiment of the present application provides a video dynamic acquisition system, including a trigger device and the image acquisition device described in the embodiment of the present application, wherein the trigger device is used to acquire event data and send the event data to the image acquisition device.
[0017] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the video dynamic acquisition method applied to an image acquisition device described in any embodiment of the present application is implemented.
[0018] The video dynamic acquisition method and apparatus, system, image acquisition device and computer-readable storage medium provided by the above-mentioned embodiments of the present application are that the image acquisition device determines to start video acquisition when a trigger event is received, and determines the acquisition terminal event according to the type of the trigger event. When a new trigger event is received during the acquisition process, the acquisition end time is updated according to the type of the new trigger event. In this way, the image acquisition device can intelligently start recording based on the trigger event and dynamically adjust the recording duration. In the absence of a trigger event, the image acquisition device can be in a dormant state, thereby greatly reducing energy consumption. Moreover, the acquired videos are all based on the acquisition started when the trigger event occurs, and the acquisition duration matches the type of the trigger event, so that the acquired monitoring data are all valid data, which is convenient for users to quickly find the required video data for analysis and utilization, thereby improving data utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 Schematic diagram of optional application scenarios of the video dynamic acquisition method in the embodiment of the present application;
[0020] Figure 2 This is a schematic diagram of the structure of the image acquisition device in the embodiment of the present application;
[0021] Figure 3 This is a flow chart of a video dynamic acquisition method in one embodiment of the present application;
[0022] Figure 4 This is a flow chart of a video dynamic acquisition method in another embodiment of the present application;
[0023] Figure 5 This is a flowchart of a video dynamic acquisition method in an optional specific example of the present application;
[0024] Figure 6 A flowchart of a video dynamic acquisition method in another optional specific example of this application
[0025] Figure 7 This is a schematic diagram of a video dynamic acquisition device in one embodiment of the present application;
[0026] Figure 8 This is a structural schematic diagram of an image acquisition device in another embodiment of the present application;
[0027] Fig. 9 This is a schematic diagram of the structure of an image acquisition device in another embodiment of the present application. DETAILED DESCRIPTION
[0028] The technical solution of the present application is further elaborated in detail below in conjunction with the accompanying drawings and specific embodiments of the specification.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the implementation of this application. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0030] In the description of the present application, it should be understood that the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating positions or positional relationships, are based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present application. In the description of the present application, unless otherwise specified, "multiple" means two or more.
[0031] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0032] See also Figure 1 , which is a framework diagram of an Internet of Things system for optional application scenarios of the video dynamic acquisition method provided in an embodiment of the present application. Among them, the Internet of Things system is composed of a cloud service end 52, a terminal device 51, a router 53, an image acquisition device 10, a trigger device 20, etc. The terminal device 51 can be any device with communication and storage functions, such as: a smart phone, a desktop computer, a laptop computer, a tablet computer or other intelligent communication devices with network connection functions. The cloud service end 52 can be a network access server, a database server, a cloud server, etc. Optionally, the router 53 can be built based on the ZigBee protocol, and the image acquisition device 10 can be pre-added to the router 53. For example, the image acquisition device 10 can be a device in the kit to which the gateway device belongs when the router 53 leaves the factory; it can also be a device that is subsequently connected to the router 53 through user operation. The trigger device 20 is used to collect the dynamically changing parameters of the target object and the dynamic parameters of the surrounding environment and send them to the image acquisition device 10.
[0033] Optionally, a client for managing the image acquisition device 10 is installed in the terminal device 51 , and the client may be an application client (such as a mobile phone APP) or a web client, which is not limited here.
[0034] Optionally, the image acquisition device 10 can establish a network connection with the router 53 based on the ZigBee protocol, thereby joining the ZigBee network. The trigger device 20 and the image acquisition device 10 are under the same router 53. As an optional specific implementation, the user has the corresponding APP installed on the mobile phone, first adds at least one gateway device on the APP, and then adds other sub-devices (such as: image acquisition device 10), clicks the Add Sub-Device button in the APP interface, and selects the gateway device that the sub-device needs to access in the Add interface, and can be added to the ZigBee network corresponding to the gateway, and together with other added sub-devices and gateways, forms a ZigBee local area network.
[0035] The image acquisition device 10, the terminal device 51 and the trigger device 20 can all be connected to the Ethernet through the router 53, and the router 53 can be connected to the cloud through a wired or wireless communication connection. For example, the image acquisition device 10 and the terminal device 51 can store the acquired information in the cloud server 52. Optionally, the terminal device 51 can also establish a network connection with the cloud server 52 through 2G / 3G / 4G / 5G, WiFi, etc., so as to obtain the data sent by the cloud server 52.
[0036] Optionally, the terminal device 51, the router 53 and the image acquisition device 10 may be in the same local area network, or in the same wide area network as the cloud service end 52. When the terminal device 51 and the router 53 are in the same local area network, the terminal device 51 may interact with the router 53 and the image acquisition device 10 connected to the router 53 through the local area network path; or may interact with the router 53 and the image acquisition device 10 connected to the router 53 through the wide area network path. When the terminal device 51 and the router 53 are not in the same local area network, the terminal device 51 may interact with the router 53 and the image acquisition device 10 connected to the router 53 through the wide area network path.
[0037] The image acquisition device 10 may be a camera with a gateway function. Figure 2 , is a schematic diagram of the structure of the image acquisition device 10, including a main controller 11, an image acquisition sensor 12 connected to the main controller 11, a Flash memory 13, an SD card memory 14 and a wireless communication module. The wireless communication module may include a wifi module 15 and a Zigbee module 16. The trigger device 20 is used to detect the state change parameters and / or environmental dynamic parameters of the target object, so as to determine the occurrence of a trigger event according to the state change parameters of the target object and / or the environmental dynamic parameters around the target object. The trigger device 20 may include a door sensor, a human body sensor, etc.
[0038] See also Figure 3 , a video dynamic acquisition method provided by an embodiment of the present application, can be applied to Figure 1 The image acquisition device shown. The video dynamic acquisition method includes but is not limited to the following steps, which are specifically described as follows:
[0039] S101, when it is determined that a trigger event is received, start video acquisition, and determine the acquisition termination time according to the type of the trigger event.
[0040] A trigger event is a predefined condition used to trigger an image acquisition device to start video acquisition. For example, if the image acquisition device is a camera of a smart door lock that monitors the security of a portal, when a lock prying event occurs, the camera needs to be turned on to collect monitoring data. The lock prying event is a trigger event that triggers the camera of the smart door lock to start video acquisition. There can be one or more trigger events.
[0041] The judgment rule of the trigger event can be preset. In an optional embodiment, the judgment rule of the trigger event is composed of the corresponding relationship between the trigger event and the state change parameter of the target object, and / or the environmental dynamic parameter around the target object. The image acquisition device obtains the state change parameter and / or the environmental dynamic parameter, and analyzes the state change parameter and / or the environmental dynamic parameter according to the judgment rule to determine whether the trigger event occurs. For example, the judgment rule can be: when the state change parameter obtained is that the door lock body is violently damaged, it is a lock picking event; when the state change parameter obtained is that the door lock handle is turned before the unlocking password is obtained, and the environmental dynamic parameter is obtained, it is a lock picking event. When the number of times someone stays at the door exceeds the preset time, it is an attempted illegal entry event; when the environmental dynamic parameter obtained is that someone stays for a long time, or the environmental dynamic parameter obtained is that someone wanders for a long time, it is a stranger visit event; when the state change parameter obtained is that the doorbell is pulled more than the preset value within the set time period, it is an emergency visit event; when the environmental dynamic parameter obtained is that someone approaches, it is a visit event, etc. Among them, lock picking events, attempted illegal entry events, stranger visit events, emergency visit events and visit events can all be used as trigger events to trigger the image acquisition device to start video acquisition.
[0042] Different types of trigger events can correspond to different acquisition durations. The types of trigger events can be set according to the needs of the user, such as being divided into multiple categories with different risk levels according to the risk size corresponding to different trigger events; or, being divided into multiple categories with different attention levels according to the user's attention to different trigger events. In an optional embodiment, a trigger event list can be pre-set, and the list includes the correspondence between each trigger event and the judgment rule, the correspondence between each trigger event and the event type, and the correspondence between each event type and the acquisition duration. The image acquisition device can detect the state change parameters of the target object and / or the environmental dynamic parameters around the target object, and when judging whether the corresponding trigger event occurs based on the state change parameters, environmental dynamic parameters and the trigger event list, start video acquisition, and determine the acquisition termination time based on the type of the trigger event.
[0043] S103: During the video acquisition process, when a new trigger event is received, updating the acquisition termination time according to the type of the new trigger event.
[0044] When a new trigger event occurs again during the video acquisition process, the image acquisition device determines the acquisition duration corresponding to the new trigger event according to the type of the new trigger event, and adjusts the acquisition termination time of the current video acquisition accordingly. The image acquisition device can update the acquisition termination time according to the type of the newly added trigger event by recording the start time of the newly added trigger event, adding the start time of the newly added trigger event to the acquisition duration corresponding to the newly added trigger event, and if the start time of the newly added trigger event plus the end time of the acquisition duration corresponding to the newly added trigger event is after the current acquisition termination time, the start time of the newly added trigger event plus the end time of the acquisition duration corresponding to the newly added trigger event is used as the updated acquisition termination time; if the start time of the newly added trigger event plus the end time of the acquisition duration corresponding to the newly added trigger event is before the current acquisition termination time, the current acquisition termination time is maintained unchanged.
[0045] In the above embodiment, the image acquisition device starts video acquisition when it determines that a trigger event has been received, and determines the acquisition end time according to the type of the trigger event. When a new trigger event is received during the acquisition process, the acquisition end time is updated according to the type of the new trigger event. In this way, the image acquisition device can intelligently start recording based on the trigger event and dynamically adjust the recording duration. In the absence of a trigger event, the image acquisition device can be in a dormant state, thereby greatly reducing energy consumption. Moreover, the acquired videos are all based on the acquisition started when the trigger event occurs, and the acquisition duration matches the type of the trigger event, so that the acquired monitoring data are all valid data, which is convenient for users to quickly find the required video data for analysis and utilization, thereby improving data utilization.
[0046] In some embodiments, during the video acquisition process, when a new trigger event is received, after updating the acquisition termination time according to the type of the new trigger event, the method further includes:
[0047] When it is determined that the currently executed video acquisition satisfies the preset splitting rule, the currently acquired video data is split according to the preset splitting rule and sent to the cloud server for storage;
[0048] When the acquisition end time arrives, the video acquisition is closed.
[0049] The preset splitting rule refers to a pre-set rule for splitting the currently recorded video, such as a splitting rule for splitting according to a preset splitting duration, or a splitting rule for splitting according to the start and end time of different events, or a splitting rule for splitting according to the type of different events corresponding to the specified splitting duration, or a splitting rule for splitting according to the degree of attention to the event, etc. Among them, the splitting rule for splitting according to the preset splitting duration can be that the currently recorded video is split with every n minutes as a time period; the splitting rule for splitting according to the start and end time of different events can be that the currently recorded video is split according to the start time and end time of each detected trigger event; the splitting rule for splitting according to the type of different events corresponding to the specified splitting duration can be that according to the type of each detected trigger event, different types of trigger events are matched with a corresponding splitting duration, and the currently recorded video is split according to the splitting duration matched by the type of the trigger event; the splitting rule for splitting according to the degree of attention to the event can be that if the received trigger event is a trigger event of the type that the user is concerned about, the currently recorded video is split according to the start and end time of the trigger event of concern. The preset splitting rule may include one or more. When the splitting rule includes multiple splitting rules, the priorities of the multiple splitting rules may be set, and the currently applicable splitting rule may be selected according to the corresponding priority order.
[0050] For example, in an optional embodiment, the preset splitting rules include: the first priority is a splitting rule for splitting according to the specified splitting durations corresponding to the types of different events, and the second priority is a splitting rule for splitting according to the preset splitting durations. If the currently executed video acquisition involves multiple triggering events and the specified splitting durations corresponding to the types of the triggering events can be determined, the currently executed video acquisition is split according to the splitting rule of the first priority; if there is at least one type of triggering event or the specified splitting duration corresponding to the type of at least one triggering event cannot be determined, the video acquisition executed for the corresponding triggering event can be split according to the splitting rule of the second priority. It should be noted that the preset splitting rules can be set or adjusted by the user through the terminal device, and can also be uniformly issued, maintained and upgraded by the manufacturer of the image acquisition device.
[0051] When the image acquisition device determines that the currently executed video acquisition meets the preset splitting rules, the currently acquired video data is split according to the preset splitting rules and sent to the cloud server for storage. By splitting the video acquisition, the size of a single video file can be reduced, which facilitates the storage, transmission and call viewing of the acquired video files. When the acquisition termination time is reached, the image acquisition device turns off the video acquisition. At this time, the image acquisition device enters the sleep mode to reduce system power consumption and reduce the acquisition of invalid image data.
[0052] In the above embodiment, the image acquisition device splits the collected video data according to the preset splitting rules, and turns off the video acquisition when the acquisition end time is reached. In this way, the image acquisition device can intelligently start video acquisition according to the judgment rules of the trigger event set by the user, and can be in a dormant state when there is no trigger event, thereby greatly reducing energy consumption; secondly, the monitoring data collected by the image acquisition device are all collected by turning on the monitoring module when the trigger event occurs, so the monitoring data obtained are all valid data collected based on the trigger event, and by splitting and storing the collected video data according to the preset splitting rules, it is convenient for users to analyze and utilize the monitoring data, improve data utilization, and enhance the user's intelligent experience of using the image acquisition device.
[0053] In some embodiments, determining that a trigger event has been received comprises:
[0054] Obtain the state change parameters of the target object detected by the door magnetic module;
[0055] When it is determined according to the state change parameter that the target object undergoes a corresponding change, it is determined that a trigger event has been received.
[0056] The target object can be any object whose state changes and whether a trigger event has occurred at present can be determined. For example, a smart door lock is a barrier to portal security and is usually installed on the entrance door. The change in the state of the smart door lock can reflect whether a portal security event has occurred. Whether a trigger event has occurred can be determined by detecting the state change of the smart door lock. Optionally, taking the target object as a smart door lock as an example, the smart door lock may include a door lock control module, a door lock storage module, a door lock mechanical module, a sensor module and a door lock communication module, etc., wherein the door lock mechanical module includes a lock body, a panel, a handle, a doorbell and a sensing area, etc. The state change parameter of the smart door lock refers to the parameter indicating the change in the state of the smart door lock itself, such as the handle turning, the sensing information of the access card detected in the sensing area, the button on the panel being pressed, the doorbell being pulled, the lock body being violently damaged, etc. The smart door lock detects the state change parameters of the smart door lock through the door magnetic module, which may specifically include that after the door magnetic module senses the state changes of the lock body, panel, handle and sensing area, it generates a corresponding sensing signal and sends it to the door lock control module, and the door lock control module sends the state change parameters of the smart door lock to the image acquisition device. In other optional embodiments, the smart door lock itself includes an image acquisition device, in which case the target object may be the door lock mechanical module.
[0057] The image acquisition device can determine that a trigger event has been received when it is determined that a corresponding change has occurred in the target object according to the state change parameter and the judgment rule of the pre-set trigger event. In an optional embodiment, the judgment rule is composed of a corresponding relationship between the trigger event and the state change parameter, and the image acquisition device determines the state change parameter by analyzing the state change parameter according to the judgment rule. For example, the judgment rule can be: when the state change parameter obtained is that the lock body is violently damaged, it is a lock picking event; when the state change parameter obtained is that the doorbell is pulled more than a preset number of times within a set time period, it is an emergency visit event.
[0058] In the above embodiment, the image acquisition device obtains the state change parameters of the target object and identifies the trigger event based on the state change parameters. In this way, the image acquisition device can intelligently start video acquisition according to the judgment rules of the trigger event set by the user, and can be in a dormant state when no trigger event occurs, thereby reducing energy consumption, and can intelligently perform video acquisition according to the occurrence of the trigger event, thereby improving safety performance and enhancing the user's intelligent experience of using the image acquisition device.
[0059] In some embodiments, determining that a trigger event has been received comprises:
[0060] Obtain the environmental dynamic parameters detected by the detection module;
[0061] When it is determined according to the environmental dynamic parameters that a preset human movement behavior exists, it is determined that a trigger event has been received.
[0062] Environmental dynamic parameters refer to parameters indicating changes in the environment within a preset range around the target object, such as a person or object staying for a long time, a person or object walking, a person or object wandering for a long time, a person or object approaching, etc. Among them, obtaining the environmental dynamic parameters detected by the detection module may refer to sending the parameters to the image acquisition device after the detection module detects the change parameters of the environment within a preset range around the target object.
[0063] The target object can be any object that can determine whether a trigger event has occurred by dynamically changing the environment around it. For example, a smart door lock is usually installed on the entrance door as a barrier to portal security. The dynamic changes in the environment around the smart door lock can reflect whether a portal security event has occurred. Whether a trigger event has occurred can be determined by detecting the dynamic changes in the environment around the smart door lock. Optionally, still taking the target object as a smart door lock as an example, the smart door lock detects the dynamic parameters of the surrounding environment through a sensor module, which can specifically include: when the sensor module detects the movement of a person or object in the surrounding environment, a corresponding sensing signal is generated and sent to the door lock control module, and the door lock control module sends the dynamic parameters of the environment of the smart door lock to the image acquisition device.
[0064] The image acquisition device can determine that a trigger event has been received when it determines that a preset human motion behavior exists according to the environmental dynamic parameters and the judgment rules of the trigger events set in advance. In an optional embodiment, the judgment rules are composed of the corresponding relationship between the trigger event and the environmental dynamic parameters, and the image acquisition device determines the environmental dynamic parameters by analyzing the environmental dynamic parameters according to the judgment rules. For example, the judgment rules can be: when the environmental dynamic parameters obtained are that someone stays for a long time, or when the environmental dynamic parameters obtained are that someone wanders for a long time, it is a stranger visit event; when the environmental dynamic parameters obtained are that someone approaches, it is a person visit event, etc.
[0065] In the above embodiment, the image acquisition device obtains the environmental dynamic parameters around the target object and identifies the trigger event based on the environmental dynamic parameters. In this way, the image acquisition device can intelligently start video acquisition according to the judgment rules of the trigger event set by the user, and can be in a dormant state if no trigger event occurs, thereby reducing energy consumption, and can intelligently perform video acquisition according to the occurrence of the trigger event to improve safety performance.
[0066] It should be noted that the image acquisition device determines the trigger event by combining the state change parameters of the target object and the environmental dynamic parameters. For example, the judgment rule of the trigger event may be: when the state change parameter obtained is that the handle is turned before the unlocking password is obtained, and the environmental dynamic parameter obtained is that someone stays for more than a preset time, it is an attempt to break into the room illegally.
[0067] The image acquisition device determines the trigger event by determining the corresponding current event based on the state change parameters, or by determining the corresponding current event based on the environmental dynamic parameters, or by jointly determining the corresponding current event based on the state change parameters and the environmental dynamic parameters. The judgment rules for the trigger event can be set or adjusted by the user. The user is supported to set or adjust the judgment rules for the trigger event according to the degree of concern he or she has for different trigger events, thereby ensuring that when the event he or she is concerned about occurs, the image acquisition device can intelligently start video acquisition, thereby improving the intelligent experience of using the image acquisition device.
[0068] In some embodiments, during the video capture process, when a new trigger event is received, updating the capture termination time according to the type of the new trigger event includes:
[0069] During the video acquisition process, when a new trigger event is received, the type of the new trigger event is determined according to the set event judgment rule;
[0070] In the case where the newly added trigger event is an event of the first category, increasing the current acquisition termination time by a first duration;
[0071] When the newly added trigger event is a second category event, the current collection termination time is increased by a second duration; wherein the risk level of the first category event is higher than the risk level of the second category event, and the first duration is greater than the second duration.
[0072] Among them, the event judgment rule refers to the rule for determining the type of the triggering event, and the event judgment rule can be pre-set, such as including a mapping relationship table between the triggering event and the type. The type of the triggering event can be distinguished according to the risk level of the event, such as dividing the type of the triggering event into the first category event and the second category event according to the different risk levels, wherein the risk level of the first category event is higher than the risk level of the second category event, and the collection time corresponding to the event category with a higher risk level is longer than the collection time corresponding to the event category with a relatively lower risk level.
[0073] In an optional embodiment, the triggering events include lock picking events, attempted illegal entry events, stranger visit events, emergency visit events, and visit events, etc. The event type can be set according to the size of the security risk brought by these triggering events. The security risk level corresponding to the lock picking event is high, corresponding to the first category event; the security risk level corresponding to the attempted illegal entry event is high, corresponding to the first category event; the security risk level corresponding to the stranger visit event is medium, corresponding to the second category event; the security risk level corresponding to the emergency visit event is medium, corresponding to the second category event. It should be noted that the types of triggering events can be distinguished according to different risk levels, and more types can be included. For example, the types of triggering events can also include third category events. The security risk level corresponding to the visit event is low, corresponding to the third category event.
[0074] During the video acquisition process, the image acquisition device determines the type of new triggering events based on the set event judgment rules. The acquisition time of the first category events with a higher risk level is longer than the acquisition time of the second category events with a relatively lower risk level. The acquisition end time is updated according to the different acquisition time, so that the image acquisition device can perform more complete video acquisition for different triggering events, further improving safety and reliability.
[0075] In some embodiments, during the video capture process, when a new trigger event is received, updating the capture termination time according to the type of the new trigger event includes:
[0076] During the video acquisition process, when a new trigger event is received, the type of the new trigger event is determined according to the set event judgment rule;
[0077] In the case where the newly added trigger event is an event of the first concern level, increasing the current acquisition termination time by a first duration;
[0078] In the case that the newly added trigger event is an event of the second attention level, the current acquisition termination time is increased by a second duration; wherein the first duration is greater than the second duration.
[0079] Among them, the event judgment rule refers to the rule for determining the type of the trigger event, and the event judgment rule can be preset, such as including a mapping relationship table between the trigger event and the type. The type of the trigger event can be distinguished according to the user's attention level, such as dividing the type of the trigger event into a first attention level event and a second attention level event according to the different attention levels of the user to different trigger events. The user's attention level to the first attention level event is higher than the attention level to the second attention level event, and the collection time corresponding to the event category with a higher attention level is longer than the collection time corresponding to the event category with a relatively lower attention level.
[0080] In an optional embodiment, the triggering events include lock picking events, attempted illegal entry events, stranger visit events, emergency visit events, and visit events, etc. The user can set the event category according to the degree of concern of the user to these triggering events. The user pays special attention to lock picking events, attempted illegal entry events, and emergency visit events, and the types of lock picking events, attempted illegal entry events, and emergency visit events can all be set as first-level concern events; the user pays relatively less attention to stranger visit events and visit events, and the types of stranger visit events and visit events can all be set as second-level concern events. It should be noted that the types of triggering events can be distinguished according to the different degrees of concern of the user to different triggering events, and more types can be included. For example, the types of triggering events can also include third-level concern events. The user pays less attention to stranger visit events than to visit events, and visit events can be set as second-level concern events, and stranger visit events can be set as third-level concern events.
[0081] During the video acquisition process, the image acquisition device determines the type of new triggering events according to the set event judgment rules, and sets the acquisition time of the first level of concern events with higher user attention to be longer than the second level of concern events with relatively lower user attention, and updates the acquisition end time according to the different acquisition times, so that the image acquisition device can perform more complete video acquisition for different triggering events, further improving security and reliability.
[0082] In some embodiments, before determining the type of the newly added triggering event according to the set event judgment rule, the method further includes:
[0083] Acquire the event attention level sent by the terminal device, and form an event judgment rule according to the event attention level; or,
[0084] The modification parameters of the event attention level sent by the terminal device are obtained, and the current event judgment rules are updated according to the modification parameters.
[0085] The setting of the attention level for different trigger events can be set or adjusted by the user according to his own needs. An application corresponding to the image acquisition device and implementing the video dynamic acquisition method can be installed on the terminal device, and a setting interface for setting event judgment rules is provided in the application. The user can input the corresponding relationship between the trigger event and the attention level in the setting interface for setting the event judgment rule. The terminal device sends the event attention level to the image acquisition device according to the corresponding relationship between the trigger event and the attention level input by the user, and forms the event judgment rule according to the event attention level.
[0086] Optionally, the user can adjust the attention level of the trigger event according to his or her own needs. An application that implements the video dynamic acquisition method corresponding to the image acquisition device can be installed on the terminal device. The application is provided with a setting interface for setting event judgment rules. The user can modify the correspondence between the trigger event and the attention level in the setting interface for setting the event judgment rules. The terminal device sends modification parameters of the event attention level to the image acquisition device according to the modification operation of the correspondence between the trigger event and the attention level input by the user, and updates the current event judgment rules according to the modification parameters.
[0087] During the video acquisition process, the image acquisition device determines the type of new triggering events according to the set event judgment rules, and sets the acquisition time of the first level of concern events with higher user attention to be longer than the second level of concern events with relatively lower user attention, and updates the acquisition end time according to the different acquisition times, so that the image acquisition device can perform more complete video acquisition for different triggering events, further improving security and reliability.
[0088] In some embodiments, the video dynamic acquisition method further includes: obtaining a split time parameter sent by the terminal device, and forming a preset split rule according to the split time parameter;
[0089] When it is determined that the currently executed video acquisition satisfies the preset splitting rule, the currently acquired video data is split according to the preset splitting rule and sent to the cloud server for storage, including:
[0090] When it is determined that the duration of the currently executed video acquisition reaches the splitting time parameter, the currently acquired video data is split with the splitting time parameter as the time period, and the split video data are packaged and sent to the cloud server for storage.
[0091] An application corresponding to the image acquisition device and implementing the video dynamic acquisition method can be installed on the terminal device. The application is provided with a setting interface for setting the splitting rules. The user can enter the splitting time parameter in the setting interface for setting the splitting rules. For example, the user can enter any duration such as 1 minute, 10 minutes, etc. as the splitting time parameter according to their own needs. The terminal device accepts the splitting time parameter entered by the user and sends it to the image acquisition device for the image acquisition device to split the acquired video into multiple video data of corresponding durations. The image acquisition device obtains the splitting time parameter and forms a splitting rule that uses the splitting time parameter as the splitting duration for segmentation. After the image acquisition device starts video acquisition, it records the duration of the video acquisition. If the duration of the currently executed video acquisition reaches the splitting time parameter, the currently recorded video is split with the splitting time parameter as the time period, and is split into multiple separate video data. Optionally, the split video data can be sorted and stored according to chronological order. When the split video data are packaged and sent to the cloud server separately, they can be sent to the cloud server in sequence according to the chronological order of the video data; or, the split video data can be named according to chronological order. When the split video data are packaged and sent to the cloud server separately, the video data can be sent to the cloud server in parallel.
[0092] In the above embodiment, the user can adjust the segmentation duration of the captured video through the terminal device, and the image acquisition device intelligently splits the captured video to provide the user with more accurate video segment information that may be of interest.
[0093] In some embodiments, the video dynamic acquisition method further includes: acquiring an event judgment rule sent by a terminal device, and forming a preset splitting rule according to the event judgment rule;
[0094] When it is determined that the currently executed video acquisition satisfies the preset splitting rule, the currently acquired video data is split according to the preset splitting rule and sent to the cloud server for storage, including:
[0095] Determine the event type corresponding to the preset splitting rule of the currently executed video acquisition event, split the currently acquired video data according to different types of events, and package the split video data separately and send them to the cloud server for storage.
[0096] The event judgment rule can be used as a rule for the image acquisition device to segment the captured video. An application corresponding to the image acquisition device and implementing the video dynamic acquisition method can be installed on the terminal device. The application is provided with a setting interface for setting the splitting rule. The user can enter the event type of concern in the setting interface for setting the splitting rule. For example, the user can enter the lock picking event and the attempted illegal entry event as the first level of concern event as the event judgment rule according to their own needs. The terminal device accepts the event judgment rule entered by the user and sends it to the image acquisition device. When the image acquisition device starts the video acquisition process, if the trigger event is the lock picking event and the attempted illegal entry event, the lock picking event and the attempted illegal entry event are respectively segmented according to the start and end times corresponding to the lock picking event and the attempted illegal entry event; or after the video acquisition is completed, if it is confirmed that the corresponding trigger event in the video data includes the lock picking event and the attempted illegal entry event, the lock picking event and the attempted illegal entry event are respectively segmented according to the start and end times corresponding to the event, and the video data is split into multiple separate video data.
[0097] Optionally, the split video data can be named according to the event name and stored in chronological order. When the split video data are packaged and sent to the cloud server, they can be sent to the cloud server in chronological order. Alternatively, the split video data can be named according to the event name and time. When the split video data are packaged and sent to the cloud server, they can be sent to the cloud server in parallel. Optionally, the video data obtained after splitting according to the event judgment rule can also be set with different sending priorities according to different event types. For example, the sending priority of the video data of the first attention level event is higher than the sending priority of the video data of the second attention level event. When the image acquisition device packages the split video data and sends them to the cloud server, if the current data transmission rate does not meet the set requirements, the image acquisition device will first send the video data with a higher sending priority to the cloud server.
[0098] Optionally, the image acquisition device may include multiple rules for segmenting the acquired video. For example, after splitting the currently acquired video data according to different types of events, the video data corresponding to each event type is further split according to the splitting time parameter as the time period; when the split video data are packaged and sent to the cloud server separately, the video data of different types of events can be grouped, and the video data corresponding to different groups can be sent serially in chronological order, and the video data in the same group can be sent in parallel to improve the efficiency of data transmission.
[0099] In the above embodiment, the user can adjust the event judgment rules for splitting the captured video through the terminal device, and the image acquisition device can intelligently split the event video that the user is more concerned about, so as to provide the user with video segment information that may be of interest more accurately.
[0100] See also Figure 4 On the other hand, the embodiment of the present application further provides a video dynamic acquisition method, which is applied to an image acquisition system, wherein the image acquisition system includes a trigger device and an image acquisition device, and the method includes but is not limited to S201 and S203, which are specifically described as follows:
[0101] S201, triggering a device to collect event data, and sending the event data to an image collection device.
[0102] Event data refers to parameters used to determine whether a trigger event has occurred, such as state change parameters of the target object and / or environmental dynamic parameters around the target object, and the judgment rule of the trigger event can be composed of a corresponding relationship between the trigger event and the state change parameters of the target object and / or the environmental dynamic parameters around the target object. Optionally, the image acquisition device is a gateway camera, and the trigger device includes a door magnetic module, a human body sensor, etc. The door magnetic module is used to collect state change parameters of the smart door lock itself, and the human body sensor is used to detect whether there is a person approaching, walking and / or staying in the surrounding environment. Dynamic parameters of the environment, respectively sent to the image acquisition device.
[0103] S203, when the image acquisition device determines that a trigger event has been received, it starts video acquisition and determines an acquisition termination time according to the type of the trigger event; during the video acquisition process, when a new trigger event is received, the acquisition termination time is updated according to the type of the new trigger event.
[0104] Different types of trigger events can correspond to different acquisition durations. The types of trigger events can be set according to the needs of the user, such as being divided into multiple categories with different risk levels according to the risk size corresponding to different trigger events; or, being divided into multiple categories with different attention levels according to the user's attention to different trigger events. In an optional embodiment, a trigger event list can be pre-set, and the list includes the correspondence between each trigger event and the judgment rule, the correspondence between each trigger event and the event type, and the correspondence between each event type and the acquisition duration. The image acquisition device can detect the state change parameters of the target object and / or the environmental dynamic parameters around the target object, and when judging whether the corresponding trigger event occurs based on the state change parameters, environmental dynamic parameters and the trigger event list, start video acquisition, and determine the acquisition termination time based on the type of the trigger event.
[0105] When a new trigger event occurs again during the video acquisition process, the image acquisition device determines the acquisition duration corresponding to the new trigger event according to the type of the new trigger event, and adjusts the acquisition termination time of the current video acquisition accordingly. The image acquisition device can update the acquisition termination time according to the type of the newly added trigger event by recording the start time of the newly added trigger event, adding the start time of the newly added trigger event to the acquisition duration corresponding to the newly added trigger event, and if the start time of the newly added trigger event plus the end time of the acquisition duration corresponding to the newly added trigger event is after the current acquisition termination time, the start time of the newly added trigger event plus the end time of the acquisition duration corresponding to the newly added trigger event is used as the updated acquisition termination time; if the start time of the newly added trigger event plus the end time of the acquisition duration corresponding to the newly added trigger event is before the current acquisition termination time, the current acquisition termination time is maintained unchanged.
[0106] In the above embodiment, the image acquisition system acquires event data through a trigger device, and the image acquisition device determines based on the event data that when a trigger event occurs, video acquisition is automatically started, and the acquisition termination time is determined. When a new trigger event is received during the acquisition process, the acquisition termination time is updated according to the type of the new trigger event. In this way, the image acquisition device can intelligently start recording based on the trigger event and dynamically adjust the recording duration. In the absence of a trigger event, the image acquisition device can be in a dormant state, thereby greatly reducing energy consumption. Moreover, the acquired videos are all acquired based on the occurrence of a trigger event, and the acquisition duration matches the type of the trigger event, so that the acquired video data are all valid data, which is convenient for users to quickly find the required video data for analysis and utilization, thereby improving data utilization.
[0107] In some embodiments, when the image acquisition device determines that the currently executed video acquisition satisfies a preset splitting rule, the currently acquired video data is split according to the preset splitting rule and sent to the cloud server for storage;
[0108] The cloud service end stores the split video data, forms a push message carrying the storage address of the video data and sends it to the terminal device;
[0109] The image acquisition device turns off video acquisition when the acquisition termination time arrives.
[0110] The preset splitting rule refers to a pre-set rule for splitting the currently recorded video, such as a splitting rule for splitting according to a preset splitting duration, or a splitting rule for splitting according to the start and end time of different events, or a splitting rule for splitting according to the type of different events corresponding to the specified splitting duration, or a splitting rule for splitting according to the degree of attention to the event, etc. Among them, the splitting rule for splitting according to the preset splitting duration can be that the currently recorded video is split with every n minutes as a time period; the splitting rule for splitting according to the start and end time of different events can be that the currently recorded video is split according to the start time and end time of each detected trigger event; the splitting rule for splitting according to the type of different events corresponding to the specified splitting duration can be that according to the type of each detected trigger event, different types of trigger events are matched with a corresponding splitting duration, and the currently recorded video is split according to the splitting duration matched by the type of the trigger event; the splitting rule for splitting according to the degree of attention to the event can be that if the received trigger event is a trigger event of the type that the user is concerned about, the currently recorded video is split according to the start and end time of the trigger event of concern. The preset splitting rule may include one or more. When the splitting rule includes multiple splitting rules, the priorities of the multiple splitting rules may be set, and the currently applicable splitting rule may be selected according to the corresponding priority order.
[0111] The cloud server stores the split video data in the cloud storage module, and rejoins the storage address of the video data and the corresponding event information to form a push message carrying the storage address of the video data and send it to the terminal device, so that users can quickly determine whether to view the video data of the event through the event information in the push message.
[0112] In the above embodiment of the present application, the image acquisition device splits the collected video data according to the preset splitting rules, and turns off the video acquisition when the acquisition end time is reached. In this way, the image acquisition device can intelligently start video acquisition according to the judgment rules of the trigger event set by the user, and can be in a dormant state when there is no trigger event, thereby greatly reducing energy consumption; the cloud service end forms a push information including the storage address of the video data and the event information and sends it to the corresponding terminal device, so that the user can quickly identify whether it is the monitoring data of the event he is concerned about through the push information and then decide whether to obtain it, thereby reducing unnecessary data flow in the network and enhancing the user's smart experience of using smart door locks.
[0113] In some embodiments, the video dynamic acquisition method further includes:
[0114] The terminal device obtains a video viewing instruction based on the push information, and sends the video viewing instruction to the cloud server;
[0115] The terminal device obtains video data from the cloud server, and displays the video data according to the type of event corresponding to the video data.
[0116] The terminal device can send a command to obtain video data to the cloud server through the terminal control module according to the viewing operation of the user clicking the storage address of the video data. Optionally, the terminal device can display video data of different event types separately to more intuitively remind the user to view the video data of the triggering event he is concerned about in a timely manner.
[0117] Optionally, the terminal device obtains the video data from the cloud server, and displays the video data according to the type of event corresponding to the video data, including:
[0118] The terminal device obtains video data from the cloud server;
[0119] According to the type of event corresponding to the video data, the video data corresponding to events with different attention levels are displayed in different colors; or, according to the type of event corresponding to the video data, the video data corresponding to abnormal events are displayed with a designated mark.
[0120] The terminal device can distinguish and display video data of different event types by different colors. This can be done according to the setting method of different event types. When the event type is set according to the degree of security risk, the video data of the event type with a greater security risk can be displayed in a darker color, and the video data of the event type with a relatively smaller security risk can be displayed in a relatively lighter color; or, when the event type is set according to different levels of user concern, the video data of the event type with a higher degree of user concern can be displayed in a darker color, and the video data of the event type with a relatively lower degree of user concern can be displayed in a relatively lighter color.
[0121] The terminal device obtains video data from the cloud server, and displays the video data corresponding to events with different levels of attention in different colors according to the type of event corresponding to the video data; or displays the video data corresponding to abnormal events with designated labels according to the type of event corresponding to the video data, thereby more intuitively reminding users to promptly check the video data of the triggering events they are concerned about, and also improving the intelligent experience of using the image acquisition device.
[0122] In order to have a more systematic understanding of the video dynamic acquisition method provided in the above embodiments of the present application, the video dynamic acquisition method is specifically illustrated by taking the image acquisition device as a gateway camera, and the trigger device including a door magnet and a human body sensor as an example, wherein the gateway camera includes a camera part related to audio and video and a gateway part as a sensor and controller control center. The door magnet includes a sensor for sensing the opening and closing of doors and windows, which is composed of a magnet and a subject part. The human body sensor includes a PIR infrared detector, a radar sensor, etc., which is used to detect human body sensing and output a signal whether there is a person. Please refer to Figure 5 , the video dynamic acquisition method comprises the following steps:
[0123] S11, the trigger device detects event data and sends it to the image acquisition device.
[0124] S12, the image acquisition device determines, based on the event data, that when a trigger event is received, it starts video acquisition and determines the acquisition termination time.
[0125] S13, during the video acquisition process, if a new trigger event is received, determine whether the new trigger event is a warning event of key concern; if so, execute S14; if not, execute S15.
[0126] S14, extending the recording time according to the collection duration of the warning event of particular concern, and updating the collection end time.
[0127] S15, extending the recording time according to the acquisition duration of the common event, and updating the acquisition end time.
[0128] S16, when the acquisition end time arrives, close the video acquisition.
[0129] Users can configure the warning events and common events of key concern through the terminal device, and can also set the collection time corresponding to the warning events and common events of key concern through the terminal device, so that the image acquisition device can dynamically start video acquisition and dynamically adjust the recording time according to the occurrence of the trigger event. In the absence of a trigger event, the image acquisition device can be in a dormant state, which can greatly reduce energy consumption; and the collected videos are all based on the collection started when the trigger event occurs, and the collection time matches the type of the trigger event, so that the monitoring data obtained are all valid data, which is convenient for users to quickly find the required video data for analysis and utilization.
[0130] See also Figure 6 , another specific exemplary description of the video dynamic acquisition method is given, the video dynamic acquisition method comprises the following steps:
[0131] S21, the trigger device detects event data and sends it to the image acquisition device.
[0132] S22, the image acquisition device determines, based on the event data, that when a trigger event is received, it starts video acquisition and determines the acquisition termination time.
[0133] S23, whether the current acquisition time reaches the minimum split recording time; if so, execute S24, if not, execute S26.
[0134] S24, whether the current triggering event is a focused event that needs to be split; if so, execute S25; if not, execute S26.
[0135] S25, split the recorded video according to the splitting rule configured by the user, and send the split video data to the cloud server for storage.
[0136] S26, when the acquisition end time arrives, closing the video acquisition.
[0137] The image acquisition device can reduce the size of a single video file by splitting the video acquisition, which is convenient for storing, transmitting and calling the acquired video files. When the acquisition termination time arrives, the image acquisition device turns off the video acquisition. At this time, the image acquisition device enters the sleep mode to reduce system power consumption and reduce the acquisition of invalid image data.
[0138] The video dynamic acquisition method provided in the above embodiment can dynamically extend the recording length of the warning video according to the event type that the user is interested in; secondly, the warning video can be split according to preset rules (the preset rules include setting different time lengths, according to the event type that the user is concerned about, different event types, etc.), so as to achieve the purpose of dynamic and intelligent video recording.
[0139] On the other hand, please refer to Figure 7 , also provides a video dynamic acquisition device, which is applied to image acquisition equipment, including: a starting module 141, which is used to determine whether to start video acquisition when a trigger event is received, and determine the acquisition termination time according to the type of the trigger event; an adjustment module 142, which is used to update the acquisition termination time according to the type of the new trigger event when a new trigger event is received during the video acquisition process.
[0140] Optionally, the image acquisition device also includes a splitting module, which is used to determine that the currently executed video acquisition meets the preset splitting rules, split the currently acquired video data according to the preset splitting rules and send it to the cloud server for storage; and a closing module, which is used to close the video acquisition when the acquisition end time is reached.
[0141] Optionally, the start-up module 141 is also used to obtain state change parameters of the target object detected by the door magnetic module; when it is determined according to the state change parameters that the target object has undergone corresponding changes, it is determined that a trigger event has been received; or, it is used to obtain environmental dynamic parameters detected by the detection module; when it is determined according to the environmental dynamic parameters that a preset human movement behavior exists, it is determined that a trigger event has been received.
[0142] Optionally, the adjustment module 142 is specifically used to determine the type of a new trigger event according to a set event judgment rule when a new trigger event is received during the video capture process; when the new trigger event is a first category event, increase the current capture termination time by a first duration; when the new trigger event is a second category event, increase the current capture termination time by a second duration; wherein the risk level of the first category event is higher than the risk level of the second category event, and the first duration is greater than the second duration.
[0143] Optionally, the adjustment module 142 is specifically used to determine the type of a new trigger event according to a set event judgment rule when a new trigger event is received during the video capture process; when the new trigger event is an event of the first level of concern, increase the current capture termination time by a first duration; when the new trigger event is an event of the second level of concern, increase the current capture termination time by a second duration; wherein the first duration is greater than the second duration.
[0144] Optionally, the adjustment module 142 is also used to obtain the event attention level sent by the terminal device, and form an event judgment rule based on the event attention level; or, obtain the modification parameters of the event attention level sent by the terminal device, and update the current event judgment rule based on the modification parameters.
[0145] Optionally, the splitting module is specifically used to obtain a splitting time parameter sent by a terminal device, and form a preset splitting rule according to the splitting time parameter; when it is determined that the duration of the currently executed video acquisition reaches the splitting time parameter, the currently acquired video data is split with the splitting time parameter as the time period, and the split video data is separately packaged and sent to the cloud server for storage.
[0146] Optionally, the splitting module is specifically used to obtain event judgment rules sent by the terminal device, and form preset splitting rules according to the event judgment rules; determine that the event of the currently executed video acquisition corresponds to the event type in the preset splitting rule, split the currently acquired video data according to different types of events, and package the split video data separately and send them to the cloud server for storage.
[0147] It should be noted that: the video dynamic acquisition device provided in the above embodiment only uses the division of the above program modules as an example to illustrate the process of controlling the monitoring module to switch between the sleep mode and the wake-up mode to intelligently collect event monitoring data. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the method steps described above. In addition, the video dynamic acquisition device provided in the above embodiment and the video dynamic acquisition method embodiment applied to the smart door lock side belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0148] See also Figure 8 On the other hand, an embodiment of the present application further provides an image acquisition device, including a controller 171, a memory 172, an image shooting module 173 and a communication module 174, wherein the image shooting module 173 is used to capture video, the communication module 174 is used to communicate data with a cloud service end and a trigger device, and the memory 172 stores a computer program, which, when executed by the controller 171, implements the video dynamic acquisition method described in any embodiment of the present application.
[0149] See also Fig. 9 , is an optional hardware structure block diagram of the image acquisition device provided in the embodiment of the present application. Fig. 9 As shown, the image acquisition device may have large differences due to different configurations or performances, and may include one or more processors 1110 (Processing Units, CPU) (the processor 1110 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1130 for storing data, and one or more storage media 1120 (such as one or more mass storage devices) for storing application programs 1123 or data 1122. Among them, the memory 1130 and the storage medium 1120 can be short-term storage or permanent storage. The program stored in the storage medium 1120 may include one or more modules, each of which may include a series of instruction operations in the scene control panel. Furthermore, the processor 1110 can be configured to communicate with the storage medium 1120 to execute a series of instruction operations in the storage medium 1120 on the smart device. The smart device may also include one or more power supplies 1160, one or more wired or wireless network interfaces 1150, one or more input and output interfaces 1140, and / or one or more operating systems 1121, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.
[0150] The input / output interface 1140 may be used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by a communication provider of the smart device. In one example, the input / output interface 1140 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the input / output interface 1140 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0151] It can be understood by those skilled in the art that Fig. 9 The structure shown is only for illustration and does not limit the structure of the above-mentioned image acquisition device. Fig. 9 More or fewer components as shown, or with Fig. 9 Different configurations shown.
[0152] On the other hand, an embodiment of the present application further provides a video dynamic acquisition system, including a trigger device and the image acquisition device described in the embodiment of the present application, wherein the trigger device is used to acquire event data and send the event data to the image acquisition device.
[0153] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned video dynamic acquisition method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0154] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A video dynamic acquisition method, applied to an image acquisition device, wherein the image acquisition device is a camera used for monitoring security, It is characterized in that include: When it is determined that a trigger event is received, video acquisition is started, and an acquisition termination time is determined according to the type of the trigger event; During the video acquisition process, when a new trigger event is received, the acquisition termination time is updated according to the type of the new trigger event, including: During the video acquisition process, when a new trigger event is received, the type of the new trigger event is determined according to the set event judgment rule; When the newly added trigger event is an event of the first category, the current collection termination time is increased by a first duration; when the newly added trigger event is an event of the second category, the current collection termination time is increased by a second duration; wherein the risk level of the first category event is higher than the risk level of the second category event, and the first duration is greater than the second duration; or, when the newly added trigger event is an event of the first concern level, the current collection termination time is increased by a first duration; when the newly added trigger event is an event of the second concern level, the current collection termination time is increased by a second duration; wherein the concern level of the first concern level event is higher than the concern level of the second concern level event, and the first duration is greater than the second duration.
2. The method according to claim 1, It is characterized in that In the video acquisition process, when a new trigger event is received, after updating the acquisition termination time according to the type of the new trigger event, the method further includes: When it is determined that the currently executed video acquisition satisfies the preset splitting rule, the currently acquired video data is split according to the preset splitting rule and sent to the cloud server for storage; When the acquisition end time arrives, the video acquisition is closed.
3. The method according to claim 1, It is characterized in that The determining that a trigger event is received comprises: Obtain the state change parameters of the target object detected by the door magnetic module; When it is determined according to the state change parameter that the target object undergoes a corresponding change, it is determined that a trigger event has been received; or, Obtain the environmental dynamic parameters detected by the detection module; When it is determined according to the environmental dynamic parameters that a preset human movement behavior exists, it is determined that a trigger event has been received.
4. The method according to claim 1, It is characterized in that Before determining the type of the newly added triggering event according to the set event judgment rule, the method further includes: Acquire the event attention level sent by the terminal device, and form an event judgment rule according to the event attention level; or, The modification parameters of the event attention level sent by the terminal device are obtained, and the current event judgment rules are updated according to the modification parameters.
5. The method according to claim 2, It is characterized in that Also includes: Acquire a splitting time parameter sent by the terminal device, and form a preset splitting rule according to the splitting time parameter; When it is determined that the currently executed video acquisition satisfies the preset splitting rule, the currently acquired video data is split according to the preset splitting rule and sent to the cloud server for storage, including: When it is determined that the duration of the currently executed video acquisition reaches the splitting time parameter, the currently acquired video data is split with the splitting time parameter as the time period, and the split video data are packaged and sent to the cloud server for storage.
6. The method according to claim 2, It is characterized in that Also includes: Acquire the event judgment rule sent by the terminal device, and form a preset splitting rule according to the event judgment rule; When it is determined that the currently executed video acquisition satisfies the preset splitting rule, the currently acquired video data is split according to the preset splitting rule and sent to the cloud server for storage, including: Determine the event type corresponding to the preset splitting rule of the currently executed video acquisition event, split the currently acquired video data according to different types of events, and package the split video data separately and send them to the cloud server for storage.
7. A video dynamic acquisition method, applied to an image acquisition system, It is characterized in that include: The trigger device collects event data and sends the event data to the image acquisition device; wherein the image acquisition device is a camera for monitoring security; When the image acquisition device determines that a trigger event has been received, video acquisition is started, and an acquisition termination time is determined according to the type of the trigger event; during the video acquisition process, when a new trigger event is received, the acquisition termination time is updated according to the type of the new trigger event; Wherein, in the video acquisition process, when a new trigger event is received, updating the acquisition termination time according to the type of the new trigger event includes: During the video acquisition process, when a new trigger event is received, the type of the new trigger event is determined according to the set event judgment rule; When the newly added trigger event is an event of the first category, the current collection termination time is increased by a first duration; when the newly added trigger event is an event of the second category, the current collection termination time is increased by a second duration; wherein the risk level of the first category event is higher than the risk level of the second category event, and the first duration is greater than the second duration; or, when the newly added trigger event is an event of the first concern level, the current collection termination time is increased by a first duration; when the newly added trigger event is an event of the second concern level, the current collection termination time is increased by a second duration; wherein the concern level of the first concern level event is higher than the concern level of the second concern level event, and the first duration is greater than the second duration.
8. The method according to claim 7, It is characterized in that When the image acquisition device determines that the currently executed video acquisition satisfies the preset splitting rule, the currently acquired video data is split according to the preset splitting rule and sent to the cloud server for storage; The cloud service end stores the split video data, forms a push message carrying the storage address of the video data and sends it to the terminal device; The image acquisition device turns off video acquisition when the acquisition termination time arrives.
9. The method according to claim 8, It is characterized in that Also includes: The terminal device obtains a video viewing instruction based on the push information, and sends the video viewing instruction to the cloud server; The terminal device obtains video data from the cloud server, and displays the video data according to the type of event corresponding to the video data.
10. The method according to claim 9, It is characterized in that The terminal device obtains the video data from the cloud server, and displays the video data according to the type of the event corresponding to the video data, including: The terminal device obtains video data from the cloud server; According to the type of event corresponding to the video data, the video data corresponding to events with different attention levels are displayed in different colors; or, according to the type of event corresponding to the video data, the video data corresponding to abnormal events are displayed with a designated mark.
11. A video dynamic acquisition device, applied to an image acquisition device, wherein the image acquisition device is a camera for monitoring security. It is characterized in that include: A starting module, used to start video acquisition when a trigger event is received, and determine the acquisition termination time according to the type of the trigger event; An adjustment module, used for updating the acquisition termination time according to the type of a new trigger event when a new trigger event is received during the video acquisition process; The adjustment module is specifically used to determine the type of a new trigger event according to a set event judgment rule when a new trigger event is received during the video acquisition process; When the newly added trigger event is an event of the first category, the current collection termination time is increased by a first duration; when the newly added trigger event is an event of the second category, the current collection termination time is increased by a second duration; wherein the risk level of the first category event is higher than the risk level of the second category event, and the first duration is greater than the second duration; or, when the newly added trigger event is an event of the first concern level, the current collection termination time is increased by a first duration; when the newly added trigger event is an event of the second concern level, the current collection termination time is increased by a second duration; wherein the concern level of the first concern level event is higher than the concern level of the second concern level event, and the first duration is greater than the second duration.
12. An image acquisition device, the image acquisition device being a camera for monitoring security, It is characterized in that It includes a controller, a memory, an image capture module and a communication module. The image capture module is used to collect video, and the communication module is used to communicate data with the cloud server and the trigger device. The memory stores a computer program, and when the computer program is executed by the controller, the video dynamic acquisition method according to any one of claims 1 to 6 is implemented.
13. A video dynamic acquisition system, It is characterized in that It comprises a trigger device and the image acquisition device as claimed in claim 12, wherein the trigger device is used to acquire event data and send the event data to the image acquisition device.
14. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the video dynamic acquisition method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Automatic video recording method, automatic video recording device and terminal
CN106792122A
Alarm method and system of monitoring equipment, monitoring equipment and cloud server
CN110298990A
Video playing method and device for spliced screen, computer equipment and medium
CN111541913A
Monitoring video multi-party application uploading method and system
CN111970488A
