CN112954249A - Data processing method, device, equipment, medium and product - Google Patents

Data processing method, device, equipment, medium and product Download PDF

Info

Publication number
CN112954249A
CN112954249A CN202110238626.6A CN202110238626A CN112954249A CN 112954249 A CN112954249 A CN 112954249A CN 202110238626 A CN202110238626 A CN 202110238626A CN 112954249 A CN112954249 A CN 112954249A
Authority
CN
China
Prior art keywords
video
backup data
groups
difference
video images
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.)
Pending
Application number
CN202110238626.6A
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110238626.6A priority Critical patent/CN112954249A/en
Publication of CN112954249A publication Critical patent/CN112954249A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/915Television signal processing therefor for field- or frame-skip recording or reproducing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the application provides a data processing method, a device, equipment, a medium and a product, and a video is divided into at least two groups of differential backup data; a first number of video images belonging to other groups of differential backup data are spaced between two adjacent video images of the differential backup data in the same group; because the two adjacent video images can represent the content of the video images of the first number of the difference backup data belonging to other groups at intervals between the two adjacent video images in the video, each group of the difference backup data can be used as a backup video of the video, that is, a user can know all the content of the video by watching the difference backup data. Because the number of the video images contained in the differential backup data is less than that of the video images contained in the video, compared with the related art, if the differential backup data is used as the backup video, the storage resources occupied by one or more backup videos of the video are reduced, and the occupation amount of bandwidth resources is reduced.

Description

Data processing method, device, equipment, medium and product
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method, apparatus, device, medium, and product.
Background
If the videos need to be backed up, the videos may be stored in different storage spaces, for example, the videos recorded by the image recorder may be stored in a plurality of electronic devices, respectively, and the image recorder may be a car recorder, or a law enforcement recorder.
In the process of storing videos in different storage spaces respectively, a large amount of storage resources are occupied.
Disclosure of Invention
In view of the above, the present application provides a data processing method, apparatus, device, medium, and product.
In order to achieve the above purpose, the present application provides the following technical solutions:
a method of data processing, comprising:
splitting a video into at least two groups of differential backup data;
wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of differential backup data;
and respectively storing the at least two groups of difference backup data.
Optionally, different sets of the differential backup data are stored in different storage spaces, and the data processing method further includes:
obtaining one or more groups of the differential backup data in the at least two groups of the differential backup data;
a backup video comprised of the one or more sets of the differential backup data is obtained.
Optionally, the step of splitting the video into at least two groups of differential backup data includes:
if the operation of starting recording the video is detected, starting an image acquisition device;
controlling the image acquisition device to acquire a video image;
dividing the video image into corresponding difference backup data based on the position of the video image acquired at the current time in the recorded video;
and returning the position of the video image acquired based on the current time at the recorded video, and dividing the video image into corresponding difference backup data until the operation of finishing recording the video is detected.
Optionally, the method further includes:
and storing the video consisting of the video images acquired by the image acquisition device.
Optionally, the dividing the video image into the corresponding differential backup data based on the position of the video image in the recorded video includes:
if the positions of the video images acquired at the current time, which are located in the recorded video, are odd numbers, dividing the video image set into first difference backup data;
and if the position of the video image in the recorded video acquired at the current time is an even number, dividing the video image into second difference backup data.
Optionally, the step of splitting the video into at least two groups of differential backup data includes:
determining a plurality of frames of video images contained in a video to be backed up;
for each frame of the video image, dividing the video image into corresponding difference backup data based on the position of the video image in the video.
Optionally, the method further includes:
determining a number of the at least two sets of differential backup data based on a frame rate of the video.
A data storage device comprising:
the splitting module is used for splitting the video into at least two groups of difference backup data;
wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of differential backup data;
and the storage module is used for respectively storing the at least two groups of difference backup data.
An electronic device, comprising:
a memory for storing a program;
a processor configured to execute the program, the program specifically configured to:
splitting a video into at least two groups of differential backup data;
wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of differential backup data;
and respectively storing the at least two groups of difference backup data.
A computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the above-described data processing method.
A computer program product comprising a computer program/instructions which, when executed by a processor, implements the data processing method described above.
As can be seen from the foregoing technical solutions, in the data processing method provided in the embodiment of the present application, a video is split into at least two groups of differential backup data; wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of the differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of the differential backup data. Since "the two adjacent video images can represent the content included in the video images of the first number of the video images belonging to the other groups of the differential backup data at the interval between the two adjacent video images in the video", each group of the differential backup data can be used as the backup video of the video, that is, the user can know all the content of the video by watching the differential backup data. Because the number of the video images contained in the difference backup data is less than that of the video images contained in the video, the difference backup data is used as the backup video of the video, and compared with the related technology, the storage resources occupied by one or more backup videos of the video are reduced; if different groups of differential backup data need to be stored in different electronic devices or different servers, compared with the related art, the bandwidth resources occupied by one or more backup videos of the videos in the transmission process are saved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a data processing method provided in an embodiment of the present application;
fig. 2a and fig. 2b are schematic split views of video images of frames included in a video according to an embodiment of the present application;
fig. 3 is a block diagram of a data storage device according to an embodiment of the present application;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the related art, when a video is backed up, the complete video is stored in different storage spaces, for example, the video may be stored in different storage spaces of the same electronic device or the same server, or the video may be stored in different electronic devices or different servers.
Since the complete videos are stored separately, a large amount of storage resources are occupied, and if the videos need to be stored to different electronic devices or different servers, a large amount of bandwidth resources are also occupied.
Based on this, embodiments of the present application provide a data processing method, an apparatus, an electronic device, a storage medium, and a computer program product, where a video is split into at least two groups of differential backup data, and video images included in different groups of differential backup data are not overlapped. Different groups of differential backup data are stored in different storage spaces, the storage resources occupied by one group of differential backup data are smaller than the storage resources occupied by a complete video, and if the differential backup data can be used as the backup video of the video, the storage resources occupied by one or more backup videos of the video are reduced compared with the related art; if different groups of differential backup data need to be stored in different electronic devices or different servers, the bandwidth resource occupied by one group of differential backup data is smaller than that occupied by one complete video, and compared with the related technology, the bandwidth resource occupied by one or more backup videos of the videos in the transmission process is reduced.
The following describes a data processing method provided in an embodiment of the present application with reference to the drawings.
As shown in fig. 1, which is a flowchart of a data processing method provided in an embodiment of the present application, the method includes steps S101 to S102.
Step S101: the video is split into at least two sets of differential backup data.
Wherein each set of the differential backup data includes a plurality of video images. A first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of the differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of the differential backup data.
The "video images of the difference backup data belonging to the other groups with the first number of intervals between two adjacent video images of the difference backup data in the same group" means that the video images of the first number of intervals between two adjacent video images of the difference backup data belonging to the same group in the video belong to the other groups with the first number of video images. The following examples are given.
As shown in fig. 2a and fig. 2b, a schematic diagram of splitting a video image of each frame included in a video provided by the embodiment of the present application is shown.
As shown in fig. 2a, the video 21 comprises 16 frames of video images. The number of the at least two groups of difference backup data is 2, that is, the first number is 1, in the video 21, one rectangular area represents one frame of video image, wherein the rectangular area filled with the same pattern represents the video image belonging to the same group of difference backup data, and as can be seen from fig. 2a, two adjacent video images belonging to the same group of difference backup data in the video 21 are separated by one frame of video image belonging to other groups of difference backup data.
The video 21 may be split into differential backup data 22 and differential backup data 23 as shown in fig. 2 a.
As shown in fig. 2b, the video 24 comprises 25 frames of video images. The number of the at least two groups of difference backup data is 3, that is, the first number is 2, in the video 24, one rectangular area represents one frame of video image, wherein the rectangular area filled with the same pattern represents the video image belonging to the same group of difference backup data, and as can be seen from fig. 2b, two frames of video images belonging to other groups of difference backup data are separated between two adjacent video images belonging to the same group of difference backup data in the video 24.
Video 24 may be split into differential backup data 25, differential backup data 26, and differential backup data 27 as shown in fig. 2 b.
Fig. 2a illustrates an example that the number of the at least two sets of differential backup data is 2, and fig. 2b illustrates an example that the number of the at least two sets of differential backup data is 3, but the number of the at least two sets of differential backup data is not limited in this application embodiment, and for example, the number of the at least two sets of differential backup data may also be 4, 5, 6, ….
The above "the two adjacent video images can represent the content included in the video images of the first number belonging to the other group of difference backup data at the interval between the two adjacent video images in the video" means that the two adjacent video images belonging to the same group of difference backup data in the video can represent the content included in the video images of the first number located between the two adjacent video images. Taking fig. 2b as an example, two adjacent frames of video images 241 and 242 belonging to the same group of difference backup data in fig. 2b can represent the content contained in the video image 243 and the video image 244, and it can be understood that the video image 241 and the video image 242 themselves can represent the content contained in themselves.
It is understood that, when recording a video, the greater the number of video images recorded per second (i.e., the higher the frame rate), the higher the similarity between the contents contained in two or more adjacent video images.
Illustratively, the higher the frame rate, the greater the number of the at least two sets of differential backup data; the lower the frame rate, the smaller the number of the at least two sets of differential backup data.
For example, the number of the at least two sets of differential backup data may be determined based on a frame rate of the video.
Since "the two adjacent video images can represent the content included in the video images belonging to the other groups of difference backup data of the first number spaced between the two adjacent video images in the video", each group of difference backup data can be used as a backup video of the video, that is, a user can know all the content of the video by watching the difference backup data.
Since each set of differential backup data has a lower frame rate than the video, when the user views the differential backup data, the image may not be smooth.
For example, the resolution of the video image contained in the differential backup data may be lower than or higher than or equal to the resolution of the video image contained in the video.
For example, the size of the video image included in the differential backup data may be larger than or smaller than or equal to the size of the video image included in the video.
Step S102: and respectively storing the at least two groups of difference backup data.
In an alternative implementation, different sets of differential backup data may be stored in different storage spaces of the same electronic device or the same server, respectively.
For example, the electronic device may be any electronic product that can interact with a user through one or more ways such as a keyboard, a touch PAD, a touch screen, a remote controller, a voice interaction device, or a handwriting device, for example, a mobile phone, a notebook computer, a tablet computer, a palm computer, a personal computer, a wearable device, a smart television, a PAD, and the like.
The server may be, for example, one server, a server cluster composed of a plurality of servers, or a cloud computing server center. The server 13 may include a processor, memory, and a network interface, among others.
In an alternative implementation, different sets of differential backup data may be stored in different electronic devices or different servers, respectively.
In the data processing method provided by the embodiment of the application, a video is split into at least two groups of differential backup data; wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of the differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of the differential backup data. Since "the two adjacent video images can represent the content included in the video images of the first number of the video images belonging to the other groups of the differential backup data at the interval between the two adjacent video images in the video", each group of the differential backup data can be used as the backup video of the video, that is, the user can know all the content of the video by watching the differential backup data. Because the number of the video images contained in the difference backup data is less than that of the video images contained in the video, the difference backup data is used as the backup video of the video, and compared with the related technology, the storage resources occupied by one or more backup videos of the video are reduced; if different groups of differential backup data need to be stored in different electronic devices or different servers, compared with the related art, the bandwidth resources occupied by one or more backup videos of the videos in the transmission process are saved.
In an optional implementation manner, because different sets of differential backup data are stored in different storage spaces, if the differential backup data stored in a certain storage space is damaged, a backup video may be obtained based on one or more undamaged differential backup data. The specific steps include A1 to A2.
Step A1: obtaining one or more groups of the differential backup data in the at least two groups of the differential backup data.
Step A2: a backup video comprised of the one or more sets of the differential backup data is obtained.
Illustratively, the differential backup data comprises a plurality of frames of video images and a plurality of frames of video images respectively located at the positions of the videos; one or more groups of the differential backup data can be merged into the backup video based on that the plurality of frames of video images respectively contained in one or more groups of the differential backup data are respectively located at the position of the video.
In an alternative implementation, one differential backup data may be obtained from one or more non-damaged differential backup data, and the differential backup data may be used as a backup video.
It can be understood that, since the frame rate of the differential backup data is lower than that of the video, when the user views the differential backup data, the picture may not be smooth.
For example, the application scenario of the data processing method provided in the embodiment of the present application may be as follows: the application scene of using the video as evidence is, for example, the scene of recording the video by a video recorder, or the scene of recording the video by law enforcement officers in the law enforcement process.
In an alternative implementation manner, there are various implementation manners of step S101, and the embodiment of the present application provides, but is not limited to, the following two.
In a first implementation manner, splitting a video in a video recording process specifically includes steps B11 to B14.
Step B11: and if the operation of starting recording the video is detected, starting the image acquisition device.
Illustratively, the image capture device may be a camera.
For example, the operation of starting to record the video can be a voice operation or a touch operation or a gesture operation.
Step B12: and controlling the image acquisition device to acquire the video image.
Step B13: and dividing the video image into corresponding difference backup data based on the position of the video image acquired at the current time in the recorded video.
It is appreciated that the number of video images contained in a recorded video increases over time.
Step B14: and returning to the step B13 until the operation of finishing recording the video is detected.
It is understood that the image capturing means captures the video image until the end of the video recording operation is detected. The current time involved in step B13 is different each time step B13 is executed, so the video image captured at the current time is different each time step B13 is executed.
In an alternative implementation, step S102 may be located between step B13 and step B14. After determining the difference backup data to which the video image acquired at the current time belongs, directly storing the video image into a storage space for storing the difference backup data.
It can be understood that, if the recorded video is important, each frame of video image can be split and stored in real time in the process of recording the video, for example, a law enforcement officer records a scene of the video in the process of law enforcement officer, and the situation that the recorded video cannot be obtained due to damage of recording equipment caused by fighting may occur in the process of law enforcement officer.
In an alternative implementation manner, step S102 may be located after step B14, that is, after the video recording is finished, the at least two sets of difference backup data are obtained, and then the at least two sets of difference backup data are stored.
In an optional implementation manner, the recorded video may be stored locally, that is, the data processing method further includes: and storing the video consisting of the video images acquired by the image acquisition device.
In an alternative implementation, the recorded video may not be stored locally.
The first implementation manner, splitting the existing video, specifically includes step B21 to step B22.
Step B21: determining a plurality of frames of video images contained in the video to be backed up.
Step B22: for each frame of the video image, dividing the video image into corresponding difference backup data based on the position of the video image in the video.
In an optional implementation manner, after determining the difference backup data to which the video image belongs, the video image is directly stored in a storage space for storing the difference backup data.
In an optional implementation manner, after the at least two sets of differential backup data are obtained, the at least two sets of differential backup data are stored.
In an alternative implementation, the at least two sets of difference backup data include a first difference backup data and a second difference backup data, then the step of dividing the video image into the corresponding difference backup data based on the position of the video image in the recorded video includes the following steps C1 to C2.
Step C1: and if the positions of the video images acquired at the current time, which are located in the recorded videos, are odd numbers, dividing the video image set into first difference backup data.
Step C2: and if the position of the video image in the recorded video acquired at the current time is an even number, dividing the video image into second difference backup data.
In an alternative implementation, the at least two sets of differential backup data include a first differential backup data and a second differential backup data, then the step of dividing the video image into the respective differential backup data based on the position of the video image in the video includes the following steps D1 to D2.
Step D1: and if the video image is positioned at the odd number of the video positions, dividing the video image set into first difference backup data.
Step D2: and if the position of the video image in the video is an even number, dividing the video image into second difference backup data.
The method is described in detail in the embodiments disclosed in the present application, and the method of the present application can be implemented by various types of apparatuses, so that an apparatus is also disclosed in the present application, and the following detailed description is given of specific embodiments.
As shown in fig. 3, a block diagram of a data storage device provided in an embodiment of the present application includes: a splitting module 31 and a storage module 32, wherein:
a splitting module 31, configured to split the video into at least two sets of differential backup data;
wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of differential backup data;
the storage module 32 is configured to store the at least two sets of differential backup data respectively.
In an optional implementation manner, different sets of the differential backup data are stored in different storage spaces, and the data processing apparatus further includes:
a first obtaining module, configured to obtain one or more sets of the differential backup data in the at least two sets of the differential backup data;
and the second acquisition module is used for acquiring the backup video consisting of the one or more groups of the differential backup data.
In an optional implementation, the splitting module 31 includes:
the starting unit is used for starting the image acquisition device if the operation of starting recording the video is detected;
the control unit is used for controlling the image acquisition device to acquire a video image;
the first dividing unit is used for dividing the video image acquired at the current time into corresponding difference backup data based on the position of the video image at which the video image is recorded;
and the triggering unit is used for triggering the first dividing unit until the operation of finishing recording the video is detected.
In an optional implementation manner, the method further includes:
and the storage module is used for storing the video formed by the video images acquired by the image acquisition device.
In an optional implementation manner, the at least two sets of differential backup data include a first differential backup data and a second differential backup data, and the first dividing unit includes:
the first dividing unit is used for dividing the video image set into first difference backup data if the position of the video image acquired at the current time, which is located in the recorded video, is an odd number;
and the second dividing subunit is used for dividing the video image into second difference backup data if the position of the video image acquired at the current time, which is located in the recorded video, is an even number.
In an optional implementation, the splitting module 31 includes:
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining a plurality of frames of video images contained in a video to be backed up;
and the second dividing unit is used for dividing the video image into corresponding difference backup data based on the position of the video image in the video for each frame of the video image.
In an optional implementation manner, the method further includes:
a determining module, configured to determine, based on a frame rate of the video, a number of the at least two sets of differential backup data.
As shown in fig. 4, a structural diagram of an electronic device provided in an embodiment of the present application is shown, where the electronic device includes: a memory 41 and a processor 42, wherein:
a memory 41 for storing a program;
a processor 42 configured to execute the program, the program being specifically configured to:
splitting a video into at least two groups of differential backup data;
wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of differential backup data;
and respectively storing the at least two groups of difference backup data.
The processor 42 may be a central processing unit CPU or an Application Specific Integrated Circuit (ASIC).
The head-mounted display device may further comprise a communication interface 43 and a communication bus 44, wherein the memory 41, the processor 42 and the communication interface 43 are in communication with each other via the communication bus 44.
Embodiments of the present application further provide a computer-readable storage medium, where instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the data processing methods described above.
Embodiments of the present application further provide a computer program product, which includes a computer program/instruction, and when executed by a processor, the computer program/instruction implements the data processing method described in any of the above.
Note that the features described in the embodiments in the present specification may be replaced with or combined with each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of data processing, comprising:
splitting a video into at least two groups of differential backup data;
wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of differential backup data;
and respectively storing the at least two groups of difference backup data.
2. The data processing method of claim 1, wherein different sets of the differential backup data are stored in different storage spaces, the data processing method further comprising:
obtaining one or more groups of the differential backup data in the at least two groups of the differential backup data;
a backup video comprised of the one or more sets of the differential backup data is obtained.
3. The data processing method of claim 1, wherein the step of splitting the video into at least two sets of differential backup data comprises:
if the operation of starting recording the video is detected, starting an image acquisition device;
controlling the image acquisition device to acquire a video image;
dividing the video image into corresponding difference backup data based on the position of the video image acquired at the current time in the recorded video;
and returning the position of the video image acquired based on the current time at the recorded video, and dividing the video image into corresponding difference backup data until the operation of finishing recording the video is detected.
4. The data processing method according to claim 2 or 3, wherein the at least two sets of differential backup data comprise a first differential backup data and a second differential backup data, and the step of dividing the video image into the respective differential backup data based on the position of the video image in the recorded video comprises:
if the positions of the video images acquired at the current time, which are located in the recorded video, are odd numbers, dividing the video image set into first difference backup data;
and if the position of the video image in the recorded video acquired at the current time is an even number, dividing the video image into second difference backup data.
5. The data processing method of claim 1, wherein the step of splitting the video into at least two sets of differential backup data comprises:
determining a plurality of frames of video images contained in a video to be backed up;
for each frame of the video image, dividing the video image into corresponding difference backup data based on the position of the video image in the video.
6. The data processing method of any of claims 1, 2, 3, or 5, further comprising:
determining a number of the at least two sets of differential backup data based on a frame rate of the video.
7. A data storage device comprising:
the splitting module is used for splitting the video into at least two groups of difference backup data;
wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of differential backup data;
and the storage module is used for respectively storing the at least two groups of difference backup data.
8. An electronic device, comprising:
a memory for storing a program;
a processor configured to execute the program, the program specifically configured to:
splitting a video into at least two groups of differential backup data;
wherein each set of the differential backup data comprises a plurality of video images; a first number of video images belonging to other groups of difference backup data are spaced between two adjacent video images of the difference backup data in the same group, wherein the first number is the difference between the number of the at least two groups of difference backup data and 1; the two adjacent video images can represent the content contained in the first number of video images which belong to other groups of difference backup data and are spaced between the two adjacent video images in the video; the video images contained in different groups of differential backup data are positioned at different positions of the video, and the video is formed by the at least two groups of differential backup data;
and respectively storing the at least two groups of difference backup data.
9. A computer-readable storage medium, whose instructions, when executed by a processor of an electronic device, enable the electronic device to perform the data processing method of any of claims 1 to 6.
10. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the data processing method of any of claims 1 to 6.
CN202110238626.6A 2021-03-04 2021-03-04 Data processing method, device, equipment, medium and product Pending CN112954249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110238626.6A CN112954249A (en) 2021-03-04 2021-03-04 Data processing method, device, equipment, medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110238626.6A CN112954249A (en) 2021-03-04 2021-03-04 Data processing method, device, equipment, medium and product

Publications (1)

Publication Number Publication Date
CN112954249A true CN112954249A (en) 2021-06-11

Family

ID=76247534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110238626.6A Pending CN112954249A (en) 2021-03-04 2021-03-04 Data processing method, device, equipment, medium and product

Country Status (1)

Country Link
CN (1) CN112954249A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1258898A (en) * 1996-10-31 2000-07-05 传感电子公司 Video information intelligent management system
CN1640115A (en) * 2002-02-28 2005-07-13 应用视像系统有限公司 Dynamic range video recording and playback system and method
CN1934870A (en) * 2004-03-24 2007-03-21 皇家飞利浦电子股份有限公司 Multiple description coding video transmission using de-interlacing mechanisms
CN104994018A (en) * 2015-07-15 2015-10-21 深圳市云舒网络技术有限公司 Instant communication data multichannel transmission method and transmission system
CN106104651A (en) * 2014-01-15 2016-11-09 威智伦公司 Storage management from the stream data of video source apparatus
US20190342556A1 (en) * 2018-05-03 2019-11-07 Dell Products L. P. Reducing an amount of storage used to store surveillance videos

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1258898A (en) * 1996-10-31 2000-07-05 传感电子公司 Video information intelligent management system
CN1640115A (en) * 2002-02-28 2005-07-13 应用视像系统有限公司 Dynamic range video recording and playback system and method
CN1934870A (en) * 2004-03-24 2007-03-21 皇家飞利浦电子股份有限公司 Multiple description coding video transmission using de-interlacing mechanisms
CN106104651A (en) * 2014-01-15 2016-11-09 威智伦公司 Storage management from the stream data of video source apparatus
CN104994018A (en) * 2015-07-15 2015-10-21 深圳市云舒网络技术有限公司 Instant communication data multichannel transmission method and transmission system
US20190342556A1 (en) * 2018-05-03 2019-11-07 Dell Products L. P. Reducing an amount of storage used to store surveillance videos

Similar Documents

Publication Publication Date Title
CN109302619A (en) A kind of information processing method and device
CN113259770B (en) Video playing method, device, electronic equipment, medium and product
KR20140045897A (en) Device and method for media stream recognition based on visual image matching
CN104980681A (en) Video acquisition method and video acquisition device
EP4191513A1 (en) Image processing method and apparatus, device and storage medium
CN112487871B (en) Handwriting data processing method and device and electronic equipment
CN110784644A (en) Image processing method and device
WO2014005512A1 (en) Computer-implemented image composition method and apparatus using the same
CN111401206A (en) Panorama sharing method, system, device and medium
CN114598893B (en) Text video realization method and system, electronic equipment and storage medium
CN109547678B (en) Processing method, device, equipment and readable storage medium
CN116168045A (en) Method and system for dividing sweeping lens, storage medium and electronic equipment
CN112954249A (en) Data processing method, device, equipment, medium and product
CN106161743B (en) Media resource processing method, device and terminal
US20150181166A1 (en) Electronic device and method for video conference management
CN112887605B (en) Image anti-shake method and device and electronic equipment
CN112040277B (en) Video-based data processing method and device, computer and readable storage medium
Gilani et al. Impact of image appeal on visual attention during photo triaging
CN111127310B (en) Image processing method and device, electronic equipment and storage medium
CN113191210A (en) Image processing method, device and equipment
CN117176979B (en) Method, device, equipment and storage medium for extracting content frames of multi-source heterogeneous video
CN115250377B (en) Video processing method, processing platform, electronic device and storage medium
CN114554079B (en) Intelligent service management method and intelligent service management system
CN115908529A (en) Video cover picture determining method and device, electronic equipment and storage medium
CN116152046A (en) Image processing method, device, electronic equipment and storage medium

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