CN104811742A - Video data storage method and device - Google Patents
Video data storage method and device Download PDFInfo
- Publication number
- CN104811742A CN104811742A CN201510210413.7A CN201510210413A CN104811742A CN 104811742 A CN104811742 A CN 104811742A CN 201510210413 A CN201510210413 A CN 201510210413A CN 104811742 A CN104811742 A CN 104811742A
- Authority
- CN
- China
- Prior art keywords
- data
- video data
- stored
- uploaded videos
- video
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23113—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/27—Server based end-user applications
- H04N21/274—Storing end-user multimedia data in response to end-user request, e.g. network recorder
- H04N21/2743—Video hosting of uploaded data from client
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
An embodiment of the invention discloses a video data storage method and device and aims to store video data containing the same play contents once only and avoid repeated storage of the video data containing the same play contents. The method includes receiving the video data uploaded by a user, acquiring an uploaded video name corresponding to the uploaded video data, and recognizing whether the stored video data contain the video data with the same names of the uploaded video or not; if yes, comparing the uploaded video data with the same video names with the stored video data; acquiring the comparison result, and storing the same video data once. The method has the advantages that the same video data are stored once only, the repeated storage of the same video data is avoided, and waste of video data storage space is avoided.
Description
Technical field
The present invention relates to Internet technical field, particularly a kind of storage means of video data and device.
Background technology
Through the develop rapidly of Internet technology in recent years, the business of the Internet constantly increases, and people can touch various information based on the Internet, and network also becomes a part indispensable in people's routine work and life.Such as, user can utilize the Internet transmitting-receiving work mail, carry out video conference etc.; Or, utilize internet browsing news, listen to the music, do shopping, make a reservation, watch video etc.User can also by upload or the means such as Download Info carry out information storage, information sharing and Information Communication etc.
At present, when storing for video data, because all use with authority per family can uploaded videos, the problem of same video repeatedly repeated storage therefore usually can be there is.Such as, for same portion film, the version that user uploads may be different, and the film beginning that such as certain user uploads has advertisement, and the film that another user uploads is then the adless video of pure version.But when storing, when the check code utilizing film corresponding judges above-mentioned video, then judging that these two sections of videos are different videos, all needing to store.Repeated storage is carried out repeatedly to the video of identical content and will take a large amount of memory spaces, cause the waste of memory space.
Summary of the invention
The embodiment of the present invention provides a kind of storage means and device of video data, only stores once in order to identical video data, avoids the repeated storage of same video data.
The embodiment of the present invention provides a kind of storage means of video data, comprising:
Receive the video data that user uploads, obtain the uploaded videos title that uploaded videos data are corresponding, and identify in the video data stored whether there is the video data identical with described uploaded videos title;
There is the stored video data identical with described uploaded videos title in the video data stored if identify, then to the identical described uploaded videos data of video name and stored video data compare;
Compare drawn comparative result according to described uploaded videos data and stored video data, only portion is stored to identical video data.
In one embodiment, identify the stored video data that in the video data stored, existence is identical with described uploaded videos title if described, then the identical described uploaded videos data of title and stored video data compared, comprising:
There is the stored video data identical with described uploaded videos title in the video data stored if identify, then obtain described uploaded videos data and both stored video datas distinguish the video check code of correspondence;
More described uploaded videos data and stored video data whether distinguish corresponding video check code identical;
If described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then according to preset rules, to described uploaded videos data and stored video data carry out segmentation and compare.
In one embodiment, if described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then according to preset rules, to described uploaded videos data and stored video data carry out segmentation and compare, comprising:
If described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then whether the leader data that more described uploaded videos data are corresponding with stored video data identical;
According to the comparative result of leader data, successively the whether identical comparison of video content corresponding to video data is carried out to run-out partial data and partial data in sheet.
In one embodiment, described basis compares drawn comparative result to described uploaded videos data and stored video data, only stores portion, comprising identical video data:
Compare drawn comparative result according to described uploaded videos data and stored video data, identify the data correlation relation of described uploaded videos data and stored video data;
If described data correlation closes be: a video data in the middle of described uploaded videos data and both stored video datas includes the complete inclusion relation of another video data completely, then only store data long video data completely;
If described data correlation closes be: described uploaded videos data and stored video data are not described complete inclusion relations, then store described uploaded videos data and the video data corresponding to stored video data different video content, and only store a described uploaded videos data and the video data corresponding to stored video data same video content.
In one embodiment, also the comprising according to storage means of described video counts:
While stored video data, the video data stored is marked, the label information corresponding to video data that record stores, and store the incidence relation of described label information and label information; Wherein, the label information of unique identification this user of described label information corresponding to the user of uploaded videos data.
Corresponding to the storage means of above-mentioned video data, the embodiment of the present invention additionally provides a kind of storage device of video data, comprising:
Title identification module, for receiving the video data that user uploads, obtains the uploaded videos title that uploaded videos data are corresponding, and identifies in the video data stored whether there is the video data identical with described uploaded videos title;
Data comparison module, if identify for described title identification module the stored video data that in the video data stored, existence is identical with described uploaded videos title, then the identical described uploaded videos data of video name and stored video data are compared;
Data memory module, for comparing drawn comparative result according to described uploaded videos data and stored video data, only stores portion to identical video data.
In one embodiment, described data comparison module comprises:
Acquiring unit, if identify for described title identification module the stored video data that in the video data stored, existence is identical with described uploaded videos title, then obtain described uploaded videos data and both stored video datas distinguish corresponding video check code;
Comparing unit, for more described uploaded videos data and stored video data whether distinguish corresponding video check code identical; If described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then according to preset rules, to described uploaded videos data and stored video data carry out segmentation and compare.
In one embodiment, described comparing unit comprises:
First compares subelement, if for described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then whether the leader data that more described uploaded videos data are corresponding with stored video data identical;
Second compares subelement, for the comparative result according to leader data, carries out the whether identical comparison of video content corresponding to video data successively to run-out partial data and partial data in sheet.
In one embodiment, described data memory module comprises:
Relation recognition unit, for comparing drawn comparative result according to described uploaded videos data and stored video data, identifies the data correlation relation of described uploaded videos data and stored video data;
Data storage cell, if identify described data correlation pass for described relation recognition unit be: a video data in the middle of described uploaded videos data and both stored video datas includes the complete inclusion relation of another video data completely, then only store data long video data completely; If described relation recognition unit identifies described data correlation, pass is: described uploaded videos data and stored video data are not described complete inclusion relations, then store described uploaded videos data and the video data corresponding to stored video data different video content, and only store a described uploaded videos data and the video data corresponding to stored video data same video content.
In one embodiment, also the comprising according to storage device of described video counts:
Data markers module, for while described data memory module stored video data, the video data stored is marked, the label information corresponding to video data that record stores, and the incidence relation storing described label information and label information for described data memory module; Wherein, the label information of unique identification this user of described label information corresponding to the user of uploaded videos data.
The storage means of the video data described by above embodiment and device can reach following beneficial effect:
By receiving the video data that user uploads, obtaining the uploaded videos title that uploaded videos data are corresponding, and identifying in the video data stored whether there is the video data identical with described uploaded videos title; There is the stored video data identical with described uploaded videos title in the video data stored if identify, then to the identical described uploaded videos data of video name and stored video data compare; Compare drawn comparative result according to described uploaded videos data and stored video data, only portion is stored to identical video data; There is identical video data and only store beneficial effect once, avoid the repeated storage of same video data, thus avoid the waste of video data memory space.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of the storage means of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 2 is the flow chart of step S20 in the storage means of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 3 is the flow chart of step S230 in the storage means of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 4 is the flow chart of step S30 in the storage means of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 5 is the flow chart of the storage means of the another kind of video data of the present invention according to an exemplary embodiment;
Fig. 6 is the block diagram of the storage device of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 7 is the block diagram of data comparison module 70 in the storage device of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 8 is the block diagram of comparing unit 720 in the storage device of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 9 is the block diagram of data memory module 80 in the storage device of a kind of video data of the present invention according to an exemplary embodiment;
Figure 10 is the block diagram of the storage device of the another kind of video data of the present invention according to an exemplary embodiment.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Disclosed by the invention one storage means that embodiments provides a kind of video data, the video data in order to identical play content only stores once, avoids the repeated storage of the video data of identical play content.As shown in Figure 1, in the embodiment of the present invention, a kind of storage means of video data comprises step S10-S30:
The video data that step S10, reception user upload, obtains the uploaded videos title that uploaded videos data are corresponding, and identifies in the video data stored whether there is the video data identical with described uploaded videos title;
In the embodiment of the present invention, in order to avoid video data corresponding for identical play content is carried out repeated storage, when receiving the video data that user uploads, first checking in the database corresponding to video data stored, whether having stored the video data that user is uploading.Due to current in storage with when searching the video data stored, all carry out storing or searching with the video name that the video-frequency playing content that this video data is corresponding is corresponding, therefore, when receiving the video data that user uploads, first obtain the video name corresponding to video data that user uploads, this uploaded videos title corresponding to the video data that user uploads, identifies in the database of stored video data, whether there is the video data identical with above-mentioned uploaded videos title.
If step S20 identifies the stored video data that in the video data stored, existence is identical with described uploaded videos title, then the identical described uploaded videos data of video name and stored video data are compared;
There is not the stored video data identical with this uploaded videos title if identified in the video data stored, then in follow-up storing step, according to this recognition result, directly store these uploaded videos data.
If identify the stored video data that in the video data stored, existence is identical with this uploaded videos title, then to comparing in the middle of the identical described uploaded videos data of video name and stored video data both, identify that whether both corresponding video data is identical, or identify whether both corresponding video data has identical part and not identical part.
In one embodiment, as shown in Figure 2, described step S20 may be embodied as step S210-S230:
If step S210 identifies the stored video data that in the video data stored, existence is identical with described uploaded videos title, then obtain described uploaded videos data and both stored video datas distinguish corresponding video check code;
Step S220, more described uploaded videos data and stored video data whether distinguish corresponding video check code identical;
If step S230 described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then according to preset rules, to described uploaded videos data and stored video data carry out segmentation and compare.
If identify the stored video data that in the video data stored, existence is identical with described uploaded videos title, then obtain described uploaded videos data and both stored video datas distinguish corresponding video check code, such as the two video MD5 (Message Digest Algorithm, MD5) value corresponding respectively; By more above-mentioned uploaded videos data and stored video data distinguish corresponding video check code such as video MD5 value, judge that whether both stored video datas that uploaded videos data are identical with video name identical.If above-mentioned uploaded videos data are identical with the video check code of both stored video datas, then in follow-up data storing steps, then do not need to store described uploaded videos data.If above-mentioned uploaded videos data are not identical with the video check code of both stored video datas, then according to the comparison rule pre-set, continue to above-mentioned uploaded videos data and stored video data carry out segmentation and compare, search the difference of the two with this.
In one embodiment, as shown in Figure 3, described step S230 may be embodied as step S231-S232:
If step S231 described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then whether the leader data that more described uploaded videos data are corresponding with stored video data identical;
In the embodiment of the present invention, for the video-frequency playing content corresponding to the video data that title is identical, may advertisement be there is in the leader that video-frequency playing content playing corresponding due to partial video data, and some video data may not have advertisement at leader, therefore, when above-mentioned uploaded videos data and stored video data distinguish corresponding video check code not identical time, whether the leader data that first can compare uploaded videos data corresponding with both stored video datas identical.
Step S232, comparative result according to leader data, carry out the whether identical comparison of video content corresponding to video data to run-out partial data and partial data in sheet successively.
After completeer leader data, then compare run-out partial data, finally compare partial data in sheet again, thus find out video data identical between both and different video datas, avoid carrying out repeated storage to identical video data, be convenient to follow-up video data and store.
Step S30, compare drawn comparative result according to described uploaded videos data and stored video data, only portion is stored to identical video data.
After the storage data identical to above-mentioned title and above-mentioned uploaded videos data compare, according to comparing the two video data of same section and/or video data of the two different piece of drawing, identical video data is only kept a.Such as, if all video datas corresponding to uploaded videos data is completely the same with the video data in stored video data, then need not these uploaded videos data of repeated storage again.If the partial video data in these uploaded videos data is with stored video data is identical, then only stores the video data with different piece in stored video data in these uploaded videos data, thus efficiently avoid the waste of memory space.
In one embodiment, as shown in Figure 4, described step S30 may be embodied as step S310-S330:
Step S310, compare drawn comparative result according to described uploaded videos data and stored video data, identify the data correlation relation of described uploaded videos data and stored video data;
If the described data correlation of step S320 closes be: a video data in the middle of described uploaded videos data and both stored video datas includes the complete inclusion relation of another video data completely, then only store data long video data completely;
If the described data correlation of step S330 closes be: described uploaded videos data and stored video data are not described complete inclusion relations, then store described uploaded videos data and the video data corresponding to stored video data different video content, and only store a described uploaded videos data and the video data corresponding to stored video data same video content.
In the embodiment of the present invention, by comparing described uploaded videos data and stored video data, draw corresponding comparative result, according to above-mentioned comparative result, identify uploaded videos data and the data correlation relation between both stored video datas, thus according to data correlation relation concrete between both, take corresponding storage mode.Such as, if described uploaded videos data and both stored video datas are complete inclusion relation, the arbitrary video data namely in the middle of the two includes another video data completely, then only store that part of video data longer in the middle of both.Namely such as video data A contains video data B completely, then only stored video data A; Wherein, above-mentioned video data A can be above-mentioned uploaded videos data, and video data B can be stored video data; Above-mentioned video data A also can be above-mentioned stored video data, and above-mentioned video data B can be uploaded videos data.
If described data correlation closes be: described uploaded videos data and stored video data are not described complete inclusion relations, then obtain described uploaded videos data and the video data corresponding to stored video data different video content, and store above-mentioned different video data; Meanwhile, for the video data of described uploaded videos data with both stored video datas same section, then only store a above-mentioned identical video data.
On the basis of the storage means of the video data provided at above-described embodiment, while video data is stored, the video data stored is marked, store the incidence relation between above-mentioned video data and the user uploading this video data simultaneously, thus be convenient to certain user when wanting to check the video oneself uploaded, label information that can be corresponding according to this user, sends to user by the video data that the video marker information corresponding in this label information marks.As shown in Figure 5, in the embodiment of the present invention, the storage means of video data also comprises:
Step S40, while stored video data, the video data stored to be marked, the label information corresponding to video data that record stores, and store the incidence relation of described label information and label information; Wherein, the label information of unique identification this user of described label information corresponding to the user of uploaded videos data.
While stored video data, the video data stored is marked.If the video data that user uploads with stored video data is identical, then marks the video data stored; If the video data that user uploads is identical with the video data portion stored, after then uploading the video data of the two different piece, after marking the video data of the different piece uploaded, the video data of the video data same section uploaded with this user in the video data stored with tense marker.After relevant video data is marked, the video marker information that record institute marking video data are corresponding, obtain the label information uploading this user of unique identification corresponding to user of this video data simultaneously, and associated by the label information of user corresponding with uploading this video data for label information corresponding for above-mentioned video data, and store the incidence relation of above-mentioned label information and label information.Thus one, when certain user wants to check video corresponding to oneself version, the label information of the video data be associated with this label information can be searched by the label information corresponding according to this user, thus the video data of mark is sent to user, check for user.
The storage means of the video data described by above embodiment, by receiving the video data that user uploads, obtain the uploaded videos title that uploaded videos data are corresponding, and identify in the video data stored whether there is the video data identical with described uploaded videos title; There is the stored video data identical with described uploaded videos title in the video data stored if identify, then to the identical described uploaded videos data of video name and stored video data compare; Compare drawn comparative result according to described uploaded videos data and stored video data, only portion is stored to identical video data; There is identical video data and only store beneficial effect once, avoid the repeated storage of same video data, thus avoid the waste of video data memory space.
The storage means of a kind of video data that the corresponding embodiment of the present invention provides, present invention also offers a kind of storage device of video data; As shown in Figure 6, the storage device of described a kind of video data, comprising: title identification module 60, data comparison module 70 and data memory module 80; Wherein,
Described title identification module 60, for receiving the video data that user uploads, obtains the uploaded videos title that uploaded videos data are corresponding, and identifies in the video data stored whether there is the video data identical with described uploaded videos title;
Described data comparison module 70, if identify for described title identification module the stored video data that in the video data stored, existence is identical with described uploaded videos title, then the identical described uploaded videos data of video name and stored video data are compared;
In one embodiment, as shown in Figure 7, described data comparison module 70 comprises:
Acquiring unit 710, if identify for described title identification module the stored video data that in the video data stored, existence is identical with described uploaded videos title, then obtain described uploaded videos data and both stored video datas distinguish corresponding video check code;
Comparing unit 720, for more described uploaded videos data and stored video data whether distinguish corresponding video check code identical; If described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then according to preset rules, to described uploaded videos data and stored video data carry out segmentation and compare.
In one embodiment, as shown in Figure 8, described comparing unit 720 comprises:
First compares subelement 721, if for described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then whether the leader data that more described uploaded videos data are corresponding with stored video data identical;
Second compares subelement 722, for the comparative result according to leader data, carries out the whether identical comparison of video content corresponding to video data successively to run-out partial data and partial data in sheet.
Described data memory module 80, for comparing drawn comparative result according to described uploaded videos data and stored video data, only stores portion to identical video data.
In one embodiment, as shown in Figure 9, described data memory module 80 comprises:
Relation recognition unit 810, for comparing drawn comparative result according to described uploaded videos data and stored video data, identifies the data correlation relation of described uploaded videos data and stored video data;
Data storage cell 820, if identify described data correlation pass for described relation recognition unit be: a video data in the middle of described uploaded videos data and both stored video datas includes the complete inclusion relation of another video data completely, then only store data long video data completely; If described relation recognition unit identifies described data correlation, pass is: described uploaded videos data and stored video data are not described complete inclusion relations, then store described uploaded videos data and the video data corresponding to stored video data different video content, and only store a described uploaded videos data and the video data corresponding to stored video data same video content.
In one embodiment, as shown in Figure 10, also the comprising according to storage device of described video counts:
Data markers module 90, for while described data memory module stored video data, the video data stored is marked, the label information corresponding to video data that record stores, and the incidence relation storing described label information and label information for described data memory module; Wherein, the label information of unique identification this user of described label information corresponding to the user of uploaded videos data.
The storage device of the video data described by above embodiment, by receiving the video data that user uploads, obtain the uploaded videos title that uploaded videos data are corresponding, and identify in the video data stored whether there is the video data identical with described uploaded videos title; There is the stored video data identical with described uploaded videos title in the video data stored if identify, then to the identical described uploaded videos data of video name and stored video data compare; Compare drawn comparative result according to described uploaded videos data and stored video data, only portion is stored to identical video data; There is identical video data and only store beneficial effect once, avoid the repeated storage of same video data, thus avoid the waste of video data memory space.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. a storage means for video data, is characterized in that, comprising:
Receive the video data that user uploads, obtain the uploaded videos title that uploaded videos data are corresponding, and identify in the video data stored whether there is the video data identical with described uploaded videos title;
There is the stored video data identical with described uploaded videos title in the video data stored if identify, then to the identical described uploaded videos data of video name and stored video data compare;
Compare drawn comparative result according to described uploaded videos data and stored video data, only portion is stored to identical video data.
2. the method for claim 1, it is characterized in that, identify the stored video data that in the video data stored, existence is identical with described uploaded videos title if described, then the identical described uploaded videos data of title and stored video data compared, comprising:
There is the stored video data identical with described uploaded videos title in the video data stored if identify, then obtain described uploaded videos data and both stored video datas distinguish the video check code of correspondence;
More described uploaded videos data and stored video data whether distinguish corresponding video check code identical;
If described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then according to preset rules, to described uploaded videos data and stored video data carry out segmentation and compare.
3. method as claimed in claim 2, it is characterized in that, if described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then according to preset rules, to described uploaded videos data and stored video data carry out segmentation and compare, comprising:
If described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then whether the leader data that more described uploaded videos data are corresponding with stored video data identical;
According to the comparative result of leader data, successively the whether identical comparison of video content corresponding to video data is carried out to run-out partial data and partial data in sheet.
4. the method for claim 1, is characterized in that, described basis compares drawn comparative result to described uploaded videos data and stored video data, only stores portion, comprising identical video data:
Compare drawn comparative result according to described uploaded videos data and stored video data, identify the data correlation relation of described uploaded videos data and stored video data;
If described data correlation closes be: a video data in the middle of described uploaded videos data and both stored video datas includes the complete inclusion relation of another video data completely, then only store data long video data completely;
If described data correlation closes be: described uploaded videos data and stored video data are not described complete inclusion relations, then store described uploaded videos data and the video data corresponding to stored video data different video content, and only store a described uploaded videos data and the video data corresponding to stored video data same video content.
5. the method as described in any one of Claims 1-4, is characterized in that, also comprising according to storage means of described video counts:
While stored video data, the video data stored is marked, the label information corresponding to video data that record stores, and store the incidence relation of described label information and label information; Wherein, the label information of unique identification this user of described label information corresponding to the user of uploaded videos data.
6. a storage device for video data, is characterized in that, comprising:
Title identification module, for receiving the video data that user uploads, obtains the uploaded videos title that uploaded videos data are corresponding, and identifies in the video data stored whether there is the video data identical with described uploaded videos title;
Data comparison module, if identify for described title identification module the stored video data that in the video data stored, existence is identical with described uploaded videos title, then the identical described uploaded videos data of video name and stored video data are compared;
Data memory module, for comparing drawn comparative result according to described uploaded videos data and stored video data, only stores portion to identical video data.
7. device as claimed in claim 6, it is characterized in that, described data comparison module comprises:
Acquiring unit, if identify for described title identification module the stored video data that in the video data stored, existence is identical with described uploaded videos title, then obtain described uploaded videos data and both stored video datas distinguish corresponding video check code;
Comparing unit, for more described uploaded videos data and stored video data whether distinguish corresponding video check code identical; If described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then according to preset rules, to described uploaded videos data and stored video data carry out segmentation and compare.
8. device as claimed in claim 7, it is characterized in that, described comparing unit comprises:
First compares subelement, if for described uploaded videos data and stored video data to distinguish corresponding video check code not identical, then whether the leader data that more described uploaded videos data are corresponding with stored video data identical;
Second compares subelement, for the comparative result according to leader data, carries out the whether identical comparison of video content corresponding to video data successively to run-out partial data and partial data in sheet.
9. device as claimed in claim 6, it is characterized in that, described data memory module comprises:
Relation recognition unit, for comparing drawn comparative result according to described uploaded videos data and stored video data, identifies the data correlation relation of described uploaded videos data and stored video data;
Data storage cell, if identify described data correlation pass for described relation recognition unit be: a video data in the middle of described uploaded videos data and both stored video datas includes the complete inclusion relation of another video data completely, then only store data long video data completely; If described relation recognition unit identifies described data correlation, pass is: described uploaded videos data and stored video data are not described complete inclusion relations, then store described uploaded videos data and the video data corresponding to stored video data different video content, and only store a described uploaded videos data and the video data corresponding to stored video data same video content.
10. the device as described in any one of claim 6 to 9, is characterized in that, also comprising according to storage device of described video counts:
Data markers module, for while described data memory module stored video data, the video data stored is marked, the label information corresponding to video data that record stores, and the incidence relation storing described label information and label information for described data memory module; Wherein, the label information of unique identification this user of described label information corresponding to the user of uploaded videos data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510210413.7A CN104811742A (en) | 2015-04-28 | 2015-04-28 | Video data storage method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510210413.7A CN104811742A (en) | 2015-04-28 | 2015-04-28 | Video data storage method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104811742A true CN104811742A (en) | 2015-07-29 |
Family
ID=53696162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510210413.7A Pending CN104811742A (en) | 2015-04-28 | 2015-04-28 | Video data storage method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104811742A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072370A (en) * | 2015-08-25 | 2015-11-18 | 成都秋雷科技有限责任公司 | High-stability video storage method |
CN105072367A (en) * | 2015-08-25 | 2015-11-18 | 成都秋雷科技有限责任公司 | Novel video data storage method |
CN105072368A (en) * | 2015-08-25 | 2015-11-18 | 成都秋雷科技有限责任公司 | Video decoding data storage method |
CN105072369A (en) * | 2015-08-25 | 2015-11-18 | 成都秋雷科技有限责任公司 | Video data storage method |
CN105120298A (en) * | 2015-08-25 | 2015-12-02 | 成都秋雷科技有限责任公司 | Improved video storage method |
CN105120297A (en) * | 2015-08-25 | 2015-12-02 | 成都秋雷科技有限责任公司 | Video storage method |
CN105120296A (en) * | 2015-08-25 | 2015-12-02 | 成都秋雷科技有限责任公司 | High-efficiency video storage method |
CN105163132A (en) * | 2015-08-25 | 2015-12-16 | 成都秋雷科技有限责任公司 | Improved video data storage method |
CN105163058A (en) * | 2015-08-25 | 2015-12-16 | 成都秋雷科技有限责任公司 | Novel video storage method |
CN105163145A (en) * | 2015-08-25 | 2015-12-16 | 成都秋雷科技有限责任公司 | Efficient video data storage method |
CN111479126A (en) * | 2019-01-23 | 2020-07-31 | 阿里巴巴集团控股有限公司 | Multimedia data storage method and device and electronic equipment |
CN111491185A (en) * | 2019-01-25 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Multimedia data access method and device and electronic equipment |
CN113347451A (en) * | 2021-06-04 | 2021-09-03 | 平安证券股份有限公司 | Video uploading method and device, electronic equipment and computer readable storage medium |
CN113905282A (en) * | 2021-10-22 | 2022-01-07 | 北京房江湖科技有限公司 | Uploading processing method and device of video file, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6256401B1 (en) * | 1997-03-03 | 2001-07-03 | Keith W Whited | System and method for storage, retrieval and display of information relating to marine specimens in public aquariums |
CN101320372A (en) * | 2008-05-22 | 2008-12-10 | 上海爱数软件有限公司 | Compression method for repeated data |
CN101425082A (en) * | 2008-12-15 | 2009-05-06 | 深圳市迅雷网络技术有限公司 | Video file content determining method and system |
CN101777056A (en) * | 2009-12-31 | 2010-07-14 | 成都市华为赛门铁克科技有限公司 | Data storage method and device |
CN102075735A (en) * | 2011-01-14 | 2011-05-25 | 深圳职业技术学院 | Video monitoring data transmission method and video monitoring terminal |
CN102156751A (en) * | 2011-04-26 | 2011-08-17 | 深圳市迅雷网络技术有限公司 | Method and device for extracting video fingerprint |
CN103313090A (en) * | 2012-03-16 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Method and system for off-line downloading video files |
CN103902553A (en) * | 2012-12-25 | 2014-07-02 | 北大方正集团有限公司 | Method and device for comparing video |
CN104506933A (en) * | 2014-12-23 | 2015-04-08 | 方正宽带网络服务有限公司 | Method and device for verifying sameness of video files |
-
2015
- 2015-04-28 CN CN201510210413.7A patent/CN104811742A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6256401B1 (en) * | 1997-03-03 | 2001-07-03 | Keith W Whited | System and method for storage, retrieval and display of information relating to marine specimens in public aquariums |
CN101320372A (en) * | 2008-05-22 | 2008-12-10 | 上海爱数软件有限公司 | Compression method for repeated data |
CN101425082A (en) * | 2008-12-15 | 2009-05-06 | 深圳市迅雷网络技术有限公司 | Video file content determining method and system |
CN101777056A (en) * | 2009-12-31 | 2010-07-14 | 成都市华为赛门铁克科技有限公司 | Data storage method and device |
CN102075735A (en) * | 2011-01-14 | 2011-05-25 | 深圳职业技术学院 | Video monitoring data transmission method and video monitoring terminal |
CN102156751A (en) * | 2011-04-26 | 2011-08-17 | 深圳市迅雷网络技术有限公司 | Method and device for extracting video fingerprint |
CN103313090A (en) * | 2012-03-16 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Method and system for off-line downloading video files |
CN103902553A (en) * | 2012-12-25 | 2014-07-02 | 北大方正集团有限公司 | Method and device for comparing video |
CN104506933A (en) * | 2014-12-23 | 2015-04-08 | 方正宽带网络服务有限公司 | Method and device for verifying sameness of video files |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072370A (en) * | 2015-08-25 | 2015-11-18 | 成都秋雷科技有限责任公司 | High-stability video storage method |
CN105072367A (en) * | 2015-08-25 | 2015-11-18 | 成都秋雷科技有限责任公司 | Novel video data storage method |
CN105072368A (en) * | 2015-08-25 | 2015-11-18 | 成都秋雷科技有限责任公司 | Video decoding data storage method |
CN105072369A (en) * | 2015-08-25 | 2015-11-18 | 成都秋雷科技有限责任公司 | Video data storage method |
CN105120298A (en) * | 2015-08-25 | 2015-12-02 | 成都秋雷科技有限责任公司 | Improved video storage method |
CN105120297A (en) * | 2015-08-25 | 2015-12-02 | 成都秋雷科技有限责任公司 | Video storage method |
CN105120296A (en) * | 2015-08-25 | 2015-12-02 | 成都秋雷科技有限责任公司 | High-efficiency video storage method |
CN105163132A (en) * | 2015-08-25 | 2015-12-16 | 成都秋雷科技有限责任公司 | Improved video data storage method |
CN105163058A (en) * | 2015-08-25 | 2015-12-16 | 成都秋雷科技有限责任公司 | Novel video storage method |
CN105163145A (en) * | 2015-08-25 | 2015-12-16 | 成都秋雷科技有限责任公司 | Efficient video data storage method |
CN111479126A (en) * | 2019-01-23 | 2020-07-31 | 阿里巴巴集团控股有限公司 | Multimedia data storage method and device and electronic equipment |
CN111491185A (en) * | 2019-01-25 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Multimedia data access method and device and electronic equipment |
CN113347451A (en) * | 2021-06-04 | 2021-09-03 | 平安证券股份有限公司 | Video uploading method and device, electronic equipment and computer readable storage medium |
CN113905282A (en) * | 2021-10-22 | 2022-01-07 | 北京房江湖科技有限公司 | Uploading processing method and device of video file, electronic equipment and storage medium |
CN113905282B (en) * | 2021-10-22 | 2024-02-20 | 贝壳找房(北京)科技有限公司 | Video file uploading processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104811742A (en) | Video data storage method and device | |
CN107870959B (en) | Providing relevant video scenes in response to a video search query | |
US10642892B2 (en) | Video search method and apparatus | |
CN111327955B (en) | User portrait based on-demand method, storage medium and smart television | |
CN104572846A (en) | Method, device and system for recommending hot words | |
CN106951571B (en) | Method and device for labeling application with label | |
CN108255915B (en) | File management method and device and machine-readable storage medium | |
CN103841464A (en) | Video information pushing method and device | |
CN104168433A (en) | Media content processing method and system | |
CN104778271A (en) | Video data caching method and device | |
CN114610951A (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN108228657B (en) | Method and device for realizing keyword retrieval | |
CN104994404A (en) | Method and device for obtaining keywords for video | |
KR101472016B1 (en) | Creation method of complex file having image file and additional data inserted in the image file and data record apparatus recording the complex file | |
CN107729486B (en) | Video searching method and device | |
CN103023923A (en) | Information transmission method and information transmission device | |
CN109558468B (en) | Resource processing method, device, equipment and storage medium | |
CN105183729A (en) | Method and device for retrieving audio/video content | |
CN108920610B (en) | Novel indexing method and device | |
CN113254631A (en) | Data processing method, entity object providing method, entity object processing device, entity object providing device and storage medium | |
CN112925939A (en) | Picture searching method, description information generating method, device and storage medium | |
CN107330069B (en) | Multimedia data processing method and device, server and storage medium | |
WO2015180587A1 (en) | Display processing method and device for images | |
CN104935966A (en) | Method and device for copying classified video information | |
CN106789130B (en) | Conference information processing method and device and conference system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150729 |
|
RJ01 | Rejection of invention patent application after publication |