CN114245052A - Video data storage method and device, storage medium and electronic device - Google Patents
Video data storage method and device, storage medium and electronic device Download PDFInfo
- Publication number
- CN114245052A CN114245052A CN202111631057.8A CN202111631057A CN114245052A CN 114245052 A CN114245052 A CN 114245052A CN 202111631057 A CN202111631057 A CN 202111631057A CN 114245052 A CN114245052 A CN 114245052A
- Authority
- CN
- China
- Prior art keywords
- video data
- camera
- gateway
- camera device
- communication
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000013500 data storage Methods 0.000 title abstract description 19
- 238000004891 communication Methods 0.000 claims abstract description 102
- 230000002159 abnormal effect Effects 0.000 claims description 65
- 238000001514 detection method Methods 0.000 claims description 22
- 230000005540 biological transmission Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 17
- 230000005856 abnormality Effects 0.000 claims description 15
- 230000000694 effects Effects 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 9
- 238000012544 monitoring process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/907—Television signal recording using static stores, e.g. storage tubes or semiconductor memories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Closed-Circuit Television Systems (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The embodiment of the invention provides a video data storage method and device, a storage medium and an electronic device, wherein the method comprises the following steps: configuring a first image pickup apparatus and a second image pickup apparatus; receiving first video data transmitted by a second camera device under the condition that communication is recovered between a gateway device and the second camera device; the first video data is stored. By the method and the device, the problem of video data loss in the related technology is solved, and the effect of ensuring that the video data cannot be lost is achieved.
Description
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a video data storage method and device, a storage medium and an electronic device.
Background
Currently, in a monitoring device scene such as a home, a home gateway or a hard disk video recorder and a plurality of front-end camera devices are generally deployed. Although the current equipment generally runs stably, special conditions such as abnormal restart of a home gateway or a hard disk video recorder are not excluded; in addition, the home gateway and the hard disk recorder sometimes need to be upgraded, and the video recording of the system may be lost during this period.
Disclosure of Invention
The embodiment of the invention provides a video data storage method and device, a storage medium and an electronic device, which are used for at least solving the problem of video data loss in the related technology.
According to an embodiment of the present invention, there is provided a method of storing video data, including: configuring a first camera device and a second camera device, wherein the second camera device is provided with a storage device, the first camera device is used for acquiring first video data, and the second camera device is used for saving the first video data by using the storage device under the condition that the communication between the first camera device and a gateway device is abnormal; receiving the first video data transmitted by the second image pickup apparatus in a case where the communication is restored between the gateway apparatus and the second image pickup apparatus; and storing the first video data.
According to an embodiment of the present invention, there is provided a method of storing video data, including: transmitting acquired first video data to a second image pickup device when detecting that the communication between the first image pickup device and a gateway device is abnormal, wherein the second image pickup device is provided with a storage device and is used for saving the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first image pickup device during the abnormal communication period of the first image pickup device and the gateway device; and transmitting the acquired second video data to the gateway device when the first camera device and the gateway device are determined to restore communication.
According to an embodiment of the present invention, there is provided a method of storing video data, including: receiving first video data transmitted by a second camera device when detecting that the communication between the first camera device and a gateway device is abnormal, wherein the second camera device is provided with a storage device and is used for storing the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the abnormal communication period of the first camera device and the gateway device; and transmitting the first video data to the gateway equipment.
According to an embodiment of the present invention, there is provided a storage apparatus of video data including: the system comprises a first configuration module, a second configuration module and a third configuration module, wherein the second image pickup device is provided with a storage device and is used for acquiring first video data, and the second image pickup device is used for saving the first video data by using the storage device under the condition that communication between the first image pickup device and a gateway device is abnormal; a first receiving module, configured to receive the first video data transmitted by the second image capturing apparatus when communication is restored between the gateway apparatus and the second image capturing apparatus; and the first storage module is used for storing the first video data.
In an exemplary embodiment, the apparatus further includes: the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining the sum of code streams of N first camera devices before the first camera devices and the second camera devices are configured, and N is a natural number which is greater than or equal to 1; the second determining module is used for determining the sum of the video recording performances of M second camera shooting devices, wherein M is a natural number which is greater than or equal to 1; and the third determining module is used for determining whether the storage space of the second camera equipment meets a preset threshold value or not based on the sum of the code streams and the sum of the video recording performance.
In an exemplary embodiment, the third determining module includes: and the first determining unit is used for determining that the storage space of the second camera equipment does not meet the preset threshold value under the condition that the video recording performance sum is smaller than the code stream sum.
In an exemplary embodiment, the apparatus further includes: a first obtaining module, configured to obtain K first image capturing devices from N first image capturing devices after determining that a storage space of the second image capturing device does not satisfy the preset threshold value when the video performance sum is smaller than the code stream sum, where K is a natural number greater than or equal to 1; and the first setting module is used for setting the storage equipment in the K image pickup equipment so as to convert the K first image pickup equipment into K second image pickup equipment.
In an exemplary embodiment, the second determining module includes: a second determination unit configured to determine a write capability of a storage device in each of the M second image pickup devices, a code stream of each of the second image pickup devices, and a capability of each of the second image pickup devices to receive the code stream; a first calculation unit configured to calculate a difference between a write capability of the storage device in each of the second image pickup devices and a code stream of each of the second image pickup devices; a third determining unit configured to determine a minimum value between the difference value and a capability of each of the second image pickup apparatuses to receive a code stream as a video recording capability of each of the second image pickup apparatuses; a fourth determination unit configured to determine a sum of the video recording performances of the M second image pickup apparatuses as the sum of the video recording performances.
In an exemplary embodiment, the first configuration module includes: the first comparison unit is used for comparing the code stream of the first camera equipment with the video performance in the second camera equipment; a fifth determining unit, configured to determine, when the code stream of the first image capturing apparatus is smaller than the video recording performance in the second image capturing apparatus, a duration for storing video data in a storage space of the code stream of the first image capturing apparatus in the second image capturing apparatus; and the first association unit is used for associating the first image pickup device with the second image pickup device under the condition that the duration meets a second preset threshold value.
In one exemplary embodiment, the apparatus further comprises: and the second configuration module is used for configuring the acquisition time length and the abnormity detection interval time length of the first camera equipment, wherein the abnormity detection interval time length is used for representing the time interval of whether the communication between the first camera equipment and the gateway equipment is abnormal, the acquisition time length is greater than or equal to the frame interval period of the preset multiple, and the acquisition time length is greater than the abnormity detection interval time length.
In an exemplary embodiment, the first receiving module includes: a first receiving unit, configured to receive the first video data transmitted by the image capturing apparatus when communication between the second image capturing apparatus and the gateway apparatus is abnormal and communication between the gateway apparatus and the second image capturing apparatus is restored, where the first video data is used to represent video data acquired by the first image capturing apparatus during a communication abnormality between the first image capturing apparatus and the gateway apparatus.
According to an embodiment of the present invention, there is provided a storage apparatus of video data including: the first transmission module is used for transmitting acquired first video data to a second camera device when the fact that communication between the first camera device and a gateway device is abnormal is detected, wherein the second camera device is provided with a storage device and is used for storing the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the communication abnormal period of the first camera device and the gateway device; and the second transmission module is used for transmitting the acquired second video data to the gateway equipment under the condition that the communication between the first camera equipment and the gateway equipment is determined to be recovered.
In an exemplary embodiment, the apparatus further includes: the first establishing module is used for establishing communication connection with the gateway equipment before the acquired first video data is transmitted to the second camera equipment under the condition that the communication between the first camera equipment and the gateway equipment is detected to be abnormal; and a third receiving module, configured to receive collocation information sent by the gateway device, where the collocation information includes an association relationship between the first camera device and the second camera device, an acquisition time of the first camera device, and a detection period for detecting whether communication with the gateway device is abnormal.
According to an embodiment of the present invention, there is provided a storage apparatus of video data including: a second receiving module, configured to receive, when it is detected that there is an abnormality in communication between a first image capturing apparatus and a gateway apparatus, first video data transmitted by the second image capturing apparatus, where a storage apparatus is provided in the second image capturing apparatus, the second image capturing apparatus is configured to store the first video data by using the storage apparatus, and the first video data is used to indicate video data acquired by the first image capturing apparatus during the abnormal communication between the first image capturing apparatus and the gateway apparatus; and the third transmission module is used for transmitting the first video data to the gateway equipment.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
By the method, the first camera equipment and the second camera equipment are configured, wherein the second camera equipment is provided with the storage equipment, the first camera equipment is used for acquiring the first video data, and the second camera equipment is used for saving the first video data by using the storage equipment under the condition that the communication between the first camera equipment and the gateway equipment is abnormal; receiving first video data transmitted by a second camera device under the condition that communication is recovered between a gateway device and the second camera device; the first video data is stored. The purpose of matching the camera device without the storage device with the camera device with the storage device is achieved, and when the abnormal communication with the gateway device is detected, the obtained video data is transmitted to the matched camera device with the storage device for video data storage and backup. Thereby ensuring that video data is not lost. Therefore, the problem of video data loss in the related art can be solved, and the effect of ensuring that the video data is not lost is achieved.
Drawings
Fig. 1 is a block diagram of a hardware configuration of a mobile terminal of a video data storage method according to an embodiment of the present invention;
fig. 2 is a flowchart (one) of a storage method of video data according to an embodiment of the present invention;
fig. 3 is a flowchart (two) of a storage method of video data according to an embodiment of the present invention;
fig. 4 is a flowchart (three) of a storage method of video data according to an embodiment of the present invention;
FIG. 5 is a block diagram of an architecture according to an embodiment of the present invention;
FIG. 6 is a flow chart according to an embodiment of the present invention;
fig. 7 is a block diagram (one) of the structure of a storage apparatus for video data according to an embodiment of the present invention;
fig. 8 is a block diagram (ii) showing the structure of a video data storage apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram (iii) of the structure of a video data storage apparatus according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the method running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a video data storage method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the storage method of video data in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned methods. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for storing video data is provided, and fig. 2 is a flowchart (a) of a method for storing video data according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, configuring a first camera device and a second camera device, wherein the second camera device is provided with a storage device, the first camera device is used for acquiring first video data, and the second camera device is used for saving the first video data by using the storage device under the condition that the communication between the first camera device and the gateway device is abnormal; the method comprises the steps that first video data are cached after the first camera equipment obtains the first video data;
step S204, under the condition that the communication between the gateway equipment and the second camera equipment is recovered, receiving first video data transmitted by the second camera equipment;
in step S206, the first video data is stored.
The main body of the above steps may be a gateway device, etc., but is not limited thereto.
In the present embodiment, the first image capturing apparatus and the second image capturing apparatus include, but are not limited to, cameras.
The embodiment includes, but is not limited to, being applied to a home device monitoring scenario in which a home gateway or a hard disk video recorder (i.e., a gateway device) and several front-end cameras (i.e., camera devices) are deployed. For example, when a camera is added to a home gateway, the home gateway confirms a camera with a storage device (for example, a memory card) through communication between the camera and the home gateway, collocates a camera without a memory card with a camera with a memory card, and transmits the collocation information to the camera with a memory card and the camera without a memory card, so that when the camera without a memory card detects that communication with the home gateway is abnormal, video data in a pre-record buffer in the camera without a memory card is transmitted to the collocated camera with a memory card, and video recording storage backup is performed. When the home gateway (or the hard disk video recorder) is recovered, the camera is connected to the home gateway again, normal video data transmission is recovered, and meanwhile, the camera with the memory card transmits video data of the camera and the matched front-end camera in an abnormal period to the home gateway, so that the video is ensured not to be lost.
Through the steps, a first camera device and a second camera device are configured, wherein the second camera device is provided with a storage device, the first camera device is used for acquiring first video data, and the second camera device is used for saving the first video data by using the storage device under the condition that communication between the first camera device and the gateway device is abnormal; receiving first video data transmitted by a second camera device under the condition that communication is recovered between a gateway device and the second camera device; the first video data is stored. The purpose of matching the camera device without the storage device with the camera device with the storage device is achieved, and when the abnormal communication with the gateway device is detected, the obtained video data is transmitted to the matched camera device with the storage device for video data storage and backup. Thereby ensuring that video data is not lost. Therefore, the problem of video data loss in the related art can be solved, and the effect of ensuring that the video data is not lost is achieved.
In one exemplary embodiment, before configuring the first image capturing apparatus and the second image capturing apparatus, the method further includes:
s1, determining the sum of code streams of N first image pickup devices, wherein N is a natural number greater than or equal to 1;
s2, determining the sum of the video recording performances of M second image pickup devices, wherein M is a natural number greater than or equal to 1;
and S3, determining whether the storage space of the second camera equipment meets a preset threshold value based on the sum of the code stream and the sum of the video recording performance.
In this embodiment, the sum of the code streams of the N first image pickup apparatuses is determined as the sum of the code streams.
In an exemplary embodiment, determining that the storage space of the second image capturing device does not satisfy the preset threshold based on the sum of the code stream and the sum of the video recording performance includes:
and S1, determining that the storage space of the second camera device does not meet the preset threshold value under the condition that the video recording performance sum is smaller than the code stream sum.
In this embodiment, when the sum of the video performance is smaller than the sum of the code streams, the gateway device sends an alarm message to prompt the user that the current storage device configuration performance is insufficient, and it is necessary to configure storage devices for more video devices.
In an exemplary embodiment, in a case that the video recording performance sum is smaller than the codestream sum, after determining that the storage space of the second image capturing device does not satisfy the preset threshold, the method further includes:
s1, acquiring K first image pickup apparatuses from the N first image pickup apparatuses, where K is a natural number greater than or equal to 1;
s2, a storage device is set among the K image pickup devices to convert the K first image pickup devices into K second image pickup devices.
In this embodiment, a storage device is provided in part of the first image pickup devices to increase the storage space.
In an exemplary embodiment, determining the sum of the recording performances of the M second image capturing apparatuses includes:
s1, determining the writing capability of the storage device in each second image pickup device in the M second image pickup devices, the code stream of each second image pickup device and the code stream receiving capability of each second image pickup device;
s2, calculating the difference value between the writing capability of the storage device in each second image pickup device and the code stream of each second image pickup device;
s3, determining the minimum value between the difference value and the code stream receiving capacity of each second image pickup device as the video recording performance of each second image pickup device;
and S4, determining the sum of the video recording performances of the M second image pickup devices as the sum of the video recording performances.
In this embodiment, the video recording performance of the second image capturing apparatus is determined by acquiring the writing capability of the storage apparatus in each of the M second image capturing apparatuses, the code stream of each second image capturing apparatus, and the capability of each second image capturing apparatus to receive the code stream. For example, assuming that the writing capability of the storage device in the second image pickup device is S, the code stream of the second image pickup device itself is Mself, the capability of the second image pickup device to receive the code stream is R, and a small value of S-Mself and R is taken as the recording capability Srecord of the second image pickup device. Assuming that S is 24Mb/S, Mself is 2Mb/S, and R is 10Mb/S, S-Mself is 24 Mb/S-2 Mb/S is 22Mb/S, and Srecord, which is a small value of S-Mself and R, is 10 Mb/S.
In one exemplary embodiment, configuring a first image capturing apparatus and a second image capturing apparatus includes:
s1, comparing the code stream of the first camera device with the video recording performance of the second camera device;
s2, determining the time length of the code stream of the first camera device for storing video data in the storage space of the second camera device under the condition that the code stream of the first camera device is smaller than the video recording performance of the second camera device;
and S3, associating the first image pickup device with the second image pickup device when the duration meets a second preset threshold.
In this embodiment, for example, the code stream Mn of the second image capturing apparatus is compared with the video recording performance in the second image capturing apparatus, and if the code stream of the first image capturing apparatus is smaller than the video recording performance in the second image capturing apparatus, the video recording time length Ln that the code stream can remain in the storage space is calculated.
In one exemplary embodiment, the method further comprises: s1, configuring the obtaining duration and the abnormity detection interval duration of the first camera device, wherein the abnormity detection interval duration is used for representing the time interval whether the communication between the first camera device detection and the gateway device is abnormal, the obtaining duration is greater than or equal to the frame interval period of the preset multiple, and the obtaining duration is greater than the abnormity detection interval duration.
In the present embodiment, for example, the abnormality detection interval duration T1 and the buffer duration T2, T2> 2 × I frame interval period time (GOP), T1 is determined by the T2 configuration of the first image pickup apparatus itself, and T2> T1+ N × I frame interval period duration (N is an integer > 1) to ensure that when an abnormality is found in the T1 detection process, the pre-recorded data of the first image pickup apparatus is overlaid to the video data during the abnormality and includes key I frame data.
In one exemplary embodiment, receiving first video data transmitted by a second image pickup apparatus in a case where communication is resumed between a gateway apparatus and the second image pickup apparatus includes:
and S1, after the communication between the second camera device and the gateway device is abnormal, and in the case that the communication between the gateway device and the second camera device is recovered, receiving first video data transmitted by the camera device, wherein the first video data is used for representing the video data acquired by the first camera device during the abnormal communication between the first camera device and the gateway device.
In the present embodiment, the gateway apparatus receives the first video data stored with the storage apparatus transmitted by the second image pickup apparatus, while receiving the video data stored by the second image pickup apparatus itself, after resuming the communication with the second image pickup apparatus. The gateway apparatus receives the video data transmitted by the first image pickup apparatus after resuming the communication with the first image pickup apparatus.
In this embodiment, a method for storing video data is provided, and fig. 3 is a flowchart (two) of a method for storing video data according to an embodiment of the present invention, where as shown in fig. 3, the flowchart includes the following steps:
step S302, when the fact that the communication between the first camera device and the gateway device is abnormal is detected, the acquired first video data are transmitted to a second camera device, wherein a storage device is arranged in the second camera device, the second camera device is used for saving the first video data by using the storage device, and the first video data are used for representing the video data acquired by the first camera device during the communication abnormity between the first camera device and the gateway device;
in step S304, in a case where it is determined that the communication is restored between the first image pickup apparatus and the gateway apparatus, the acquired second video data is transmitted to the gateway apparatus.
The executing subject of the above steps may be an image capturing apparatus, such as a first image capturing apparatus, but is not limited thereto.
In the present embodiment, the first image capturing apparatus and the second image capturing apparatus include, but are not limited to, cameras.
The embodiment includes, but is not limited to, being applied to a home device monitoring scenario in which a home gateway or a hard disk video recorder (i.e., a gateway device) and several front-end cameras (i.e., camera devices) are deployed. For example, when a camera is added to a home gateway, the home gateway confirms a camera with a storage device (for example, a memory card) through communication between the camera and the home gateway, collocates a camera without a memory card with a camera with a memory card, and transmits the collocation information to the camera with a memory card and the camera without a memory card, so that when the camera without a memory card detects that communication with the home gateway is abnormal, video data in a pre-record buffer in the camera without a memory card is transmitted to the collocated camera with a memory card, and video recording storage backup is performed. When the home gateway (or the hard disk video recorder) is recovered, the camera is connected to the home gateway again, normal video data transmission is recovered, and meanwhile, the camera with the memory card transmits video data of the camera and the matched front-end camera in an abnormal period to the home gateway, so that the video is ensured not to be lost.
Through the steps, the acquired first video data is transmitted to a second camera device under the condition that the abnormality of the communication between the first camera device and the gateway device is detected, wherein the second camera device is provided with a storage device and is used for saving the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the abnormal communication between the first camera device and the gateway device; and transmitting the acquired second video data to the gateway device in the case where it is determined that the communication is restored between the first image pickup device and the gateway device. The purpose of matching the camera device without the storage device with the camera device with the storage device is achieved, and when the abnormal communication with the gateway device is detected, the obtained video data is transmitted to the matched camera device with the storage device for video data storage and backup. Thereby ensuring that video data is not lost. Therefore, the problem of video data loss in the related art can be solved, and the effect of ensuring that the video data is not lost is achieved.
In one exemplary embodiment, in a case where it is detected that there is an abnormality in communication between the first image pickup apparatus and the gateway apparatus, before transmitting the acquired first video data to the second image pickup apparatus, the method further includes:
s1, establishing communication connection with the gateway equipment;
and S2, receiving collocation information sent by the gateway equipment, wherein the collocation information comprises the association relationship between the first camera equipment and the second camera equipment, the acquisition time of the first camera equipment and the detection period for detecting whether the communication with the gateway equipment is abnormal.
In this embodiment, the gateway apparatus is configured to configure the number of the first image pickup apparatus and the second image pickup apparatus, and establish an association relationship between the two.
In the present embodiment, a method for storing video data is provided, and fig. 4 is a flowchart (three) of a method for storing video data according to an embodiment of the present invention, where as shown in fig. 4, the flowchart includes the following steps:
step S402, in the case of detecting that the communication between the first camera device and the gateway device is abnormal, receiving first video data transmitted by a second camera device, wherein the second camera device is provided with a storage device and is used for storing the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the abnormal communication period between the first camera device and the gateway device;
step S404, transmitting the first video data to the gateway device.
The executing subject of the above steps may be, but is not limited to, an image capturing apparatus, such as a second image capturing apparatus.
In the present embodiment, the first image capturing apparatus and the second image capturing apparatus include, but are not limited to, cameras.
The embodiment includes, but is not limited to, being applied to a home device monitoring scenario in which a home gateway or a hard disk video recorder (i.e., a gateway device) and several front-end cameras (i.e., camera devices) are deployed. For example, when a camera is added to a home gateway, the home gateway confirms a camera with a storage device (for example, a memory card) through communication between the camera and the home gateway, collocates a camera without a memory card with a camera with a memory card, and transmits the collocation information to the camera with a memory card and the camera without a memory card, so that when the camera without a memory card detects that communication with the home gateway is abnormal, video data in a pre-record buffer in the camera without a memory card is transmitted to the collocated camera with a memory card, and video recording storage backup is performed. When the home gateway (or the hard disk video recorder) is recovered, the camera is connected to the home gateway again, normal video data transmission is recovered, and meanwhile, the camera with the memory card transmits video data of the camera and the matched front-end camera in an abnormal period to the home gateway, so that the video is ensured not to be lost.
Through the steps, under the condition that the communication between the first camera device and the gateway device is detected to be abnormal, first video data transmitted by a second camera device is received, wherein the second camera device is provided with a storage device and is used for storing the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the communication abnormality period between the first camera device and the gateway device; the first video data is transmitted to a gateway device. The purpose of matching the camera device without the storage device with the camera device with the storage device is achieved, and when the abnormal communication with the gateway device is detected, the obtained video data is transmitted to the matched camera device with the storage device for video data storage and backup. Thereby ensuring that video data is not lost. Therefore, the problem of video data loss in the related art can be solved, and the effect of ensuring that the video data is not lost is achieved.
The present application is illustrated below with reference to specific examples:
the gateway device in this embodiment is described by taking a home monitoring gateway (or a hard disk video recorder) and a front-end device as examples, and specifically includes the following steps:
a user carries out memory card allocation on a plurality of front-end computers according to the self requirement; the front-end devices are thus classified into cameras with memory cards and cameras without memory cards.
The front-end equipment and a home gateway (or a hard disk video recorder) keep video data transmission, and simultaneously continuously detect whether the communication with the audio home gateway is abnormal or not; the detection interval is denoted as T1. When the abnormality is detected, the camera without the memory card transmits the video data in the pre-recording buffer to the camera with the memory card matched before for recording; the time length of the data pre-recorded and buffered by the camera without the memory card is recorded as T2. And the camera with the memory card records and stores the video code stream of the camera, receives the matched video code stream of the front-end camera without the memory card and stores the video.
In this embodiment, a home monitoring gateway (or a hard disk video recorder) is responsible for communicating with a front-end device, acquiring a monitoring video of the front-end device, and performing video storage; the storage ability of the front-end camera can be obtained, and the camera without the memory card and the camera with the memory card are collocated, which specifically comprises the following steps:
1. determining the video recording performance of the camera with the memory card by acquiring the pre-estimated memory card writing capability and the code stream receiving capability of the camera with the memory card; setting the writing capacity of a storage card as S, the code stream of a camera with the storage card as Mself, the capacity R of the camera for receiving the code stream, and taking the small values of S-Mself and R as the video recording performance Srecord of the camera with the storage card; for example, the memory card writing capability is S-24 Mb/S, the camera' S own code stream is Mself-2 Mb/S, the camera with the memory card receiving capability is R-10 Mb/S, then S-Mself-24 Mb/S-2 Mb/S is 22Mb/S, and the small value of S-Mself and R, i.e. the camera recording capability with the memory card Srecord, is 10 Mb/S;
2. recording a camera video recording performance recording queue configured with a memory card as Srecord1 and Srecord2 … … Srecord; the sum of the video recording performance of all cameras with memory cards is recorded as Srecordall;
3. sorting the code streams of the cameras without the memory cards from large to small, and recording as M1 and M2 … … Mn; the sum of the code streams of all cameras which are not provided with the memory card is marked as Mall;
4. acquiring the size of a storage Space of a camera with a memory card, and sequencing the size of the storage Space from large to small, wherein the size is marked as Space1 and Space2 … … Space;
5. if Srecordall is less than Mall, the home monitoring gateway sends an alarm to prompt a user that the current memory card configuration performance is insufficient and memory cards need to be configured for more cameras;
6. taking out code streams Mn from a code stream queue one by one, comparing the code streams Mn with Srecordn corresponding to elements of space in a storage space size queue, and if Mn is smaller than Srecordn, calculating the video recording time length Ln which can be reserved in the storage space of the code stream, wherein Ln is space/(Mx + My + … + Mn), (Mx and My are code streams which are matched with a front-end computer with storage;
7. after all the Ln values meeting the conditions are obtained, comparing the front-end camera with the memory card corresponding to the maximum Ln, namely the front-end camera with the memory card corresponding to the camera without the memory card; meanwhile, Srecordn corresponding to the camera with the memory card is updated to Srecordn-Mn, and the Srecord queues are reordered; removing the Mn from the M queues;
8. if the Mn is not successfully matched after traversing the matched Space queue, the home monitoring gateway sends an alarm to prompt the user, the current memory card configuration performance is insufficient, and memory cards need to be configured for more cameras.
The embodiment may further obtain the maximum pre-recording time configuration of the front-end camera without the memory card, and configure T1 and T2 of the front-end camera, where the specific method is as follows:
t2> -2 × I frame interval period (GOP), T1 is determined by the T2 configuration of the front-end camera itself, and T2> T1+ N × I frame interval period (N is an integer > -1) to ensure that when an anomaly is found in the T1 detection process, the pre-recorded data of the front-end camera is overlaid on the video data during the anomaly and contains key I frame data.
The rule of the matching among the cameras is shown in FIG. 5, and the configuration information of the front-end camera T1\ T2 is synchronously sent to the front-end camera device; when the abnormal condition occurs and the abnormal condition is recovered, the video recorder can communicate with the front end machine with the memory card to obtain the video data in the abnormal condition.
As shown in fig. 6, the service flow of this embodiment includes the following steps:
s601, establishing connection between a front-end camera (including a camera with a memory card and a camera without the memory card) and home gateway equipment, and transmitting video code stream data;
s602, the home gateway acquires the memory card capability of the front-end camera and confirms the cameras with the memory cards and without the memory cards;
s603, the home gateway collocates the camera without the memory card with the camera with the memory card, and determines the pre-recording time and the abnormal detection interval time of the front-end camera; and transmitting the related information to the front-end camera;
s604, the front-end terminal continuously detects whether the communication with the home gateway is abnormal or not;
s605, when the front-end camera with the memory card detects that the communication with the home gateway is abnormal, determining whether the front-end camera carries the memory card;
and S606, the camera with the memory card transmits the video data in the abnormal period to the home gateway, so that the video is not lost.
S607, when the camera without the memory card detects the communication abnormality with the home gateway, the code stream data in the pre-recording buffer of the camera without the memory card is transmitted to the matched camera with the memory card for video recording;
s608, judging whether the front-end terminal continuously detects and the home gateway recovers the function;
s609, when the home gateway recovers the function, the front-end equipment recovers the communication with the home gateway and the transmission of the video code stream;
s610, the front-end equipment of the card to be stored transmits the video data in the abnormal period to the home gateway, and the video is ensured not to be lost.
In summary, the embodiment reduces the possible security risk of the IPC directly connecting with the external network platform, and the possible video loss risk caused by the unstable external network.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a video data storage device is further provided, and the video data storage device is used to implement the foregoing embodiments and preferred embodiments, and the description of the video data storage device is omitted for brevity. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a block diagram (one) of a structure of a video data storage apparatus according to an embodiment of the present invention, as shown in fig. 7, the apparatus including:
a first configuration module 72, configured to configure a first image capturing device and a second image capturing device, where the second image capturing device is provided with a storage device, the first image capturing device is configured to acquire first video data, and the second image capturing device is configured to store the first video data by using the storage device when communication between the first image capturing device and the gateway device is abnormal;
a first receiving module 74, configured to receive the first video data transmitted by the second image pickup apparatus in a case where communication is restored between the gateway apparatus and the second image pickup apparatus;
a first storage module 76 for storing the first video data.
In an exemplary embodiment, the apparatus further includes:
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining the sum of code streams of N first camera devices before the first camera device and the second camera device are configured, and N is a natural number greater than or equal to 1;
the second determining module is used for determining the sum of the video recording performances of the M second camera devices, wherein M is a natural number which is greater than or equal to 1;
and the third determining module is used for determining whether the storage space of the second camera equipment meets a preset threshold value or not based on the sum of the code stream and the sum of the video performance.
In an exemplary embodiment, the third determining module includes:
and the first determining unit is used for determining that the storage space of the second camera equipment does not meet the preset threshold under the condition that the video recording performance sum is smaller than the code stream sum.
In an exemplary embodiment, the apparatus further includes:
the first acquisition module is used for acquiring K first camera devices from the N first camera devices after determining that the storage space of the second camera device does not meet a preset threshold value under the condition that the video performance sum is smaller than the code stream sum, wherein K is a natural number which is greater than or equal to 1;
and the first setting module is used for setting the storage equipment in the K image pickup equipment so as to convert the K first image pickup equipment into K second image pickup equipment.
In an exemplary embodiment, the second determining module includes:
a second determination unit configured to determine a write capability of a storage device in each of the M second image pickup devices, a code stream of each of the second image pickup devices, and a capability of each of the second image pickup devices to receive the code stream;
a first calculation unit configured to calculate a difference between a write capability of the storage device in each of the second image pickup devices and a code stream of each of the second image pickup devices;
a third determining unit configured to determine a minimum value between the difference value and a capability of each second image pickup apparatus to receive the code stream as a video recording capability of each second image pickup apparatus;
and a fourth determination unit configured to determine a sum of the video recording performances of the M second image pickup apparatuses as a sum of the video recording performances.
In an exemplary embodiment, the first configuration module includes:
the first comparison unit is used for comparing the code stream of the first camera equipment with the video performance in the second camera equipment;
a fifth determining unit, configured to determine, when the code stream of the first image capturing apparatus is smaller than the video recording performance in the second image capturing apparatus, a duration for storing the video data in a storage space of the code stream of the first image capturing apparatus in the second image capturing apparatus;
and the first association unit is used for associating the first image pickup device with the second image pickup device under the condition that the duration meets a second preset threshold value.
In one exemplary embodiment, the apparatus further comprises:
and the second configuration module is used for configuring the acquisition time length and the abnormity detection interval time length of the first camera equipment, wherein the abnormity detection interval time length is used for representing the time interval of whether the communication between the first camera equipment and the gateway equipment is abnormal, the acquisition time length is greater than or equal to the frame interval period of the preset multiple, and the acquisition time length is greater than the abnormity detection interval time length.
In an exemplary embodiment, the first receiving module includes:
and a first receiving unit, configured to receive first video data transmitted by the image pickup apparatus when communication between the second image pickup apparatus and the gateway apparatus is abnormal and communication between the gateway apparatus and the second image pickup apparatus is restored, where the first video data is used to represent video data acquired by the first image pickup apparatus during the communication abnormality between the first image pickup apparatus and the gateway apparatus.
Fig. 8 is a block diagram (ii) of the structure of a video data storage apparatus according to an embodiment of the present invention, as shown in fig. 8, the apparatus including:
the first transmission module 82 is used for transmitting the acquired first video data to a second camera device when the abnormality of the communication between the first camera device and the gateway device is detected, wherein the second camera device is provided with a storage device and is used for storing the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the abnormal communication period between the first camera device and the gateway device;
and a second transmission module 84, configured to transmit the acquired second video data to the gateway device in a case where it is determined that the communication between the first image pickup device and the gateway device is restored.
In an exemplary embodiment, the apparatus further includes:
the first establishing module is used for establishing communication connection with the gateway equipment before the acquired first video data is transmitted to the second camera equipment under the condition that the communication between the first camera equipment and the gateway equipment is detected to be abnormal;
and a third receiving module, configured to receive collocation information sent by the gateway device, where the collocation information includes an association relationship between the first camera device and the second camera device, an acquisition time of the first camera device, and a detection period for detecting whether communication with the gateway device is abnormal.
Fig. 9 is a block diagram (three) of the structure of a video data storage apparatus according to an embodiment of the present invention, as shown in fig. 9, the apparatus including:
a second receiving module 92, configured to receive, when it is detected that there is an abnormality in communication between the first image capturing apparatus and the gateway apparatus, first video data transmitted by a second image capturing apparatus, where a storage apparatus is provided in the second image capturing apparatus, the second image capturing apparatus is configured to store the first video data by using the storage apparatus, and the first video data is used to represent video data acquired by the first image capturing apparatus during the abnormal communication between the first image capturing apparatus and the gateway apparatus;
a third transmission module 94, configured to transmit the first video data to the gateway device.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the above steps.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, the processor may be configured to execute the above steps by a computer program.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (16)
1. A method for storing video data, comprising:
configuring a first camera device and a second camera device, wherein the second camera device is provided with a storage device, the first camera device is used for acquiring first video data, and the second camera device is used for saving the first video data by using the storage device under the condition that the communication between the first camera device and a gateway device is abnormal;
receiving the first video data transmitted by the second camera device when the communication between the gateway device and the second camera device is recovered;
storing the first video data.
2. The method according to claim 1, wherein before configuring the first image capturing apparatus and the second image capturing apparatus, the method further comprises:
determining the sum of code streams of N first image pickup devices, wherein N is a natural number greater than or equal to 1;
determining the sum of the video recording performances of M second image pickup devices, wherein M is a natural number greater than or equal to 1;
and determining whether the storage space of the second camera equipment meets a preset threshold value or not based on the sum of the code stream and the sum of the video recording performance.
3. The method of claim 2, wherein determining that the storage space of the second camera device does not satisfy a preset threshold based on the codestream sum and the video recording performance sum comprises:
and under the condition that the video performance sum is smaller than the code stream sum, determining that the storage space of the second camera equipment does not meet the preset threshold value.
4. The method according to claim 3, wherein after determining that the storage space of the second image capturing apparatus does not satisfy the preset threshold value in a case that the video recording performance sum is smaller than the codestream sum, the method further comprises:
acquiring K first image pickup apparatuses from the N first image pickup apparatuses, wherein K is a natural number greater than or equal to 1;
the storage device is set in the K image pickup devices to convert the K first image pickup devices into the K second image pickup devices.
5. The method of claim 2, wherein determining a sum of video recording capabilities of the M second camera devices comprises:
determining the writing capability of a storage device in each of the M second camera devices, the code stream of each second camera device, and the code stream receiving capability of each second camera device;
calculating a difference value between the writing capability of the storage device in each second image pickup device and the code stream of each second image pickup device;
determining the minimum value between the difference value and the code stream receiving capacity of each second camera device as the video recording performance of each second camera device;
and determining the sum of the video recording performances of the M second image pickup devices as the sum of the video recording performances.
6. The method according to claim 1, wherein configuring the first and second image capture devices comprises:
comparing the code stream of the first camera equipment with the video performance in the second camera equipment;
determining the time length for storing video data in a storage space of the code stream of the first camera equipment in the second camera equipment under the condition that the code stream of the first camera equipment is smaller than the video recording performance in the second camera equipment;
and associating the first camera device with the second camera device when the duration meets a second preset threshold.
7. The method of claim 1, further comprising:
and configuring the acquisition time length and the abnormity detection interval time length of the first camera equipment, wherein the abnormity detection interval time length is used for representing a time interval of whether the communication between the first camera equipment and the gateway equipment is abnormal, the acquisition time length is greater than or equal to a preset multiple of frame interval period, and the acquisition time length is greater than the abnormity detection interval time length.
8. The method according to claim 1, wherein receiving the first video data transmitted by the second image pickup apparatus in a case where communication is resumed between the gateway apparatus and the second image pickup apparatus includes:
and receiving the first video data transmitted by the camera equipment after the second camera equipment and the gateway equipment are abnormal in communication and when the gateway equipment and the second camera equipment recover communication, wherein the first video data is used for representing the video data acquired by the first camera equipment during the abnormal communication period of the first camera equipment and the gateway equipment.
9. A method for storing video data, comprising:
transmitting acquired first video data to a second camera device when detecting that the communication between the first camera device and a gateway device is abnormal, wherein the second camera device is provided with a storage device and is used for saving the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the abnormal communication between the first camera device and the gateway device;
and transmitting the acquired second video data to the gateway device when the first camera device and the gateway device are determined to restore communication.
10. The method according to claim 9, wherein, in a case where it is detected that there is an abnormality in communication between the first image pickup apparatus and the gateway apparatus, before transmitting the acquired first video data to the second image pickup apparatus, the method further comprises:
establishing a communication connection with the gateway device;
receiving collocation information sent by the gateway device, wherein the collocation information includes an association relationship between the first camera device and the second camera device, acquisition time of the first camera device, and a detection period for detecting whether communication with the gateway device is abnormal.
11. A method for storing video data, comprising:
receiving first video data transmitted by a second camera device under the condition that the communication between a first camera device and a gateway device is detected to be abnormal, wherein the second camera device is provided with a storage device and is used for saving the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the communication abnormality period between the first camera device and the gateway device;
transmitting the first video data to the gateway device.
12. An apparatus for storing video data, comprising:
the system comprises a first configuration module, a second configuration module and a third configuration module, wherein the first configuration module is used for configuring a first camera device and a second camera device, the second camera device is provided with a storage device, the first camera device is used for acquiring first video data, and the second camera device is used for saving the first video data by using the storage device under the condition that communication between the first camera device and a gateway device is abnormal;
a first receiving module, configured to receive the first video data transmitted by the second image capturing apparatus when communication is restored between the gateway apparatus and the second image capturing apparatus;
and the first storage module is used for storing the first video data.
13. An apparatus for storing video data, comprising:
the first transmission module is used for transmitting acquired first video data to a second camera device when the fact that communication between the first camera device and a gateway device is abnormal is detected, wherein the second camera device is provided with a storage device and is used for saving the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the abnormal communication period of the first camera device and the gateway device;
and the second transmission module is used for transmitting the acquired second video data to the gateway equipment under the condition that the communication between the first camera equipment and the gateway equipment is determined to be recovered.
14. An apparatus for storing video data, comprising:
the second receiving module is used for receiving first video data transmitted by a second camera device under the condition that the communication between the first camera device and a gateway device is detected to be abnormal, wherein the second camera device is provided with a storage device and is used for storing the first video data by using the storage device, and the first video data is used for representing the video data acquired by the first camera device during the abnormal communication period between the first camera device and the gateway device;
and the third transmission module is used for transmitting the first video data to the gateway equipment.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 8, or carries out the method of any one of claims 9 to 10, or carries out the method of claim 11.
16. An electronic apparatus comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 8, or to perform the method of any of claims 9 to 10, or to perform the method of any of claim 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111631057.8A CN114245052B (en) | 2021-12-28 | 2021-12-28 | Video data storage method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111631057.8A CN114245052B (en) | 2021-12-28 | 2021-12-28 | Video data storage method and device, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114245052A true CN114245052A (en) | 2022-03-25 |
CN114245052B CN114245052B (en) | 2024-04-16 |
Family
ID=80743897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111631057.8A Active CN114245052B (en) | 2021-12-28 | 2021-12-28 | Video data storage method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114245052B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004328037A (en) * | 2003-04-21 | 2004-11-18 | Canon Inc | Imaging and image recording apparatus |
US20090289788A1 (en) * | 2008-05-23 | 2009-11-26 | Leblond Raymond G | Peer to peer surveillance architecture |
JP2012004643A (en) * | 2010-06-14 | 2012-01-05 | Canon Inc | Video recording device, video recording system and video recording method |
CN104243988A (en) * | 2013-06-14 | 2014-12-24 | 浙江大学 | Video encoding and decoding method and device, method for transferring video bitstream and video bitstream |
CN105430423A (en) * | 2015-11-12 | 2016-03-23 | 小米科技有限责任公司 | Video backup method, device and system |
WO2017201646A1 (en) * | 2016-05-23 | 2017-11-30 | 深圳市大疆创新科技有限公司 | Data storage method and device |
CN107562766A (en) * | 2016-07-01 | 2018-01-09 | 杭州海康威视数字技术股份有限公司 | A kind of data file wiring method, apparatus and system |
CN107888636A (en) * | 2016-09-30 | 2018-04-06 | 杭州海康威视数字技术股份有限公司 | Data processing method and system based on cloud storage |
CN107959812A (en) * | 2016-10-18 | 2018-04-24 | 杭州萤石网络有限公司 | Storage method, device, system and the routing device of monitoring data |
CN109963100A (en) * | 2017-12-14 | 2019-07-02 | 浙江宇视科技有限公司 | A kind of caching amended record method and device shared based on multicast |
CN110620889A (en) * | 2018-06-20 | 2019-12-27 | 杭州海康威视数字技术股份有限公司 | Video monitoring system, network hard disk video recorder and data transmission method |
CN110753198A (en) * | 2018-07-24 | 2020-02-04 | 杭州海康威视数字技术股份有限公司 | Method and apparatus for storing image data |
CN111432151A (en) * | 2020-01-20 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Video data storage method, device, equipment and storage medium |
CN113051428A (en) * | 2019-12-28 | 2021-06-29 | 浙江宇视科技有限公司 | Method and device for storing and backing up front end of camera |
-
2021
- 2021-12-28 CN CN202111631057.8A patent/CN114245052B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004328037A (en) * | 2003-04-21 | 2004-11-18 | Canon Inc | Imaging and image recording apparatus |
US20090289788A1 (en) * | 2008-05-23 | 2009-11-26 | Leblond Raymond G | Peer to peer surveillance architecture |
JP2012004643A (en) * | 2010-06-14 | 2012-01-05 | Canon Inc | Video recording device, video recording system and video recording method |
CN104243988A (en) * | 2013-06-14 | 2014-12-24 | 浙江大学 | Video encoding and decoding method and device, method for transferring video bitstream and video bitstream |
CN105430423A (en) * | 2015-11-12 | 2016-03-23 | 小米科技有限责任公司 | Video backup method, device and system |
WO2017201646A1 (en) * | 2016-05-23 | 2017-11-30 | 深圳市大疆创新科技有限公司 | Data storage method and device |
CN107562766A (en) * | 2016-07-01 | 2018-01-09 | 杭州海康威视数字技术股份有限公司 | A kind of data file wiring method, apparatus and system |
CN107888636A (en) * | 2016-09-30 | 2018-04-06 | 杭州海康威视数字技术股份有限公司 | Data processing method and system based on cloud storage |
CN107959812A (en) * | 2016-10-18 | 2018-04-24 | 杭州萤石网络有限公司 | Storage method, device, system and the routing device of monitoring data |
CN109963100A (en) * | 2017-12-14 | 2019-07-02 | 浙江宇视科技有限公司 | A kind of caching amended record method and device shared based on multicast |
CN110620889A (en) * | 2018-06-20 | 2019-12-27 | 杭州海康威视数字技术股份有限公司 | Video monitoring system, network hard disk video recorder and data transmission method |
CN110753198A (en) * | 2018-07-24 | 2020-02-04 | 杭州海康威视数字技术股份有限公司 | Method and apparatus for storing image data |
CN113051428A (en) * | 2019-12-28 | 2021-06-29 | 浙江宇视科技有限公司 | Method and device for storing and backing up front end of camera |
CN111432151A (en) * | 2020-01-20 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Video data storage method, device, equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
叶利芳;: "视频存储热备份控制技术在城市治安动态视频监控***中的应用", 中国安防, no. 10, 1 October 2012 (2012-10-01) * |
夏荣;吴彬;袁文勤;: "监控视频恢复技术研究", 网络安全技术与应用, no. 02, 15 February 2017 (2017-02-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN114245052B (en) | 2024-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101703931B1 (en) | Surveillance system | |
CN102843442B (en) | Method for configuring networked cameras | |
JP5572225B2 (en) | Method and apparatus for processing ECM packets | |
CN110475124B (en) | Video jamming detection method and device | |
CN110996056B (en) | Video storage method and device of cascade monitoring system | |
US9706170B2 (en) | Communication apparatus, communication system, and communication management system | |
CN102547093A (en) | Image recording device, image recording method, and program | |
CN110620889B (en) | Video monitoring system, network hard disk video recorder and data transmission method | |
CN114339719A (en) | DPI data acquisition method and related device | |
CN114430484A (en) | Method and device for determining abnormality of motor device, storage medium, and electronic device | |
CN114245052A (en) | Video data storage method and device, storage medium and electronic device | |
CN113645103B (en) | Method and device for detecting communication link abnormity between video monitoring platform and front-end equipment | |
US9485458B2 (en) | Data processing method and device | |
CN115878379A (en) | Data backup method, main server, backup server and storage medium | |
CN113347035B (en) | Ethernet switch configuration persistence method and device | |
CN112929228B (en) | Bandwidth testing method, user equipment and storage device | |
US11398091B1 (en) | Repairing missing frames in recorded video with machine learning | |
CN112887643A (en) | Method, device, storage medium and electronic device for recording video | |
CN112053707A (en) | Recording method and device for multimedia equipment, storage medium and electronic device | |
CN110674016A (en) | Method for processing log and positioning error information in mobile terminal, mobile terminal and monitoring device thereof and storage medium | |
CN112769889B (en) | Service data pushing method and device, storage medium and electronic device | |
CN112312094B (en) | Method and device for processing media information, storage medium and electronic device | |
CN115883466B (en) | Switch control method and device, storage medium and electronic device | |
CN116634587B (en) | Method, device and storage medium for recovering data | |
CN113709408B (en) | Data acquisition method and device and video processing equipment |
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 |