Method and device for intercepting image data based on alarm time and computer equipment
By intercepting image data at alarm time in the security system, the problem of not being able to accurately capture alarm time points in the prior art is solved, the effectiveness and reliability of the system are improved, and the timely recording and analysis of abnormal situations are ensured.
Patent Information
- Application Number
- CN202411115541.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-12-06
AI Technical Summary
When existing security systems receive alarm signals, it is difficult to accurately capture pictures and videos of alarm time points or time periods, resulting in the inability to know and eliminate abnormal situations in a timely manner.
By acquiring the alarm signal, the alarm time is determined, and image data is intercepted and stored from the preset cache space based on this time, ensuring that videos or pictures at critical moments can be recorded and analyzed when an abnormality occurs.
It improves the effectiveness and reliability of the security system, ensures that abnormal situations can be recorded and analyzed in a timely manner when abnormal situations occur, and improves the understanding and handling ability of abnormal situations.
Smart Images

Figure CN119091568A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent security technology, and in particular to a method, device and computer equipment for intercepting image data based on alarm time. Background Art
[0002] Existing security systems usually trigger sound and light alarms when receiving alarm signals. However, for rapid abnormalities in many scenarios, simple sound and light alarms are difficult to provide sufficient evidence and detailed information. In addition, in some scenes with cameras, due to camera delays, it is impossible to accurately capture pictures and videos of the alarm time or time period, resulting in the inability to promptly know and eliminate abnormal situations.
[0003] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention
[0004] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a method, device and computer equipment for intercepting image data based on the alarm time are provided, aiming to solve the problem that the prior art cannot accurately capture pictures and videos of the alarm time point or time period, resulting in the inability to timely know and eliminate abnormal situations.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:
[0006] In a first aspect, the present invention provides a method for intercepting image data based on an alarm moment, wherein the method comprises:
[0007] Acquire an alarm signal, and determine an alarm time corresponding to the alarm signal based on the alarm signal;
[0008] Based on the alarm time, determining the capture time of the image data;
[0009] Based on the interception time, target image data is intercepted from the cache image data in the preset cache space.
[0010] In one implementation, the obtaining of the alarm signal and determining the alarm time corresponding to the alarm signal based on the alarm signal include:
[0011] Acquire a fire detector and monitor the sensor signal emitted by the fire detector in real time;
[0012] When it is obtained that the sensor signal sent by the fire detector is an alarm signal, the sending time of the alarm signal is obtained to obtain the alarm time.
[0013] In one implementation, the obtaining of the alarm signal, and determining the alarm time corresponding to the alarm signal based on the alarm signal, further includes:
[0014] Associating a monitoring device with a fire detector in advance, wherein the monitoring device is a camera;
[0015] The monitoring device is controlled to report image data in real time, and the image data is cached according to a preset fixed cache time.
[0016] In one implementation, determining the capture time of the image data based on the alarm time includes:
[0017] Acquire a correction time, where the correction time is used to determine a time to start capturing image data;
[0018] The interception time is determined based on the alarm time and the correction time.
[0019] In one implementation, the intercepting target image data from cached image data in a preset cache space based on the interception time includes:
[0020] Based on the alarm time, locating and intercepting a position from the cached image data in the preset cache space;
[0021] Based on the interception position, target image data is intercepted from the cache image data in the preset cache space.
[0022] In one implementation, the method further includes:
[0023] After the target image data is intercepted, the target image data is stored based on the file storage service and the storage address is returned.
[0024] In one implementation, the method further includes:
[0025] Based on the storage address, the target image data is retrieved, and the target image data is queried, played back and analyzed through a management interface.
[0026] In a second aspect, an embodiment of the present invention further provides a device for capturing image data based on an alarm moment, wherein the device comprises:
[0027] An alarm time determination module, used to obtain an alarm signal and determine the alarm time corresponding to the alarm signal based on the alarm signal;
[0028] A capture time determination module, used to determine the capture time of the image data based on the alarm time;
[0029] The image data interception module is used to intercept target image data from the cached image data in the preset cache space based on the interception time.
[0030] In one implementation, the alarm time determination module includes:
[0031] A sensor signal monitoring unit, used to obtain a fire detector and monitor the sensor signal emitted by the fire detector in real time;
[0032] The alarm time acquisition unit is used to acquire the time when the sensor signal emitted by the fire detector is an alarm signal, so as to obtain the alarm time.
[0033] In one implementation, the device includes:
[0034] A device association unit, used to pre-associate a monitoring device with a fire detector, wherein the monitoring device is a camera;
[0035] The image data cache unit is used to control the monitoring device to report the image data in real time and cache the image data according to a preset fixed cache time.
[0036] In one implementation, the interception time determination module includes:
[0037] A correction time acquisition unit, used to acquire the correction time, wherein the correction time is used to determine the time to start capturing the image data;
[0038] The interception time analysis unit is used to determine the interception time based on the alarm time and the correction time.
[0039] In one implementation, the image data interception module includes:
[0040] A capture position determination unit, configured to locate a capture position from the cached image data in the preset cache space based on the alarm time;
[0041] The data interception execution unit is used to intercept the target image data from the cache image data in the preset cache space based on the interception position.
[0042] In one implementation, the device further includes:
[0043] The data storage unit is used to store the target image data based on the file storage service after intercepting the target image data, and return the storage address.
[0044] In one implementation, the device further includes:
[0045] The data retrieval unit is used to retrieve the target image data based on the storage address, and query, replay and analyze the target image data through a management interface.
[0046] In a third aspect, an embodiment of the present invention further provides a computer device, wherein the computer device includes a memory, a processor, and a program for intercepting image data based on the alarm moment, which is stored in the memory and can be run on the processor. When the processor executes the program for intercepting image data based on the alarm moment, the steps of the method for intercepting image data based on the alarm moment of any one of the above-mentioned schemes are implemented.
[0047] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a program for intercepting image data based on the alarm moment is stored on the computer-readable storage medium, and when the program for intercepting image data based on the alarm moment is executed by a processor, the steps of the method for intercepting image data based on the alarm moment described in any one of the above-mentioned schemes are implemented.
[0048] Beneficial effects: Compared with the prior art, the present invention provides a method for intercepting image data based on the alarm time, the method comprising: obtaining an alarm signal, determining the alarm time corresponding to the alarm signal based on the alarm signal; determining the image data interception time based on the alarm time; intercepting target image data from the cached image data in the preset cache space based on the interception time. The present invention can automatically intercept image data according to the alarm time, so as to better record and analyze abnormal situations and improve the effectiveness and reliability of the security system. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A schematic diagram of an application scenario of a method for capturing image data based on an alarm moment provided in an embodiment of the present invention.
[0050] Figure 2 A flowchart diagram of a preferred embodiment of a method for capturing image data based on an alarm moment provided by an embodiment of the present invention.
[0051] Figure 3 A security architecture diagram of a method for capturing image data at the moment of an alarm provided in an embodiment of the present invention.
[0052] Figure 4 A signal flow chart of a method for capturing image data based on an alarm moment provided by an embodiment of the present invention.
[0053] Figure 5 A schematic diagram of the architecture of a device for capturing image data based on an alarm moment provided by an embodiment of the present invention.
[0054] Figure 6 A functional block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0056] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations or steps, nor must they be executed in the order described. For example, some operations or steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0057] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0058] It should be understood that, in order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish between identical or similar items with substantially identical functions and effects. For example, the first control information and the second control information are only used to distinguish different control information, and their order is not limited.
[0059] Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not necessarily limit the differences.
[0060] It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0061] In order to solve the problems of the prior art, the present embodiment provides a method for intercepting image data based on the alarm time. In specific application, the present embodiment obtains an alarm signal, determines the alarm time corresponding to the alarm signal based on the alarm signal; determines the image data interception time based on the alarm time; and intercepts the target image data from the cached image data in the preset cache space based on the interception time. The present invention can automatically intercept image data according to the alarm time, so as to better record and analyze abnormal situations and improve the effectiveness and reliability of the security system.
[0062] The method of capturing image data based on the alarm time in this embodiment can be applied to Figure 1In the application environment shown in the figure, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers; the method for intercepting image data based on the alarm moment can be executed by the terminal 102 or the server 104, or can be executed by the terminal 102 and the server 104 in collaboration.
[0063] The terminal 102 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, an IoT device, and a portable wearable device. The IoT device may be a smart speaker, a smart TV, a smart air conditioner, and a smart vehicle-mounted device, etc. The portable wearable device may be a smart watch, a smart bracelet, a head-mounted device, etc.
[0064] The server 104 may be an independent physical server or a service node in a blockchain system, where each service node in the blockchain system forms a peer-to-peer network.
[0065] In addition, server 104 can also be a server cluster composed of multiple physical servers, and can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms.
[0066] The terminal 102 and the server 104 may be connected via Bluetooth, USB (Universal Serial Bus) or a network or other communication connection method, and this application does not impose any limitation thereto.
[0067] In some embodiments, Figure 2 As shown, a method for intercepting image data based on the alarm time is provided. Figure 1 The server or terminal in the Figure 1 The server and terminal in the method are executed in cooperation with each other. Figure 1 The server execution in is taken as an example to illustrate, including the following steps:
[0068] Step S100: Acquire an alarm signal, and determine an alarm time corresponding to the alarm signal based on the alarm signal.
[0069] In this embodiment, the alarm signal is a signal sent by a fire detector in the security system. When the fire detector detects a fire, the alarm signal may be sent. At this time, when the alarm signal is received, the alarm time may be further determined.
[0070] In one implementation, the method for determining the alarm time in this embodiment includes the following steps:
[0071] Step S101, obtaining a fire detector, and monitoring the sensor signal emitted by the fire detector in real time;
[0072] Step S102: When it is obtained that the sensor signal emitted by the fire detector is an alarm signal, the emission time of the alarm signal is obtained to obtain the alarm time.
[0073] In practical applications, when deploying security, this embodiment will associate the monitoring equipment with the fire detector to achieve the following: Figure 3 In the security architecture shown in , the monitoring device in this embodiment is a camera, and the camera and the fire detector can exchange information based on their respective services. In addition, this embodiment controls the monitoring device to report image data in real time, and based on the preset file storage service, caches the image data according to the preset cache fixed time. In other implementations, the fire detector can be replaced with other sensors, such as a temperature sensor or a smoke sensor, etc., which is not limited in this embodiment.
[0074] based on Figure 3 In the security architecture deployed in the embodiment, the fire detector can be obtained in real time, and the sensor signal emitted by the fire detector can be monitored in real time. The purpose of monitoring the sensor signal is to timely discover the alarm signal. When the sensor signal emitted by the fire detector is obtained as an alarm signal, the time when the alarm signal is emitted is obtained, and the alarm time is obtained. At this time, the alarm time is determined to be the time when the alarm signal is emitted.
[0075] Combination Figure 4 As can be seen from the signal flow chart, the camera of this embodiment will upload the video stream to service 2 in real time, and cache it for a fixed time to obtain video information. When the fire detector detects a fire, it sends an alarm signal to service 1 to determine the alarm time, and then service 1 pushes the fire message to service 2 so that image data can be captured in time in the subsequent steps.
[0076] Step S200: Determine the time for capturing the image data based on the alarm time.
[0077] After determining the alarm time, this embodiment can determine the capture time of the image data. The capture time is the range of the video or picture that needs to be captured. The capture should start from the alarm time and stop after the fire ends, which makes it easier to analyze the specific situation of the fire.
[0078] In one implementation, this embodiment includes the following steps when determining the interception time:
[0079] Step S201, obtaining a correction time, wherein the correction time is used to determine a time to start capturing image data;
[0080] Step S202: Determine the interception time based on the alarm time and the correction time.
[0081] Specifically, the present embodiment first obtains the correction time, which can be used to determine the moment to start intercepting the image data. The alarm moment is a time point, so the interception moment can be obtained based on the alarm moment and the correction time. For this reason, the correction time of the present embodiment can also be a time interval, which can be based on the interval of the alarm moment, that is, the alarm moment is within the correction time. The correction time is to move forward a certain length of time from the alarm moment, so as to facilitate the determination of the moment when the image data is actually intercepted. Based on this, the present embodiment can start intercepting the image data from before the alarm moment, so as to obtain more complete image data, and it is also convenient to analyze the cause of the fire and the details of the fire.
[0082] In other implementations, the correction time of this embodiment can be a duration, which can be the estimated duration of the fire. In this way, the alarm time plus the correction time can be used to obtain the time from which the image data is intercepted and the specific duration that needs to be intercepted. In other implementations, during actual analysis, this embodiment can also analyze the severity of the fire based on the actual situation of the on-site fire monitored by the monitoring equipment, and determine the fire hazard level, and then estimate the duration of the fire based on the determined hazard level, and then use the duration as a consideration for the interception time, so that the target image data intercepted in the subsequent steps can include the entire fire process.
[0083] Step S300: based on the interception time, intercept the target image data from the cache image data in the preset cache space.
[0084] After the interception time is determined, the present embodiment can intercept the target image data from the cached image data in the preset cache space. The intercepted target image data is a video or picture that meets the requirements. The target image data can reflect the entire disaster scenario, which is convenient for the subsequent analysis of the cause of the disaster and the arrangement of response measures.
[0085] In one implementation, this embodiment includes the following steps when intercepting target image data:
[0086] Step S301, based on the alarm time, locating and intercepting a position from the cached image data in the preset cache space;
[0087] Step S302: based on the interception position, intercept the target image data from the cache image data in the preset cache space.
[0088] Specifically, this embodiment can obtain cached image data from the preset cache space, then match the alarm time with the cached image data, locate the position of the alarm time in the cached image data, that is, locate the interception position of the image data, and then, based on the interception position, intercept the target image data from the cached image data. Figure 4 As shown, after the target image data (i.e., video or picture) is intercepted, the target image data is stored based on the file storage service, and the storage address is returned. In actual applications, the interception of image data does not conflict with the real-time monitoring of fire conditions and the process of reporting image data by the monitoring device. This embodiment can perform the interception operation in real time after locating the interception position, and can perform the interception operation synchronously during the process of uploading image data by the monitoring device, so as to obtain the target image data in time. In other implementations, this embodiment can also retrieve the target image data based on the storage address, and query, replay and analyze the target image data through the management interface.
[0089] In summary, the present embodiment first obtains an alarm signal, and determines the alarm time corresponding to the alarm signal based on the alarm signal. Then, based on the alarm time, determines the time to capture the image data. Finally, based on the capture time, the target image data is captured from the cached image data in the preset cache space. The present invention can automatically capture image data according to the alarm time, so as to better record and analyze abnormal situations and improve the effectiveness and reliability of the security system.
[0090] Based on the above embodiments, the present invention also provides a device for capturing image data based on the alarm time, such as Figure 5 As shown in , the device includes: an alarm time determination module 10, an alarm time determination module 20 and an image data interception module 30. Specifically, the alarm time determination module 10 is used to obtain an alarm signal and determine the alarm time corresponding to the alarm signal based on the alarm signal. The alarm time determination module 20 is used to determine the interception time of the image data based on the alarm time. The image data interception module 30 is used to intercept the target image data from the cached image data in the preset cache space based on the interception time.
[0091] In one implementation, the alarm time determination module includes:
[0092] A sensor signal monitoring unit, used to obtain a fire detector and monitor the sensor signal emitted by the fire detector in real time;
[0093] The alarm time acquisition unit is used to acquire the time when the sensor signal emitted by the fire detector is an alarm signal, so as to obtain the alarm time.
[0094] In one implementation, the device includes:
[0095] A device association unit, used to pre-associate a monitoring device with a fire detector, wherein the monitoring device is a camera;
[0096] The image data cache unit is used to control the monitoring device to report the image data in real time and cache the image data according to a preset fixed cache time.
[0097] In one implementation, the interception time determination module includes:
[0098] A correction time acquisition unit, used to acquire the correction time, wherein the correction time is used to determine the time to start capturing the image data;
[0099] The interception time analysis unit is used to determine the interception time based on the alarm time and the correction time.
[0100] In one implementation, the image data interception module includes:
[0101] A capture position determination unit, configured to locate a capture position from the cached image data in the preset cache space based on the alarm time;
[0102] The data interception execution unit is used to intercept the target image data from the cache image data in the preset cache space based on the interception position.
[0103] In one implementation, the device further includes:
[0104] The data storage unit is used to store the target image data based on the file storage service after intercepting the target image data, and return the storage address.
[0105] In one implementation, the device further includes:
[0106] The data retrieval unit is used to retrieve the target image data based on the storage address, and query, replay and analyze the target image data through a management interface.
[0107] The working principles of each module in the device for capturing image data based on the alarm moment in this embodiment are the same as the principles of each step in the above method embodiment, and will not be repeated here.
[0108] Each module in the above-mentioned device for capturing image data based on alarm moment can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0109] In some embodiments, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for intercepting image data based on the alarm moment is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.
[0110] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0111] In some embodiments, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0112] Acquire service demand information, determine service scenario information based on the service demand information, and determine a target device matching the service scenario information based on the service scenario information;
[0113] Acquire historical usage scenarios and historical interaction processes of the target device, and obtain resource scheduling prediction information of the target device based on the historical usage scenarios and the historical interaction processes;
[0114] The target hardware resources corresponding to the resource scheduling prediction information are called based on the scheduling module.
[0115] It should be noted that the user information (including but not limited to user device function information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0116] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0117] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0118] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for capturing image data based on alarm time, characterized in that: The method comprises: Acquire an alarm signal, and determine an alarm time corresponding to the alarm signal based on the alarm signal; Based on the alarm time, determining the capture time of the image data; Based on the interception time, target image data is intercepted from the cache image data in the preset cache space.
2. The method for capturing image data based on alarm time according to claim 1, characterized in that: The obtaining of the alarm signal and determining the alarm time corresponding to the alarm signal based on the alarm signal include: Acquire a fire detector and monitor the sensor signal emitted by the fire detector in real time; When it is obtained that the sensor signal sent by the fire detector is an alarm signal, the sending time of the alarm signal is obtained to obtain the alarm time.
3. The method for capturing image data based on alarm time according to claim 2, characterized in that: The obtaining of the alarm signal and determining the alarm time corresponding to the alarm signal based on the alarm signal further comprises: Associating a monitoring device with a fire detector in advance, wherein the monitoring device is a camera; The monitoring device is controlled to report image data in real time, and the image data is cached according to a preset fixed cache time.
4. The method for capturing image data based on alarm time according to claim 1, characterized in that: The step of determining the capture time of the image data based on the alarm time includes: Acquire a correction time, where the correction time is used to determine a time to start capturing image data; The interception time is determined based on the alarm time and the correction time.
5. The method for capturing image data based on alarm time according to claim 1, characterized in that: The method of intercepting target image data from cached image data in a preset cache space based on the interception time includes: Based on the alarm time, locating and intercepting a position from the cached image data in the preset cache space; Based on the interception position, target image data is intercepted from the cache image data in the preset cache space.
6. The method for capturing image data based on alarm time according to claim 1, characterized in that: The method further comprises: After the target image data is intercepted, the target image data is stored based on the file storage service and the storage address is returned.
7. The method for capturing image data based on alarm time according to claim 6, characterized in that: The method further comprises: Based on the storage address, the target image data is retrieved, and the target image data is queried, played back and analyzed through a management interface.
8. A device for capturing image data based on alarm time, characterized in that: The device comprises: An alarm time determination module, used to obtain an alarm signal and determine the alarm time corresponding to the alarm signal based on the alarm signal; An interception time determination module, used to determine the interception time of the image data based on the alarm time; The image data interception module is used to intercept target image data from the cached image data in the preset cache space based on the interception time.
9. A computer device, characterized in that: The computer device includes a memory, a processor, and a program for intercepting image data based on the alarm moment that is stored in the memory and can be run on the processor. When the processor executes the program for intercepting image data based on the alarm moment, the steps of the method for intercepting image data based on the alarm moment as described in any one of claims 1-7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for intercepting image data based on the alarm moment. When the program for intercepting image data based on the alarm moment is executed by the processor, the steps of the method for intercepting image data based on the alarm moment as described in any one of claims 1-7 are implemented.
