CN104967862A - Video storage method and device, and video searching method and device - Google Patents

Video storage method and device, and video searching method and device Download PDF

Info

Publication number
CN104967862A
CN104967862A CN201510435923.4A CN201510435923A CN104967862A CN 104967862 A CN104967862 A CN 104967862A CN 201510435923 A CN201510435923 A CN 201510435923A CN 104967862 A CN104967862 A CN 104967862A
Authority
CN
China
Prior art keywords
frame
video
information
user
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510435923.4A
Other languages
Chinese (zh)
Inventor
周光明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netposa Technologies Ltd
Original Assignee
Netposa Technologies 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 Netposa Technologies Ltd filed Critical Netposa Technologies Ltd
Priority to CN201510435923.4A priority Critical patent/CN104967862A/en
Publication of CN104967862A publication Critical patent/CN104967862A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2181Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • H04N21/2326Scheduling disk or memory reading operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests

Abstract

The invention discloses a video storage method and device, and a video searching method and device. The video storage method comprises the steps: obtaining a to-be-stored video; generating frame index information of each video frame according to the frame information of each video frame of the video, and generating a frame index file corresponding to the video according to the frame index information of each video frame; and enabling the frame index file and the video to be stored in a video storage system. The methods and devices are used for generating frame index information for each video frame, and generating the frame index file according to the frame index information. During the storage of the video, the frame index file is stored at the same time, so the stored video supports streaming-type broadcasting. A video frame needed by a user can be directly searched through the frame index file, thereby shortening the response time of video search, and improving the efficiency of video frame search.

Description

A kind of video storage method and device and video searching method and device
Technical field
The present invention relates to data to store and field of data transmission, in particular to a kind of video storage method and device and video searching method and device.
Background technology
At present, the capacity of video is general very large, and there is the video of magnanimity in network, how to realize storage and the how quick search video from the massive video stored of massive video, becomes urgent problem.
Current, provide a kind of method of store video and search video in prior art, comprising: in video server, realized the storage of massive video by the mark of store video and the corresponding relation of video data.When receiving the request of user search video, according to the mark of the video that user submits to, from the mark of video and the corresponding relation of video data, obtaining corresponding video data, the video data of acquisition is sent to user.
Realizing in process of the present invention, inventor finds at least there is following problem in prior art:
The video stored cannot support streaming program request, some frame of video that user needs cannot be directly searched, user can only could play the frame of video needing viewing after whole video has been downloaded, when video capacity is very large, by the time a large amount of for cost, cause the efficiency of the frame of video obtaining needs very low.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of video storage method and device and video searching method and device, realize the streaming program request of video, the frame of video of user's needs can be directly searched according to frame index file, shorten the response time of search video, improve the efficiency of search frame of video.
First aspect, embodiments provides a kind of video storage method, and described method comprises:
Obtain video to be stored;
Generate the frame index information of described each frame of video according to the frame information of frame of video each in described video, and generate frame index file corresponding to described video according to the frame index information of described each frame of video;
By described frame index file and described video storage in Video Storage System.
In conjunction with first aspect, embodiments provide the first possible implementation of above-mentioned first aspect, wherein, the described frame information according to frame of video each in described video generates the frame index information of described each frame of video, comprising:
For each frame of video in described video, from the frame information of present frame, obtain frame type and the timestamp of described present frame;
According to the timestamp of described present frame, determine the time offset of described present frame; The capacity of the part be positioned at before described present frame in described video is defined as the data offset of described present frame;
The described frame type of described present frame, described timestamp, described time offset and described data offset are formed the frame index information of described present frame.
In conjunction with the first possible implementation of first aspect, embodiments provide the implementation that the second of above-mentioned first aspect is possible, wherein, when the type of described video is real-time video, described method also comprises:
The coded message of described real-time video, decoded information and supplier's mark is obtained from described real-time video;
Described coded message, decoded information and described supplier mark are added in the frame index information of described present frame; Or, described coded message, decoded information and described supplier mark are added in described frame index file.
In conjunction with the first possible implementation of first aspect, embodiments provide the third possible implementation of above-mentioned first aspect, wherein, described the described frame type of described present frame, described timestamp, described time offset and described data offset are formed the frame index information of described present frame after, also comprise:
The frame type of described present frame be P frame or B frame time, obtain the key frame position of described present frame, described key frame position added in the frame index information of described present frame, described key frame position be positioned at described present frame before the position of nearest I frame;
And/or, when comprising user's label information in described present frame, obtain the length of described user's label information and described user's label information, the length of described user's label information and described user's label information is added in the frame index information of described present frame.
In conjunction with first aspect, embodiments provide the 4th kind of possible implementation of above-mentioned first aspect, wherein, described method also comprises:
Receive picture to be stored, by the picture of predetermined number composition picture group;
Obtain mark and the position of each picture in described picture group of each picture in described picture group;
The mark of each described picture and position are formed picture indices file corresponding to described picture group;
Described picture indices file and described picture group are stored in described Video Storage System.
In conjunction with first aspect, embodiments provide the 5th kind of possible implementation of above-mentioned first aspect, wherein, described by described frame index file and described video storage in Video Storage System, comprising:
The video labeling of described video is obtained from described video, in Video Storage System, store the corresponding relation of described video labeling, described frame index file and described video, described Video Storage System comprises distributed file system, storage server and third party's memory device.
Second aspect, embodiments provides a kind of video searching method, and described method comprises:
Receive the video playback request of user, described video playback request comprises described user for the video labeling of displaying video and video frame information, described video frame information comprise following one or more: the timestamp of frame of video, time offset and data offset;
According to the frame index file that described video labeling, described video frame information and Video Storage System store, from the video that described Video Storage System stores, obtain the data of frame of video corresponding to described video frame information;
The data of the described frame of video obtained are supplied to described user.
In conjunction with second aspect, embodiments provide the first possible implementation of above-mentioned second aspect, wherein, the described data by the described frame of video obtained are supplied to described user, comprising:
Supplier's mark of described frame of video, coded message, frame type and timestamp is obtained from described frame index file;
By described supplier mark, coded message, frame type and timestamp composition video frame header;
The data of described video frame header and described frame of video are formed video requency frame data bag, described video requency frame data bag is sent to described user.
In conjunction with the first possible implementation of second aspect, embodiments provide the implementation that the second of above-mentioned second aspect is possible, wherein, described by after the data of video frame header and described frame of video composition video requency frame data bag, also comprise:
Obtain the decoded information of described frame of video and add in described video requency frame data bag; And if be P frame or B frame at the frame type of described frame of video, from described frame index file, then obtain the position of the key frame of described frame of video, according to the position of described key frame, obtain the data of described key frame, the data of described key frame are added in described video requency frame data bag.
The third aspect, embodiments provides a kind of video storage device, and described device comprises:
Acquisition module, for obtaining video to be stored;
Generation module, for generating the frame index information of described each frame of video according to the frame information of frame of video each in described video, and generates frame index file corresponding to described video according to the frame index information of described each frame of video;
Memory module, for by described frame index file and described video storage in Video Storage System.
In conjunction with the third aspect, embodiments provide the first possible implementation of the above-mentioned third aspect, wherein, described generation module comprises:
Acquiring unit, for for each frame of video in described video, obtains frame type and the timestamp of described present frame from the frame information of present frame;
Determining unit, for the timestamp according to described present frame, determines the time offset of described present frame; The capacity of the part be positioned at before described present frame in described video is defined as the data offset of described present frame;
Component units, for forming the frame index information of described present frame by the described frame type of described present frame, described timestamp, described time offset and described data offset.
In conjunction with the first possible implementation of the third aspect, embodiments provide the implementation that the second of the above-mentioned third aspect is possible, wherein, when the type of described video is real-time video, described device also comprises:
First adds module, for obtaining the coded message of described real-time video, decoded information and supplier's mark from described real-time video; Described coded message, decoded information and described supplier mark are added in the frame index information of described present frame; Or, described coded message, decoded information and described supplier mark are added in described frame index file.
In conjunction with the first possible implementation of the third aspect, embodiments provide the third possible implementation of the above-mentioned third aspect, wherein, described device also comprises:
Second adds module, for at the frame type of described present frame be P frame or B frame time, obtain the key frame position of described present frame, described key frame position added in the frame index information of described present frame, described key frame position be positioned at described present frame before the position of nearest I frame; And/or, during for comprising user's label information in described present frame, obtain the length of described user's label information and described user's label information, the length of described user's label information and described user's label information is added in the frame index information of described present frame.
In conjunction with the third aspect, embodiments provide the 4th kind of possible implementation of the above-mentioned third aspect, wherein, described device also comprises:
Picture storage module, for receiving picture to be stored, by the picture of predetermined number composition picture group; Obtain mark and the position of each picture in described picture group of each picture in described picture group; The mark of each described picture and position are formed picture indices file corresponding to described picture group; Described picture indices file and described picture group are stored in described Video Storage System.
In conjunction with the third aspect, embodiments provide the 5th kind of possible implementation of the above-mentioned third aspect, wherein, described memory module, for obtaining the video labeling of described video from described video, in Video Storage System, store the corresponding relation of described video labeling, described frame index file and described video, described Video Storage System comprises distributed file system, storage server and third party's memory device.
Fourth aspect, embodiments provides a kind of video searching apparatus, and described device comprises:
Receiver module, for receiving the video playback request of user, described video playback request comprises described user for the video labeling of displaying video and video frame information, described video frame information comprise following one or more: the timestamp of frame of video, time offset and data offset;
Acquisition module, for the frame index file stored according to described video labeling, described video frame information and Video Storage System, obtains the data of frame of video corresponding to described video frame information from the video that described Video Storage System stores;
There is provided module, for the data of the described frame of video obtained are supplied to described user.
In conjunction with fourth aspect, embodiments provide the first possible implementation of above-mentioned fourth aspect, wherein, described in provide module to comprise:
Acquiring unit, for obtaining supplier's mark of described frame of video, coded message, frame type and timestamp from described frame index file;
Component units, for forming video frame header by described supplier mark, coded message, frame type and timestamp; The data of described video frame header and described frame of video are formed video requency frame data bag;
Transmitting element, for sending to described user by described video requency frame data bag.
In conjunction with the first possible implementation of fourth aspect, embodiments provide the implementation that the second of above-mentioned fourth aspect is possible, wherein, described device also comprises:
Add module, for obtaining the decoded information of described frame of video and adding in described video requency frame data bag; And the frame type of described frame of video be P frame or B frame time, the position of the key frame of described frame of video is obtained from described frame index file, according to the position of described key frame, obtain the data of described key frame, the data of described key frame are added in described video requency frame data bag.
In the method provided in the embodiment of the present invention and device, for each frame of video generates frame index information, and according to frame index information delta frame index file, the frame index file that video is corresponding is stored while store video, the video of storage like this supports streaming program request, the frame of video of user's needs can be directly searched according to frame index file, shorten the response time of search video, improve the efficiency of search frame of video.
For making above-mentioned purpose of the present invention, feature and advantage become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, be described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, be to be understood that, the following drawings illustrate only some embodiment of the present invention, therefore the restriction to scope should be counted as, for those of ordinary skill in the art, under the prerequisite not paying creative work, other relevant accompanying drawings can also be obtained according to these accompanying drawings.
Figure 1A shows a kind of video storage method flow chart that the embodiment of the present invention 1 provides;
Figure 1B shows a kind of video storage configuration diagram that the embodiment of the present invention 1 provides;
Fig. 2 A shows a kind of video searching method flow chart that the embodiment of the present invention 2 provides;
Fig. 2 B shows the schematic diagram of a kind of video frame transmission form that the embodiment of the present invention 2 provides;
Fig. 3 shows the structural representation of a kind of video storage device that the embodiment of the present invention 3 provides;
Fig. 4 shows the structural representation of a kind of video searching apparatus that the embodiment of the present invention 4 provides.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.The assembly of the embodiment of the present invention describing and illustrate in usual accompanying drawing herein can be arranged with various different configuration and design.Therefore, below to the detailed description of the embodiments of the invention provided in the accompanying drawings and the claimed scope of the present invention of not intended to be limiting, but selected embodiment of the present invention is only represented.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
Consider in correlation technique some frame of video that cannot directly search user and need, the frame of video needing viewing could be play after can only downloading complete video, when video capacity is very large, by the time a large amount of for cost, cause the efficiency of the frame of video obtaining needs very low.Based on this, embodiments provide a kind of video storage method and device and video searching method and device.Be described below by embodiment.
Embodiment 1
See Figure 1A, embodiments provide a kind of video storage method.The method specifically comprises the following steps:
Step 101: obtain video to be stored;
The executive agent of the embodiment of the present invention can be server.Video in the embodiment of the present invention can be the video file of reference format, as MP4 (Moving Picture 4, moving image format) or AVI (Audio Video Interleaved, Audio Video Interleaved form) etc. the video file of form, also can be the video file of noncanonical format, as the video of the noncanonical format of some monitor video Vendor-specifics or the real-time video flowing that directly obtains from video camera.
When user needs store video, video to be stored can be sent to server by terminal by user.Server receives video to be stored, and then the operation of 102 carries out video streaming process to this video as follows, generates the frame index information of each frame of video, and generates frame index file corresponding to this video.
Step 102: the frame index information generating each frame of video according to the frame information of frame of video each in this video, and the frame index file corresponding according to the frame index information generating video of each frame of video;
Video is made up of according to time order and function order multiple frame of video, and each frame of video has frame information, and the frame information of frame of video comprises the timestamp and frame type etc. of frame of video.The timestamp of frame of video is the time point of frame of video on the time shaft that video is corresponding.The frame type of frame of video can be I frame, P frame or B frame.I frame is key frame, can decode the effective image of a frame.P frame and B frame need just can be correctly decoded out effective image according to the I frame be positioned at before it.
In embodiments of the present invention, for each frame of video in this video, the operation of the frame index information of above-mentioned generating video frame specifically comprises:
A frame of video is obtained, using this frame of video as present frame from this video.Frame type and the timestamp of present frame is obtained from the frame information of present frame; According to the timestamp of present frame, determine the time offset of present frame, this time offset represents the time period between present frame and zero moment of video; The capacity of the part before being positioned at present frame in this video is defined as the data offset of present frame, this data offset represents that in this video, timestamp is early than the capacity of all video datas of the timestamp of present frame; By the frame index information of the frame type of present frame, timestamp, time offset and data offset composition present frame.
Decoding dependency due to P frame and B frame is positioned at the I frame before it, so generate very much the frame index information of present frame according to aforesaid operations after, also need to judge the frame type of present frame, if the frame type of present frame is I frame, then determine that present frame can independently decode effective image.If the frame type of present frame is P frame or B frame, then determine that present frame cannot independently decode effective image, need by means of before present frame and just can decode effective image from the I frame that present frame is nearest, the position of I frame nearest before being positioned at present frame is defined as the key frame position of present frame, obtain the key frame position of present frame, this key frame position is added in the frame index information of present frame.So when user asks to play when the current frame, according to this key frame position, the data of I frame nearest before present frame also can be supplied to user, to make user's this I frame data of first decoding decode again present frame, thus decode effective image.
In embodiments of the present invention, above-mentioned key frame position can for the timestamp of I frame nearest before present frame, time offset, data offset or other can navigate to present frame before the index information of nearest I frame.
In addition, user, before the method store video provided by the embodiment of the present invention, also may with the addition of user's label information in some frame of video of video, and this user's label information can be word, lines or pattern etc.In order to show user's label information that user adds when these frame of video are play in subsequent user request, the embodiment of the present invention is when generating the frame index information of present frame, also need to judge whether comprise user's label information in present frame, if comprise user's label information, then obtain the length of user's label information and user's label information, and the length of user's label information and user's label information is added in the frame index information of present frame.
For the ease of understanding the process of the frame index information generating present frame, citing is below described.Such as, suppose that the timestamp of present frame is 01:00, the frame type of present frame is P frame, in video from zero moment to 01:00 the capacity of all video datas be 0.5MB, user with the addition of the word " monitored object " that length is 2 bytes in the current frame before store video.Then can determine that the time offset of present frame is 1 minute, data offset is 0.5MB, the timestamp of I frame nearest before being positioned at present frame is determined from video, the timestamp of I frame nearest before supposing present frame is 00:55, the timestamp 00:55 of this I frame is defined as the key frame position of present frame, by the frame type P frame of present frame, timestamp 01:00, time offset 1 minute, data offset 0.5MB, key frame position 00:55, the frame index information of the length 2 byte composition present frame of user's label information " monitored object " and user's label information.
In addition, video comprises the data of each frame of video in embodiments of the present invention, can also comprise video essential information, and video essential information comprises video labeling, the coded message of video, decoded information, the file format of video and supplier's mark etc. of video.Video labeling can be the title or link etc. of video.Decoded information can be the relevant information of the decoder of the supplier that video is corresponding, as title, the version number and download link etc. of the decoder of supplier.
The coded message of above-mentioned video can be the coded format of video, and coded format can be H.264 (high compression digital video coding-coding device standard) or MPEG-4 (audio/video information compression and coding standard) etc.Decode owing to needing the coded format with reference to video during video decode, so when generating the frame index information of present frame, the coded message of video can also be obtained from the video essential information of video, the coded message of video added in the frame index information of present frame, to make follow-up play, this can be decoded to present frame according to this coded message when the current frame.
In addition, if also comprise voice data in video, then this video data also has corresponding audio coding formats, and audio coding formats can be PCM (Pulse Code Modulation, pulse code modulation) etc.The embodiment of the present invention also needs audio coding formats corresponding for video to add in the frame index information of present frame, and to make follow-up play, this can be decoded to the voice data that present frame comprises according to this audio coding formats when the current frame.
In the embodiment of the present invention, the form of video file can be the reference formats such as MP4 or AVI, also can be the noncanonical format of some monitor video Vendor-specifics.Video is divided into different types by the file format difference according to video in the embodiment of the present invention, and the video of reference format is type, and the video of noncanonical format is real-time video type.Terminal due to user is generally difficult to the video directly decoding noncanonical format, so can be correctly decoded in order to the video ensureing noncanonical format, also need the file format obtaining video from the video essential information of video, according to the type of the file format determination video of video, if determine that the type of video is type, can not any operation be carried out, also can add the preset characters being used to indicate type in the frame index information of present frame.If determine that the type of video is real-time video, from the video essential information of real-time video, then obtain decoded information and supplier's mark of real-time video, this decoded information and supplier's mark are added in the frame index information of present frame, can the decoder of acquisition this supplier be identified according to this decoded information and supplier to make subsequent user and utilize the successful decoded video of the decoder of this supplier.
For other each frame of video in video, with above-mentioned present frame, the frame index information of other each frame of video can be generated respectively according to aforesaid operations.In addition, when the frame index information of each frame of video of generating video, can process successively according to the sequencing of the timestamp of frame of video, multiple frame of video parallel processings that also can comprise video, generate the frame index information of multiple frame of video simultaneously, improve treatment effeciency.
After frame index information by each frame of video in aforesaid operations generating video, the frame index information of each frame of video is formed frame index file corresponding to this video.When delta frame index file, the frame index information of frame of video can random alignment, also can arrange according to the sequencing of the timestamp of frame of video.The logic of frame index information arrangement can be increased according to the sequencing arrangement of timestamp, also according to the frame index information of timestamp successively sequence, the frame of video that user needs can be searched rapidly and accurately follow-up according to during frame index file search frame of video.
In embodiments of the present invention, for the coded message of video, decoded information and supplier's mark, can not also coded message, decoded information and supplier's mark be added in the frame index information of frame of video, but when user's acquisition request one frame of video, from the video essential information of video, obtain the coded message of video, decoded information and supplier's mark temporarily, this coded message, decoded information and supplier's mark are added in packet corresponding to this frame of video.In addition, also this coded message, decoded information and supplier can be identified adds to separately in frame index file, when user's acquisition request frame of video, from frame index file, obtain coded message, decoded information and supplier's mark, and add in packet corresponding to this frame of video.Coded message, decoded information and supplier's mark can be avoided like this to add in the frame index information of each frame of video, simplify the operation of the frame index information of generating video frame, improve the efficiency of delta frame index information and frame index file.
In addition, when video to be stored be noncanonical format video and do not comprise in video to be stored decoded information and supplier identify time, when carrying out fluidization treatment to video to be stored, decoded information and supplier's mark also can not be added in the frame index information of frame of video.
When fluidization treatment being carried out to video by aforesaid operations in embodiments of the present invention, the frame index information of each frame of video can be generated by the video file frame analyzer designed in advance, also SDK (the SoftwareDevelopment Kit that supplier corresponding to video provides can be adopted, SDK) generate the frame index information of each frame of video, the SDK provided by supplier can be corresponding to supplier rapidly and accurately video carry out fluidization treatment, improve the efficiency of fluidization treatment.
By after the frame index file that above-mentioned steps 102 generating video is corresponding, can as follows 103 operation carry out store video.
Step 103: by this frame index file and this video storage in Video Storage System.
Above-mentioned Video Storage System comprises distributed file system, storage server, third party's memory device or storage server cluster etc.
Above-mentioned storage operation specifically comprises: the video labeling obtaining video from the video essential information of video, the corresponding relation of store video mark, frame index file and video in Video Storage System.
The embodiment of the present invention, except supporting the storage of video, also supports the storage of mass picture.When picture, in order to improve the performance of picture, reducing the quantity of picture of actual storage management, multiple picture can be aggregated into a picture group being equivalent to video file store by operating as follows, specifically comprise:
Receive picture to be stored, by the picture of predetermined number composition picture group; Obtain mark and the position of each picture in picture group of each picture in picture group, the mark of picture can be the title of picture or link etc., the sequence number etc. that the position of picture in picture group can arrange in picture group for picture; The mark of each picture and position are formed picture indices file corresponding to picture group; Picture indices file and picture group are stored in Video Storage System.
Namely the storage means that the embodiment of the present invention provides supports the storage of video and picture, also supports the storage of the ordinary files such as text, and this storage means can support the multiple deployment way such as the concentrated deployment of memory node and distributed deployment.Wherein, concentrated deployment is that all memory nodes of store video and ordinary file are concentrated into a storage pool, and multiple user shares the resource stored in this storage pool, promotes the utilance of storage pool.And distributed deployment is the memory node setting up multiple store video and ordinary file, separate between each memory node, each user is used alone a memory node, or a few users shares a memory node, can promote the exclusive use of user to memory bandwidth like this.In addition, deployment way can also be that current limliting is disposed, and it is also adopt the mode concentrated and dispose that current limliting is disposed, but adopts current-limiting operation to user, avoids certain user frequently access memory node and have influence on other users.
The storage architecture of embodiment of the present invention store video and ordinary file as shown in Figure 1B, in this storage architecture, server or Video Storage System have opened cloud memory access interface, video to be stored or picture etc. that server or Video Storage System are uploaded by this cloud memory access interface user for user.The bottom storage system of storage architecture can be distributed file system, storage server physical cluster and third party's memory device or system etc.The storage means provided to enable the embodiment of the present invention adapts to and more bottom storage facility, additionally provide the abstraction interface of base file system, because most distributed file system and third party's storage system all provide NFS (Network File System, NFS) agreement or CIFS (Common Internet File System, universal network file system) agreement, storage system can be mounted in a local catalogue by the mount order under Linux (class Unix operating system).For the consideration of performance, bottom storage SAN (Storage AreaNetwork and SAN Protocols is accessed by the SDK of distributed file system or third party's storage system, storage area network) and NAS (NetworkAttached Storage, network attached storage) etc.In addition, the service function of this storage architecture support comprises video file streaming services, small documents aggregated service, real-time streams access services and ordinary file management service.
In embodiments of the present invention, due to before store video, fluidization treatment has been carried out to video, generate the frame index information of each frame of video, and generate frame index file corresponding to video according to frame index information, support like this directly searches out this frame of video according to the information of a certain frame of video, achieve the streaming program request of video, and in the embodiment of the present invention, also support the streaming program request of the real-time videos such as monitor video, the supplier of real-time video can be provided to identify for user simultaneously, or the decoder of the supplier of real-time video is directly provided for user, ensure that user can successfully decode real-time video.
In embodiments of the present invention, for each frame of video generates frame index information, and according to frame index information delta frame index file, the frame index file that video is corresponding is stored while store video, the video of storage like this supports streaming program request, the frame of video of user's needs can be directly searched according to frame index file, shorten the response time of search video, improve the efficiency of search frame of video.
Embodiment 2
See Fig. 2 A, embodiments provide a kind of video searching method, the method specifically comprises the following steps:
Step 201: the video playback request receiving user, this video playback request comprises video labeling and the video frame information of user's wish displaying video;
Above-mentioned video labeling can be the title or link etc. of video.Above-mentioned video frame information comprise following one or more: the timestamp of frame of video, time offset and data offset.Wherein, the timestamp of frame of video is the time point of frame of video on the time shaft that video is corresponding, time offset represents the time period between this frame of video and zero moment of video, and data offset represents that in this video, timestamp is early than the capacity of all video datas of the timestamp of this frame of video.
Sometimes user is when displaying video, may not want to start anew to play this video, but select a location point from the time shaft of video, directly play from this location point place, now do not need the video data obtaining whole video, only need to obtain the data of this location point and the later frame of video of this location point.
When the terminal of user detects a location point on the time shaft that user selects video, obtain this location point corresponding on the time shaft of video when, is defined as the timestamp of user for the frame of video of broadcasting this moment, using the video frame information of this timestamp as the frame of video for playing.Or, determine the time offset for the frame of video play according to this timestamp, using the video frame information of this time offset as the frame of video for playing.Or, according to this timestamp, determine that in this video, timestamp is early than the capacity of all video datas of the timestamp of this frame of video, this capacity determined is the data offset for the frame of video play, using the video frame information of this data offset as the frame of video for playing.Or, can also using the video frame information of the combination in any in above-mentioned timestamp, time offset and data offset as the frame of video for playing.
After the terminal of user obtains video frame information by aforesaid operations, send video playback request to server, and in this video playback request, carry video labeling and the video frame information of the video for playing.The video playback request that the terminal of server receives user sends, then as follows 202 be operating as the data of frame of video of user search for playing.
Step 202: the frame index file of the video labeling carried according to this video playback request and video frame information and Video Storage System storage, obtains the data of frame of video corresponding to video frame information from the video that Video Storage System stores;
Above-mentioned Video Storage System comprises distributed file system, storage server, third party's memory device or storage server cluster etc.Above-mentioned frame index file comprises the frame index information of each frame of video in video corresponding to frame index file, at least comprises the timestamp of frame of video, time offset, data offset and frame type in the frame index information of frame of video.
The corresponding relation of video labeling, frame index file and video is stored in server or Video Storage System.According to the video labeling carried in this video playback request, from above-mentioned corresponding relation, obtain corresponding frame index file and video.Then according to the video frame information carried in this video playback request, the frame index information of each frame of video comprised from the frame index file of above-mentioned acquisition, the frame index information comprising this video frame information is inquired.From this video, the data of frame of video corresponding to this frame index information are obtained according to the frame index information inquired.
Step 203: the data of the frame of video of acquisition are supplied to user.
Embodiments provide the transformat of frame of video, as shown in Figure 2 B, the transformat of frame of video comprises video frame header and video requency frame data, and video frame header at least comprises the coded message of video, supplier's mark and the frame type of frame of video and timestamp.
The operation that the above-mentioned data by frame of video are supplied to user specifically comprises: the frame type and the timestamp that obtain frame of video in the frame index information that this frame of video is corresponding from frame index file, if this frame index information comprises supplier's mark and coded message, then from this frame index information, obtain supplier's mark and coded message.If do not comprise supplier's mark and coded message in this frame index information, then obtain supplier's mark and coded message the direct video essential information from video or frame index file.By supplier's mark, coded message, frame type and the timestamp composition video frame header obtained, the data of video frame header and this frame of video are formed video requency frame data bag, video requency frame data bag is sent to the terminal of user.
Due to while the terminal data of frame of video being sent to user, the supplier's mark, coded message, frame type and the timestamp that also video frame header are comprised send to the terminal of user, the terminal of user can obtain the decoder of corresponding supplier according to supplier's mark that this video frame header comprises, and utilizes this decoder successfully to decode according to the coded message of video the data of this frame of video.
In order to guarantee the successfully decoded of real-time video further, the type of video can also be judged according to the file format of video, if the type of this video is real-time video, then obtains the decoded information of this frame of video and adding in above-mentioned video requency frame data bag.Wherein, decoded information can be the relevant information of the decoder of the supplier that video is corresponding, as title, the version number and download link etc. of the decoder of supplier.
In addition, because the frame type of frame of video comprises I frame, P frame and B frame.I frame is key frame, can decode the effective image of a frame.P frame and B frame need just can be correctly decoded out effective image according to the I frame be positioned at before it.Decoding dependency due to P frame and B frame is positioned at the I frame before it, so the successful decoding in order to ensure P frame and B frame, the embodiment of the present invention also needs to judge the frame type of user for the frame of video of broadcasting, if frame type is P frame or B frame, the position of the key frame of this frame of video is obtained in the frame index information of the frame of video that this wish then comprised from frame index file is play, the position of this key frame can for before being positioned at this frame of video and from the position of the nearest I frame of this frame of video, the position of key frame can be the timestamp of key frame.According to the position of this key frame, obtain the data of this key frame, and the data of this key frame are added in video requency frame data bag.When the terminal of user like this receives this video requency frame data bag, the data of this key frame of first decoding, and then the data of above-mentioned frame of video of decoding, which ensure that frame type is the successfully decoded of the frame of video of P frame or B frame.
In addition, some user's label informations may also be comprised, word, lines or pattern etc. that this user's label information can add before store video for user due in the video that stores in Video Storage System.In order to ask user's label information that can show user's interpolation during displaying video frame user, the embodiment of the present invention also judges the length whether comprising user's label information and user's label information in the frame index information that the frame of video of user's wish broadcasting is corresponding, if comprise, from this frame index information, then obtain the length of user's label information and user's label information, and the length of user's label information and user's label information is added in above-mentioned video requency frame data bag.
In embodiments of the present invention, when receiving the video playback request of user, according to the frame index file that video labeling, video frame information and Video Storage System store, the data of frame of video corresponding to video frame information are obtained from the video that Video Storage System stores, so achieve the streaming program request of video, the frame of video of user's needs can be directly searched according to frame index file, shorten the response time of search video, improve the efficiency of search frame of video.
Embodiment 3
See Fig. 3, embodiments provide a kind of video storage device, this device is for performing above-mentioned video storage method.This device specifically comprises:
Receiver module 301, for obtaining video to be stored;
Generation module 302, for generating the frame index information of each frame of video according to the frame information of each frame of video in the video of above-mentioned receiver module 301 reception, and the frame index file corresponding according to the frame index information generating video of each frame of video;
Above-mentioned generation module 302 generates the operation of the frame index information of each frame of video, specifically can carry out delta frame index information by following acquiring unit, determining unit and component units, comprise:
Above-mentioned acquiring unit, for for each frame of video in video, obtains frame type and the timestamp of present frame from the frame information of present frame; Above-mentioned determining unit, for the timestamp according to present frame, determines the time offset of present frame; The capacity of the part before being positioned at present frame in video is defined as the data offset of present frame; Above-mentioned component units, for the frame index information by the frame type of present frame, timestamp, time offset and data offset composition present frame.
Video comprises the data of each frame of video in embodiments of the present invention, can also comprise the video essential information of video, video essential information comprises video identification, the coded message of video, decoded information, the file format of video and supplier's mark etc. of video.Video labeling can be the title or link etc. of video.Decoded information can be the relevant information of the decoder of the supplier that video is corresponding, as title, the version number and download link etc. of the decoder of supplier.
The coded message of above-mentioned video can be the coded format of video, and H.264 coded format comprises or MPEG-4 etc.Owing to needing the coded format with reference to video to decode during video decode, so also need to add by first the coded message that module obtains video from video, coded message is added in the frame index information of present frame; Or, coded message is added in frame index file.
The file format of above-mentioned video can be the reference formats such as MP4 or AVI, also can be the noncanonical format of some monitor video Vendor-specifics.Video is divided into different types by the file format difference according to video in the embodiment of the present invention, and the video of reference format is type, and the video of noncanonical format is real-time video type.Terminal due to user is generally difficult to the video directly decoding noncanonical format, so can be correctly decoded in order to the video ensureing noncanonical format, when the type of the file format determination video according to video is real-time video, first adds decoded information and the supplier's mark that module also obtains video, this decoded information and supplier's mark are added in the frame index information of present frame, or, by confession decoded information and answer trade mark know add in frame index file.
In embodiments of the present invention, the frame type of frame of video can be I frame, P frame or B frame.I frame is key frame, can decode the effective image of a frame.P frame and B frame need just can be correctly decoded out effective image according to the I frame be positioned at before it.Decoding dependency due to P frame and B frame is positioned at the I frame before it, so after the frame index information of generation module 302 by above-mentioned three functional units generation present frame, also need to judge the frame type of present frame, if the frame type of present frame is I frame, then determine that present frame can independently decode effective image.If the frame type of present frame is P frame or B frame, the operation adding module by second is then needed to obtain the key frame position of present frame, key frame position is added in the frame index information of present frame, key frame position be positioned at present frame before the position of nearest I frame.
In addition, user, before the method store video provided by the embodiment of the present invention, also may with the addition of user's label information in some frame of video of video, and this user's label information can be word, lines or pattern etc.In order to show user's label information that user adds when these frame of video are play in subsequent user request, also need to add by second the length that module obtains user's label information and user's label information, the length of user's label information and user's label information is added in the frame index information of present frame.
By after the frame index file that above-mentioned generation module 302 generating video is corresponding, carry out store video by following memory module 303.
Memory module 303, for the frame index file that generated by above-mentioned generation module 302 and video storage in Video Storage System.
Above-mentioned memory module 303, for obtaining the video labeling of video from video, the corresponding relation of store video mark, frame index file and video in Video Storage System, Video Storage System comprises distributed file system, storage server and third party's memory device.
The embodiment of the present invention, except supporting the storage of video, also supports the storage of picture.When picture, in order to improve the performance of picture, reduce the quantity of the picture of actual storage management, this video storage device also comprises picture storage module.Picture storage module receives picture to be stored, by the picture of predetermined number composition picture group; Obtain mark and the position of each picture in picture group of each picture in picture group; The mark of each picture and position are formed picture indices file corresponding to picture group; Picture indices file and picture group are stored in Video Storage System.
In embodiments of the present invention, for each frame of video generates frame index information, and according to frame index information delta frame index file, the frame index file that video is corresponding is stored while store video, the video of storage like this supports streaming program request, the frame of video of user's needs can be directly searched according to frame index file, shorten the response time of search video, improve the efficiency of search frame of video.
Embodiment 4
See Fig. 4, embodiments provide a kind of video searching apparatus, this device is for performing above-mentioned video searching method.This device specifically comprises:
Receiver module 401, for receiving the video playback request of user, this video playback request comprises user for the video labeling of displaying video and video frame information, video frame information comprise following one or more: the timestamp of frame of video, time offset and data offset;
Acquisition module 402, for the frame index file stored according to video labeling, video frame information and Video Storage System, obtains the data of frame of video corresponding to video frame information from the video that Video Storage System stores;
There is provided module 403, the data for the frame of video by acquisition are supplied to user.
The data of frame of video are supplied to user especially by following acquiring unit, component units and transmitting element three functional units by the above-mentioned module 403 that provides, and specifically comprise:
Acquiring unit, for obtaining supplier's mark of frame of video, coded message, frame type and timestamp from frame index file; Component units, for forming video frame header by supplier's mark, coded message, frame type and timestamp; The data of video frame header and frame of video are formed video requency frame data bag; Transmitting element, for sending to user by video requency frame data bag.
In the embodiment of the present invention, this video searching apparatus can also comprise interpolation module.Before the data providing module 403 by frame of video are supplied to user, add module and obtain the decoded information of frame of video and add in video requency frame data bag.
In addition, because the frame type of frame of video comprises I frame, P frame and B frame.I frame is key frame, can decode the effective image of a frame.P frame and B frame need just can be correctly decoded out effective image according to the I frame be positioned at before it.Decoding dependency due to P frame and B frame is positioned at the I frame before it, so the successful decoding in order to ensure P frame and B frame, video searching apparatus also needs to judge the frame type of user for the frame of video of broadcasting, if frame type is P frame or B frame, then above-mentioned interpolation module also obtains the position of the key frame of frame of video from frame index file, according to the position of key frame, obtain the data of key frame, the data of key frame are added in video requency frame data bag.
In embodiments of the present invention, when receiving the video playback request of user, according to the frame index file that video labeling, video frame information and Video Storage System store, the data of frame of video corresponding to video frame information are obtained from the video that Video Storage System stores, so achieve the streaming program request of video, the frame of video of user's needs can be directly searched according to frame index file, shorten the response time of search video, improve the efficiency of search frame of video.
The video storage device that the embodiment of the present invention provides and video searching apparatus can be the specific hardware on equipment or the software be installed on equipment or firmware etc.Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the device of aforementioned description, module and unit, all can with reference to the corresponding process in said method embodiment.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, again such as, multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some communication interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (18)

1. a video storage method, is characterized in that, described method comprises:
Obtain video to be stored;
Generate the frame index information of described each frame of video according to the frame information of frame of video each in described video, and generate frame index file corresponding to described video according to the frame index information of described each frame of video;
By described frame index file and described video storage in Video Storage System.
2. method according to claim 1, is characterized in that, the described frame information according to frame of video each in described video generates the frame index information of described each frame of video, comprising:
For each frame of video in described video, from the frame information of present frame, obtain frame type and the timestamp of described present frame;
According to the timestamp of described present frame, determine the time offset of described present frame; The capacity of the part be positioned at before described present frame in described video is defined as the data offset of described present frame;
The described frame type of described present frame, described timestamp, described time offset and described data offset are formed the frame index information of described present frame.
3. method according to claim 2, is characterized in that, when the type of described video is real-time video, described method also comprises:
The coded message of described real-time video, decoded information and supplier's mark is obtained from described real-time video;
Described coded message, decoded information and described supplier mark are added in the frame index information of described present frame; Or, described coded message, decoded information and described supplier mark are added in described frame index file.
4. method according to claim 2, is characterized in that, described the described frame type of described present frame, described timestamp, described time offset and described data offset are formed the frame index information of described present frame after, also comprise:
The frame type of described present frame be P frame or B frame time, obtain the key frame position of described present frame, described key frame position added in the frame index information of described present frame, described key frame position be positioned at described present frame before the position of nearest I frame;
And/or, when comprising user's label information in described present frame, obtain the length of described user's label information and described user's label information, the length of described user's label information and described user's label information is added in the frame index information of described present frame.
5. method according to claim 1, is characterized in that, described method also comprises:
Receive picture to be stored, by the picture of predetermined number composition picture group;
Obtain mark and the position of each picture in described picture group of each picture in described picture group;
The mark of each described picture and position are formed picture indices file corresponding to described picture group;
Described picture indices file and described picture group are stored in described Video Storage System.
6. method according to claim 1, is characterized in that, described by described frame index file and described video storage in Video Storage System, comprising:
The video labeling of described video is obtained from described video, in Video Storage System, store the corresponding relation of described video labeling, described frame index file and described video, described Video Storage System comprises distributed file system, storage server and third party's memory device.
7. a video searching method, is characterized in that, described method comprises:
Receive the video playback request of user, described video playback request comprises described user for the video labeling of displaying video and video frame information, described video frame information comprise following one or more: the timestamp of frame of video, time offset and data offset;
According to the frame index file that described video labeling, described video frame information and Video Storage System store, from the video that described Video Storage System stores, obtain the data of frame of video corresponding to described video frame information;
The data of the described frame of video obtained are supplied to described user.
8. method according to claim 7, is characterized in that, the described data by the described frame of video obtained are supplied to described user, comprising:
Supplier's mark of described frame of video, coded message, frame type and timestamp is obtained from described frame index file;
By described supplier mark, coded message, frame type and timestamp composition video frame header;
The data of described video frame header and described frame of video are formed video requency frame data bag, described video requency frame data bag is sent to described user.
9. method according to claim 8, is characterized in that, described by after the data of video frame header and described frame of video composition video requency frame data bag, also comprises:
Obtain the decoded information of described frame of video and add in described video requency frame data bag; And the frame type of described frame of video be P frame or B frame time, the position of the key frame of described frame of video is obtained from described frame index file, according to the position of described key frame, obtain the data of described key frame, the data of described key frame are added in described video requency frame data bag.
10. a video storage device, is characterized in that, described device comprises:
Acquisition module, for obtaining video to be stored;
Generation module, for generating the frame index information of described each frame of video according to the frame information of frame of video each in described video, and generates frame index file corresponding to described video according to the frame index information of described each frame of video;
Memory module, for by described frame index file and described video storage in Video Storage System.
11. devices according to claim 10, is characterized in that, described generation module comprises:
Acquiring unit, for for each frame of video in described video, obtains frame type and the timestamp of described present frame from the frame information of present frame;
Determining unit, for the timestamp according to described present frame, determines the time offset of described present frame; The capacity of the part be positioned at before described present frame in described video is defined as the data offset of described present frame;
Component units, for forming the frame index information of described present frame by the described frame type of described present frame, described timestamp, described time offset and described data offset.
12. devices according to claim 11, is characterized in that, when the type of described video is real-time video, described device also comprises:
First adds module, for obtaining the coded message of described real-time video, decoded information and supplier's mark from described real-time video; Described coded message, decoded information and described supplier mark are added in the frame index information of described present frame; Or, described coded message, decoded information and described supplier mark are added in described frame index file.
13. devices according to claim 11, is characterized in that, described device also comprises:
Second adds module, for at the frame type of described present frame be P frame or B frame time, obtain the key frame position of described present frame, described key frame position added in the frame index information of described present frame, described key frame position be positioned at described present frame before the position of nearest I frame; And/or, during for comprising user's label information in described present frame, obtain the length of described user's label information and described user's label information, the length of described user's label information and described user's label information is added in the frame index information of described present frame.
14. devices according to claim 10, is characterized in that, described device also comprises:
Picture storage module, for receiving picture to be stored, by the picture of predetermined number composition picture group; Obtain mark and the position of each picture in described picture group of each picture in described picture group; The mark of each described picture and position are formed picture indices file corresponding to described picture group; Described picture indices file and described picture group are stored in described Video Storage System.
15. devices according to claim 10, it is characterized in that, described memory module, for obtaining the video labeling of described video from described video, in Video Storage System, store the corresponding relation of described video labeling, described frame index file and described video, described Video Storage System comprises distributed file system, storage server and third party's memory device.
16. 1 kinds of video searching apparatus, is characterized in that, described device comprises:
Receiver module, for receiving the video playback request of user, described video playback request comprises described user for the video labeling of displaying video and video frame information, described video frame information comprise following one or more: the timestamp of frame of video, time offset and data offset;
Acquisition module, for the frame index file stored according to described video labeling, described video frame information and Video Storage System, obtains the data of frame of video corresponding to described video frame information from the video that described Video Storage System stores;
There is provided module, for the data of the described frame of video obtained are supplied to described user.
17. devices according to claim 16, is characterized in that, described in provide module to comprise:
Acquiring unit, for obtaining supplier's mark of described frame of video, coded message, frame type and timestamp from described frame index file;
Component units, for forming video frame header by described supplier mark, coded message, frame type and timestamp; The data of described video frame header and described frame of video are formed video requency frame data bag;
Transmitting element, for sending to described user by described video requency frame data bag.
18. devices according to claim 17, is characterized in that, described device also comprises:
Add module, for obtaining the decoded information of described frame of video and adding in described video requency frame data bag; And the frame type of described frame of video be P frame or B frame time, the position of the key frame of described frame of video is obtained from described frame index file, according to the position of described key frame, obtain the data of described key frame, the data of described key frame are added in described video requency frame data bag.
CN201510435923.4A 2015-07-22 2015-07-22 Video storage method and device, and video searching method and device Pending CN104967862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510435923.4A CN104967862A (en) 2015-07-22 2015-07-22 Video storage method and device, and video searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510435923.4A CN104967862A (en) 2015-07-22 2015-07-22 Video storage method and device, and video searching method and device

Publications (1)

Publication Number Publication Date
CN104967862A true CN104967862A (en) 2015-10-07

Family

ID=54221786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510435923.4A Pending CN104967862A (en) 2015-07-22 2015-07-22 Video storage method and device, and video searching method and device

Country Status (1)

Country Link
CN (1) CN104967862A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302883A (en) * 2015-10-13 2016-02-03 深圳市乐唯科技开发有限公司 Time-based media file management method and system
CN107959892A (en) * 2017-12-11 2018-04-24 南京酷亨网络科技有限公司 A kind of radar and video data method for rapidly positioning enforced the law with Yu Haiyang
CN109982020A (en) * 2019-02-26 2019-07-05 南京邮电大学 A kind of storage of video and search method
CN110245258A (en) * 2018-12-10 2019-09-17 浙江大华技术股份有限公司 Video file establishes method, video file analytic method and the related system of index
CN110740344A (en) * 2019-09-17 2020-01-31 浙江大华技术股份有限公司 Video extraction method and related device
CN111125427A (en) * 2019-12-26 2020-05-08 浪潮电子信息产业股份有限公司 Video file reading method and device, electronic equipment and medium
CN111510658A (en) * 2020-04-23 2020-08-07 上海依图网络科技有限公司 Picture data processing method and device, electronic equipment and storage medium
CN112541390A (en) * 2020-10-30 2021-03-23 四川天翼网络服务有限公司 Frame-extracting dynamic scheduling method and system for violation analysis of examination video
CN112788366A (en) * 2020-12-28 2021-05-11 杭州海康威视系统技术有限公司 Video processing method and device
CN113157969A (en) * 2021-03-09 2021-07-23 聚融医疗科技(杭州)有限公司 Method and system for rapidly entering film playback state for ultrasonic diagnosis
CN113779303A (en) * 2021-11-12 2021-12-10 腾讯科技(深圳)有限公司 Video set indexing method and device, storage medium and electronic equipment
CN113965798A (en) * 2021-10-25 2022-01-21 北京百度网讯科技有限公司 Video information generating and displaying method, device, equipment and storage medium
CN114125493A (en) * 2021-11-22 2022-03-01 威创集团股份有限公司 Distributed storage method, device and equipment for streaming media
CN114430469A (en) * 2022-04-01 2022-05-03 浙江大华技术股份有限公司 Video data storage method, video data reading method, electronic device and readable storage medium
CN115171241A (en) * 2022-06-30 2022-10-11 南京领行科技股份有限公司 Video frame positioning method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873820A (en) * 2006-05-18 2006-12-06 北京中星微电子有限公司 Method for processing video file, method for indexing video, and video indexing unit
CN101859585A (en) * 2010-07-01 2010-10-13 福建省三奥信息科技有限公司 System and method for frame-accuracy cutting of video material
CN102143351A (en) * 2010-08-06 2011-08-03 华为软件技术有限公司 Surveillance video positioning method, image capturing method, device and system
EP2661084A1 (en) * 2012-05-01 2013-11-06 Eldon Technology Limited trading as Echostar Europe Method to play a video data stream, device and computer program
CN103780877A (en) * 2013-12-26 2014-05-07 深圳市华仁达技术有限公司 Massive video data storage and retrieval method based on h264 coding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1873820A (en) * 2006-05-18 2006-12-06 北京中星微电子有限公司 Method for processing video file, method for indexing video, and video indexing unit
CN101859585A (en) * 2010-07-01 2010-10-13 福建省三奥信息科技有限公司 System and method for frame-accuracy cutting of video material
CN102143351A (en) * 2010-08-06 2011-08-03 华为软件技术有限公司 Surveillance video positioning method, image capturing method, device and system
EP2661084A1 (en) * 2012-05-01 2013-11-06 Eldon Technology Limited trading as Echostar Europe Method to play a video data stream, device and computer program
CN103780877A (en) * 2013-12-26 2014-05-07 深圳市华仁达技术有限公司 Massive video data storage and retrieval method based on h264 coding

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302883A (en) * 2015-10-13 2016-02-03 深圳市乐唯科技开发有限公司 Time-based media file management method and system
CN105302883B (en) * 2015-10-13 2018-12-21 深圳市乐唯科技开发有限公司 A kind of management method and system of time-based media file
CN107959892A (en) * 2017-12-11 2018-04-24 南京酷亨网络科技有限公司 A kind of radar and video data method for rapidly positioning enforced the law with Yu Haiyang
CN110245258A (en) * 2018-12-10 2019-09-17 浙江大华技术股份有限公司 Video file establishes method, video file analytic method and the related system of index
CN110245258B (en) * 2018-12-10 2023-03-17 浙江大华技术股份有限公司 Method for establishing index of video file, video file analysis method and related system
CN109982020A (en) * 2019-02-26 2019-07-05 南京邮电大学 A kind of storage of video and search method
CN110740344A (en) * 2019-09-17 2020-01-31 浙江大华技术股份有限公司 Video extraction method and related device
CN111125427A (en) * 2019-12-26 2020-05-08 浪潮电子信息产业股份有限公司 Video file reading method and device, electronic equipment and medium
CN111510658A (en) * 2020-04-23 2020-08-07 上海依图网络科技有限公司 Picture data processing method and device, electronic equipment and storage medium
CN112541390A (en) * 2020-10-30 2021-03-23 四川天翼网络服务有限公司 Frame-extracting dynamic scheduling method and system for violation analysis of examination video
CN112541390B (en) * 2020-10-30 2023-04-25 四川天翼网络股份有限公司 Frame extraction dynamic scheduling method and system for examination video violation analysis
CN112788366A (en) * 2020-12-28 2021-05-11 杭州海康威视系统技术有限公司 Video processing method and device
CN112788366B (en) * 2020-12-28 2023-03-24 杭州海康威视系统技术有限公司 Video processing method and device
CN113157969A (en) * 2021-03-09 2021-07-23 聚融医疗科技(杭州)有限公司 Method and system for rapidly entering film playback state for ultrasonic diagnosis
CN113965798A (en) * 2021-10-25 2022-01-21 北京百度网讯科技有限公司 Video information generating and displaying method, device, equipment and storage medium
CN113779303B (en) * 2021-11-12 2022-02-25 腾讯科技(深圳)有限公司 Video set indexing method and device, storage medium and electronic equipment
CN113779303A (en) * 2021-11-12 2021-12-10 腾讯科技(深圳)有限公司 Video set indexing method and device, storage medium and electronic equipment
CN114125493A (en) * 2021-11-22 2022-03-01 威创集团股份有限公司 Distributed storage method, device and equipment for streaming media
CN114430469A (en) * 2022-04-01 2022-05-03 浙江大华技术股份有限公司 Video data storage method, video data reading method, electronic device and readable storage medium
CN115171241A (en) * 2022-06-30 2022-10-11 南京领行科技股份有限公司 Video frame positioning method and device, electronic equipment and storage medium
CN115171241B (en) * 2022-06-30 2024-02-06 南京领行科技股份有限公司 Video frame positioning method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104967862A (en) Video storage method and device, and video searching method and device
CN102055717B (en) Quick playing method, terminal and server
CN105052107B (en) Media content Adaptive Transmission is carried out using quality information
CN101677325B (en) Method, device and system for publishing media description information and acquiring media
CN105120321A (en) Video searching method, video storage method and related devices
JPWO2013157440A1 (en) Reception device, reception method, transmission device, transmission method, and program
WO2013159703A1 (en) Offline download method, multimedia file download method and system thereof
CN102196008A (en) Peer-to-peer downloading method, video equipment and content transmission method
CN105025319A (en) Video pushing method and device
CN104426853A (en) Multimedia synchronous playing method, server, terminal and system
CN103299600A (en) Apparatus and method for transmitting live media content
CN103945259A (en) Online video playing method and device
CN105228001A (en) The method and system that a kind of FLV format video is play online
CN103327021B (en) Method, devices and system of multi-device interaction
CN102497448A (en) Method and system for playing on-line music at mobile terminal
CN107810625A (en) Low latency media flow transmission
CN109842804A (en) Processing method and server, the computer storage medium of audio, video data
CN103078683B (en) Document transmission method and document transmission system
CN112243158B (en) Media file processing method and device, computer readable medium and electronic equipment
CN104104972A (en) Multimedia playing method, apparatus and system
CN102833241B (en) Streaming media service traffic record merged-processing method and device
CN111356023A (en) Playing mode determining method and device
CN108810575B (en) Method and device for sending target video
CN113873288A (en) Method and device for generating playback in live broadcast process
CN115801102B (en) Method, device and storage medium for downlink data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151007

RJ01 Rejection of invention patent application after publication