CN112365904B - Method, device, equipment and medium for prolonging storage time of alarm video - Google Patents

Method, device, equipment and medium for prolonging storage time of alarm video Download PDF

Info

Publication number
CN112365904B
CN112365904B CN202011278552.0A CN202011278552A CN112365904B CN 112365904 B CN112365904 B CN 112365904B CN 202011278552 A CN202011278552 A CN 202011278552A CN 112365904 B CN112365904 B CN 112365904B
Authority
CN
China
Prior art keywords
video
mark
coverage
storage
alarm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011278552.0A
Other languages
Chinese (zh)
Other versions
CN112365904A (en
Inventor
杨金河
梁选勤
黎富有
朱贝
林耿宇
张海旺
姚志兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tianshitong Technology Co Ltd
Original Assignee
Shenzhen Tianshitong Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tianshitong Technology Co Ltd filed Critical Shenzhen Tianshitong Technology Co Ltd
Priority to CN202011278552.0A priority Critical patent/CN112365904B/en
Publication of CN112365904A publication Critical patent/CN112365904A/en
Application granted granted Critical
Publication of CN112365904B publication Critical patent/CN112365904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording

Abstract

The invention discloses a method, a device, equipment and a medium for prolonging storage time of an alarm video. The method comprises the following steps: acquiring a second video to be stored; detecting an overlay mark of the stored first video; if the coverage mark of the first video is a second mark, the second video is stored in the storage position of the first video in a coverage mode; and if the coverage mark of the first video is the first mark, modifying the coverage mark of the first video into a second mark, continuously detecting the coverage mark of the stored next video until the video with the coverage mark as the second mark is detected, and storing the second video in a storage position of the video in a coverage manner. By the method, the storage time of the alarm video can be prolonged under the condition of not increasing the storage capacity, the extraction of the alarm video is facilitated, and the method has good utilization value in the fields of security protection, monitoring and the like.

Description

Method, device, equipment and medium for prolonging storage time of alarm video
Technical Field
The invention relates to the technical field of video storage, in particular to a method, a device, equipment and a medium for prolonging storage time of an alarm video.
Background
In the network video recorder, in order to ensure that the influence on the system performance is minimum when the video is stored as far as possible, the common video storage is stored in a multi-channel sequential mode, the video is directly covered according to the sequence when being covered, so that the storage time of the alarm video is not long enough, and when the alarm video needs to be extracted to be analyzed, the alarm video can be covered and cannot be extracted.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a method, a device, equipment and a medium for prolonging the storage time of an alarm video, which can prolong the storage time of the alarm video.
According to the first aspect of the invention, the method for prolonging the storage time of the alarm video comprises the following steps:
acquiring a second video to be stored;
detecting an overlay mark of the stored first video;
if the coverage mark of the first video is a second mark, the second video is stored in the storage position of the first video in a coverage mode;
and if the coverage mark of the first video is the first mark, modifying the coverage mark of the first video into a second mark, continuously detecting the coverage mark of the stored next video until the video with the coverage mark as the second mark is detected, and storing the second video in a storage position of the video in a coverage manner.
The method for prolonging the storage time of the alarm video according to the embodiment of the invention at least has the following beneficial effects:
the embodiment of the invention detects the coverage mark of the stored first video by acquiring the second video to be stored, wherein the first video is stored before the second video is acquired. If the covering mark of the first video is a second mark, directly covering and storing the second video to the storage position of the first video; and if the covering mark of the first video is the first mark, modifying the covering mark of the first video into a second mark, continuously detecting the covering mark of the stored next video until the video with the covering mark as the second mark is detected, and covering and storing the second video to the storage position of the video. According to the embodiment of the invention, the covering mark of the stored video is detected by the method, the stored video is directly covered if the video is a common video, and the stored video is temporarily not covered if the video is an alarm video, so that the storage time of the alarm video can be prolonged under the condition of not increasing the storage capacity, the extraction of the alarm video is facilitated, and the method has good utilization value in the fields of security protection, monitoring and the like.
According to some embodiments of the present invention, before the obtaining the second video to be stored, further comprises:
acquiring the first video;
judging whether the first video is an alarm video;
if the first video is an alarm video, setting the video type of the first video as the alarm video, and setting the coverage mark as a first mark; otherwise, setting the video type of the first video as a common video, and setting the coverage mark as a second mark;
and storing the first video.
According to some embodiments of the invention, before detecting the overlay mark of the stored first video, the method further comprises:
detecting whether the storage mode of the storage position of the first video is coverage storage;
if the video is the overlay storage, detecting an overlay mark of the stored first video; otherwise, directly storing the second video.
According to some embodiments of the invention, the first label is FALSE and the second label is TRUE.
According to a second aspect of the invention, an apparatus for prolonging storage time of an alarm video record comprises:
the first acquisition module is used for acquiring a second video to be stored;
the detection module is used for detecting the coverage mark of the stored first video;
the first storage module is used for storing the second video to the storage position of the first video in a covering manner if the covering mark of the first video is a second mark;
and the second storage module is used for modifying the coverage mark of the first video into a second mark if the coverage mark of the first video is a first mark, continuously detecting the coverage mark of the stored next video until the video with the coverage mark as the second mark is detected, and storing the second video in a storage position of the video in a coverage manner.
According to some embodiments of the invention, the apparatus for extending the storage time of the alarm video further comprises:
the second acquisition module is used for acquiring the first video;
the first judgment module is used for judging whether the first video is an alarm video;
the setting module is used for setting the video type of the first video as the alarm video and setting the coverage mark as the first mark if the first video is the alarm video; otherwise, setting the video type of the first video as a common video, and setting the coverage mark as a second mark;
and the third storage module is used for storing the first video.
According to some embodiments of the invention, the apparatus for extending the storage time of the alarm video further comprises:
the second judgment module is used for judging whether the storage mode of the storage position of the first video is coverage storage or not;
if the first video is the overlay storage, the detection module is used for detecting an overlay mark of the stored first video; otherwise, the first storage module is used for directly storing the second video.
According to some embodiments of the invention, the first label is FALSE and the second label is TRUE.
An electronic device according to an embodiment of the third aspect of the present invention is characterized by including:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform:
the method of extending the storage time of an alarm recording according to the first aspect.
A computer-readable storage medium according to a fourth aspect embodiment of the present invention, the computer-readable storage medium storing computer-executable instructions for causing a computer to perform:
the method of extending the storage time of an alarm recording according to the first aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The invention is further described with reference to the following figures and examples, in which:
FIG. 1 is a flowchart illustrating a method for extending storage time of an alarm video according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for extending storage time of an alarm video according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for extending storage time of an alarm video according to another embodiment of the present invention;
FIG. 4 is a diagram illustrating an application scenario of a method for extending storage time of an alarm video according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an application scenario of a method for extending storage time of an alarm video according to another embodiment of the present invention;
FIG. 6 is a diagram illustrating a hard disk according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a hard disk according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a hard disk according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating a hard disk according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hard disk according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it should be understood that the orientation or positional relationship referred to in the description of the orientation, such as the upper, lower, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality is one or more, the meaning of a plurality is two or more, and the above, below, exceeding, etc. are understood as excluding the present numbers, and the above, below, within, etc. are understood as including the present numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
In the description of the present invention, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the network video recorder, in order to ensure the minimum influence on the system performance when the video is stored as far as possible, the common video storage is stored in a multi-channel sequential mode, the video is directly covered in sequence when the video is covered, and the condition that the type of the video to be covered is not considered, so that the storage time of the alarm video is consistent with that of the common video, and the alarm video cannot be delayed. When the alarm record needs to be extracted and analyzed, the alarm record may be covered and cannot be extracted.
In the related art, the scheme adopted for solving the problems is to write videos of different video types into different partitions or hard disks when the network video recorder stores the videos, so that the storage time of the common videos and the alarm videos is inconsistent. However, there are two disadvantages, on one hand, for a single hard disk, different videos are stored in different areas, so that the magnetic head of the hard disk is not shifted during recording, thereby affecting the system performance. For example, when only one hard disk is available on the system, different areas can be set for storing different videos, similar to windows, the videos are divided into a C disk and a D disk, then a common video is written into the C disk, and an alarm video is written into the D disk. Two positions on a physical magnetic track of the hard disk may not be continuous, when data is written to a C disk, a magnetic head of the hard disk needs to be shifted to the position of the C disk, and when the data is written to a D disk, the magnetic head needs to be shifted to the position of the D disk, so that the magnetic head continuously shifts on a magnetic sheet, the service life of the hard disk is influenced, and the power consumption of a system is increased. On the other hand, if different videos are stored through different hard disks, a plurality of hard disks need to be started simultaneously when the system runs, and the power consumption of the system is increased; and simultaneously, the bandwidth of the system bus is influenced by writing in a plurality of hard disks.
Based on the above, embodiments of the present invention provide a method, an apparatus, a device, and a medium for prolonging storage time of an alarm video, which can prolong storage time of the alarm video without increasing storage capacity, facilitate extraction of the alarm video, and have a good utilization value in the fields of security, monitoring, and the like.
In a first aspect, as shown in fig. 1, the present invention provides a method for prolonging storage time of an alarm video, including:
step S110: acquiring a second video to be stored;
step S120: detecting an overlay mark of the stored first video;
step S130: if the covering mark of the first video is a second mark, covering and storing the second video to the storage position of the first video;
step S140: and if the covering mark of the first video is the first mark, modifying the covering mark of the first video into a second mark, continuously detecting the covering mark of the stored next video until the video with the covering mark as the second mark is detected, and covering and storing the second video to the storage position of the video.
In some embodiments, in the method for prolonging storage time of an alarm video, an override flag of a stored first video is detected by acquiring a second video to be stored, where the first video is stored before acquiring the second video. If the covering mark of the first video is a second mark, directly covering and storing the second video to the storage position of the first video; and if the covering mark of the first video is the first mark, modifying the covering mark of the first video into a second mark, continuously detecting the covering mark of the stored next video until the video with the covering mark as the second mark is detected, and covering and storing the second video to the storage position of the video. According to the embodiment of the invention, the covering mark of the stored video is detected by the method, the stored video is directly covered if the video is a common video, and the stored video is temporarily not covered if the video is an alarm video, so that the storage time of the alarm video can be prolonged under the condition of not increasing the storage capacity, the extraction of the alarm video is facilitated, and the method has good utilization value in the fields of security protection, monitoring and the like. In some embodiments, the above method is applicable to a situation where the storage space is full. If the storage space is sufficient, it is preferred to store the complete recordings as far as possible, again in order, regardless of the coverage.
In some embodiments, the first flag is FALSE, which is used to flag alarm recording for temporary non-coverage. The second mark is TRUE, is used for marking the ordinary video and can be directly covered.
In some embodiments, as shown in fig. 2, before the step S100 obtains the second video to be stored, the method further includes:
step S210: acquiring a first video;
step S220: judging whether the first video is an alarm video; if the first video is the alarm video, executing step S230; otherwise, go to step S240;
step S230: setting the video type of the first video as an alarm video, and setting the coverage mark as a first mark;
step S240: setting the video type of the first video as a common video, and setting the coverage mark as a second mark;
step S250: the first video is stored.
In some embodiments, the storing of the first video is: and acquiring a first video and judging whether the first video is an alarm video. If the first video is the alarm video, setting the video type of the first video as the alarm video, and setting the coverage mark as a first mark FALSE; otherwise, the video type of the first video is set as a common video, and the coverage flag is set as a second flag TRUE. Subsequently, the first video is stored.
In some embodiments, as shown in fig. 3, before detecting the overlay mark of the stored first video record in step S120, the method further includes:
step S310: judging whether the storage mode of the storage position of the first video is coverage storage or not; if the storage is the overlay storage, executing step S120; otherwise, go to step S320;
step S120: detecting an overlay mark of the stored first video;
step S320: the second video is directly stored.
In some embodiments, before detecting the overlay mark of the stored first video, it is further detected whether the storage mode of the storage location of the first video is overlay storage, i.e. whether overlay storage is allowed. If the storage is allowed to be covered, detecting the covering mark of the stored first video; if the covering storage is not allowed, the second video is directly stored without considering the difference between the alarm video and the common video, namely the second video is sequentially stored in sequence.
In some embodiments, the method for prolonging the storage time of the alarm video recording provided by the embodiment of the invention can be applied to a network video recorder. In practical application, as shown in fig. 4, the front-end network camera collects images to encode, identifies the images, triggers corresponding alarm, and sends the images and the alarm information to the network video recorder through the network. Specifically, the network camera can recognize human face features or a license plate and the like through an algorithm to trigger an alarm, and then sends the alarm to the network camera through a network protocol. The network video recorder receives the image and the alarm information sent by the network video camera through a UDP/TCP network protocol, combines and marks the image and the alarm information, stores the combined and marked image and alarm information as a data structure to a hard disk (the hard disk can be built in the network video recorder or can be an independent memory), and forms a first video. If the corresponding flag bit is judged, whether the video is an alarm video can be judged. It can be understood that the network video recorder may also obtain the first video in other manners, which is not limited in this embodiment of the present invention.
If the network video recorder judges that the first video is the alarm video, setting the video type of the first video as the alarm video, and setting the coverage mark as a first mark FALSE; otherwise, the video type of the first video is set as a common video, and the coverage flag is set as a second flag TRUE. Subsequently, the first video is stored.
The front-end network camera continuously collects images and sends the images to the network video recorder, and the network video recorder obtains a second video to be stored. And then detecting whether the storage mode of a hard disk for storing the first video is overlay storage, if so, detecting an overlay mark of the stored first video, and otherwise, directly storing the second video.
If the coverage mark of the first video is a second mark TRUE, which indicates that the first video is a common video and can be directly covered, the second video is stored in the storage position of the first video in a coverage manner; if the covering mark of the first video is a first mark FALSE, the first video is indicated as the alarm video, and the first video is not covered for the time of prolonging the storage time of the alarm video. Meanwhile, in order to avoid that the first video always occupies a storage space, only the first video is selected to be uncovered, and the first video is still covered next time, so that the covering mark of the first video needs to be modified into the second mark TRUE, and the first video can be covered after a new video is acquired next time. And after the coverage mark of the first video is changed into a second mark TRUE, continuously detecting the coverage mark of the stored video behind the first video until the common video with the coverage mark as the second mark TRUE is detected, and storing the second video in a storage position of the common video in a coverage manner. It will be appreciated that if no other video is following the first video, the second video is stored directly. By the method, the storage time of the stored alarm video can be prolonged, the alarm video can be extracted, and the method has good utilization value in the fields of security protection, monitoring and the like.
In some embodiments, as shown in fig. 5, if there are multiple network cameras, a switch is further required to be disposed between the network camera and the network video recorder, and the switch is configured to aggregate the code streams of the multiple network cameras to the network video recorder.
The method of the embodiment of the present invention is described below with a specific application example. It should be noted that the following percentages refer to the percentage of the storage space of the hard disk.
As shown in fig. 6, 75% of the normal videos are written into the hard disk for the first time, and the coverage flag is TRUE.
As shown in FIG. 7, since the hard disk is not yet full, 25% of the alarm recordings are written in sequence, and the override flag is FALSE. At this point the hard disk is full.
As shown in fig. 8, the hard disk receives 40% of the normal video, and the hard disk is full and needs to be overwritten to store the video. At this time, if the coverage flag TRUE of 75% of the normal videos in fig. 6 is detected, 40% of the normal videos are stored in the storage location of 75% of the normal videos in a coverage manner. At this point, 35% of the 75% of the normal recordings in fig. 6 remain.
As shown in fig. 9, the hard disk receives 45% of the alarm video to be stored, and now covers the remaining 35% of the normal video in fig. 6, and covers 10% of the 40% of the normal video written in fig. 8. Now that 10% has been written for the third round, the remaining 30% of the normal recording written in fig. 8.
As shown in fig. 10, the hard disk receives 40% of the normal videos again, and the remaining 30% of the 40% of the normal videos written in fig. 8 are all covered, and at the same time, 10% of the 25% of the alarm videos written in fig. 7 are covered. The 25% alarm recording written in fig. 7 now remains 15%.
Subsequent recordings will be written into the remaining 15% of the alarm recordings of fig. 7, and so on.
In a second aspect, the present invention provides an apparatus for prolonging storage time of an alarm video, comprising:
the first acquisition module is used for acquiring a second video to be stored;
the detection module is used for detecting the coverage mark of the stored first video;
the first storage module is used for covering and storing the second video to the storage position of the first video if the covering mark of the first video is the second mark;
and the second storage module is used for modifying the covering mark of the first video into a second mark if the covering mark of the first video is the first mark, continuously detecting the covering mark of the stored next video until the video with the covering mark as the second mark is detected, and covering and storing the second video to the storage position of the video.
In some embodiments, please refer to the related description of the first aspect for the working process of the apparatus for prolonging the storage time of the alarm video, which is not described herein again.
In some embodiments, the means for extending the storage time of the alarm footage further comprises:
the second acquisition module is used for acquiring the first video;
the first judgment module is used for judging whether the first video is an alarm video;
the setting module is used for setting the video type of the first video as the alarm video and setting the coverage mark as the first mark if the first video is the alarm video; otherwise, the video type of the first video is set as a common video, and the coverage mark is set as a second mark;
and the third storage module is used for storing the first video.
In some embodiments, the means for extending the storage time of the alarm footage further comprises:
the second judgment module is used for judging whether the storage mode of the storage position of the first video is coverage storage or not;
if the first video is the overlay storage, the detection module is used for detecting an overlay mark of the stored first video; otherwise, the first storage module is used for directly storing the second video.
In some embodiments, the first label is FALSE and the second label is TRUE.
In a third aspect, the present invention provides an electronic device, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform:
the method of extending the storage time of an alarm recording according to the first aspect.
In some embodiments, the electronic device may be a mobile terminal device or a non-mobile terminal device. The mobile terminal equipment can be a mobile phone, a tablet computer, a notebook computer, a palm computer, vehicle-mounted terminal equipment, wearable equipment, a super mobile personal computer, a netbook, a personal digital assistant and the like; the non-mobile terminal equipment can be a personal computer, a television, a teller machine or a self-service machine and the like; the embodiments of the present invention are not particularly limited.
In some embodiments, the electronic device is a network video recorder. For the working process of the method for prolonging the storage time of the alarm video by the processor of the network video recorder, please refer to the related description of the first aspect, which is not described herein again.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform:
the method of extending the storage time of an alarm recording according to the first aspect.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

Claims (10)

1. A method for prolonging storage time of an alarm video is characterized by comprising the following steps:
acquiring a second video to be stored;
detecting an overlay mark of the stored first video;
if the coverage mark of the first video is a second mark, the second video is stored in the storage position of the first video in a coverage mode;
and if the coverage mark of the first video is the first mark, modifying the coverage mark of the first video into a second mark, continuously detecting the coverage mark of the stored next video until the video with the coverage mark as the second mark is detected, and storing the second video in a storage position of the video in a coverage manner.
2. The method of claim 1, wherein prior to obtaining the second video to be stored, further comprising:
acquiring the first video;
judging whether the first video is an alarm video;
if the first video is an alarm video, setting the video type of the first video as the alarm video, and setting the coverage mark as a first mark; otherwise, setting the video type of the first video as a common video, and setting the coverage mark as a second mark;
and storing the first video.
3. The method of claim 1, wherein prior to detecting the override tag of the stored first video, further comprising:
judging whether the storage mode of the storage position of the first video is coverage storage or not;
if the video is the overlay storage, detecting an overlay mark of the stored first video; otherwise, directly storing the second video.
4. The method of extending alarm recording storage time according to any of claims 1 to 3, wherein said first flag is FALSE and said second flag is TRUE.
5. An apparatus for extending the storage time of an alarm recording, comprising:
the first acquisition module is used for acquiring a second video to be stored;
the detection module is used for detecting the coverage mark of the stored first video;
the first storage module is used for storing the second video to the storage position of the first video in a covering manner if the covering mark of the first video is a second mark;
and the second storage module is used for modifying the coverage mark of the first video into a second mark if the coverage mark of the first video is a first mark, continuously detecting the coverage mark of the stored next video until the video with the coverage mark as the second mark is detected, and storing the second video in a storage position of the video in a coverage manner.
6. The apparatus for extending the storage time of an alarm recording of claim 5, further comprising:
the second acquisition module is used for acquiring the first video;
the first judgment module is used for judging whether the first video is an alarm video;
the setting module is used for setting the video type of the first video as the alarm video and setting the coverage mark as the first mark if the first video is the alarm video; otherwise, setting the video type of the first video as a common video, and setting the coverage mark as a second mark;
and the third storage module is used for storing the first video.
7. The apparatus for extending the storage time of an alarm recording of claim 5, further comprising:
the second judgment module is used for judging whether the storage mode of the storage position of the first video is coverage storage or not;
if the first video is the overlay storage, the detection module is used for detecting an overlay mark of the stored first video; otherwise, the first storage module is used for directly storing the second video.
8. The apparatus for extending alarm record storage time according to any of claims 5 to 7, wherein said first flag is FALSE and said second flag is TRUE.
9. An electronic device, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform:
the method of extending the storage time of alarm recordings of any one of claims 1 to 4.
10. A computer-readable storage medium having computer-executable instructions stored thereon for causing a computer to perform:
the method of extending the storage time of alarm recordings of any one of claims 1 to 4.
CN202011278552.0A 2020-11-16 2020-11-16 Method, device, equipment and medium for prolonging storage time of alarm video Active CN112365904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011278552.0A CN112365904B (en) 2020-11-16 2020-11-16 Method, device, equipment and medium for prolonging storage time of alarm video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011278552.0A CN112365904B (en) 2020-11-16 2020-11-16 Method, device, equipment and medium for prolonging storage time of alarm video

Publications (2)

Publication Number Publication Date
CN112365904A CN112365904A (en) 2021-02-12
CN112365904B true CN112365904B (en) 2021-08-10

Family

ID=74516181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011278552.0A Active CN112365904B (en) 2020-11-16 2020-11-16 Method, device, equipment and medium for prolonging storage time of alarm video

Country Status (1)

Country Link
CN (1) CN112365904B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084331A (en) * 2008-04-06 2011-06-01 弗森-艾奥公司 Apparatus, system, and method for coordinating storage requests in a multi-processor/multi-thread environment
CN106060442A (en) * 2016-05-20 2016-10-26 浙江宇视科技有限公司 Video storage method, device and system
CN106961569A (en) * 2017-03-21 2017-07-18 深圳英飞拓科技股份有限公司 One kind video recording covering method, device and network hard disk video recorder
CN106993147A (en) * 2017-03-21 2017-07-28 深圳英飞拓科技股份有限公司 One kind video recording covering method, device and network hard disk video recorder

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808951B (en) * 2014-01-28 2018-02-09 国际商业机器公司 The method and apparatus for carrying out storing control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084331A (en) * 2008-04-06 2011-06-01 弗森-艾奥公司 Apparatus, system, and method for coordinating storage requests in a multi-processor/multi-thread environment
CN106060442A (en) * 2016-05-20 2016-10-26 浙江宇视科技有限公司 Video storage method, device and system
CN106961569A (en) * 2017-03-21 2017-07-18 深圳英飞拓科技股份有限公司 One kind video recording covering method, device and network hard disk video recorder
CN106993147A (en) * 2017-03-21 2017-07-28 深圳英飞拓科技股份有限公司 One kind video recording covering method, device and network hard disk video recorder

Also Published As

Publication number Publication date
CN112365904A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
US10204419B2 (en) Monitoring method and monitoring device
US7081814B2 (en) Change detecting method and apparatus and monitoring system using the method or apparatus
CA2459823A1 (en) Method, device and computer program product for demultiplexing of video images
KR101365237B1 (en) Surveilance camera system supporting adaptive multi resolution
CN112365904B (en) Method, device, equipment and medium for prolonging storage time of alarm video
CN104007936A (en) Data access method and device
CN114755676B (en) Radar vision cooperative target tracking method and system
JPH04207488A (en) Electronic still camera with spare memory
JP2023051997A (en) On-vehicle video recording device and control method thereof
US20210337160A1 (en) Recording control device, recording control system, recording control method, and computer program
CN111601105B (en) Video display state abnormity detection method and device and electronic equipment
CN108773323B (en) Operation control method, electronic rearview mirror and computer readable storage medium
CN112399173A (en) Channel decoding test method, system and readable storage medium
CN114973157A (en) Vehicle separation method, electronic device, and computer-readable storage medium
CN114911495A (en) Equipment upgrading method, device, equipment and storage medium
CN114664096B (en) Method and device for processing monitoring video of parking lot
KR102593622B1 (en) Video management system based on mobility terminal and method for managing video thereof
CN110769180B (en) Video signal false lock identification method and device, electronic equipment and storage medium
CN113112722B (en) Event detection method, device, system and equipment
CN113784023B (en) Position determining method, device, image pickup equipment and storage medium
KR101961199B1 (en) Method and Apparatus for Recording Timeline
CN111866429B (en) Video data preview method and device
JP2020160842A (en) Captured image recording system and captured image recording method
CN117830897A (en) Processing method, processing device, vehicle and storage medium
CN114245052A (en) Video data storage method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant