CN105338297A - Video data storage and playback system, device and method - Google Patents

Video data storage and playback system, device and method Download PDF

Info

Publication number
CN105338297A
CN105338297A CN201410391348.8A CN201410391348A CN105338297A CN 105338297 A CN105338297 A CN 105338297A CN 201410391348 A CN201410391348 A CN 201410391348A CN 105338297 A CN105338297 A CN 105338297A
Authority
CN
China
Prior art keywords
data
data segment
playback
block
information
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
CN201410391348.8A
Other languages
Chinese (zh)
Other versions
CN105338297B (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201410391348.8A priority Critical patent/CN105338297B/en
Publication of CN105338297A publication Critical patent/CN105338297A/en
Application granted granted Critical
Publication of CN105338297B publication Critical patent/CN105338297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a video data storage and playback system, device and method. The method comprises the following steps that: a storage sub-system partitions video data acquired from any front-end equipment, stores the video data in forms of data segments, and correspondingly stores segment additional information of the data segments, wherein first frames of the data segments are key frames, and the segment additional information comprises time stamp information and position information of the key frames comprised in the data segments; after a playback request of playback equipment is received, management equipment determining data segments comprising data to be played back, and informs the playback equipment of the determined data segments in order to perform stream interception; and when a stream interception request of the playback equipment specific to any data segment is received, the storage sub-system reads data to be played back comprised in the data segment from a position of which the time stamp is closest to a playback starting time in the data segment according to the segment additional information of the data segment, and transmits the data to be played back to the playback equipment in order to play back the data to be played back. Through application of the scheme of the invention, transmission resources can be saved, and the playback efficiency can be increased.

Description

A kind of video data stores and playback system, apparatus and method
Technical field
The present invention relates to technical field of video monitoring, particularly a kind of video data stores and playback system, apparatus and method.
Background technology
In prior art, the video data being obtained from headend equipment can store hereof by memory device, and file carries out cutting according to the time.When needing to carry out playback to the video data in scope sometime, the video file of correspondence can be sent to playback apparatus by memory device, correspondingly, after playback apparatus receives video data, the buffer memory of a period of time first can be carried out to it, carry out frame analysis afterwards, to find the key frame position closest to the playback time started, and carry out playback from the key frame position found.
But, certain problem can be there is in actual applications in aforesaid way, as: suppose that the time started of a certain video file x and end time are respectively 8:30 and 10:00, playback time started and playback end time are respectively 9:00 and 10:00, so, whole video file x all will be sent to playback apparatus, and the video data in just this time range of 9:00 ~ 10:00 of playback apparatus actual needs, thus waste transfer resource, and, owing to needing first to carry out buffer memory and frame analysis to the video data received, to be checked find the key frame position closest to the playback time started after could start to carry out playback, reduce playback efficiency.
Summary of the invention
In view of this, the invention provides a kind of video data and store and playback system, apparatus and method, transfer resource can be saved and improve playback efficiency.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of video data stores and playback system, comprising: management equipment and storage subsystem;
Described storage subsystem, for splitting the video data being obtained from arbitrary headend equipment, store with the form of data segment, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information;
Described management equipment, for when receiving the playback request of playback apparatus, determines the data segment comprising and treat playback of data, and informs described playback apparatus to carry out getting stream;
Described storage subsystem, for when receive described playback apparatus for arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to described playback apparatus to carry out playback.
A kind of memory device, comprising:
Memory module, for for the video data being obtained from arbitrary headend equipment, store with the form of data segment, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information;
Playback module, for when receive playback apparatus for described memory module in store arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to described playback apparatus to carry out playback.
A kind of video data stores and back method, comprising:
The video data being obtained from arbitrary headend equipment is split, be stored on magnetic disk media with the form of data segment, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information;
When receiving the playback request of playback apparatus, determine the data segment comprising and treat playback of data, and inform described playback apparatus to carry out getting stream;
When receive described playback apparatus for arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to described playback apparatus to carry out playback.
Visible, adopt scheme of the present invention, with the form of data segment, the video data being obtained from headend equipment is stored on magnetic disk media, and the section additional information of each data segment of corresponding stored, the timestamp information of the key frame namely comprised in data segment and positional information etc., like this, when needs carry out video data playback, can first determine the data segment comprising and treat playback of data, and for each data segment determined, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to playback apparatus to carry out playback, compared to prior art, only need in scheme of the present invention by with key frame be start frame treat that playback of data sends to playback apparatus, thus save transfer resource, and, playback apparatus is without the need to carrying out the process such as buffer memory and frame analysis, directly can carry out playback to the data received, thus improve playback efficiency.
Accompanying drawing explanation
Fig. 1 is the composition structural representation of video data of the present invention storage and playback system embodiment.
Fig. 2 is the schematic diagram of controll block, block of information and the data block marked off in memory device of the present invention.
Fig. 3 is the schematic diagram data of institute's buffer memory in access device of the present invention.
Fig. 4 is the composition structural representation of memory device embodiment of the present invention.
Embodiment
In order to make technical scheme of the present invention clearly, understand, to develop simultaneously embodiment referring to accompanying drawing, scheme of the present invention be described in further detail.
Fig. 1 is the composition structural representation of video data of the present invention storage and playback system embodiment.As shown in Figure 1, comprising: management equipment and storage subsystem.
Wherein, storage subsystem, for splitting the video data being obtained from arbitrary headend equipment, store with the form of data segment, as being stored on magnetic disk media, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information;
Management equipment, for when receiving the playback request of playback apparatus, determines the data segment comprising and treat playback of data, and informs playback apparatus to carry out getting stream;
Storage subsystem, for when receive playback apparatus for arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to playback apparatus to carry out playback.
System shown in Figure 1 is carried out information interaction with external device by application programming interfaces (API, ApplicationProgrammingInterface).
In addition, management equipment can adopt the mode of cluster to set up, and can adopt the working method of load balancing between each management equipment.
As shown in Figure 1, can specifically comprise in above-mentioned storage subsystem: memory device and access device; Wherein, the number of memory device can be more than one, preferably, can be multiple.
Memory device and access device can individually be laid, also can by the function i ntegration of the two to together, and specific implementation is not limit, and for ease of statement, in scheme of the present invention, hypothesis adopts the mode laid separately.
Memory device before the use, can first be formatd it by user, thus the memory space of memory device is divided into the block of series of different, comprising: data block and block of information; The size of data block and block of information is all fixing, and there is relation one to one between data block and block of information; Wherein, data block is for storing data segment, and the section additional information of each data segment is stored in block of information corresponding to the data block at this data segment place.
The large I of each data block and block of information is decided according to the actual requirements, and preferably, the size of each data block can be 64M, and the size of each block of information can be 128K.
In addition, described dissimilar block also can comprise further: controll block; The size of controll block is fixed, and for storing the facility information of place memory device, as the title of memory device and/or the mark etc. of memory device, preferably, the size of controll block is also 128K, namely identical with the size of block of information.
Once initialization completes, namely the information stored in controll block can not change usually again, and initialization complete after block of information and data block in be generally empty.
Fig. 2 is the schematic diagram of controll block, block of information and the data block marked off in memory device of the present invention.As shown in Figure 2, all there is a block of information corresponding with it in each data block, i.e. data block 1 corresponding informance block 1, data block n corresponding informance block n.
Below respectively the specific works mode of access device, memory device and management equipment in video data storage and video data replayed section is described in detail.
One) video data stores
In actual applications, when needs are recorded a video, when namely needing to carry out video data storage, user plans in management equipment by client configuration video recording; After management equipment gets the video recording plan that user arranges, can notify to access device, described video recording plan can comprise: headend equipment mark, get the stream time started, get stream end time and get stream protocol; Correspondingly, access device can get stream protocol according to described, and from getting the stream time started in the time range of getting the stream end time, the headend equipment corresponding from described headend equipment mark obtains video data.
Wherein, access device can carry out frame analysis to the video data being obtained from headend equipment, determine the timestamp information of every frame data respectively and whether be key frame information, and from getting first key frame, perform following predetermined process: the up-to-date key frame got and each non-key frame got afterwards are carried out buffer memory, when getting next key frame, determine whether the remaining space in the available block of applying for enough stores each frame data of institute's buffer memory, if, then each frame data of institute's buffer memory are sent in this data block and store, inform the timestamp information of each frame data that the memory device at this data block place sends simultaneously and whether be key frame information, if not, then again apply for an available block, and each frame data of institute's buffer memory are sent in this data block store, inform the timestamp information of each frame data that the memory device at this data block place sends simultaneously and whether be key frame information, for the up-to-date key frame got, repeat described predetermined process.
That is, each frame data before access device each buffer memory key frame to next key frame, Fig. 3 is the schematic diagram data of institute's buffer memory in access device of the present invention, as shown in Figure 3, when getting next key frame, each frame data of institute's buffer memory then can be sent in data block and store by access device, send successfully, dispose each frame data of institute's buffer memory.
When access device application available block, management equipment can according to the strategy of load balancing, for access device distributes an available block from the data block of each memory device, available block is the data block that remaining space is greater than predetermined threshold, and the concrete value of described threshold value can be decided according to the actual requirements.
In addition, memory device can for the arbitrary data block of self, data available BOB(beginning of block) will be assigned to data stored in end from this data block, stored in all data as a data segment, and the section additional information of this data segment to be stored in block of information corresponding to this data block.
Suppose that the remaining space of a data block is 64M, namely this data block is completely idle data block, and hypothesis is assigned to data available BOB(beginning of block) from this data block, access device is continuously wherein stored in 8 secondary data, (state for simplifying stored in 8M data at every turn, suppose at every turn stored in data volume identical, in practical application at every turn stored in data volume not necessarily identical), so after stored in 8 secondary data, namely this data block is filled with, correspondingly, can using in this data block stored in 64M data as a data segment, in this case, a data segment is only had in this data block.
Or, suppose that the remaining space of a data block is 64M, and hypothesis be assigned to data available BOB(beginning of block) from this data block, access device continuously wherein stored in 4 secondary data, at every turn stored in 8M data, and after stored in 4 secondary data, namely reach get stream the end time, correspondingly, then using in this data block stored in 32M data as a data segment, in this case, a data segment is also only had in this data block.
Again or, had a data segment before supposing in a data block, the remaining space of this data block is 32M, and hypothesis is assigned to data available BOB(beginning of block) from this data block, access device is continuously wherein stored in 4 secondary data, each stored in 8M data, so after stored in 4 secondary data, namely this data block is filled with, correspondingly, can using in this data block newly stored in 32M data as a data segment, in this case, two data segments in this data block, will be had.
Distinguishingly, suppose that the remaining space of a data block is 64M, and hypothesis is assigned to data available BOB(beginning of block) from this data block, access device is continuously wherein stored in 7 secondary data, each stored in 9M data, so after stored in 7 secondary data, the remaining space of 1M is only had in this data block, and the 8th secondary stored in data be 9M, be greater than 1M, therefore, then need again to apply for an available block, for the remaining space of 1M, can not stored in any data, stored in 9M data can be deposited in the available block of again applying for.
By above-mentioned processing mode, only may there be a data segment in each data block, also may has multiple data segment, if there is multiple data segment, in the block of information that so this data block is corresponding, the section additional information of this multiple data segment will be had respectively.
The section additional information of each data segment is except the timestamp information that can comprise the key frame comprised in aforesaid data segment and positional information, also can comprise further: the time started of data segment and end time, and the original position of data segment and length (size) etc., described position refers to physical location.
In addition, by above-mentioned processing mode, can ensure that the first frame in each data segment is key frame.
Have again, for the ease of follow-up video data playback, memory device also can for being stored in self arbitrary data segment, the time started of headend equipment corresponding for this data segment mark, this data segment and end time, the storage device identification at this data segment place, the data block number at this data segment place and this data segment number are reported management equipment, data block number and data segment number are distribute according to pre-defined rule, how to distribute and be not restricted, as long as different data blocks and data segment can be identified.
Correspondingly, management equipment can for each data segment, and reporting information corresponding according to this data segment respectively sets up the index information of this data segment.
Two) video data playback
Management equipment is when receiving the playback request of playback apparatus, can according to the index information of each data segment, determine the data segment comprising and treat playback of data, and inform playback apparatus to carry out getting stream, namely management equipment can by comprise the storage device identification at the data segment place for the treatment of playback of data, place the message notice such as data block number, data segment number to playback apparatus.
Wherein, can carry in playback request: headend equipment mark, playback time started and playback end time.
Correspondingly, comprise and treat that the data segment of playback of data can be: corresponding headend equipment mark and the headend equipment carried in playback request identify the data segment that there is common factor between time period and playback time started that identical and time started and end time limit and the time period that the playback end time limits.
Memory device receive arbitrary data segment that playback apparatus stores for self get stream request time, can according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to playback apparatus to carry out playback.
Get in stream request and can carry: playback time started and playback end time; Like this, when receive arbitrary data segment that playback apparatus stores for self get stream request time, to what comprise in this data segment, memory device from the key frame position of the timestamp in this data segment closest to the playback time started, can treat that playback of data reads; Wherein, when this data segment end time early than or when equaling the playback end time, by complete for the digital independent in this data segment, when the end time of this data segment is later than the playback end time, only read the data before the playback end time, particularly, can only read the timestamp in this data segment closest to the playback end time key frame position before data.
Suppose that playback time started and playback end time are respectively 9:00 and 11:30, comprise and treat that the data segment of playback of data has three, be respectively data segment 1, data segment 2 and data segment 3, wherein, time started and the end time of data segment 1 are respectively 8:30 and 9:30, time started and the end time of data segment 2 are respectively 9:30 and 10:30, time started and the end time of data segment 3 are respectively 10:30 and 11:30, so, for data segment 1, by read out from timestamp closest to 9:00 key frame position total data, and for data segment 2 and data segment 3, total data wherein will be read out.
Based on above-mentioned introduction, Fig. 4 is the composition structural representation of memory device embodiment of the present invention.As shown in Figure 4, comprising:
Memory module, for for the video data being obtained from arbitrary headend equipment, store with the form of data segment, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information;
Playback module, for when receive playback apparatus for memory module in store arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to playback apparatus to carry out playback.
Wherein, the memory space of memory module is divided into the block of series of different, comprising: data block and block of information; The size of data block and block of information is all fixing, and there is relation one to one between data block and block of information;
Data block is for storing data segment, and the section additional information of each data segment is stored in block of information corresponding to the data block at this data segment place.
In addition, also can comprise further in section additional information: the time started of data segment and end time;
Get in stream request and can carry: playback time started and playback end time;
Correspondingly, playback module receive playback apparatus for memory module in store arbitrary data segment get stream request time, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment; Wherein, when this data segment end time early than or when equaling the playback end time, by complete for the digital independent in this data segment, when the end time of this data segment is later than the playback end time, only read the data before the playback end time.
The present invention discloses a kind of video data to store and back method, comprise the following steps A ~ C.
A, the video data being obtained from arbitrary headend equipment to be split, be stored on magnetic disk media with the form of data segment, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information.
B, when receiving the playback request of playback apparatus, determine the data segment comprising and treat playback of data, and inform playback apparatus to carry out getting stream.
C, when receive playback apparatus for arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to playback apparatus to carry out playback.
In actual applications, the memory space of magnetic disk media can be divided into the block of series of different, comprising: data block and block of information; The size of data block and block of information is all fixing, and there is relation one to one between data block and block of information; Data block is for storing data segment, and the section additional information of each data segment is stored in block of information corresponding to the data block at this data segment place.
In addition, also can comprise further in above-mentioned section of additional information: the time started of data segment and end time;
Get in stream request and can carry: playback time started and playback end time;
Correspondingly, when receive playback apparatus for arbitrary data segment get stream request time, from the key frame position of the timestamp in this data segment closest to the playback time started, can treat that playback of data reads to what comprise in this data segment; Wherein, when this data segment end time early than or when equaling the playback end time, by complete for the digital independent in this data segment, when the end time of this data segment is later than the playback end time, only read the data before the playback end time.
In a word, adopt scheme of the present invention, only need by with key frame be start frame treat that playback of data sends to playback apparatus, thus save transfer resource, and, playback apparatus, without the need to carrying out the process such as buffer memory and frame analysis, directly can carry out playback to the data received, thus improve playback efficiency.
In addition, in scheme of the present invention, when carrying out video data and storing, management equipment can adopt the strategy of load balancing to carry out distribute data block, thus can by different data segments as far as possible equably distributed store on different memory devices, thus ensure that the safety and stability of data, avoid the mass data caused when a certain memory device breaks down and lose.
Further, scheme of the present invention implements simple and convenient, thus be convenient to carry out popularizing and promoting.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. video data stores and a playback system, it is characterized in that, comprising: management equipment and storage subsystem;
Described storage subsystem, for splitting the video data being obtained from arbitrary headend equipment, store with the form of data segment, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information;
Described management equipment, for when receiving the playback request of playback apparatus, determines the data segment comprising and treat playback of data, and informs described playback apparatus to carry out getting stream;
Described storage subsystem, for when receive described playback apparatus for arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to described playback apparatus to carry out playback.
2. system according to claim 1, is characterized in that,
Described storage subsystem comprises: memory device;
The memory space of described memory device is divided into the block of series of different, comprising: data block and block of information; The size of described data block and described block of information is all fixing, and there is relation one to one between described data block and described block of information;
Described data block is for storing data segment, and the section additional information of each data segment is stored in block of information corresponding to the data block at this data segment place.
3. system according to claim 2, is characterized in that,
Described dissimilar block comprises further: controll block;
The size of described controll block is fixed, for storing the facility information of place memory device.
4. system according to claim 2, is characterized in that,
Described storage subsystem comprises further: access device; The number of described memory device is more than one;
Described access device, for carrying out frame analysis to the video data being obtained from arbitrary headend equipment, determine the timestamp information of every frame data respectively and whether be key frame information, and from getting first key frame, perform following predetermined process: the up-to-date key frame got and each non-key frame got afterwards are carried out buffer memory, when getting next key frame, determine whether the remaining space in the available block of applying for enough stores each frame data of institute's buffer memory, if, then each frame data of institute's buffer memory are sent in this data block and store, inform the timestamp information of each frame data that the memory device at this data block place sends simultaneously and whether be key frame information, if not, then again apply for an available block, and each frame data of institute's buffer memory are sent in this data block store, inform the timestamp information of each frame data that the memory device at this data block place sends simultaneously and whether be key frame information, for the up-to-date key frame got, repeat described predetermined process,
Described management equipment is further used for, when described access device application available block, according to the strategy of load balancing, from the data block of each memory device, distribute an available block for described access device, described available block is the data block that remaining space is greater than predetermined threshold;
Described memory device, for for self arbitrary data block, data available BOB(beginning of block) will be assigned to data stored in end from this data block, stored in all data as a data segment, and the section additional information of this data segment to be stored in block of information corresponding to this data block.
5. system according to claim 4, is characterized in that,
Described management equipment is further used for, and obtain the video recording plan that user is arranged, and inform described access device, described video recording plan comprises: headend equipment mark, get the stream time started, get the stream end time and get stream protocol;
Described access device is further used for, and gets stream protocol according to described, and get the stream time started in described time range of getting the stream end time from described, the headend equipment corresponding from described headend equipment mark obtains video data.
6. the system according to claim 2,3,4 or 5, is characterized in that,
Described memory device, for for being stored in self arbitrary data segment, the time started of headend equipment corresponding for this data segment mark, this data segment and end time, the storage device identification at this data segment place, the data block number at this data segment place and this data segment number are reported described management equipment, and described data block number and data segment number are distribute according to pre-defined rule;
Described management equipment is further used for, for each data segment, reporting information corresponding according to this data segment respectively sets up the index information of this data segment, when receiving the playback request of described playback apparatus, according to the index information of each data segment, determine the data segment comprising and treat playback of data;
Wherein, carry in described playback request: headend equipment mark, playback time started and playback end time;
Described comprising treats that the data segment of playback of data is: corresponding headend equipment mark and the headend equipment carried in described playback request identify the data segment that there is common factor between time period and described playback time started that identical and time started and end time limit and the time period that the described playback end time limits.
7. the system according to claim 2,3,4 or 5, is characterized in that,
Described section of additional information comprises further: the time started of data segment and end time;
Described getting in stream request carries: playback time started and playback end time;
Described memory device, for when receive arbitrary data segment that described playback apparatus stores for self get stream request time, from the key frame position of the timestamp in this data segment closest to the described playback time started, treat that playback of data reads to what comprise in this data segment; Wherein, when this data segment end time early than or when equaling the described playback end time, by complete for the digital independent in this data segment, when the end time of this data segment is later than the described playback end time, only read the data before the described playback end time; Described playback apparatus is sent to carry out playback the data read.
8. a memory device, is characterized in that, comprising:
Memory module, for for the video data being obtained from arbitrary headend equipment, store with the form of data segment, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information;
Playback module, for when receive playback apparatus for described memory module in store arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to described playback apparatus to carry out playback.
9. memory device according to claim 8, is characterized in that,
The memory space of described memory module is divided into the block of series of different, comprising: data block and block of information; The size of described data block and described block of information is all fixing, and there is relation one to one between described data block and described block of information;
Described data block is for storing data segment, and the section additional information of each data segment is stored in block of information corresponding to the data block at this data segment place.
10. memory device according to claim 9, is characterized in that,
Described section of additional information comprises further: the time started of data segment and end time;
Described getting in stream request carries: playback time started and playback end time;
Described playback module receive described playback apparatus for described memory module in store arbitrary data segment get stream request time, from the key frame position of the timestamp in this data segment closest to the described playback time started, treat that playback of data reads to what comprise in this data segment; Wherein, when this data segment end time early than or when equaling the described playback end time, by complete for the digital independent in this data segment, when the end time of this data segment is later than the described playback end time, only read the data before the described playback end time.
11. 1 kinds of video datas store and back method, it is characterized in that, comprising:
The video data being obtained from arbitrary headend equipment is split, be stored on magnetic disk media with the form of data segment, first frame of each data segment is key frame, and the section additional information of each data segment of corresponding stored, comprising: the timestamp information of the key frame comprised in data segment and positional information;
When receiving the playback request of playback apparatus, determine the data segment comprising and treat playback of data, and inform described playback apparatus to carry out getting stream;
When receive described playback apparatus for arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data reads to what comprise in this data segment, and send to described playback apparatus to carry out playback.
12. methods according to claim 11, is characterized in that,
The memory space of described magnetic disk media is divided into the block of series of different, comprising: data block and block of information; The size of described data block and described block of information is all fixing, and there is relation one to one between described data block and described block of information;
Described data block is for storing data segment, and the section additional information of each data segment is stored in block of information corresponding to the data block at this data segment place.
13. methods according to claim 12, is characterized in that,
Described section of additional information comprises further: the time started of data segment and end time;
Described getting in stream request carries: playback time started and playback end time;
Described when receive described playback apparatus for arbitrary data segment get stream request time, according to the section additional information of this data segment, from the key frame position of the timestamp in this data segment closest to the playback time started, treat that playback of data carries out reading and comprises to what comprise in this data segment:
When receive described playback apparatus for arbitrary data segment get stream request time, from the key frame position of the timestamp in this data segment closest to the described playback time started, treat that playback of data reads to what comprise in this data segment;
Wherein, when this data segment end time early than or when equaling the described playback end time, by complete for the digital independent in this data segment, when the end time of this data segment is later than the described playback end time, only read the data before the described playback end time.
CN201410391348.8A 2014-08-11 2014-08-11 A kind of storage of video data and playback system, device and method Active CN105338297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410391348.8A CN105338297B (en) 2014-08-11 2014-08-11 A kind of storage of video data and playback system, device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410391348.8A CN105338297B (en) 2014-08-11 2014-08-11 A kind of storage of video data and playback system, device and method

Publications (2)

Publication Number Publication Date
CN105338297A true CN105338297A (en) 2016-02-17
CN105338297B CN105338297B (en) 2019-03-12

Family

ID=55288542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410391348.8A Active CN105338297B (en) 2014-08-11 2014-08-11 A kind of storage of video data and playback system, device and method

Country Status (1)

Country Link
CN (1) CN105338297B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649602A (en) * 2016-11-25 2017-05-10 掌阅科技股份有限公司 Way, device and server of processing business object data
CN107801092A (en) * 2017-09-15 2018-03-13 青岛海信移动通信技术股份有限公司 A kind of video speed playing method and device
CN107798718A (en) * 2017-10-31 2018-03-13 厦门幻世网络科技有限公司 A kind of animation back method and device
WO2018077266A1 (en) * 2016-10-31 2018-05-03 杭州海康威视系统技术有限公司 Breakpoint-resume transmission method and device for surveillance video
CN108536759A (en) * 2018-03-20 2018-09-14 阿里巴巴集团控股有限公司 A kind of sample playback data access method and device
CN110418209A (en) * 2019-06-24 2019-11-05 华为技术有限公司 A kind of information processing method and terminal device applied to transmission of video
CN110446118A (en) * 2019-07-01 2019-11-12 阿里巴巴集团控股有限公司 Video resource preprocess method and device, video resource method for down loading and device
WO2019237774A1 (en) * 2018-06-13 2019-12-19 杭州海康威视系统技术有限公司 Video data storage method and device in cloud storage system
CN111125436A (en) * 2018-10-31 2020-05-08 杭州海康威视系统技术有限公司 Data management method, device and system
CN111432283A (en) * 2019-11-27 2020-07-17 杭州海康威视数字技术股份有限公司 Video playback time determination method and device
CN111447455A (en) * 2018-12-29 2020-07-24 北京奇虎科技有限公司 Live video stream playback processing method and device and computing equipment
CN111542871A (en) * 2017-11-10 2020-08-14 赛斯-伊玛格标签有限责任公司 System for synchronized video playback on multiple playback devices
CN112073791A (en) * 2020-08-03 2020-12-11 上海商泰汽车信息系统有限公司 Playing synchronization method and device, storage medium and user side
CN112135163A (en) * 2020-09-27 2020-12-25 京东方科技集团股份有限公司 Video playing starting method and device
CN112869767A (en) * 2021-01-11 2021-06-01 青岛海信医疗设备股份有限公司 Ultrasonic image storage method and device and ultrasonic equipment thereof
CN113495901A (en) * 2021-04-20 2021-10-12 河海大学 Variable-length data block oriented quick retrieval method
WO2021208105A1 (en) * 2020-04-17 2021-10-21 Oppo广东移动通信有限公司 Data processing method, communication device and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006246504A (en) * 2006-03-31 2006-09-14 Toshiba Corp Encode method, reproduction method, and reproduction apparatus for image information
CN102325244A (en) * 2011-08-26 2012-01-18 杭州海康威视数字技术股份有限公司 Method for rapidly positioning videos by time, video storage control device and positioning device
CN102413358A (en) * 2011-08-12 2012-04-11 青岛海信传媒网络技术有限公司 Storage and playing method, device and system of streaming media file
CN102945679A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Video data processing method and video data read-write equipment
CN103051931A (en) * 2011-10-11 2013-04-17 中兴通讯股份有限公司 Method, server, client and system for recording and playing replay program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006246504A (en) * 2006-03-31 2006-09-14 Toshiba Corp Encode method, reproduction method, and reproduction apparatus for image information
CN102413358A (en) * 2011-08-12 2012-04-11 青岛海信传媒网络技术有限公司 Storage and playing method, device and system of streaming media file
CN102325244A (en) * 2011-08-26 2012-01-18 杭州海康威视数字技术股份有限公司 Method for rapidly positioning videos by time, video storage control device and positioning device
CN103051931A (en) * 2011-10-11 2013-04-17 中兴通讯股份有限公司 Method, server, client and system for recording and playing replay program
CN102945679A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Video data processing method and video data read-write equipment

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018077266A1 (en) * 2016-10-31 2018-05-03 杭州海康威视系统技术有限公司 Breakpoint-resume transmission method and device for surveillance video
CN106649602A (en) * 2016-11-25 2017-05-10 掌阅科技股份有限公司 Way, device and server of processing business object data
CN106649602B (en) * 2016-11-25 2018-09-04 掌阅科技股份有限公司 Business object data processing method, device and server
CN107801092A (en) * 2017-09-15 2018-03-13 青岛海信移动通信技术股份有限公司 A kind of video speed playing method and device
CN107798718A (en) * 2017-10-31 2018-03-13 厦门幻世网络科技有限公司 A kind of animation back method and device
CN107798718B (en) * 2017-10-31 2021-12-07 厦门黑镜科技有限公司 Animation playback method and device
CN111542871A (en) * 2017-11-10 2020-08-14 赛斯-伊玛格标签有限责任公司 System for synchronized video playback on multiple playback devices
CN108536759A (en) * 2018-03-20 2018-09-14 阿里巴巴集团控股有限公司 A kind of sample playback data access method and device
CN108536759B (en) * 2018-03-20 2020-08-04 阿里巴巴集团控股有限公司 Sample playback data access method and device
WO2019237774A1 (en) * 2018-06-13 2019-12-19 杭州海康威视系统技术有限公司 Video data storage method and device in cloud storage system
US11316925B2 (en) 2018-06-13 2022-04-26 Hangzhou Hikvision System Technology Co., Ltd. Video data storage method and device in cloud storage system
CN111125436B (en) * 2018-10-31 2023-08-08 杭州海康威视系统技术有限公司 Data management method, device and system
CN111125436A (en) * 2018-10-31 2020-05-08 杭州海康威视系统技术有限公司 Data management method, device and system
CN111447455A (en) * 2018-12-29 2020-07-24 北京奇虎科技有限公司 Live video stream playback processing method and device and computing equipment
CN110418209A (en) * 2019-06-24 2019-11-05 华为技术有限公司 A kind of information processing method and terminal device applied to transmission of video
CN110446118A (en) * 2019-07-01 2019-11-12 阿里巴巴集团控股有限公司 Video resource preprocess method and device, video resource method for down loading and device
CN111432283B (en) * 2019-11-27 2022-04-05 杭州海康威视数字技术股份有限公司 Video playback time determination method and device
CN111432283A (en) * 2019-11-27 2020-07-17 杭州海康威视数字技术股份有限公司 Video playback time determination method and device
WO2021208105A1 (en) * 2020-04-17 2021-10-21 Oppo广东移动通信有限公司 Data processing method, communication device and computer storage medium
CN112073791A (en) * 2020-08-03 2020-12-11 上海商泰汽车信息系统有限公司 Playing synchronization method and device, storage medium and user side
CN112135163A (en) * 2020-09-27 2020-12-25 京东方科技集团股份有限公司 Video playing starting method and device
CN112869767A (en) * 2021-01-11 2021-06-01 青岛海信医疗设备股份有限公司 Ultrasonic image storage method and device and ultrasonic equipment thereof
CN113495901A (en) * 2021-04-20 2021-10-12 河海大学 Variable-length data block oriented quick retrieval method
CN113495901B (en) * 2021-04-20 2023-10-13 河海大学 Quick retrieval method for variable-length data blocks

Also Published As

Publication number Publication date
CN105338297B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN105338297A (en) Video data storage and playback system, device and method
CN110018983B (en) Metadata query method and device
CN106980669B (en) A kind of storage of data, acquisition methods and device
KR101994021B1 (en) File manipulation method and apparatus
CN101799788B (en) Level-to-level administration method and system of storage resources
CN103870202B (en) A kind of distributed storage method and system of block device
CN104954468A (en) Resource allocation method and resource allocation device
CN105243067A (en) Method and apparatus for realizing real-time increment synchronization of data
CN106201355A (en) Data processing method and device and storage system
US20180329921A1 (en) Method and apparatus for storing time series data
CN107844274B (en) Hardware resource management method, device and terminal based on super-fusion storage system
CN111258978B (en) Data storage method
US11003367B2 (en) Data storage, reading, and cleansing method and device, and cloud storage system
JP2012089094A5 (en)
CN110445828B (en) Data distributed processing method based on Redis and related equipment thereof
CN102298547A (en) Data backup method and device
CN109600410A (en) Data-storage system and method
CN104484958A (en) Express delivery pickup method and system for intelligent express delivery cabinet
CN106202848A (en) The acquisition methods of medical image file, user terminal and master server
CN102779138A (en) Hard disk access method of real time data
CN103823807A (en) Data de-duplication method, device and system
CN102375694B (en) Data processing method and device
Copie et al. Benchmarking cloud databases for the requirements of the internet of things
CN102129619A (en) Service data processing method and system based on cloud storage
CN103778120A (en) Global file identification generation method, generation device and corresponding distributed file system

Legal Events

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