CN104778271A - Video data caching method and device - Google Patents

Video data caching method and device Download PDF

Info

Publication number
CN104778271A
CN104778271A CN201510202236.8A CN201510202236A CN104778271A CN 104778271 A CN104778271 A CN 104778271A CN 201510202236 A CN201510202236 A CN 201510202236A CN 104778271 A CN104778271 A CN 104778271A
Authority
CN
China
Prior art keywords
video data
label information
access
access frequency
buffer memory
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
CN201510202236.8A
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.)
Wuxi Tvmining Juyuan Media Technology Co Ltd
Original Assignee
Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Tvmining Juyuan Media Technology Co Ltd filed Critical Wuxi Tvmining Juyuan Media Technology Co Ltd
Priority to CN201510202236.8A priority Critical patent/CN104778271A/en
Publication of CN104778271A publication Critical patent/CN104778271A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a video data caching method and a video data caching device. The method and the device are used for caching video data corresponding to a hot event to realize the rapid loading of the video data corresponding to the hot event. The method comprises the following steps: extracting historical access records generated by the access of users to video data within a preset historical time length, and acquiring tag information and access frequency corresponding to the video data accessed by the users according to the historical access records; counting the tag information and the access frequency corresponding to each piece of tag information, and identifying the tag information of which the corresponding access frequency is greater than a preset threshold value; acquiring the video data corresponding to the tag information of which the corresponding access frequency is greater than the preset threshold value, and caching the video data. The method and the device have the beneficial effect of caching the video data corresponding to the hot event or an important event, and searching efficiency is improved.

Description

A kind of caching method of video data and device
Technical field
The present invention relates to Internet technical field, particularly a kind of caching method of video data and device.
Background technology
Through the develop rapidly of Internet technology in recent years, the business of internet constantly increases, and people can touch various information based on internet, and network also becomes a part indispensable in people's routine work and life.Such as, user can utilize 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.
At present, can be all be stored in equably on multiple server for the video data major part corresponding to video play.After server receives corresponding searching request, all servers receiving searching request are all in this searching request of processing locality, and this processing mode wastes server resource to a certain extent; Meanwhile, because each server is all the search and caching that just perform after receiving searching request, therefore, the duration obtaining above-mentioned video data is limited to network speed during loading; If current network speed is limited, then will certainly affect the loading velocity of video data, cause the video data load time long, Consumer's Experience is not good.Therefore, the video data that how in advance buffer memory is corresponding becomes one of current problem demanding prompt solution.
Summary of the invention
The embodiment of the present invention provides a kind of caching method and device of video data, in order to the video data that buffer memory hot ticket is corresponding, realizes the rapid loading of the corresponding video data of hot ticket.
The embodiment of the present invention provides a kind of caching method of video data, comprising:
Extract and preset the history access record that in history duration, user's accessing video data produce, according to described history access record, obtain the label information corresponding to described video data and the access frequency of user's access;
Add up the access frequency that described in described label information and every bar, label information is corresponding respectively, identify the label information that described access frequency is greater than predetermined threshold value;
Obtain the video data corresponding to label information that described access frequency is greater than predetermined threshold value, and video data described in buffer memory.
In one embodiment, the history access record that in history duration, user's accessing video data produce is preset in described extraction, according to described history access record, obtains the label information corresponding to described video data and the access frequency of user's access, comprising:
Extract the history access record that in twenty four hours, user's accessing video data produce, resolve described history access record, obtain the label information that the described video data of user's access in described history access record is corresponding;
According to the described label information obtained, search the number of times that described label information is accessed in described twenty four hours, obtain the access frequency that described label information is corresponding.
In one embodiment, the described label information of described statistics and the access frequency that often described in bar, label information is corresponding respectively, identify the label information that described access frequency is greater than predetermined threshold value, comprising:
Add up the access frequency that correspondence is distinguished by different label information corresponding to same section of video content and every strip label information institute, obtain the total access frequency corresponding to same section of video content;
Identify whether the total access frequency corresponding to same section of video content is greater than predetermined threshold value, and obtain the video content that total access frequency is greater than predetermined threshold value; Wherein, the described label information that can identify described video content is comprised in the described video content of acquisition.
In one embodiment, the described access frequency of described acquisition is greater than the video data corresponding to label information of predetermined threshold value, and video data described in buffer memory, comprising:
Be greater than the label information of predetermined threshold value according to described access frequency, obtain the video data that described label information is corresponding;
According to preset buffer memory duration, to form in units of the video data corresponding to same section of video content, the described video data meeting buffer memory condition is buffered in default high-speed servers.
In one embodiment, the caching method of described video data also comprises:
Obtain user in described preset buffer memory duration, access the access frequency corresponding to video data of buffer memory; Identify described access frequency when being greater than default access thresholds, extend the buffer memory duration of the described video data of buffer memory.
Corresponding to the caching method of above-mentioned video data, the embodiment of the present invention additionally provides a kind of buffer storage of video data, comprising:
Frequency acquisition module, for extracting the history access record that in default history duration, user's accessing video data produce, according to described history access record, obtains the label information corresponding to described video data and the access frequency of user's access;
Frequency statistics module, for adding up the access frequency that described in described label information and every bar, label information is corresponding respectively, identifies the label information that described access frequency is greater than predetermined threshold value;
Data cache module, is greater than the video data corresponding to label information of predetermined threshold value for obtaining described access frequency, and video data described in buffer memory.
In one embodiment, described frequency acquisition module comprises:
Data extracting unit, for extracting the history access record that in twenty four hours, user's accessing video data produce, resolves described history access record, obtains the label information that the described video data of user's access in described history access record is corresponding;
Frequency acquisition unit, for according to the described label information obtained, searches the number of times that described label information is accessed in described twenty four hours, obtains the access frequency that described label information is corresponding.
In one embodiment, described frequency statistics module comprises:
Frequency statistics unit, distinguishing the access frequency of correspondence, obtaining the total access frequency corresponding to same section of video content for adding up different label information corresponding to same section of video content and every strip label information institute;
Frequency identification unit, for identifying whether the total access frequency corresponding to same section of video content is greater than predetermined threshold value, and obtains the video content that total access frequency is greater than predetermined threshold value; Wherein, the described label information that can identify described video content is comprised in the described video content of acquisition.
In one embodiment, described data cache module comprises:
Data capture unit, for being greater than the label information of predetermined threshold value according to described access frequency, obtains the video data that described label information is corresponding;
Data buffer storage unit, for according to preset buffer memory duration, to form in units of the video data corresponding to same section of video content, is buffered in the described video data meeting buffer memory condition in default high-speed servers.
In one embodiment, the buffer storage of described video data also comprises:
Access identification module, for obtaining user in described preset buffer memory duration, accesses the access frequency corresponding to video data of buffer memory; Identify described access frequency when being greater than default access thresholds, extend the buffer memory duration of the described video data of buffer memory.
The caching method of above video data and device can reach following beneficial effect:
By extracting the history access record that in default history duration, user's accessing video data produce, according to described history access record, obtain the label information corresponding to described video data and the access frequency of user's access; Add up the access frequency that described in described label information and every bar, label information is corresponding respectively, identify the label information that described access frequency is greater than predetermined threshold value; Obtain the video data corresponding to label information that described access frequency is greater than predetermined threshold value, and video data described in buffer memory; There is the beneficial effect of buffer memory hot ticket or video data corresponding to major event, be conducive to the rapid loading to hot ticket or video data corresponding to major event; When being conducive to searching for above-mentioned video data, be convenient to, first from high-speed servers search and video data corresponding to transmission, improve search efficiency, and when concurrent transmission is carried out to the video data of buffer memory, also alleviate the pressure of other servers.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write instructions, 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 instructions, 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 process flow diagram of the caching method of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 2 is the process flow diagram of step S10 in the caching method of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 3 is the process flow diagram of step S20 in the caching method of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 4 is the process flow diagram of step S30 in the caching method of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 5 is the process flow diagram of the caching method of the another kind of video data of the present invention according to an exemplary embodiment;
Fig. 6 is the block diagram of the buffer storage of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 7 is the block diagram of the buffer storage medium frequency acquisition module 60 of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 8 is the block diagram of the buffer storage medium frequency statistical module 70 of a kind of video data of the present invention according to an exemplary embodiment;
Fig. 9 is the block diagram of data cache module 80 in the buffer storage of a kind of video data of the present invention according to an exemplary embodiment;
Figure 10 is the block diagram of the buffer storage 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 caching method that embodiments provides a kind of video data, in order to the video data that buffer memory hot ticket is corresponding, realizes the rapid loading of the corresponding video data of hot ticket.As shown in Figure 1, in the embodiment of the present invention, a kind of caching method of video data comprises step S10-S30:
The history access record that in history duration, user's accessing video data produce is preset in step S10, extraction, according to described history access record, obtains the label information corresponding to described video data and the access frequency of user's access;
In the embodiment of the present invention, mainly through the video data that buffer memory hot ticket is corresponding, realize the high speed access of user to above-mentioned video data; Wherein, one of the identification standard of above-mentioned hot ticket can be: determined by the access times of user in certain time length.Therefore, need the counting user video that every day, access times ranked in the top, and using the video that ranks in the top as video corresponding to hot ticket.Corresponding to the embodiment of the present invention, need to extract in preset duration history duration (in the middle of one day that such as passes by), the history access record that user's accessing video data produce, by the above-mentioned history access record obtained, obtain the label information corresponding to above-mentioned video data and the access frequency of user's access.Wherein, above-mentioned label information identifies video content corresponding to this video data, also can be understood as, and can know by above-mentioned label information the concrete video content to be played that this video data is corresponding.
In one embodiment, as shown in Figure 2, described step S10 may be embodied as step S101-S102:
The history access record that in step S101, extraction twenty four hours, user's accessing video data produce, resolves described history access record, obtains the label information that the described video data of user's access in described history access record is corresponding;
In the embodiment of the present invention, consider the ageing and promptness that network magnanimity information upgrades, only extract within twenty four hours, the history access record that user's accessing video data produce, and resolve the described history access record extracted, according to analysis result, obtain the label information corresponding to above-mentioned video data of user's access in above-mentioned history access record.
Step S102, according to obtain described label information, search the number of times that described label information is accessed in described twenty four hours, obtain the access frequency that described label information is corresponding.
After getting above-mentioned label information, for the above-mentioned label information obtained is sorted out, search the number of times that same class label information is accessed in above-mentioned twenty four hours, thus obtain the access frequency corresponding to above-mentioned label information.
Step S20, add up the access frequency that described in described label information and every bar, label information is corresponding respectively, identify the label information that described access frequency is greater than predetermined threshold value;
After getting the above-mentioned label information that can represent main video content, add up the access frequency that each strip label information is corresponding respectively; After getting all label informations access frequency corresponding respectively, judge whether the access frequency corresponding to each label information is greater than predetermined threshold value.According to judged result, obtain the label information corresponding to access frequency being greater than predetermined threshold value.
In one embodiment, as shown in Figure 3, described step S20 may be embodied as step S201-S202:
Step S201, add up the access frequency that correspondence is distinguished by different label information corresponding to same section of video content and every strip label information institute, obtain the total access frequency corresponding to same section of video content;
Because label information has reacted the main video content corresponding to video data to a certain extent, therefore according to the particular content of label information, the video content that the video data corresponding to this label information plays out can be judged roughly.Thus, when adding up, the label information representing same video content can be classified as a class, namely can add up the different label information corresponding to same section of video content distinguish corresponding access frequency, thus obtain total access frequency corresponding to all label informations that same section of video content comprise.
Step S202, identify whether the total access frequency corresponding to same section of video content is greater than predetermined threshold value, and obtain the video content that total access frequency is greater than predetermined threshold value; Wherein, the described label information that can identify described video content is comprised in the described video content of acquisition.
After getting total access frequency corresponding to all label informations of comprising in video data corresponding to same video content, judge whether total access frequency that same section of video content is corresponding is greater than predetermined threshold value; According to judged result, identify the video data corresponding to video content that total access frequency is greater than predetermined threshold value, meanwhile, obtain the video content that this total access frequency is greater than predetermined threshold value; Wherein, the described video content of acquisition comprises: the label information that can identify this video content; Accordingly, get after above-mentioned total access frequency is greater than the video content of predetermined threshold value, video data corresponding to this video content can be found out easily.
Step S30, obtain the video data corresponding to label information that described access frequency is greater than predetermined threshold value, and video data described in buffer memory.
After getting above-mentioned access frequency and being greater than the label information of predetermined threshold value, the video data corresponding to label information that above-mentioned access frequency is greater than predetermined threshold value can be obtained easily.After getting above-mentioned video data, the above-mentioned video data of direct buffer memory.
In one embodiment, as shown in Figure 4, above-mentioned steps S30 may be embodied as step S301-S302:
Step S301, be greater than the label information of predetermined threshold value according to described access frequency, obtain the video data that described label information is corresponding;
Identify after access frequency is greater than the label information of predetermined threshold value, search the video data corresponding to this label information, and according to lookup result, obtain the video data that this label information is corresponding.
Step S302, according to preset buffer memory duration, to form in units of the video data corresponding to same section of video content, the described video data meeting buffer memory condition to be buffered in default high-speed servers.
After getting the video data corresponding to above-mentioned label information, according to the buffer memory time length ratio preset as three days, to form in units of the video data corresponding to same section of video content, directly the video data meeting buffer memory condition is copied to corresponding high-speed servers, and in above-mentioned high-speed servers the above-mentioned default buffer memory time length ratio of buffer memory as buffer memory three days, the video content that this video data of anticipation is corresponding may be accessed in a large number in following three days, be convenient to server centered process visit order, thus respond to carry out quick indexing and the video data of transmission correspondence fast, thus it is quick to realize video, smooth broadcasting.
The video data meeting buffer memory condition described in the present embodiment can be understood as: the access frequency of the label information that this video data comprises is greater than predetermined threshold value.Certainly, when buffer memory, also directly video data corresponding for above-mentioned label information can be carried out direct buffer memory, and above-mentionedly whether carry out buffer memory to form in units of the video data corresponding to same section of video content without the need to considering.During to form the advantage of carrying out buffer memory in units of the video data corresponding to same section of video content, when playing video corresponding to above-mentioned video data, play-overing, without the need to carrying out the judgement of logic to Frame when playing, improve playing efficiency.
In concrete application scenarios, the hot ticket corresponding except the history access record anticipation according to user also carries out except buffer memory to relevant video data, automatically critical event can also be determined, supposing that the 370 event death tolls of having an accident are more than 200 people, then can anticipation this report can be critical event by 200 such data.Or, all report same event at great media such as TV station of CCTV, People's Nets, then also can think that this event is critical event.In addition, can also increase the white list of famous person, the video of famous person's event also can carry out buffer memory as important video.Or, can also associated video be also cached in high-speed servers by being important video with anticipation, the lasting report of a such as event.The concrete identifying way of the embodiment of the present invention to hot ticket or video data corresponding to major event does not limit, and does not carry out exhaustive one by one at this.
On the basis of the caching method of the video data provided at above-described embodiment, if in the preset buffer memory duration of buffer memory, the visit capacity of the video corresponding to above-mentioned video data is growing on and on, or its visit capacity does not obviously decline, then continue the video data of the above-mentioned buffer memory of buffer memory.As shown in Figure 5, the caching method of embodiment of the present invention video data also comprises:
Step S40, acquisition user, in described preset buffer memory duration, access the access frequency corresponding to video data of buffer memory; Identify described access frequency when being greater than default access thresholds, extend the buffer memory duration of the described video data of buffer memory.
After buffer memory is carried out to the video data corresponding to the above-mentioned hot ticket of anticipation or major event, obtain user in above-mentioned preset buffer memory duration, the video data of buffer memory is conducted interviews produced access frequency.Judge whether the access frequency of above-mentioned user to the video data of buffer memory is greater than default access frequency, according to judged result, identify the access frequency of user to the video data of buffer memory when being greater than default access frequency, extend the buffer memory duration of the video data of above-mentioned buffer memory, namely continue the video data of the above-mentioned buffer memory of buffer memory.Such as, to the first buffer memory of a certain video data three days, within these three days, if the visit capacity of video corresponding to this video data does not obviously reduce, then the cache-time of this video data can be extended.
The caching method of above video data, by extracting the history access record that in default history duration, user's accessing video data produce, according to described history access record, obtains the label information corresponding to described video data and the access frequency of user's access; Add up the access frequency that described in described label information and every bar, label information is corresponding respectively, identify the label information that described access frequency is greater than predetermined threshold value; Obtain the video data corresponding to label information that described access frequency is greater than predetermined threshold value, and video data described in buffer memory; There is the beneficial effect of buffer memory hot ticket or video data corresponding to major event, be conducive to the rapid loading to hot ticket or video data corresponding to major event; When being conducive to searching for above-mentioned video data, be convenient to, first from high-speed servers search and video data corresponding to transmission, improve search efficiency, and when concurrent transmission is carried out to the video data of buffer memory, also alleviate the pressure of other servers.
The caching method of a kind of video data that the corresponding embodiment of the present invention provides, present invention also offers a kind of buffer storage of video data; As shown in Figure 6, the buffer storage of described a kind of video data, comprising: frequency acquisition module 60, frequency statistics module 70 and data cache module 80; Wherein:
Described frequency acquisition module 60, for extracting the history access record that in default history duration, user's accessing video data produce, according to described history access record, obtains the label information corresponding to described video data and the access frequency of user's access;
In one embodiment, as shown in Figure 7, described frequency acquisition module 60 comprises:
Data extracting unit 601, for extracting the history access record that in twenty four hours, user's accessing video data produce, resolves described history access record, obtains the label information that the described video data of user's access in described history access record is corresponding;
Frequency acquisition unit 602, for according to the described label information obtained, searches the number of times that described label information is accessed in described twenty four hours, obtains the access frequency that described label information is corresponding.
Described frequency statistics module 70, for adding up the access frequency that described in described label information and every bar, label information is corresponding respectively, identifies the label information that described access frequency is greater than predetermined threshold value;
In one embodiment, as shown in Figure 8, described frequency statistics module 70 comprises:
Frequency statistics unit 701, distinguishing the access frequency of correspondence, obtaining the total access frequency corresponding to same section of video content for adding up different label information corresponding to same section of video content and every strip label information institute;
Frequency identification unit 702, for identifying whether the total access frequency corresponding to same section of video content is greater than predetermined threshold value, and obtains the video content that total access frequency is greater than predetermined threshold value; Wherein, the described label information that can identify described video content is comprised in the described video content of acquisition.
Described data cache module 80, is greater than the video data corresponding to label information of predetermined threshold value for obtaining described access frequency, and video data described in buffer memory.
In one embodiment, as shown in Figure 9, described data cache module 80 comprises:
Data capture unit 801, for being greater than the label information of predetermined threshold value according to described access frequency, obtains the video data that described label information is corresponding;
Data buffer storage unit 802, for according to preset buffer memory duration, to form in units of the video data corresponding to same section of video content, is buffered in the described video data meeting buffer memory condition in default high-speed servers.
In one embodiment, as shown in Figure 10, the buffer storage of described video data also comprises:
Access identification module 90, for obtaining user in described preset buffer memory duration, accesses the access frequency corresponding to video data of buffer memory; Identify described access frequency when being greater than default access thresholds, extend the buffer memory duration of the described video data of buffer memory.
The buffer storage of above video data, by extracting the history access record that in default history duration, user's accessing video data produce, according to described history access record, obtains the label information corresponding to described video data and the access frequency of user's access; Add up the access frequency that described in described label information and every bar, label information is corresponding respectively, identify the label information that described access frequency is greater than predetermined threshold value; Obtain the video data corresponding to label information that described access frequency is greater than predetermined threshold value, and video data described in buffer memory; There is the beneficial effect of buffer memory hot ticket or video data corresponding to major event, be conducive to the rapid loading to hot ticket or video data corresponding to major event; When being conducive to searching for above-mentioned video data, be convenient to, first from high-speed servers search and video data corresponding to transmission, improve search efficiency, and when concurrent transmission is carried out to the video data of buffer memory, also alleviate the pressure of other servers.
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 disk memory and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-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 computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme 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 process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme 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 caching method for video data, is characterized in that, comprising:
Extract and preset the history access record that in history duration, user's accessing video data produce, according to described history access record, obtain the label information corresponding to described video data and the access frequency of user's access;
Add up the access frequency that described in described label information and every bar, label information is corresponding respectively, identify the label information that described access frequency is greater than predetermined threshold value;
Obtain the video data corresponding to label information that described access frequency is greater than predetermined threshold value, and video data described in buffer memory.
2. the method for claim 1, it is characterized in that, the history access record that in history duration, user's accessing video data produce is preset in described extraction, according to described history access record, obtain the label information corresponding to described video data and the access frequency of user's access, comprising:
Extract the history access record that in twenty four hours, user's accessing video data produce, resolve described history access record, obtain the label information that the described video data of user's access in described history access record is corresponding;
According to the described label information obtained, search the number of times that described label information is accessed in described twenty four hours, obtain the access frequency that described label information is corresponding.
3. the method for claim 1, is characterized in that, the described label information of described statistics and the access frequency that often described in bar, label information is corresponding respectively, identifies the label information that described access frequency is greater than predetermined threshold value, comprising:
Add up the access frequency that correspondence is distinguished by different label information corresponding to same section of video content and every strip label information institute, obtain the total access frequency corresponding to same section of video content;
Identify whether the total access frequency corresponding to same section of video content is greater than predetermined threshold value, and obtain the video content that total access frequency is greater than predetermined threshold value; Wherein, the described label information that can identify described video content is comprised in the described video content of acquisition.
4. the method for claim 1, is characterized in that, the described access frequency of described acquisition is greater than the video data corresponding to label information of predetermined threshold value, and video data described in buffer memory, comprising:
Be greater than the label information of predetermined threshold value according to described access frequency, obtain the video data that described label information is corresponding;
According to preset buffer memory duration, to form in units of the video data corresponding to same section of video content, the described video data meeting buffer memory condition is buffered in default high-speed servers.
5. the method as described in any one of Claims 1-4, is characterized in that, the caching method of described video data also comprises:
Obtain user in described preset buffer memory duration, access the access frequency corresponding to video data of buffer memory; Identify described access frequency when being greater than default access thresholds, extend the buffer memory duration of the described video data of buffer memory.
6. a buffer storage for video data, is characterized in that, comprising:
Frequency acquisition module, for extracting the history access record that in default history duration, user's accessing video data produce, according to described history access record, obtains the label information corresponding to described video data and the access frequency of user's access;
Frequency statistics module, for adding up the access frequency that described in described label information and every bar, label information is corresponding respectively, identifies the label information that described access frequency is greater than predetermined threshold value;
Data cache module, is greater than the video data corresponding to label information of predetermined threshold value for obtaining described access frequency, and video data described in buffer memory.
7. device as claimed in claim 6, it is characterized in that, described frequency acquisition module comprises:
Data extracting unit, for extracting the history access record that in twenty four hours, user's accessing video data produce, resolves described history access record, obtains the label information that the described video data of user's access in described history access record is corresponding;
Frequency acquisition unit, for according to the described label information obtained, searches the number of times that described label information is accessed in described twenty four hours, obtains the access frequency that described label information is corresponding.
8. device as claimed in claim 6, it is characterized in that, described frequency statistics module comprises:
Frequency statistics unit, distinguishing the access frequency of correspondence, obtaining the total access frequency corresponding to same section of video content for adding up different label information corresponding to same section of video content and every strip label information institute;
Frequency identification unit, for identifying whether the total access frequency corresponding to same section of video content is greater than predetermined threshold value, and obtains the video content that total access frequency is greater than predetermined threshold value; Wherein, the described label information that can identify described video content is comprised in the described video content of acquisition.
9. device as claimed in claim 6, it is characterized in that, described data cache module comprises:
Data capture unit, for being greater than the label information of predetermined threshold value according to described access frequency, obtains the video data that described label information is corresponding;
Data buffer storage unit, for according to preset buffer memory duration, to form in units of the video data corresponding to same section of video content, is buffered in the described video data meeting buffer memory condition in default high-speed servers.
10. the device as described in any one of claim 6 to 9, is characterized in that, the buffer storage of described video data also comprises:
Access identification module, for obtaining user in described preset buffer memory duration, accesses the access frequency corresponding to video data of buffer memory; Identify described access frequency when being greater than default access thresholds, extend the buffer memory duration of the described video data of buffer memory.
CN201510202236.8A 2015-04-24 2015-04-24 Video data caching method and device Pending CN104778271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510202236.8A CN104778271A (en) 2015-04-24 2015-04-24 Video data caching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510202236.8A CN104778271A (en) 2015-04-24 2015-04-24 Video data caching method and device

Publications (1)

Publication Number Publication Date
CN104778271A true CN104778271A (en) 2015-07-15

Family

ID=53619735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510202236.8A Pending CN104778271A (en) 2015-04-24 2015-04-24 Video data caching method and device

Country Status (1)

Country Link
CN (1) CN104778271A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868241A (en) * 2015-12-11 2016-08-17 乐视网信息技术(北京)股份有限公司 Data loading method and apparatus
WO2017025052A1 (en) * 2015-08-12 2017-02-16 中兴通讯股份有限公司 Resource caching method and device
CN107239545A (en) * 2017-06-05 2017-10-10 厦门美柚信息科技有限公司 Realize the system and method for text message real-time recommendation
CN108777802A (en) * 2018-06-05 2018-11-09 网宿科技股份有限公司 A kind of method and apparatus of caching VR videos
CN108965455A (en) * 2018-08-01 2018-12-07 中国联合网络通信集团有限公司 A kind of method of adjustment and system of video container cloud
CN109117082A (en) * 2017-06-23 2019-01-01 杭州美界科技有限公司 A kind of beauty recommender system based on caching
CN112423123A (en) * 2020-11-20 2021-02-26 上海哔哩哔哩科技有限公司 Video loading method and device
CN115297092A (en) * 2022-07-29 2022-11-04 抖音视界有限公司 Media data caching method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236669A (en) * 2010-04-30 2011-11-09 腾讯科技(深圳)有限公司 Recommendation list generation method, device, media server, client and method
CN103136275A (en) * 2011-12-02 2013-06-05 盛乐信息技术(上海)有限公司 System and method for recommending personalized video
CN103327079A (en) * 2013-05-31 2013-09-25 青岛海信传媒网络技术有限公司 Multimedia resource caching method and device
CN103974084A (en) * 2014-05-07 2014-08-06 南京邮电大学 Streaming media data block caching method, file recommendation method and streaming media server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236669A (en) * 2010-04-30 2011-11-09 腾讯科技(深圳)有限公司 Recommendation list generation method, device, media server, client and method
CN103136275A (en) * 2011-12-02 2013-06-05 盛乐信息技术(上海)有限公司 System and method for recommending personalized video
CN103327079A (en) * 2013-05-31 2013-09-25 青岛海信传媒网络技术有限公司 Multimedia resource caching method and device
CN103974084A (en) * 2014-05-07 2014-08-06 南京邮电大学 Streaming media data block caching method, file recommendation method and streaming media server

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017025052A1 (en) * 2015-08-12 2017-02-16 中兴通讯股份有限公司 Resource caching method and device
CN105868241A (en) * 2015-12-11 2016-08-17 乐视网信息技术(北京)股份有限公司 Data loading method and apparatus
CN107239545A (en) * 2017-06-05 2017-10-10 厦门美柚信息科技有限公司 Realize the system and method for text message real-time recommendation
CN109117082A (en) * 2017-06-23 2019-01-01 杭州美界科技有限公司 A kind of beauty recommender system based on caching
CN108777802A (en) * 2018-06-05 2018-11-09 网宿科技股份有限公司 A kind of method and apparatus of caching VR videos
CN108777802B (en) * 2018-06-05 2021-07-13 网宿科技股份有限公司 Method and device for caching VR (virtual reality) video
CN108965455A (en) * 2018-08-01 2018-12-07 中国联合网络通信集团有限公司 A kind of method of adjustment and system of video container cloud
CN112423123A (en) * 2020-11-20 2021-02-26 上海哔哩哔哩科技有限公司 Video loading method and device
CN112423123B (en) * 2020-11-20 2022-04-15 上海哔哩哔哩科技有限公司 Video loading method and device
CN115297092A (en) * 2022-07-29 2022-11-04 抖音视界有限公司 Media data caching method and device, electronic equipment and storage medium
CN115297092B (en) * 2022-07-29 2023-06-16 抖音视界有限公司 Media data caching method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104778271A (en) Video data caching method and device
US9760970B2 (en) Video analysis and post processing of multiple video streams
CN102436513B (en) Distributed search method and system
CN104794228B (en) A kind of search result provides method and device
CN109275047B (en) Video information processing method and device, electronic equipment and storage medium
EP2783310A1 (en) Image searching
CN106021445A (en) Cached data loading method and apparatus
CN112699295B (en) Webpage content recommendation method and device and computer readable storage medium
CN109451147B (en) Information display method and device
CN104811742A (en) Video data storage method and device
CN111163072B (en) Method and device for determining characteristic value in machine learning model and electronic equipment
KR20190086741A (en) Animated snippets for search results
CN107515879B (en) Method and electronic equipment for document retrieval
CN107977678B (en) Method and apparatus for outputting information
CN104899306A (en) Information processing method, information display method and information display device
RU2399090C2 (en) System and method for real time internet search of multimedia content
CN102932421A (en) Cloud back-up method and device
US7970760B2 (en) System and method for automatic detection of needy queries
CN104580109A (en) Method and device for generating click verification code
CN109558468B (en) Resource processing method, device, equipment and storage medium
US7599946B2 (en) Systems and methods for discovering frequently accessed subtrees
CN104915435A (en) Data query method and device
CN108228101B (en) Method and system for managing data
CN107077509B (en) Method, device and equipment for improving browsing experience
WO2017088382A1 (en) Data processing method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20150715