CN113038248A - File processing method and device, video playing method and device and electronic device - Google Patents

File processing method and device, video playing method and device and electronic device Download PDF

Info

Publication number
CN113038248A
CN113038248A CN202110321054.8A CN202110321054A CN113038248A CN 113038248 A CN113038248 A CN 113038248A CN 202110321054 A CN202110321054 A CN 202110321054A CN 113038248 A CN113038248 A CN 113038248A
Authority
CN
China
Prior art keywords
target
recording file
time period
file
recording
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
Application number
CN202110321054.8A
Other languages
Chinese (zh)
Other versions
CN113038248B (en
Inventor
曹帅
江文龙
罗心
徐涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110321054.8A priority Critical patent/CN113038248B/en
Publication of CN113038248A publication Critical patent/CN113038248A/en
Application granted granted Critical
Publication of CN113038248B publication Critical patent/CN113038248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses a file processing method and device, a video playing method and device and an electronic device. Wherein, the method comprises the following steps: in a target video recording jitter scene, the broken files are integrated into a large file by a technology of recording 'hole information', the file storage capacity of the system is optimized, and the storage capacity limit of the system under the mass broken files is broken through. The invention solves the technical problem that in the prior art, the limit pressure is caused to a file system because the handle of a large file is increased rapidly due to the frequent interruption phenomenon in the video recording process.

Description

File processing method and device, video playing method and device and electronic device
Technical Field
The invention relates to the field of computers, in particular to a file processing method and device, a video playing method and device and an electronic device.
Background
In the field of video surveillance, particularly in the security industry, video data is collected in real time, such as video files. The acquired data has continuity on a time axis, the continuous data can grow infinitely along with time, the data is called as 'streaming data', the streaming data is segmented according to time intervals, for example, the data is segmented into large files at intervals of 1 hour, and each large file is also continuous on the time axis.
The streaming data file is continuous in default in scenes such as video query, video playback, video forwarding and the like, and can be switched into different files in default if interruption occurs, so that the file can be fed back to an interrupted time slice of an application layer through attributes of the file, and the application layer can query and playback data conveniently.
For a storage system, the differentiated service types may be divided into large files and small files according to the sizes of the files. In the case of streaming data files, large files are used because of the long slicing intervals. In the business of writing large files, if large files are written and a large number of large files with small capacity are written, this is called file fragmentation, and the pressure of writing and reading is increased for the system.
For a storage system, when a scene of a small file service is processed, the small files are organized and aggregated into a large file in a certain way, and a common solution is to package an external client or perform object-level integration inside the storage system, and finally the large file is still stored in the system. For the above-mentioned "fragmented file", it needs to be converted in a special form at the client layer of the storage system to generate a large file that is good for the storage system and is synthesized in a manner similar in business performance, which is called file aggregation, that is, corresponding to multiple video data segments in the same file, the time in each data segment is incremental but discontinuous.
At present, in a technical scheme of 'file aggregation', a video file is generated every 1 hour in a video streaming data recording scene, and each video file is continuous in time under a normal condition without problems. But the file a is closed immediately when the recording is interrupted due to network jitter or other reasons, and the time span of the file a may be very small. And after the video recording is recovered, storing the file B into a new file B, and interrupting the time of the file A and the time of the file B.
If the number of files is increased rapidly when the interruption frequency is high, the data volume of each file is small; the process of creating a large file, writing data and closing the file is executed at high frequency, and finally, massive small files occupying a large file handle are generated; the number of the handles of the large files is rapidly burst, so that the system capacity reaches the limit and the writing can not be continued.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a file processing method and device, a video playing method and device and an electronic device, and at least solves the technical problem that in the prior art, a large file handle is increased rapidly due to frequent interruption in a video recording process, and further, a file system is subjected to extreme pressure.
According to an aspect of an embodiment of the present invention, there is provided a file processing method including: in the target video recording process, obtaining a first recording file, wherein the first recording file is a recording file obtained by recording the target video in a first time period; acquiring a second recording file, wherein the second recording file is obtained by recording the target video in a second time period; combining the first recording file and the second recording file into a first target recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, wherein the third time period is a time period for which the recording of the target video is interrupted; and writing the first target recording file and corresponding first related information into a first target file, wherein the first related information is used for describing the first target recording file.
According to another aspect of the embodiments of the present invention, there is also provided a file processing apparatus including: the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a first recording file in the target video recording process, and the first recording file is obtained by recording the target video in a first time period; the second obtaining unit is used for obtaining a second recording file, wherein the second recording file is obtained by recording the target video in a second time period; a first merging unit, configured to merge the first recording file and the second recording file into a first target recording file when a third time period exists between the first time period and the second time period and an addition of the first time period, the second time period, and the third time period meets a preset time period, where the third time period is a time period during which recording of the target video is interrupted; and the first writing unit is used for writing the first target recording file and corresponding first related information into the first target file, wherein the first related information is used for describing the first target recording file.
According to another aspect of the embodiments of the present invention, there is provided a video playing method, including: in the process of playing a target recorded video, acquiring related information of the target recorded file in the target file, wherein the related information is used for describing the target recorded file; the target recording file is a first recording file obtained by recording the target video in a first time period and a second recording file obtained by recording the target video in a second time period, and under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, the first recording file and the second recording file are combined to obtain a recording file; and playing the target recorded video according to the related information.
According to another aspect of the embodiments of the present invention, there is also provided a video playing apparatus, including: the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring related information of a target recording file in the target file in the playing process of the target recording video, and the related information is used for describing the target recording file; the target recording file is a first recording file obtained by recording the target video in a first time period and a second recording file obtained by recording the target video in a second time period, and under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, the first recording file and the second recording file are combined to obtain a recording file; and the playing unit is used for playing the target recorded video according to the related information.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned file processing method when running.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above video playing method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the file processing method through the computer program.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the video playing method through the computer program.
In the embodiment of the invention, a first recording file is obtained in the target video recording process, wherein the first recording file is obtained by recording a target video in a first time period; acquiring a second recording file, wherein the second recording file is a recording file obtained by recording a target video in a second time period; combining the first recording file and the second recording file into a first target recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, wherein the third time period is a time period for interrupting recording of a target video; the method comprises the steps of writing a first target recording file and corresponding first related information into the first target file, wherein the first related information is used for describing the first target recording file, and achieving the purpose of combining the first recording file and a second recording file according to interruption information, so that the broken files are integrated into a large file, the file storage capacity of a system is optimized, the technical effect of breaking through the storage capacity limit of the system under the mass broken files is achieved, and the technical problem that in the prior art, the limit pressure on a file system is caused by the fact that the handle of the large file is increased rapidly due to frequent interruption in the video recording process is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative document processing method according to an embodiment of the invention;
FIG. 2 is a flow diagram of an alternative document processing method according to an embodiment of the invention;
FIG. 3 is a flow diagram of an alternative document processing method according to an embodiment of the invention;
FIG. 4 is a flow diagram of an alternative document processing method according to an embodiment of the invention;
FIG. 5 is a flow chart of an alternative video playback method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an alternative document processing device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an alternative video playback device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
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. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a file processing method is provided, and optionally, as an optional implementation manner, the file processing method may be applied to, but is not limited to, a hardware environment as shown in fig. 1, where the file processing method may include, but is not limited to, a terminal device 102, a network 110, and a server 112. The terminal device 102 is configured to record a target video.
The terminal device 102 may include, but is not limited to: a human-computer interaction screen 104, a processor 106 and a memory 108. The man-machine interaction screen 104 is used for acquiring a man-machine interaction instruction through a man-machine interaction interface and is also used for recording a target video picture; the processor 106 is configured to record the target video in response to the human-computer interaction instruction. The memory 108 is used for storing target video recording file information. Here, the server may include but is not limited to: the system comprises a database 114 and a processing engine 116, wherein the processing engine 116 is used for calling the recording of a target video in the database 114 and acquiring a first recording file in the target video recording process, wherein the first recording file is obtained by recording the target video in a first time period; acquiring a second recording file, wherein the second recording file is a recording file obtained by recording a target video in a second time period; combining the first recording file and the second recording file into a first target recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, wherein the third time period is a time period for interrupting recording of a target video; the method comprises the steps of writing a first target recording file and corresponding first related information into the first target file, wherein the first related information is used for describing the first target recording file, and achieving the purpose of combining the first recording file and a second recording file according to interruption information, so that the broken files are integrated into a large file, the file storage capacity of a system is optimized, the technical effect of breaking through the storage capacity limit of the system under the mass broken files is achieved, and the technical problem of limit pressure on a file system caused by the fact that the handle of the large file is increased rapidly due to frequent interruption in the video recording process in the prior art is solved.
The specific process comprises the following steps: a target video recording picture (shown in fig. 1 as a shooting game, a target virtual character sniping a target object at a far distance) is displayed on the man-machine interaction screen 104 in the terminal device 102. In steps S102-S112, a first recording file recorded in the first time period and a second recording file recorded in the second time period are obtained, and the first recording file and the second recording file are sent to the server 112 through the network 110. Combining the first recording file and the second recording file into a first target recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period by the server 112, wherein the third time period is a time period for which the recording of the target video is interrupted; and writing the first target recording file and corresponding first related information into the first target file, wherein the first related information is used for describing the first target recording file. And then returns the determined result to the terminal device 102.
Then, in step S114-S116, the terminal device 102 obtains a first recording file in the target video recording process, where the first recording file is a recording file obtained by recording the target video in a first time period; acquiring a second recording file, wherein the second recording file is a recording file obtained by recording a target video in a second time period; combining the first recording file and the second recording file into a first target recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, wherein the third time period is a time period for interrupting recording of a target video; the method comprises the steps of writing a first target recording file and corresponding first related information into the first target file, wherein the first related information is used for describing the first target recording file, and achieving the purpose of combining the first recording file and a second recording file according to interruption information, so that the broken files are integrated into a large file, the file storage capacity of a system is optimized, the technical effect of breaking through the storage capacity limit of the system under the mass broken files is achieved, and the technical problem that in the prior art, the limit pressure on a file system is caused by the fact that the handle of the large file is increased rapidly due to frequent interruption in the video recording process is solved.
Optionally, in this embodiment, the file processing method may be applied, but not limited to, in the server 112, and is used for performing out-storage processing on the target video recording file. The terminal device 102 may be, but not limited to, a mobile phone, a tablet computer, a notebook computer, a PC, and other terminal devices that support running an application client. The server 112 and the terminal device 102 may implement data interaction through a network, which may include but is not limited to a wireless network or a wired network. Wherein, this wireless network includes: bluetooth, WIFI, and other networks that enable wireless communication. Such wired networks may include, but are not limited to: wide area networks, metropolitan area networks, and local area networks. The above is merely an example, and this is not limited in this embodiment.
Optionally, as an optional implementation manner, as shown in fig. 2, the file processing method includes:
step S202, in the process of recording the target video, a first recording file is obtained, wherein the first recording file is obtained by recording the target video in a first time period.
Step S204, a second recording file is obtained, wherein the second recording file is obtained by recording the target video in a second time period.
Step S206, under the condition that a third time slot exists between the first time slot and the second time slot and the sum of the first time slot, the second time slot and the third time slot meets a preset time slot, combining the first recording file and the second recording file into a first target recording file, wherein the third time slot is a time slot for interrupting recording of the target video.
Step S208, writing the first target recording file and the corresponding first related information into the first target file, where the first related information is used to describe the first target recording file.
Optionally, in this embodiment, the first related information may include at least one of the following: the first hole information may record start time and end time of a third time period, the first index information may include first-level index information and second-level index information, the first-level index information may record all key frames in a first target recording file within a period time, the second-level index information may record key frames in the first target recording file within the period time and first-level index information in a second target recording file, the first-level index information may include tail index information in the second target recording file, and the second target recording file is a previous recording file adjacent to the first target recording file in time.
It should be noted that the solution of the present embodiment may include, but is not limited to, the following applications: when recording, the video file is frequently switched due to video interruption triggered by network jitter or abnormal access of a terminal to a PAAS (platform-as-a-service) platform, namely, a service storage service. This scenario generates a large number of fragmented files and reaches the file count limit, which is a significant hazard to the availability and performance of the system. Based on the original system index mode, the broken files are gathered into large files by introducing the technology of recording the 'hole information', so that the pressure on the system is reduced, and the performance is improved.
According to the embodiment provided by the application, a first recording file is obtained in the target video recording process, wherein the first recording file is obtained by recording the target video in a first time period; acquiring a second recording file, wherein the second recording file is a recording file obtained by recording a target video in a second time period; combining the first recording file and the second recording file into a first target recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, wherein the third time period is a time period for interrupting recording of a target video; the method comprises the steps of writing a first target recording file and corresponding first related information into the first target file, wherein the first related information is used for describing the first target recording file, and achieving the purpose of combining the first recording file and a second recording file according to interruption information, so that the broken files are integrated into a large file, the file storage capacity of a system is optimized, the technical effect of breaking through the storage capacity limit of the system under the mass broken files is achieved, and the technical problem that in the prior art, the limit pressure on a file system is caused by the fact that the handle of the large file is increased rapidly due to frequent interruption in the video recording process is solved.
Optionally, in this embodiment, after merging the first recording file and the second recording file into a target recording file and writing the target recording file into the first target file, the method may further include: acquiring a third recording file, wherein the third recording file is a recording file obtained by recording a target video in a third time period, and the third time period and the second time period are continuous time periods; acquiring a fourth recording file, wherein the fourth recording file is a recording file obtained by recording a target video in a fourth time period; combining a third recording file and a fourth recording file into a third target recording file under the condition that a fifth time period exists between the third time period and the fourth time period and the sum of the third time period, the fourth time period and the fifth time period meets a preset time period, wherein the fifth time period is a time period for which the recording of the target video is interrupted;
and writing the third target recording file and corresponding second related information into a second target file, wherein the second related information is used for describing the second target recording file.
Wherein the second related information may include at least one of: the second cavity information records the start time, the end time and the first cavity information of a fifth time period, the second index information comprises third-level index information, fourth-level index information and first index information, the third-level index information records all key frames in a second target recording file within a period time, the fourth-level index information records key frames in a third target recording file within the period time and first-level index information in a fourth target recording file, the second tail index information comprises a tail index in the third target recording file, and the fourth target recording file is a previous recording file adjacent to the third target recording file in time.
Optionally, in this embodiment, after writing the second target recording file and the corresponding second related information into the second target file, the method may further include: under the condition that N target recording files exist in the target video recording process, writing the Nth target recording file and corresponding Nth related information into a third target file, wherein the Nth related information is used for describing the Nth target recording file, and N is a natural number which is more than or equal to 2; and the Nth hole information in the Nth related information comprises the hole information of the (N-1) th target recording file and the hole information of the Nth target recording file.
It should be noted that the original system introduced the concept of indexing for instant storage, instant playing and fast playback of video.
Wherein, the secondary index: the positions of N frames are stored, the secondary index record is the index information of the data frame between two I frames and the address of the previous primary index, and the secondary index is recorded once every 2 seconds.
And the primary index refers to complete index information of the current video, a primary index is generated after 30 secondary indexes according to the frequency of the indexes, each primary index knows the positions of all I frames before the current position in the file, and the primary index is recorded once at intervals of 60 s.
Indexing of the file tail: the index information of all I frames is generated when the video file is closed, and the I frame index information of the tail of the file is directly read to realize quick playback without viewing the primary index and the secondary index recorded in the front after the file is closed.
As shown in fig. 3, the index is schematic. After each file closing, an "index" and "file information" of the file tail are generated.
As shown in fig. 4, in the embodiment provided by the present application, based on the original system, a "hole" record, that is, "hole information" (corresponding to interrupt information) is introduced in a scene of video jitter, and the using method is specifically as follows.
Hole information is (N +1) th write start time — nth write end time.
The recording method of each information in this scheme is explained in detail below.
1. And generating a hollow hole.
The first written data is written into the index and the file information of the file tail when the video recording is interrupted (equivalent to the first recorded file in the first time period), and then the file is closed.
When writing data for the second time (corresponding to the second recording file in the second time period), the abnormality is recognized first, and then the file is opened again to continue additional writing data.
In the process of writing data for the second time, recording the hole information of the current writing and the last writing before the first-level index; if the interval does not reach the first-level index recording frequency and requests to close the file, the hole information is recorded once before the index at the tail of the file. So that there is at least one hole information every 60s (primary index recording frequency).
2. And (4) accumulating the holes.
It should be noted that the following hole information is the combination of the previous hole and the current hole, and the specific accumulation mode is as follows: the nth hole (N-1) th hole + this hole.
When the video is played back, the nearest hole is read to obtain all the previous hole information, and the fast playback is carried out.
3. And accumulating the indexes.
Wherein, for the tail index (corresponding to the first tail index information or the second tail index information), the tail index of the previous data writing is accumulated.
After the streaming file is stored in the above manner, the logic of the video query is changed, and the method is mainly divided into the following scenes:
scene 1: the file is closed normally.
It should be noted that, in a normally closed scene, the tail of the recording file is composed of "hole information + index + file information".
In this embodiment, all the contents of the video can still be acquired through "index"; the time interval can be quickly obtained by the "hole" for video playback.
Scene 2: and storing and putting the video.
Step 1.1, the last data block is a primary index;
1.1.1, find the secondary index within the range, then perform step 1.2.
Step 1.2, the last data block is a secondary index;
1.2.1, finding the last one-level index in the data block results in: the hole information can be found;
1.2.1, finding the last one-level index in the data block results in: there is no hole information.
Step 1.3, the last data block is video information;
1.3.1, following the existing procedure: loading 4M data content, and executing the step 1.2 after finding the secondary index;
and step 1.4, directly acquiring the hole information, wherein the last data block is the hole information.
Scene 3: the file is closed abnormally.
It should be noted that the video query after abnormal shutdown is consistent with the logic of scene 2, and is not described again.
And 1.5, carrying out video restoration flow after abnormal shutdown.
It should be noted that, in the original flow, the video needs to be traversed to be repaired.
In this embodiment, the video restoration implementation flow after abnormal shutdown is as follows.
The traversal process finds the 'hole information', records the 'hole information' in the memory, and replaces the old hole information with the new hole information. After traversing to the tail of the file, the recorded 'hole information + file tail index + file information' is stored in the repaired file.
According to the embodiment provided by the application, fragmented files are connected into a large file in a mode of recording the 'hole information', so that the overload use of a large file handle is greatly reduced, and the usability of the system is increased. When the video is played back, the distribution of the video in a certain whole time (such as 1 hour) can be obtained by reading one file, and meanwhile, high-efficiency reading and loading capabilities are provided for video query.
The processing mode of the embodiment provided by the application under the video jitter scene is better compatible with the original system, the mode of inheriting the primary index, the secondary index and the file tail index of the original system is used for recording and loading the 'hole information' in the process, the 'hole information' is integrated into the video code stream file, no additional file is required to be maintained, and the complexity of the system is reduced; the method is also compatible with the process of video recovery scene, only needs to logically identify the 'hole information', and ensures that the system can be continuously and stably under the abnormal scene.
It should also be noted that the solution of the present embodiment has the following benefits:
1. in a video jitter scene, the broken files are integrated into a large file by the technology of recording the 'hole information', the file storage capacity of the system is optimized, and the storage capacity limit of the system under the mass broken files is broken through.
2. When the video jitter causes stream interruption, the mark is 'hole information', the information is composed of StartTime (interruption starting time) and EndTime (interruption ending time), and the recording is accumulated every time the jitter is interrupted.
2. The 'hole information' is a mark of interruption information when the stream is interrupted due to video jitter, and is composed of StartTime (interruption starting time) and EndTime (interruption ending time), and the mark is continuously accumulated and embedded into a video code stream file in a 'special frame' form, so that the aim of quickly identifying the video time segment information when the video file is read is fulfilled.
3. The 'hole information' can be recorded in front of the 'primary index' of the original system, the content is the repetition of the 'hole information' accumulated in front of the 'hole information', the aim of 'storing and putting immediately' is achieved, and meanwhile, the 'hole information' can be rapidly read when the video is abnormally interrupted and the playback is interrupted.
4. When the file is closed, one copy of hole information is recorded at the tail of the original system file, and the content is the repetition of the hole information accumulated in front of the file, so that the aim of quickly obtaining the time distribution of the whole video is achieved during video query and playback.
5. After the video file is abnormally closed, the method is consistent with the method for repairing the video index, and the cavity information is filled up by scanning the file, so that the embodiment provided by the application basically has no influence on the repair of the video index of the original system, and the stability of the system is ensured.
Optionally, as an optional implementation manner, as shown in fig. 5, the video playing method includes:
step S501, in the process of playing a target recorded video, acquiring related information of the target recorded file from the target file, wherein the related information is used for describing the target recorded file; the target recording file is a first recording file obtained by recording a target video in a first time period and a second recording file obtained by recording the target video in a second time period, and the first recording file and the second recording file are combined to obtain the recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period.
And step S503, playing the target recorded video according to the related information.
Optionally, in this embodiment, the related information at least includes one of the following: the device comprises cavity information, index information and tail index information, wherein the cavity information records the starting time and the ending time of a third time period, the index information comprises primary index information and secondary index information, the primary index information records all key frames in a target recorded video within a period time, the secondary index information records key frames in the target recorded file within the period time and primary index information in a second target recorded file, the tail index information comprises tail index information in the second target recorded file, and the second target recorded file is a previous recorded file adjacent to the target recorded file in time.
According to the embodiment provided by the application, in the process of playing the target recorded video, the related information of the target recorded file is obtained from the target file, wherein the related information is used for describing the target recorded file; the target recording file is a first recording file obtained by recording a target video in a first time period and a second recording file obtained by recording the target video in a second time period, and under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, the first recording file and the second recording file are combined to obtain a recording file; and playing the target recorded video according to the related information. The purpose of quickly obtaining the time distribution of the whole video according to the cavity information during video query and playback is achieved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the invention, a file processing device for implementing the file processing method is also provided. As shown in fig. 6, the document processing apparatus includes: a first acquisition unit 61, a second acquisition unit 63, a first merging unit 65, and a first writing unit 67.
The first obtaining unit 61 is configured to obtain a first recording file in a target video recording process, where the first recording file is a recording file obtained by recording a target video in a first time period;
a second obtaining unit 63, configured to obtain a second recording file, where the second recording file is a recording file obtained by recording the target video in a second time period;
a first merging unit 65, configured to merge the first recording file and the second recording file into a first target recording file when a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period, and the third time period meets a preset time period, where the third time period is a time period during which recording of the target video is interrupted;
the first writing unit 67 is configured to write the first target recording file and corresponding first related information into the first target file, where the first related information is used to describe the first target recording file.
The first related information may include at least one of the following: the first cavity information records the start time and the end time of a third time period, the first index information comprises first-level index information and second-level index information, the first-level index information records all key frames in a first target recording file within a period time, the second-level index information records the key frames in the first target recording file within the period time and the first-level index information in a second target recording file, the first-level tail index information comprises tail index information in the second target recording file, and the second target recording file is a previous recording file adjacent to the target recording file in time.
According to the embodiment provided by the application, the first obtaining unit 61 obtains a first recording file in the target video recording process, wherein the first recording file is obtained by recording a target video in a first time period; the second obtaining unit 63 obtains a second recording file, where the second recording file is a recording file obtained by recording the target video in a second time period; the first merging unit 65 merges the first recording file and the second recording file into a first target recording file when a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, wherein the third time period is a time period during which recording of a target video is interrupted; the first writing unit 67 writes the first target recording file and corresponding first related information into the first target file, where the first related information is used to describe the first target recording file. The purpose of combining the first recording file and the second recording file according to the interruption information is achieved, so that the broken files are integrated into a large file, the file storage capacity of a system is optimized, the technical effect of breaking through the storage capacity limit of the system under the mass broken files is achieved, and the technical problem that in the prior art, the handle of the large file is increased rapidly due to frequent interruption in the video recording process, and the limit pressure is caused on the file system is solved.
Optionally, in this embodiment, the apparatus may further include: a third obtaining unit, configured to obtain a third recording file after merging the first recording file and the second recording file into a target recording file and writing the target recording file into the first target file, where the third recording file is a recording file obtained by recording a target video within a third time period, and the third time period and the second time period are consecutive time periods; a fourth obtaining unit, configured to obtain a fourth recording file, where the fourth recording file is a recording file obtained by recording the target video in a fourth time period; the second merging unit is used for merging the third recording file and the fourth recording file into a third target recording file under the condition that a fifth time slot exists between the third time slot and the fourth time slot and the sum of the third time slot, the fourth time slot and the fifth time slot meets a preset time slot, wherein the fifth time slot is a time slot for interrupting the recording of the target video; and the second writing unit is used for writing the third target recording file and corresponding second related information into the second target file, wherein the second related information is used for describing the third target recording file.
Wherein the second related information may include at least one of: the second cavity information records the start time, the end time and the first cavity information of a fifth time period, the second index information comprises third-level index information, fourth-level index information and first index information, the third-level index information records all key frames in a second target recording file within a period time, the fourth-level index information records key frames in a third target recording file within the period time and first-level index information in a fourth target recording file, the second tail index information comprises a tail index in the third target recording file, and the fourth target recording file is a previous recording file adjacent to the third target recording file in time.
Optionally, in this embodiment, the apparatus may further include: a third writing unit, configured to write a third target recording file and corresponding second related information into a second target file, and then write an nth target recording file and corresponding nth related information into the third target file when N target recording files exist in a target video recording process, where the nth related information is used to describe the nth target recording file, and N is a natural number greater than or equal to 2; and the Nth hole information in the Nth related information comprises the hole information of the (N-1) th target recording file and the hole information of the Nth target recording file.
According to another aspect of the embodiment of the present invention, there is also provided a video playing apparatus for implementing the video playing method. As shown in fig. 7, the video playback apparatus includes: an acquisition unit 71 and a playback unit 73.
An obtaining unit 71, configured to obtain, in a target recorded video playing process, relevant information of a target recorded file in a target file, where the relevant information is used to describe the target recorded file; the target recording file is a first recording file obtained by recording a target video in a first time period and a second recording file obtained by recording the target video in a second time period, and the first recording file and the second recording file are combined to obtain the recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period.
And a playing unit 73 for playing the target recorded video according to the related information.
Wherein the related information at least comprises one of the following information: the device comprises cavity information, index information and tail index information, wherein the cavity information records the starting time and the ending time of a third time period, the index information comprises primary index information and secondary index information, the primary index information records all key frames in a target recording file within a period time, the secondary index information records key frames in the target recording file within the period time and primary index information in a second target recording video, the tail index information comprises tail index information in the second target recording file, and the second target recording file is a previous recording file adjacent to the target recording file in time.
According to the embodiment provided by the application, the obtaining unit 71 obtains the relevant information of the target recording file in the target recording video playing process, wherein the relevant information is used for describing the target recording file; the target recording file is a first recording file obtained by recording a target video in a first time period and a second recording file obtained by recording the target video in a second time period, and under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, the first recording file and the second recording file are combined to obtain a recording file; the playing unit 73 plays the target recorded video according to the related information. The purpose of quickly obtaining the time distribution of the whole video according to the cavity information during video query and playback is achieved.
According to a further aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the file processing method, as shown in fig. 8, the electronic device includes a memory 802 and a processor 804, the memory 802 stores a computer program therein, and the processor 804 is configured to execute the steps in any one of the method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a first recording file in the target video recording process, wherein the first recording file is obtained by recording a target video in a first time period;
s2, acquiring a second recording file, wherein the second recording file is a recording file obtained by recording the target video in a second time period;
s3, combining the first recording file and the second recording file into a first target recording file under the condition that a third time slot exists between the first time slot and the second time slot and the sum of the first time slot, the second time slot and the third time slot meets a preset time slot, wherein the third time slot is a time slot for interrupting recording of a target video;
s4, writing the first target recording file and corresponding first related information into the first target file, where the first related information is used to describe the first target recording file.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 8 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 8 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
The memory 802 may be used to store software programs and modules, such as program instructions/modules corresponding to the file processing method and apparatus in the embodiments of the present invention, and the processor 804 executes various functional applications and data processing by running the software programs and modules stored in the memory 802, that is, implements the file processing method described above. The memory 802 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 802 can further include memory located remotely from the processor 804, which can be connected to the 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 memory 802 may be specifically but not limited to be used for information such as a first recording file, a second recording file, and a first target recording file. As an example, as shown in fig. 8, the memory 802 may include, but is not limited to, a first obtaining unit 61, a second obtaining unit 63, a first merging unit 65, and a first writing unit 67 in the file processing apparatus. In addition, the document processing apparatus may further include, but is not limited to, other module units in the document processing apparatus, which is not described in this example again.
Optionally, the transmitting device 806 is configured to receive or transmit data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 806 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 806 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
According to a further aspect of an 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.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a first recording file in the target video recording process, wherein the first recording file is obtained by recording a target video in a first time period;
s2, acquiring a second recording file, wherein the second recording file is a recording file obtained by recording the target video in a second time period;
s3, combining the first recording file and the second recording file into a first target recording file under the condition that a third time slot exists between the first time slot and the second time slot and the sum of the first time slot, the second time slot and the third time slot meets a preset time slot, wherein the third time slot is a time slot for interrupting recording of a target video;
s4, writing the first target recording file and corresponding first related information into the first target file, where the first related information is used to describe the first target recording file.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (16)

1. A file processing method, comprising:
in the target video recording process, obtaining a first recording file, wherein the first recording file is a recording file obtained by recording the target video in a first time period;
acquiring a second recording file, wherein the second recording file is obtained by recording the target video in a second time period;
combining the first recording file and the second recording file into a first target recording file under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, wherein the third time period is a time period for which the recording of the target video is interrupted;
and writing the first target recording file and corresponding first related information into a first target file, wherein the first related information is used for describing the first target recording file.
2. The method of claim 1, wherein the first related information comprises at least one of: the first cavity information records the start time and the end time of the third time period, the first index information comprises first-level index information and second-level index information, the first-level index information records all key frames in the first target recording file within a period time, the second-level index information records the key frames in the first target recording file within the period time and the first-level index information in the second target recording file, the first tail index information comprises tail index information in the second target recording file, and the second target recording file is a previous recording file adjacent to the first target recording file in time.
3. The method of claim 2, wherein after writing the first target recording file and the corresponding first related information into the first target file, the method further comprises:
acquiring a third recording file, wherein the third recording file is obtained by recording the target video in a third time period, and the third time period and the second time period are continuous time periods;
acquiring a fourth recording file, wherein the fourth recording file is obtained by recording the target video in a fourth time period;
combining a third recording file and a fourth recording file into a third target recording file under the condition that a fifth time slot exists between the third time slot and the fourth time slot and the sum of the third time slot, the fourth time slot and the fifth time slot meets the preset time slot, wherein the fifth time slot is a time slot for interrupting the recording of the target video;
and writing the third target recording file and corresponding second related information into a second target file, wherein the second related information is used for describing the third target recording file.
4. The method of claim 3, wherein the second related information comprises at least one of: the second cavity information records the start time and the end time of the fifth time period and the first cavity information, the second index information comprises third-level index information, fourth-level index information and the first index information, the third-level index information records all key frames in the second target recording file within the period time, the fourth-level index information records the key frames in the third target recording file within the period time and first-level index information in a fourth target recording file, the second tail index information comprises a tail index in the third target recording file, and the fourth target recording file is a previous recording file adjacent to the third target recording file in time.
5. The method according to claim 4, wherein after writing the second target recording file and the corresponding second related information into the second target file, the method further comprises:
under the condition that N target recording files exist in the target video recording process, writing the Nth target recording file and corresponding Nth related information into a third target file, wherein the Nth related information is used for describing the Nth target recording file, and N is a natural number which is more than or equal to 2;
wherein, the nth hole information in the nth related information includes hole information of the (N-1) th target recording file and hole information of the nth target recording file.
6. A video playback method, comprising:
in the process of playing the target recorded video, acquiring related information of the target recorded file from the target file; the related information is used for describing the target recording file, the target recording file is a first recording file obtained by recording the target video in a first time period and a second recording file obtained by recording the target video in a second time period, and the recording files obtained by combining the first recording file and the second recording file are combined under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period;
and playing the target recorded video according to the related information.
7. The method of claim 6, wherein the related information comprises at least one of: the method comprises the steps of generating a first time period, generating a second time period, generating a third time period, generating hole information, generating tail index information, and recording the start time and the end time of the third time period by the hole information, wherein the hole information records the start time and the end time of the third time period, the index information comprises first-level index information and second-level index information, the first-level index information records all key frames in a period time in a target recording file, the second-level index information records the key frames in the period time in the target recording file and the first-level index information in a second target recording video, the tail index information comprises the tail index information in the second target recording file, and the second target recording file is a previous recording file adjacent to the target recording file in time.
8. A document processing apparatus, characterized by comprising:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a first recording file in the target video recording process, and the first recording file is obtained by recording the target video in a first time period;
the second obtaining unit is used for obtaining a second recording file, wherein the second recording file is obtained by recording the target video in a second time period;
a first merging unit, configured to merge the first recording file and the second recording file into a first target recording file when a third time period exists between the first time period and the second time period and an addition of the first time period, the second time period, and the third time period meets a preset time period, where the third time period is a time period during which recording of the target video is interrupted;
and the first writing unit is used for writing the first target recording file and corresponding first related information into the first target file, wherein the first related information is used for describing the first target recording file.
9. The apparatus of claim 8, wherein the first related information comprises at least one of: the first cavity information records the start time and the end time of the third time period, the first index information comprises first-level index information and second-level index information, the first-level index information records all key frames in the first target recording file within a period time, the second-level index information records the key frames in the first target recording file within the period time and the first-level index information in the second target recording file, the first tail index information comprises tail index information in the second target recording file, and the second target recording file is a previous recording file adjacent to the first target recording file in time.
10. The apparatus of claim 9, further comprising:
a third obtaining unit, configured to obtain a third recording file after the first recording file and the second recording file are merged into a target recording file and are written into a database, where the third recording file is a recording file obtained by recording the target video within a third time period, and the third time period and the second time period are consecutive time periods;
a fourth obtaining unit, configured to obtain a fourth recording file, where the fourth recording file is a recording file obtained by recording the target video in a fourth time period;
a second merging unit, configured to merge the third recording file and the fourth recording file into a third target recording file when a fifth time period exists between the third time period and the fourth time period and the sum of the third time period, the fourth time period, and the fifth time period meets the preset time period, where the fifth time period is a time period during which recording of the target video is interrupted;
and the second writing unit is used for writing the third target recording file and corresponding second related information into a second target file, wherein the second related information is used for describing the second target recording file.
11. The apparatus of claim 10, wherein the second related information comprises at least one of: the second cavity information records the start time and the end time of the fifth time period and the first cavity information, the second index information comprises third-level index information, fourth-level index information and the first index information, the third-level index information records all key frames in the second target recording file within the period time, the fourth-level index information records the key frames in the third target recording file within the period time and first-level index information in a fourth target recording file, the second tail index information comprises a tail index in the third target recording file, and the fourth target recording file is a previous recording file adjacent to the third target recording file in time.
12. The apparatus of claim 11, further comprising:
a third writing unit, configured to write an nth target recording file and corresponding nth related information into a third target file when N target recording files exist in the target video recording process after the second target recording file and the corresponding second related information are written into the second target file, where the nth related information is used to describe the nth target recording file, and N is a natural number greater than or equal to 2;
wherein, the nth hole information in the nth related information includes hole information of the (N-1) th target recording file and hole information of the nth target recording file.
13. A video playback apparatus, comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring related information of a target recording file in the target file in the playing process of the target recording video, and the related information is used for describing the target recording file; the target recording file is a first recording file obtained by recording the target video in a first time period and a second recording file obtained by recording the target video in a second time period, and under the condition that a third time period exists between the first time period and the second time period and the sum of the first time period, the second time period and the third time period meets a preset time period, the first recording file and the second recording file are combined to obtain a recording file;
and the playing unit is used for playing the target recorded video according to the related information.
14. The apparatus of claim 13, wherein the related information comprises at least one of: the device comprises cavity information, index information and tail index information, wherein the cavity information records the starting time and the ending time of the third time period, the index information comprises primary index information and secondary index information, the primary index information records all key frames in a period time in a target recording file, the secondary index information records the key frames in the period time in the target recording file and the primary index information in a second target recording file, the tail index information comprises the tail index information in the second target recording file, and the second target recording file is a previous recording file adjacent to the target recording file in time.
15. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 5 or 6 to 7.
16. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 5 or 6-7 by means of the computer program.
CN202110321054.8A 2021-03-25 2021-03-25 File processing method and device, video playing method and device and electronic device Active CN113038248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110321054.8A CN113038248B (en) 2021-03-25 2021-03-25 File processing method and device, video playing method and device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110321054.8A CN113038248B (en) 2021-03-25 2021-03-25 File processing method and device, video playing method and device and electronic device

Publications (2)

Publication Number Publication Date
CN113038248A true CN113038248A (en) 2021-06-25
CN113038248B CN113038248B (en) 2023-03-31

Family

ID=76473807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110321054.8A Active CN113038248B (en) 2021-03-25 2021-03-25 File processing method and device, video playing method and device and electronic device

Country Status (1)

Country Link
CN (1) CN113038248B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013070768A2 (en) * 2011-11-08 2013-05-16 Pragma Design, Inc. Embedded transient scanning system apparatus and methodology
CN103247065A (en) * 2013-04-26 2013-08-14 北京大学 Three-dimensional naked eye video generating method
CN103514226A (en) * 2012-06-28 2014-01-15 浙江大华技术股份有限公司 Rapid indexing method and device for file storage of digital video recorder
US20140062315A1 (en) * 2012-09-06 2014-03-06 Michael A. Tischler Wiring boards for array-based electronic devices
CN104702874A (en) * 2015-03-05 2015-06-10 安徽清新互联信息科技有限公司 Storing method for file monitored by video
US20160005433A1 (en) * 2014-07-07 2016-01-07 Oaluwaseun Adedeji Application for enhancing a multimedia usage on an electronic device
CN105391964A (en) * 2015-11-04 2016-03-09 广东欧珀移动通信有限公司 Video data processing method and apparatus
CN108235151A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of method and apparatus of net cast
CN110045943A (en) * 2019-04-17 2019-07-23 维沃移动通信有限公司 A kind of data recording method and terminal device
US20200145590A1 (en) * 2018-11-02 2020-05-07 BriefCam Ltd. Computer-implemented method for generating an output video from multiple video sources
CN111163297A (en) * 2020-02-10 2020-05-15 迈享科技(深圳)有限公司 Method for realizing high concurrency and quick playback of video monitoring cloud storage
CN111966632A (en) * 2020-10-20 2020-11-20 浙江大华技术股份有限公司 Streaming data storage method, reading method, equipment and readable storage medium
CN112019912A (en) * 2020-08-24 2020-12-01 珠海格力电器股份有限公司 Screen recording method, device, equipment and medium
CN113660517A (en) * 2021-08-17 2021-11-16 浙江大华技术股份有限公司 Video file storage method and device, storage medium and electronic device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013070768A2 (en) * 2011-11-08 2013-05-16 Pragma Design, Inc. Embedded transient scanning system apparatus and methodology
CN103514226A (en) * 2012-06-28 2014-01-15 浙江大华技术股份有限公司 Rapid indexing method and device for file storage of digital video recorder
US20140062315A1 (en) * 2012-09-06 2014-03-06 Michael A. Tischler Wiring boards for array-based electronic devices
CN103247065A (en) * 2013-04-26 2013-08-14 北京大学 Three-dimensional naked eye video generating method
US20160005433A1 (en) * 2014-07-07 2016-01-07 Oaluwaseun Adedeji Application for enhancing a multimedia usage on an electronic device
CN104702874A (en) * 2015-03-05 2015-06-10 安徽清新互联信息科技有限公司 Storing method for file monitored by video
CN105391964A (en) * 2015-11-04 2016-03-09 广东欧珀移动通信有限公司 Video data processing method and apparatus
CN108235151A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 A kind of method and apparatus of net cast
US20200145590A1 (en) * 2018-11-02 2020-05-07 BriefCam Ltd. Computer-implemented method for generating an output video from multiple video sources
CN110045943A (en) * 2019-04-17 2019-07-23 维沃移动通信有限公司 A kind of data recording method and terminal device
CN111163297A (en) * 2020-02-10 2020-05-15 迈享科技(深圳)有限公司 Method for realizing high concurrency and quick playback of video monitoring cloud storage
CN112019912A (en) * 2020-08-24 2020-12-01 珠海格力电器股份有限公司 Screen recording method, device, equipment and medium
CN111966632A (en) * 2020-10-20 2020-11-20 浙江大华技术股份有限公司 Streaming data storage method, reading method, equipment and readable storage medium
CN113660517A (en) * 2021-08-17 2021-11-16 浙江大华技术股份有限公司 Video file storage method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN113038248B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
US11238165B2 (en) File encryption method, file decryption method, electronic device, and storage medium
CN107911249B (en) Method, device and equipment for sending command line of network equipment
US10313712B2 (en) Method, device, and server for producing video frame set
US20140105577A1 (en) Method, Device and System for Implementing Video Recording Retrieval
CN104199913B (en) Terminal resource cleaning method and device and terminal
CN109840879B (en) Image rendering method and device, computer storage medium and terminal
CN111966632B (en) Streaming data storage method, reading method, equipment and readable storage medium
WO2012106969A1 (en) Log management device and method
CN105100716B (en) A kind of secure storage unit and its system for Network Video Surveillance
CN109561117A (en) Collecting method and device
CN108021590A (en) A kind of destination object attribute determining method, attribute update method and device
CN108255989B (en) Picture storage method and device, terminal equipment and computer storage medium
CN106648445B (en) Data storage method and device for web crawler
CN111095939A (en) Identifying previously streamed portions of a media item to avoid repeated playback
CN109491589A (en) A kind of delamination process and device based on file content
US8924642B2 (en) Monitoring record management method and device
CN110826461A (en) Video content identification method and device, electronic equipment and storage medium
CN113038248B (en) File processing method and device, video playing method and device and electronic device
CN103761194B (en) A kind of EMS memory management process and device
CN106254806B (en) A kind of Video data guard method and device
CN105824820A (en) Media file buffer memory method and device
CN107509085B (en) Storage method and device of streaming media file
CN106998436B (en) Video backup method and device
CN115934999A (en) Video stream data storage method, device and medium based on block file
WO2017032249A1 (en) Video file display method and system

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