CN106658067A - Cache setting method and apparatus - Google Patents

Cache setting method and apparatus Download PDF

Info

Publication number
CN106658067A
CN106658067A CN201611267955.9A CN201611267955A CN106658067A CN 106658067 A CN106658067 A CN 106658067A CN 201611267955 A CN201611267955 A CN 201611267955A CN 106658067 A CN106658067 A CN 106658067A
Authority
CN
China
Prior art keywords
caching
user
capacity
operating habit
operating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611267955.9A
Other languages
Chinese (zh)
Other versions
CN106658067B (en
Inventor
金波
冷志敏
封栋梁
郑兴淦
楼思嘉
吴晓斌
方昉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu 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 China Mobile Communications Group Co Ltd, China Mobile Group Jiangsu Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611267955.9A priority Critical patent/CN106658067B/en
Publication of CN106658067A publication Critical patent/CN106658067A/en
Application granted granted Critical
Publication of CN106658067B publication Critical patent/CN106658067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a cache setting method and apparatus. The method comprises the following steps: obtaining operation parameters of a user when watching a video; identifying operation habits of the user based on the operation parameters; and setting the cache capacity based on the operation habits. According to the cache setting method and apparatus provided by the embodiment of the invention, the operation habits of the user are identified, and the cache capacity is set according to the operation habits of the user, thereby not only meeting the user demands, but also saving terminal resources and the data flow of the user, and ensuring the normal use of network resources.

Description

The method and apparatus that caching is set
Technical field
The present invention relates to computer realm, more particularly to a kind of method and apparatus that caching is set.
Background technology
With the fast development of Internet technology, people have been accustomed to obtaining more information by internet.It is same in this When, digital video technology and intelligent terminal it is widely available allow users to obtain Internet video by intelligent terminal seen See.
Currently, increasing user watches online video by various websites.For this online video-see, lead to Often can the Streaming Media of terminal process and playout software in set video cache, the video after current playing point is carried out it is pre- under Carry, so that user can keep smooth viewing.
Additionally, caching can user close a terminal using when or more delayed certain hour unification delete, so as to currently broadcast Data before putting a little can still be buffered in terminal and play back for user.Video after current playing point generally also will not infinitely add Carry, but can be downloaded according to the default data volume of terminal, on the one hand ensure that user smooth can watch and support appropriate fast Enter, on the other hand avoid excessively caching from increasing the resource overhead of meaningless customer flow or increase terminal and flow.
In buffer setting method common at present, the size of population of buffer area is fixed, caches the acquisition of Streaming Media Mode and filling mode are also fixed.In the buffer area that size of population is fixed, can search for carry out video by before and after Play.If however, backward buffer area arranges too small, when the scope of user's F.F. search is beyond caching scope, then needed User is waited to re-read;If backward buffer area arranges too much, can occupied terminal resource in a large number, while being likely to Cause a large amount of content users of pre-download and do not need, waste floating resources.Similarly, if forward direction buffer area is arranged Greatly, then can the substantial amounts of memory source of occupied terminal;If forward direction buffer area arranges too small (having seen deleting), may affect to use Review the content played before in family.
In existing caching method, buffer size is fixed, when the buffer setting of forward or backward is unreasonable, will be tight Ghost image rings user's viewing experience.
The content of the invention
In view of the above one or more problems, embodiments provide a kind of method and dress for arranging caching Put.
A kind of first aspect, there is provided method of setting caching, comprises the following steps:
Obtain operating parameter during user's viewing video;
Based on operating parameter, the operating habit of the user is recognized;
Based on operating habit, the amount of capacity of caching is set.
A kind of second aspect, there is provided device of setting caching, including:
Acquisition module, for obtaining operating parameter during user's viewing video;
Identification module, for based on operating parameter, recognizing the operating habit of the user;
First setup module, for based on operating habit, arranging the amount of capacity of caching.
The embodiment of the present invention recognizes the user's by obtaining operating parameter during user's viewing video based on operating parameter Operating habit, and user's request, Er Qiejie not only can be agreed with arranging the size of buffer memory capacity according to the operating habit of user The about quantity flow of terminal resource and user, and Logistics networks resource is normally used.In addition, by flexibly arranging buffer memory capacity Size, can be born with dynamically distributes and the cache resources of adjustment server end and end side so as to reduce terminal and server end, And existing network and terminal resource are made full use of, reach more preferable Consumer's Experience.
Description of the drawings
From below in conjunction with the accompanying drawings to the present invention specific embodiment description in may be better understood the present invention wherein, Same or analogous reference represents same or analogous feature.
The method flow schematic diagram that Fig. 1 is cached for the setting of one embodiment of the invention;
The method flow schematic diagram that Fig. 2 is cached for the setting of another embodiment of the present invention;
The apparatus structure schematic diagram that Fig. 3 is cached for the setting of one embodiment of the invention.
The apparatus structure schematic diagram that Fig. 4 is cached for the setting of another embodiment of the present invention.
Specific embodiment
Must become more apparent to express the object, technical solutions and advantages of the present invention, below in conjunction with the accompanying drawings and specifically The present invention is further described in more detail for embodiment.
The schematic flow sheet of the method that Fig. 1 is cached for the setting of one embodiment of the invention.
As shown in figure 1, the method for arranging caching may comprise steps of:S110, obtains behaviour during user's viewing video Make parameter;S120, based on operating parameter, recognizes the operating habit of the user;S130, based on operating habit, arranges the appearance of caching Amount size.
In certain embodiments, operating parameter can include at least one in following item:Searching times, the direction of search and Search rate.
In certain embodiments, operating habit can also include:The custom of F.F. and/or the custom of rewind.
The embodiment of the present invention recognizes the user's by obtaining operating parameter during user's viewing video based on operating parameter Operating habit, and user's request, Er Qiejie not only can be agreed with arranging the size of buffer memory capacity according to the operating habit of user The about quantity flow of terminal resource and user, and Logistics networks resource is normally used.In addition, by flexibly arranging buffer memory capacity Size, can be born with dynamically distributes and the cache resources of adjustment server end and end side so as to reduce terminal and server end, And existing network and terminal resource are made full use of, reach more preferable Consumer's Experience.
In certain embodiments, based on operating habit, arrange caching amount of capacity the step of (i.e. S130) can include: When the number of times or frequency of F.F. reach default threshold value, increase before to buffer area size.
In certain embodiments, based on operating habit, arrange caching amount of capacity the step of (i.e. S130) can also wrap Include:When the number of operations or frequency of rewind reach default threshold value, increase the size of backward buffer area.
In certain embodiments, the step of based on operating parameter, the operating habit of the user is recognized after (i.e. S120), It is further comprising the steps of:The account of the operating habit of user and user is bound.
In certain embodiments, the tactful implementation that buffer memory capacity is arranged or adjusted for user operation habits can Think:
Obtain the progress bar seek operation informations that user is watched during similar video, including seek directions (fast-forwarding fast Move back), seek number or seek frequencies.The more frequent then corresponding size of operation and ratio are bigger, analyze and record user and use Seek custom and feature.When operating to seek before user is frequently carried out to seek buffer sizes before increase.When user's frequency It is numerous to carry out increasing backward buffer size during backward seek.
1) when not carrying out progress bar adjustment substantially when a certain user watches video, using the cache policy of acquiescence;
The buffer setting parameter of acquiescence is that the initial value or video APP of the user obtained by server are default initial Value, including buffer area size of population, forward direction/backward buffer size, cache speed bit stream threshold value of acquisition etc..Wherein by clothes The initial value that business device is obtained can be that server provides different templates according to zones of different and user group.
2) when there is frequently forwarding operation when a certain user's viewing video is detected, such as in 30 minutes video playbacks The number of times of F.F. reaches more than 5 times in time, then increase the size of the backward caching of user, or it is that caching total amount is fixed to work as During Circular buffer video, increase wherein caches backward accounting size.In the same manner, if the content before user frequently reviews, increases The size or caching accounting of forward direction caching.
3) buffer setting in view of acquiescence may have been able to meet the operation of user's F.F. or rewind, and terminal can be with Further detect on the basis of the user fast forwarding and fast rewinding operation frequency is considered, user's F.F. or step back whether need to wait slow soon Loading is deposited, such as (time point that request is played lags behind current play time point 10 when user only carries out F.F. by a small margin Second or so) existing cache policy can support the direct viewing of user's not interim card, but if user carries out significantly F.F. When (request play time point lag behind current play time point 10 minutes or so) terminal be possible to perceive user and need to wait Caching is reloaded, i.e., existing cache policy can not meet the broadcasting custom of user.By analysis record user's skip forward/back The frequency for waiting caching loading is needed afterwards and then size or accounting to forward or backward caching are adjusted.
When user frequently carries out backward seek to be operated, terminal can tune up caching and obtain on the basis of initial value in threshold value Quickly to fill, backward film source is convenient to watch speed.And when more to seek operations before user, then can suitably reduce or protect Hold constant terminal buffers acquisition speed.
The flow diagram of the method that Fig. 2 is cached for the setting of another embodiment of the present invention.
As shown in Fig. 2 the method for arranging caching may comprise steps of:S110, obtains behaviour during user's viewing video Make parameter;S120, based on operating parameter, recognizes the operating habit of the user;S140, it is current with reference to user based on operating habit Select the amount of capacity of one or more setting cachings in piece Source Type, piece source format and the broadcasting situation of the video of viewing.
In certain embodiments, based on operating habit, piece Source Type, the film source of the video for currently selecting to watch with reference to user The step of one or more arrange the amount of capacity of caching in form and broadcasting situation (i.e. S140) can include:When film source class When type is program request type, the total capacity of caching is dimensioned into fixed value.
In certain embodiments, based on operating habit, piece Source Type, the film source of the video for currently selecting to watch with reference to user The step of one or more arrange the amount of capacity of caching in form and broadcasting situation (i.e. S140) can also include:Work as film source When type is live, the total capacity of caching is dimensioned into change value.
In certain embodiments, the step of total capacity of caching being dimensioned into change value can include:Arbitrarily increase The size of the forward direction caching in caching.
In certain embodiments, arrange the method for caching for example can be performed by the caching identification module of end side, caching Module and Circular buffer area complete jointly.
In certain embodiments, the caching identification module of end side is core, and it is responsible for recognizing, analyze and recording end side Related played data, according to user's use habit (including the piece Source Type liked, including program request, live and film source video Format and content source, likes the seek that carries out to operate, such as the number of times of seek, direction and frequency), with reference to the net of active user side Network situation (such as, under different user use habit, the actual code stream acquisition speed in different content source, network delay and shake Situation etc.), provide the parameter recommendation of caching adjustment.
In certain embodiments, the implementation that cache policy is arranged or adjusted for piece Source Type specifically can be as follows It is shown:
The piece Source Type played when determining user using the application program, as program request or live, by order video Caching total amount is set to fixed value, i.e., the video of program request is processed by Circular buffer;The caching total amount of live video is set to change Value, i.e., forward direction caching therein can infinitely increase, and be easy to user to review at any time.And caching can be set to larger fixation backward Value or loading as much as possible, or also the caching total amount of live video can be also set to change value, but it is greater than program request The caching total amount of video, and to cache size before accordingly increasing.
The possibility completely reviewed in view of order video user is little, therefore can save terminal using Circular buffer Memory source;And for live video, it is contemplated that user may review without the time during live before fragment, therefore To caching before wouldn't deleting, so as to terminate it is live after, user can mend and see the fragment missed before, and live backward caching (loading i.e. as much as possible) without restriction, to ensure live real-time.
When most code check is all that code check is bigger than normal in the film source that user plays, terminal can be on the basis of initial value in threshold Caching acquisition speed is tuned up in value, and quickly to fill, backward film source is convenient to watch.And work as the film source major part code check of user's broadcasting When less than normal, then constant terminal buffers acquisition speed can be suitably reduced or keep, when user plays big code check film source just according to feelings Condition increases.
In certain embodiments, specifically can be with as follows for the implementation of film source Format adjusting cache policy:
Because of the film source of various forms, its data volume is of different sizes, it is therefore desirable to based on piece source format dynamic adjustment video cache Size to ensure operating time of the skip forward/back of user.The caching of 100M can expire for example when film source is H.264 form The foot off-line browsing of 80 seconds, but when film source is H.265 form, the caching of 100M can meet the off-line browsing of 160 seconds, in order that User does not substantially perceive caching difference, and it is its a certain proportion of cache size of conversion to need according to piece source format.
When most of compression ratio is relatively low in the film source that user plays, terminal can be tuned up on the basis of initial value in threshold value Quickly to fill, backward film source is convenient to watch caching acquisition speed.And the film source major part partial pressure shrinkage of working as user's broadcasting is higher When, then can suitably reduce or keep constant terminal buffers acquisition speed.
In certain embodiments, the mode for adjusting cache policy for network condition specifically can be with as follows:
When the film source that the user plays more network interim card occurs with postponing, notify that caching performing module is suitably heightened Buffer area entirety size and caching acquisition speed, so that the bigger possibility for reading backward can be obtained during network fluctuation Property, and when the film source played is very smooth and the few situation of interim card situation, can suitably turn down cache size and caching is obtained Speed, reduces the expense of terminal overheads and server end.
The content in caching can be filled by caching performing module according to arrange parameter, and it is related to be responsible for feedback Perform data.For Circular buffer, when whole buffering area content less than when, fill backward first.When whole buffer area Man Shi, then replace the content of oldest caching by the content of newest caching, but content the entering not over video playback for replacing Degree point.
Can be so that the result and relevant parameter of execution be reported into server by caching performing module, it is especially desirable to report User operation habits are stated, because the adjustment and user's strong correlation, and in order to keep the maximum probability reasonability of parameter adjustment, other The synthesis result that several adjustable strategies are also all to user watches in the recent period content and network condition dynamic adjustment is related.Server is obtained Take the user operation habits of each account and preserve, when logging in next time so as to user, the user operation habits deposited can be issued to Current registration terminal, so that present terminal is adjusted according to user's custom and network condition to the cached parameters in the terminal.
Below by taking user's viewing video as an example, the implementation of buffer setting method is illustrated, the method includes following Step:
Step 1, User logs in obtains user account information;
Step 2, obtains the user cache and arranges;
If server side does not preserve the custom parameter of the user, now user cache is set to region the type use The acquiescence buffer setting at family, and to step 3;If server side has the operating habit parameter of the user, for example, it is accustomed to frequently returning See, then the custom is issued to the application of user's present terminal, and to step 4;
Step 3, user's viewing order video, while carrying out frequently backward seek operations, now network condition is splendid, this When can suitably reduce the buffer size of user terminal, backward seek buffer areas ratio is suitably heightened, while notifying server End is appropriate in the range of to reduce caching code stream acquisition speed.
Step 4, user plays HLS type direct-broadcasting code streams, because user's custom is frequently reviewed, therefore to caching before tuning up (or to buffer memory before not limiting);Again because interim card and the situation that postpones are more apparent, caching identification module notifies that caching performing module is entered The big buffer size of one step, to buffer area ratio before appropriate adjustment, facilitates user to obtain in the case where code check is changed greatly More forward direction cachings, optimization user plays experience.
In the present embodiment, total size, forward direction cache size, backward cache size and terminal are specifically cached and obtains caching speed The implementing result of degree, comprehensively produces with the judged result of case above 1, situation 2, situation 3 and situation 4, such as will always cache big It is little to be divided into 7 grades from 1 to 10, become larger., from 2 to 10, backward cache size is from 0 to 8 for forward direction cache size.Caching acquisition speed It is divided into 5 grades from a to e, becomes larger.So a certain item adjustment result by situation 1 factor * situation 1 coefficient+situation 2 because The coefficient of the factor * situation 4 of the coefficient+situation 4 of the factor * situation 3 of the coefficient+situation 3 of sub- * situations 2 draws synthesis result.
Such as forward direction cache size, when various situations occur simultaneously, such as situation 1 and situation 2 occur simultaneously, situation 1 User likes frequent forward direction to see that operations factor is 2, and coefficient is defaulted as 2;Situation 2, user watches the situation of live code check and accounts for More than 90%, operations factor is 2, and coefficient is defaulted as 4;Situation 3 and situation 4 meet default situations, then to the shadow of caching before tuning up It is 12 to ring value, to the size of caching before now foundation reduced value is suitably tuned up.The film source that simultaneously in the recent period user plays is frequently occurred Interim card situation, operations factor is 2, and coefficient is defaulted as 2, then the influence value for tuning up buffer size on this basis is 4, that Meeting performing module comprehensive can tune up overall buffer area, while tuning up the size and ratio of backward buffer area according to influence value.Tool The relation of the operations factor, the computational methods and parameter setting of coefficient and influence value and implementing result of body all can be according to particular user Service condition and effect are carried out pre-setting and subsequently adjusted.
Thus, can be recognized by above-described embodiment, be analyzed and the related played data for recording end side, be made according to user (including the piece Source Type liked, including program request, live and film source video format and content source, like what is carried out with custom Seek (search) is operated, such as the number of times of seek, direction and frequency), with reference to active user side network condition (such as, not With under user's use habit, the actual code stream acquisition speed in different content source, network delay and jitter conditions etc.), provide caching The parameter recommendation of adjustment.
Above-described embodiment can determine video flowing buffer setting according to each user operation habits.User operation can also be practised It is used to bind with user account, it is easy to the timely identifying user operating habit of each terminal to be adjusted to caching, additionally, removing basis Outside user operation habits, herein in connection with respective flap Source Type, form or network condition to terminal and the caching expense of server end It is adjusted, reaches the maximum purpose using resource.
It should be noted that in the case where not conflicting, the feature in each embodiment can be mutually combined.Fig. 1's and Fig. 2 The order of operating procedure is adjusted flexibly.In order to simple and clear, will not be described here this respect content.
The apparatus structure schematic diagram that Fig. 3 is cached for the setting of one embodiment of the invention.
As shown in figure 3, arrange the device 300 of caching can include:Acquisition module 310, identification module 320 and first are arranged Module 330.Wherein, acquisition module 310 can be used for obtain user viewing video when operating parameter;Identification module 320 can be with For based on operating parameter, recognizing the operating habit of the user;First setup module 330 can be used for based on operating habit, if Put the amount of capacity of caching.
It should be noted that the implementation of the functional unit or functional module shown in each embodiment can be hard Part, software, firmware or combinations thereof.When realizing in hardware, it may, for example, be electronic circuit, special integrated electricity Road (ASIC), appropriate firmware, plug-in unit, function card etc..When being realized with software mode, the element of the present invention is used to hold The program or code segment of task needed for row.Program or code segment can be stored in machine readable media, or by carrying The data-signal carried in ripple send in transmission medium or communication links." machine readable media " can include storing Or any medium of transmission information.The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, sudden strain of a muscle Deposit, erasable ROM (EROM), floppy disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can It is downloaded with the computer network via internet, Intranet etc..
It is appreciated that the device 300 for arranging caching can be terminal device, and for example, mobile phone, panel computer and computer Deng.Different degrees of combination application can be carried out for each functional unit in the device of the buffer setting of terminal, for letter It is bright, the implementation of various combinations is repeated no more, those skilled in the art can according to actual needs by each above-mentioned function Unit or functional module are adjusted flexibly, or carry out the operation such as flexible combination.Additionally, in the above-mentioned each function of concrete configuration When unit or functional module, as long as model of specific function, concrete manufacture method or product etc. can be realized no It is limited, the link position relation of each functional unit or functional module is not also limited.
The apparatus structure schematic diagram that Fig. 4 is cached for the setting of another embodiment of the present invention.
As shown in figure 4, arrange the device 400 of caching can include:Acquisition module 310, identification module 320, first are arranged The setup module 340 of module 330 and second.Wherein, operation when acquisition module 310 can be used for obtaining user's viewing video is joined Number;Identification module 320 can be used for based on operating parameter, recognize the operating habit of the user;First setup module 330 can be used In based on operating habit, the amount of capacity of caching is set;Second setup module 340 can be used for based on operating habit, with reference to use Family currently selects in the piece Source Type of video, piece source format and the broadcasting situation watched one or more to arrange the capacity of caching Size.
Those of ordinary skill in the art it is to be appreciated that above-mentioned each functional unit or module, can with electronic hardware, Computer software or the two be implemented in combination in, in order to clearly demonstrate the interchangeability of hardware and software, in described above In generally describe the composition and step of each example according to function.These functions are actually with hardware or software mode To perform, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can specifically should to each For using different methods to realize described function, but this realization it is not considered that beyond the scope of this invention.
In certain embodiments, operating parameter includes at least one in following item:Searching times, the direction of search and search Frequency.
In certain embodiments, operating habit includes:The custom of F.F. and/or the custom of rewind.
In certain embodiments, the first setup module 330 is additionally operable to:When the number of times or frequency of F.F. reach default threshold During value, increase before to buffer area size.
In certain embodiments, the first setup module 330 is additionally operable to:When the number of operations or frequency of rewind reach it is default Threshold value when, increase the size of backward buffer area.
As an optional embodiment, binding unit can be increased on the basis of Fig. 2 or Fig. 3.Binding unit can For the account of the operating habit of user and user is bound.
In certain embodiments, the second setup module 340 is additionally operable to:When piece Source Type is program request type, by caching Total capacity is dimensioned to fixed value.
In certain embodiments, the second setup module 340 is additionally operable to:When piece Source Type is live, the total appearance that will be cached Amount is dimensioned to change value.
In certain embodiments, the second setup module 340 is additionally operable to:When piece Source Type is live, arbitrarily increase is cached In forward direction caching size.
In certain embodiments, arranging the device of caching can include:Above-mentioned caching identification module, caching performing module with And Circular buffer area.
Thus, the above embodiment of the present invention is proposed and adjusts cache policy for user operation habits, is obtained by terminal and is used Progress bar seek operation informations during family viewing video, including seek directions, seek number or seek frequencies be (or further Detect whether to wait caching loading).Operation more frequent (waiting more frequent) then adjusts the size and ratio of correspondence direction caching and gets over Greatly.Additionally, the above embodiment of the present invention is also disclosed adjusts cache policy according to piece Source Type, piece source format or network condition Concrete scheme.In addition, terminal can more agree with user's request according to the viewing of user video custom adjustment buffer setting. Other adjustment strategies are combined on the basis of this, can make buffer setting flexibly, make full use of existing network and terminal resource, carried Rise Consumer's Experience.
It should be noted that the device of the various embodiments described above can as the executive agent in the method for the various embodiments described above, Can realize the corresponding flow process in each method, the content in above-mentioned each embodiment can mutually with reference to using, for sake of simplicity, In this respect content is repeated no more.
Various embodiments above only to illustrate technical scheme, rather than a limitation;Although with reference to aforementioned each reality Apply example to be described in detail the present invention, it will be understood by those within the art that:It still can be to aforementioned each Technical scheme described in embodiment is modified, and either carries out equivalent to which part or all technical characteristic;And These modifications are replaced, and do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of correspondence technical scheme.

Claims (20)

1. it is a kind of that the method for caching is set, it is characterised in that to comprise the following steps:
Obtain operating parameter during user's viewing video;
Based on the operating parameter, the operating habit of the user is recognized;
Based on the operating habit, the amount of capacity of caching is set.
2. method according to claim 1, it is characterised in that the method also includes:
Based on the operating habit, piece Source Type, piece source format and the broadcasting of the video of viewing are currently selected with reference to the user One or more in situation arrange the amount of capacity of caching.
3. method according to claim 1, it is characterised in that the operating parameter includes at least one in following item: Searching times, the direction of search and search rate.
4. method according to claim 1, it is characterised in that the operating habit includes:The custom of F.F. and/or rewind Custom.
5. method according to claim 4, it is characterised in that based on the operating habit, the amount of capacity of caching is set The step of include:
When the number of times or frequency of F.F. reach default threshold value, increase before to buffer area size.
6. method according to claim 4, it is characterised in that the amount of capacity of caching is arranged based on the operating parameter The step of include:
When the number of operations or frequency of rewind reach default threshold value, increase the size of backward buffer area.
7. method according to claim 1, it is characterised in that based on the operating parameter, recognize the operation of the user It is further comprising the steps of after the step of custom:
The operating habit of the user is bound with the account of the user.
8. method according to claim 2, it is characterised in that the method also includes:
When described Source Type is program request type, the total capacity of the caching is dimensioned into fixed value.
9. method according to claim 2, it is characterised in that the method also includes:
When described Source Type is live, the total capacity of the caching is dimensioned into change value.
10. method according to claim 9, it is characterised in that when described Source Type for it is live when, by the caching The step of total capacity is dimensioned to change value includes:
When described Source Type is live, arbitrarily increase the size of the forward direction caching in the caching.
11. a kind of devices that caching is set, it is characterised in that include:
Acquisition module, for obtaining operating parameter during user's viewing video;
Identification module, for based on the operating parameter, recognizing the operating habit of the user;
First setup module, for based on the operating habit, arranging the amount of capacity of caching.
12. devices according to claim 11, it is characterised in that also include:
Second setup module, for based on the operating habit, the film source class of the video of viewing currently being selected with reference to the user One or more in type, piece source format and broadcasting situation arrange the amount of capacity of caching.
13. devices according to claim 11, it is characterised in that the operating parameter includes at least in following item :Searching times, the direction of search and search rate.
14. devices according to claim 11, it is characterised in that the operating habit includes:The custom of F.F. and/or fast The custom moved back.
15. devices according to claim 14, it is characterised in that the first setup module is additionally operable to:When F.F. number of times or When person's frequency reaches default threshold value, increase before to buffer area size.
16. devices according to claim 14, it is characterised in that the first setup module is additionally operable to:When the operation time of rewind When number or frequency reach default threshold value, increase the size of backward buffer area.
17. devices according to claim 11, it is characterised in that also include:
Binding unit, for the operating habit of the user to be bound with the account of the user.
18. devices according to claim 12, it is characterised in that second setup module is additionally operable to:When the film source When type is program request type, the total capacity of the caching is dimensioned into fixed value.
19. devices according to claim 12, it is characterised in that second setup module is additionally operable to:When the film source When type is live, the total capacity of the caching is dimensioned into change value.
20. devices according to claim 14, it is characterised in that second setup module is additionally operable to:When the film source When type is live, arbitrarily increase the size of the forward direction caching in the caching.
CN201611267955.9A 2016-12-31 2016-12-31 The method and apparatus of caching are set Active CN106658067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611267955.9A CN106658067B (en) 2016-12-31 2016-12-31 The method and apparatus of caching are set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611267955.9A CN106658067B (en) 2016-12-31 2016-12-31 The method and apparatus of caching are set

Publications (2)

Publication Number Publication Date
CN106658067A true CN106658067A (en) 2017-05-10
CN106658067B CN106658067B (en) 2019-11-12

Family

ID=58839052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611267955.9A Active CN106658067B (en) 2016-12-31 2016-12-31 The method and apparatus of caching are set

Country Status (1)

Country Link
CN (1) CN106658067B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067916A (en) * 2018-09-21 2018-12-21 深圳市九洲电器有限公司 A kind of online multimedia document down loading method and device, electronic equipment
CN110234020A (en) * 2018-03-06 2019-09-13 优酷网络技术(北京)有限公司 Video broadcasting method and device
CN110807106A (en) * 2019-10-31 2020-02-18 广州市网星信息技术有限公司 Multimedia data processing method and device, computer equipment and storage medium
CN112631504A (en) * 2019-09-24 2021-04-09 北京京东尚科信息技术有限公司 Method and device for realizing local cache by using off-heap memory
CN114745572A (en) * 2022-04-14 2022-07-12 中国联合网络通信集团有限公司 Video cache control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442267A (en) * 2013-08-20 2013-12-11 乐视网信息技术(北京)股份有限公司 User behavior information collection method and television
CN103442270A (en) * 2013-09-17 2013-12-11 北京奇艺世纪科技有限公司 Method and device for acquiring viewing data of user
CN103442293A (en) * 2013-08-30 2013-12-11 武汉眸博科技有限公司 Method and system for quickly starting playing of network multimedia files
CN105144733A (en) * 2013-02-06 2015-12-09 微软技术许可有限责任公司 Dynamic buffer
CN105979346A (en) * 2015-12-03 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for playing streaming media

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144733A (en) * 2013-02-06 2015-12-09 微软技术许可有限责任公司 Dynamic buffer
CN103442267A (en) * 2013-08-20 2013-12-11 乐视网信息技术(北京)股份有限公司 User behavior information collection method and television
CN103442293A (en) * 2013-08-30 2013-12-11 武汉眸博科技有限公司 Method and system for quickly starting playing of network multimedia files
CN103442270A (en) * 2013-09-17 2013-12-11 北京奇艺世纪科技有限公司 Method and device for acquiring viewing data of user
CN105979346A (en) * 2015-12-03 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for playing streaming media

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110234020A (en) * 2018-03-06 2019-09-13 优酷网络技术(北京)有限公司 Video broadcasting method and device
CN110234020B (en) * 2018-03-06 2021-11-19 阿里巴巴(中国)有限公司 Video playing method and device
CN109067916A (en) * 2018-09-21 2018-12-21 深圳市九洲电器有限公司 A kind of online multimedia document down loading method and device, electronic equipment
CN109067916B (en) * 2018-09-21 2021-05-11 深圳市九洲电器有限公司 Online multimedia file downloading method and device and electronic equipment
CN112631504A (en) * 2019-09-24 2021-04-09 北京京东尚科信息技术有限公司 Method and device for realizing local cache by using off-heap memory
CN110807106A (en) * 2019-10-31 2020-02-18 广州市网星信息技术有限公司 Multimedia data processing method and device, computer equipment and storage medium
CN110807106B (en) * 2019-10-31 2024-04-26 广州市网星信息技术有限公司 Multimedia data processing method and device, computer equipment and storage medium
CN114745572A (en) * 2022-04-14 2022-07-12 中国联合网络通信集团有限公司 Video cache control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106658067B (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN106658067A (en) Cache setting method and apparatus
US10698952B2 (en) Using digital fingerprints to associate data with a work
US8583758B2 (en) Network based format conversion
US20030140148A1 (en) Information processing device
US10225590B2 (en) Method and system of dynamic routing of aggregated online media streams
US9686586B2 (en) Interstitial audio control
US20070124779A1 (en) Networked PVR system
US20070124781A1 (en) Networked content storage
US11540008B2 (en) Systems and methods for audio adaptation of content items to endpoint media devices
JP6122987B1 (en) Decision device, decision method, decision program
CA2903855C (en) System and method for optimizing storage and transcoding costs in network dvr
CN110809167B (en) Video playing method and device, electronic equipment and storage medium
EP2954687A1 (en) System and method for optimizing storage and transcoding costs in network dvr
US11989224B2 (en) Retrieving and playing out media content for a personalized playlist including a content placeholder
US11363316B1 (en) Customized content streaming techniques
CN110868638A (en) Automatic playing method of video watching point, terminal and server
US20230021164A1 (en) Advertisement preparation systems
US20210390210A1 (en) Privacy-aware content recommendations
KR101879439B1 (en) Method for video service using adaptive bitrate
CN109104492A (en) According to the method for template generation video
TWI781460B (en) Method for ad insertion decision-making, computing system and non-transitory computer-readable medium
CN103370919A (en) Partial object caching
JP5514654B2 (en) Request receiving apparatus, request receiving method, and program
Liu et al. Media browsing for mobile devices based on resolution adaptive recommendation
US20110307625A1 (en) Index-based video play apparatus and method using double buffering

Legal Events

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