CN105677381B - Preload the method and device of media file - Google Patents
Preload the method and device of media file Download PDFInfo
- Publication number
- CN105677381B CN105677381B CN201510288955.6A CN201510288955A CN105677381B CN 105677381 B CN105677381 B CN 105677381B CN 201510288955 A CN201510288955 A CN 201510288955A CN 105677381 B CN105677381 B CN 105677381B
- Authority
- CN
- China
- Prior art keywords
- media file
- frequency
- character
- file
- preloading
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of method and device for preloading media file, the method for preloading media file obtains the media file frequency meter stored in the terminal the following steps are included: after terminal booting, judges whether the media file frequency meter is empty;If the media file frequency meter is not sky, the frequency information of character in the media file frequency meter is obtained, is obtained according to the frequency information and preloads media file;Load the preloading media file.It is accurately estimated that the present invention most thinks that user, the media file of viewing carries out, it will not blindness loading medium file after terminal booting, but load the media file that user most thinks viewing, user is not needed when viewing waits its preloading to complete to watch, the load time of media file rationalizes and is loaded with purpose, can greatly promote user experience.
Description
Technical field
The present invention relates to technical field of media play more particularly to a kind of method and devices for preloading media file.
Background technique
Currently, multimedia application can play more matchmakers while loading multimedia file in multimedia
Body file, such as video playing is applied can play the video resource loaded while loading video resource, wherein under
The time for carrying initial video resource is the time preloaded.The video resource of preloading is more, then user's video in viewing needs
The probability to be buffered is just smaller, plays more smooth.In the prior art, video playing application after actuation, can download newest automatically
Some video resources, and these newest video resources not necessarily user want viewing, have certain blindness, because
This, if user selects the video of viewing not to be these newest video resources, there is still a need under the time after click play
It carries, it is poor to play experience.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of method and devices for preloading media file, it is intended to solve terminal and exist
Play the technical issues of media file loaded before media file is compared with blindness.
To achieve the above object, the present invention provides a kind of method for preloading media file, the preloading media file
Method the following steps are included:
After terminal booting, the media file frequency meter stored in the terminal is obtained, judges the media file frequency
Whether table is empty;
If the media file frequency meter is not sky, the frequency information of character in the media file frequency meter, root are obtained
It is obtained according to the frequency information and preloads media file;
Load the preloading media file.
Preferably, after the step of load preloading media file further include:
After the terminal plays media file, the title of the media file played is decomposed into single character, is calculated
The corresponding number of the single character;
It is carried out more according to frequency information of the corresponding number of the single character to character in the media file frequency meter
Newly and store.
Preferably, if the media file frequency meter is not sky, the character in the media file frequency meter is obtained
Frequency information, according to the frequency information obtain preload media file the step of include:
The frequency information for obtaining the character in the media file frequency meter calculates media file according to the frequency information
Broadcasting frequency;
Media file of the broadcasting frequency greater than predeterminated frequency is obtained as the preloading media file.
Preferably, include: before the step of load preloading media file
The preloading media file is added in the load list stored in terminal and is saved;
It is described when terminal booting after, obtain the media file frequency meter stored in the terminal, judge the media file
Whether frequency meter is that empty step includes: later
If the media file frequency meter is sky, the load list stored in the terminal is obtained, and described in acquisition
The media file in list is loaded as the preloading media file.
Preferably, if the media file frequency meter is not sky, character in the media file frequency meter is obtained
Frequency information, obtaining the step of preloading media file according to the frequency information includes:
If the media file frequency meter is not sky, obtains the frequency information of character in the media file frequency meter, obtains
The media file in the load list is taken, according to the media file acquisition in the frequency information and the load list
Preload media file.
In addition, to achieve the above object, the present invention also provides a kind of device of loading medium file, the loading medium text
The device of part includes:
Judgment module, for obtaining the media file frequency meter stored in the terminal after terminal is switched on, described in judgement
Whether media file frequency meter is empty;
First obtains module, if not being sky for the media file frequency meter, obtains in the media file frequency meter
The frequency information of character obtains according to the frequency information and preloads media file;
Loading module, for loading the preloading media file.
Preferably, the device of the loading medium file further include:
Decomposing module, for after the terminal plays media file, the title of the media file played to be decomposed into
Single character calculates the corresponding number of the single character;
Update module, for the frequency according to the corresponding number of the single character to character in the media file frequency meter
Rate information is updated and stores.
Preferably, the first acquisition module includes:
Computing unit is believed for obtaining the frequency information of the character in the media file frequency meter according to the frequency
Breath calculates the broadcasting frequency of media file;
Acquiring unit, for obtaining media file of the broadcasting frequency greater than predeterminated frequency as the preloading media
File.
Preferably, the device of the loading medium file further include:
Adding module, for the preloading media file to be added in the load list stored in terminal and save;
Second obtains module, if being sky for the media file frequency meter, obtain stored in the terminal described plus
Table is listed, and obtains the media file in the load list as the preloading media file.
Preferably, if it is not sky that the first acquisition module, which is specifically used for the media file frequency meter, the matchmaker is obtained
The frequency information of character in body document-frequency table obtains media file in the load list, according to the frequency information and
Media file in the load list obtains the preloading media file.
A kind of method and device for preloading media file of the present invention obtains the media of storage after terminal booting first
Document-frequency table, when media file frequency meter be not it is empty, the matchmaker that user watches in the recent period can be got from media file frequency meter
The corresponding frequency of character and character in the title of body file, according to character and the available pre-add of the corresponding frequency of character
Media file is carried, the preloading media file i.e. user exist in the recent period in the recent period in the media file of viewing, or with user
The maximally related media file of the media file of viewing, these media files viewing interest place recent closest to user, i.e., in advance
Loading medium file is the media file that user most thinks viewing, in this way, can most think user the media text of viewing
Part carry out accurately, it is expected that terminal booting after will not blindness loading medium file, but load user most think viewing media text
Part, in this way, do not need user when user clicks these preloading files of viewing and its preloading is waited to complete to watch, and
Be after clicking can direct viewing, load time of media file rationalizes and is loaded with purpose, can greatly promote use
Family experience.
Detailed description of the invention
Fig. 1 is the flow diagram for the method first embodiment that the present invention preloads media file;
Fig. 2 is the flow diagram for the method second embodiment that the present invention preloads media file;
Fig. 3 is the refinement flow diagram of step S102 in Fig. 1;
Fig. 4 is the flow diagram for the method 3rd embodiment that the present invention preloads media file;
Fig. 5 is the functional block diagram of the device first embodiment of loading medium file of the present invention;
Fig. 6 is the functional block diagram of the device second embodiment of loading medium file of the present invention;
Fig. 7 is the first refinement the functional block diagram for obtaining module in Fig. 5;
Fig. 8 is the functional block diagram of the device 3rd embodiment of loading medium file of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of method for preloading media file, referring to Fig.1, in the first embodiment, preloading matchmaker
The method of body file includes:
Step S101 obtains the media file frequency meter stored in the terminal, judges the media after terminal booting
Whether document-frequency table is empty;
In the present embodiment, media file can be video file or audio file etc..After terminal booting, user can be with
Play game, see TV etc., terminal obtains the media file frequency meter (Rate Table) of storage, the media file frequency on backstage
The titles of all media files that user watches in the recent period is stored in table, in the title each corresponding character and each
The frequency of character, such as it is stored with the frequency of each corresponding character of title of the film and TV play watched in user's history
Rate.
In the present embodiment, character can be Chinese character or non-Chinese character, and in the character of Chinese character, a Chinese character is a word
Symbol;In the character of non-Chinese character, by taking English or German as an example, then each word is a character.
In the present embodiment, user, which clicks, watches primary a certain film, such as clicks viewing " Moon light treasure box of talk on the journey to west ",
Then its frequency of each of film Chinese character meter is 1, if user clicks viewing for the second time, frequency adds up, media
The frequency that each of film Chinese character is corresponded in document-frequency table is then 2.
Wherein, it is contemplated that the quantity of character can relatively it is more, and user watch media file can with the variation of time and
Variation, therefore the media file frequency meter of the storage at the terminal will do it at every predetermined time and empty, such as every one
The moon is emptied.
As a result, after terminal booting, judge whether acquired media file frequency meter is empty, if being not sky,
Execute operation below.
Step S102 obtains the frequency of character in the media file frequency meter if the media file frequency meter is not sky
Rate information obtains according to the frequency information and preloads media file;
In the present embodiment, if media file frequency meter is not empty, the available word in media file frequency meter
Symbol and the corresponding frequency of character, according to character and the corresponding frequency of character can calculate media file in play history
Broadcasting frequency, then obtain the high media file of broadcasting frequency as preloading media file, the preloading media file
It is exactly user in the recent period in the media file of viewing, or with user in the recent period in the maximally related media text of the media file of viewing
Part, these media files viewing interest place recent closest to user, it is accurate most to think that user, the media file of viewing carries out
, it is expected that therefore think preload media file be user most think viewing media file.
Specifically, in addition to each corresponding word in the title comprising media file, the title in media file frequency meter
It also include character type information outside the frequency of symbol and each character, identifying the character is Chinese character or non-Chinese character, wherein
Id, mdata, num are used in the table of media file frequency meter, three fields are corresponding to indicate id, character and the corresponding frequency of character
Rate.
When getting the character in the title of media file of broadcasting, whether judge in media file frequency meter comprising this
A little characters, if on the basis of comprising frequency in media file frequency meter of, the corresponding num of a character plus 1, two phases
With frequency of the corresponding num of character in media file frequency meter on the basis of plus 2, if do not wrapped in media file frequency meter
Containing a certain character in these characters, then increase the character in media file frequency meter, is then set to 1 in its num.
By taking user watches the video files such as film and TV play as an example:
Some film is watched when user repeatedly clicks in the recent period, then the frequency for the Chinese character that the film title includes is with user's
It clicks the number of viewing and increases, in booting terminal next time, terminal can load the newest collection of drama of the film automatically, or working as should
When film does not have newest collection of drama, user can very likely watch other films relevant to the title of the film, as user exists
After finishing watching film " Changsha defended war ", it may also want to watch similar film " war Changsha " or " Changsha defended war 2 ", therefore,
The present embodiment analyzes the frequency of the character in the title of film according to the title for clicking the film watched in user's history, can
To obtain the film that user most possibly watches in future tense, loaded automatically after being switched on using these films as terminal pre-
Loading medium file.
Step S103 loads the preloading media file.
In the present embodiment, the preloading media that arrive of the terminal automatically after backstage loads analysis media file frequency meter are literary
It is accurate most to think that user, the media file of viewing carries out since automatic load preloads media file to terminal in booting for part
, it is expected that in this way, loaded when the user clicks preloading media file when, terminal has not needed to preload it,
But can directly play, user withouts waiting for its preloading and completes to watch, and promotes user experience.
Compared with prior art, the present embodiment obtains the media file frequency meter of storage first, works as matchmaker after terminal booting
Body document-frequency table is not sky, can be got in the title for the media file that user watches in the recent period from media file frequency meter
Character and the corresponding frequency of character, according to character and the available preloading media file of the corresponding frequency of character, this is pre-
Loading medium file i.e. user in the recent period in the media file of viewing, or with user in the recent period the media file of viewing most
Relevant media file, these media files viewing interest place recent closest to user, i.e. preloading media file is to use
Family most think viewing media file, in this way, user can most be thought viewing media file carry out accurately, it is expected that
Terminal booting after will not blindness loading medium file, but load user most think viewing media file, in this way, user click
When watching these preloading files, does not need user and its preloading is waited to complete to watch, but can directly be seen after clicking
It sees, the load time of media file rationalizes and is loaded with purpose, can greatly promote user experience.
In a second embodiment, as shown in Fig. 2, on the basis of the first embodiment of above-mentioned Fig. 1, in above-mentioned steps S103
Later further include:
The title of the media file played is decomposed into individually by step S104 after the terminal plays media file
Character calculates the corresponding number of the single character;
Step S105 believes according to frequency of the corresponding number of the single character to character in the media file frequency meter
Breath is updated and stores.
In the present embodiment, after the complete media file of terminal loads, user clicks and plays out, in terminal plays media file
When, terminal is decomposed into single character to the title of the media file played, then judges whether wrap in media file frequency meter
Containing the character, if on the basis of comprising frequency in media file frequency meter of, the corresponding num of a character plus 1, two
On the basis of frequency of the corresponding num of identical character in media file frequency meter plus 2, if in media file frequency meter not
Comprising a certain character in these characters, then increase the character in media file frequency meter, is then set to 1 in its num.
In the present embodiment, it is decomposed into single character user this booting is played the titles of all media files,
And after updating the frequency of the character in media file frequency meter according to the quantity of single character, stored, so as under
Newest media file frequency meter is got when secondary booting.
Preferably, as shown in figure 3, on the basis of the first embodiment of above-mentioned Fig. 1, above-mentioned steps S102 includes:
Step S1021 obtains the frequency information of the character in the media file frequency meter, according to the frequency information meter
Calculate the broadcasting frequency of media file;
Step S1022 obtains the broadcasting frequency greater than the media file of predeterminated frequency as the preloading media text
Part.
In the present embodiment, obtain the character and the corresponding frequency of character in media file frequency meter, according to character and
The corresponding frequency of character can calculate the broadcasting frequency in play history of media file, which can show that correspondence
The frequency watched in recent user of media file.In view of user viewing media file quantity will appear it is more
Situation, therefore the present embodiment only obtains media file of the broadcasting frequency greater than predeterminated frequency as preloading media file.
In addition, can preferentially obtain newest media file as pre- if identical two media files of broadcasting frequency
Loading medium file.
In the third embodiment, as shown in figure 4, on the basis of the first embodiment of above-mentioned Fig. 1, in above-mentioned steps S103
Before further include:
Step S106 will preload media file and be added in the load list stored in terminal and save;
After above-mentioned steps S101 further include:
Step S107 obtains the load list stored in the terminal, and obtains the media in the load list
File is as the preloading media file.
In the present embodiment, when terminal first powers on, media file frequency meter is sky, then illustrates in media file frequency meter
Information be emptied.In contrast to the embodiment of FIG. 1 the load list stored in the available terminal of the present embodiment,
The preloading media file that user's last time loaded when being switched on is stored in the load list, therefore, terminal is getting this
After loading list, the available information to the media file in load list obtains relevant media text according to these information
Part is as preloading file.For example, can load in list after emptying can retain if last time sees serial tiger mother cat father to 10 collection
Brave mother cat father, the data of 10 collection, booting can download 11 collection of brave mother cat father after emptying.
In addition, if terminal is to be switched on for the first time, it is not stored in terminal to have any list, i.e., it is not stored to have media file
Frequency meter and load list, then be loaded directly into popular media file or newest media file.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 1, when body document-frequency table is not sky,
While then obtaining the frequency information of character in media file frequency meter, the media text in load list can also be further obtained
Part, preferentially based on loading the media file in list, to analyze the frequency information of character in media file frequency meter, in this way
It can accelerate the speed of analysis, so as to quick obtaining to preloading media file.
The present invention also provides a kind of devices of loading medium file, as shown in figure 5, in the first embodiment, the load
The device of media file includes:
Judgment module 101 judges for obtaining the media file frequency meter stored in the terminal after terminal booting
Whether the media file frequency meter is empty;
In the present embodiment, media file can be video file or audio file etc..After terminal booting, user can be with
Play game, see TV etc., terminal obtains the media file frequency meter (Rate Table) of storage, the media file frequency on backstage
The titles of all media files that user watches in the recent period is stored in table, in the title each corresponding character and each
The frequency of character, such as it is stored with the frequency of each corresponding character of title of the film and TV play watched in user's history
Rate.
In the present embodiment, character can be Chinese character or non-Chinese character, and in the character of Chinese character, a Chinese character is a word
Symbol;In the character of non-Chinese character, by taking English or German as an example, then each word is a character.
In the present embodiment, user, which clicks, watches primary a certain film, such as clicks viewing " Moon light treasure box of talk on the journey to west ",
Then its frequency of each of film Chinese character meter is 1, if user clicks viewing for the second time, frequency adds up, media
The frequency that each of film Chinese character is corresponded in document-frequency table is then 2.
Wherein, it is contemplated that the quantity of character can relatively it is more, and user watch media file can with the variation of time and
Variation, therefore the media file frequency meter of the storage at the terminal will do it at every predetermined time and empty, such as every one
The moon is emptied.
As a result, after terminal booting, judge whether acquired media file frequency meter is empty, if being not sky,
Execute operation below.
First obtains module 102, if not being sky for the media file frequency meter, obtains the media file frequency meter
The frequency information of middle character obtains according to the frequency information and preloads media file;
In the present embodiment, if media file frequency meter is not empty, the available word in media file frequency meter
Symbol and the corresponding frequency of character, according to character and the corresponding frequency of character can calculate media file in play history
Broadcasting frequency, then obtain the high media file of broadcasting frequency as preloading media file, the preloading media file
It is exactly user in the recent period in the media file of viewing, or with user in the recent period in the maximally related media text of the media file of viewing
Part, these media files viewing interest place recent closest to user, it is accurate most to think that user, the media file of viewing carries out
, it is expected that therefore think preload media file be user most think viewing media file.
Specifically, in addition to each corresponding word in the title comprising media file, the title in media file frequency meter
It also include character type information outside the frequency of symbol and each character, identifying the character is Chinese character or non-Chinese character, wherein
Id, mdata, num are used in the table of media file frequency meter, three fields are corresponding to indicate id, character and the corresponding frequency of character
Rate.
When getting the character in the title of media file of broadcasting, whether judge in media file frequency meter comprising this
A little characters, if on the basis of comprising frequency in media file frequency meter of, the corresponding num of a character plus 1, two phases
With frequency of the corresponding num of character in media file frequency meter on the basis of plus 2, if do not wrapped in media file frequency meter
Containing a certain character in these characters, then increase the character in media file frequency meter, is then set to 1 in its num.
By taking user watches the video files such as film and TV play as an example:
Some film is watched when user repeatedly clicks in the recent period, then the frequency for the Chinese character that the film title includes is with user's
It clicks the number of viewing and increases, in booting terminal next time, terminal can load the newest collection of drama of the film automatically, or working as should
When film does not have newest collection of drama, user can very likely watch other films relevant to the title of the film, as user exists
After finishing watching film " Changsha defended war ", it may also want to watch similar film " war Changsha " or " Changsha defended war 2 ", therefore,
The present embodiment analyzes the frequency of the character in the title of film according to the title for clicking the film watched in user's history, can
To obtain the film that user most possibly watches in future tense, loaded automatically after being switched on using these films as terminal pre-
Loading medium file.
Loading module 103, for loading the preloading media file.
In the present embodiment, the preloading media that arrive of the terminal automatically after backstage loads analysis media file frequency meter are literary
It is accurate most to think that user, the media file of viewing carries out since automatic load preloads media file to terminal in booting for part
, it is expected that in this way, loaded when the user clicks preloading media file when, terminal has not needed to preload it,
But can directly play, user withouts waiting for its preloading and completes to watch, and promotes user experience.
Compared with prior art, the present embodiment obtains the media file frequency meter of storage first, works as matchmaker after terminal booting
Body document-frequency table is not sky, can be got in the title for the media file that user watches in the recent period from media file frequency meter
Character and the corresponding frequency of character, according to character and the available preloading media file of the corresponding frequency of character, this is pre-
Loading medium file i.e. user in the recent period in the media file of viewing, or with user in the recent period the media file of viewing most
Relevant media file, these media files viewing interest place recent closest to user, i.e. preloading media file is to use
Family most think viewing media file, in this way, user can most be thought viewing media file carry out accurately, it is expected that
Terminal booting after will not blindness loading medium file, but load user most think viewing media file, in this way, user click
When watching these preloading files, does not need user and its preloading is waited to complete to watch, but can directly be seen after clicking
It sees, the load time of media file rationalizes and is loaded with purpose, can greatly promote user experience.
In a second embodiment, as shown in fig. 6, on the basis of the first embodiment of above-mentioned Fig. 5, the loading medium text
The device of part further include:
Decomposing module 104, for after the terminal plays media file, the title of the media file played to be decomposed
For single character, the corresponding number of the single character is calculated;
Update module 105, for the corresponding number according to the single character to character in the media file frequency meter
Frequency information be updated and store.
In the present embodiment, after the complete media file of terminal loads, user clicks and plays out, in terminal plays media file
When, terminal is decomposed into single character to the title of the media file played, then judges whether wrap in media file frequency meter
Containing the character, if on the basis of comprising frequency in media file frequency meter of, the corresponding num of a character plus 1, two
On the basis of frequency of the corresponding num of identical character in media file frequency meter plus 2, if in media file frequency meter not
Comprising a certain character in these characters, then increase the character in media file frequency meter, is then set to 1 in its num.
In the present embodiment, it is decomposed into single character user this booting is played the titles of all media files,
And after updating the frequency of the character in media file frequency meter according to the quantity of single character, stored, so as under
Newest media file frequency meter is got when secondary booting.
Preferably, as shown in fig. 7, on the basis of the first embodiment of above-mentioned Fig. 5, described first, which obtains module 102, is wrapped
It includes:
Computing unit 1021, for obtaining the frequency information of the character in the media file frequency meter, according to the frequency
The broadcasting frequency of rate information calculating media file;
Acquiring unit 1022, for obtaining media file of the broadcasting frequency greater than predeterminated frequency as the preloading
Media file.
In the present embodiment, obtain the character and the corresponding frequency of character in media file frequency meter, according to character and
The corresponding frequency of character can calculate the broadcasting frequency in play history of media file, which can show that correspondence
The frequency watched in recent user of media file.In view of user viewing media file quantity will appear it is more
Situation, therefore the present embodiment only obtains media file of the broadcasting frequency greater than predeterminated frequency as preloading media file.
In addition, can preferentially obtain newest media file as pre- if identical two media files of broadcasting frequency
Loading medium file.
In the third embodiment, as shown in figure 8, on the basis of the first embodiment of above-mentioned Fig. 5, the loading medium text
The device of part further include:
Adding module 106, for the preloading media file to be added in the load list stored in terminal and protect
It deposits;
Second obtain module 107, if for the media file frequency meter be sky, obtain stored in the terminal it is described
List is loaded, and obtains the media file in the load list as the preloading media file.
In the present embodiment, when terminal first powers on, media file frequency meter is sky, then illustrates in media file frequency meter
Information be emptied.In contrast to the embodiment of FIG. 5 the load list stored in the available terminal of the present embodiment,
The preloading media file that user's last time loaded when being switched on is stored in the load list, therefore, terminal is getting this
After loading list, the available information to the media file in load list obtains relevant media text according to these information
Part is as preloading file.
In addition, if terminal is to be switched on for the first time, it is not stored in terminal to have any list, i.e., it is not stored to have media file
Frequency meter and load list, then be loaded directly into popular media file or newest media file.
In a preferred embodiment, on the basis of the embodiment of above-mentioned Fig. 5, when body document-frequency table is not sky,
While then obtaining the frequency information of character in media file frequency meter, the media text in load list can also be further obtained
Part, preferentially based on loading the media file in list, to analyze the frequency information of character in media file frequency meter, in this way
It can accelerate the speed of analysis, so as to quick obtaining to preloading media file.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of method for preloading media file, which is characterized in that the method for preloading media file includes following step
It is rapid:
After terminal booting, the title that the terminal storage user clicks the media file of viewing in the recent period is obtained, and according to media
The corresponding frequency of the single character of the title of file forms media file frequency meter, judge the media file frequency meter whether be
It is empty;
If the media file frequency meter is not empty, the title for the media file that acquisition user's click was watched, according to the matchmaker
Character and the corresponding frequency of character in the name acquiring media file frequency meter of body file, it is corresponding according to character and character
Frequency calculate the broadcasting frequency in play history of media file, obtain the high media file of broadcasting frequency as preloading
Media file;
Load the preloading media file.
2. preloading the method for media file as described in claim 1, which is characterized in that the load preloading media
After the step of file further include:
After the terminal plays media file, the title of the media file played is decomposed into single character, described in calculating
The corresponding number of single character;
It is updated simultaneously according to frequency information of the corresponding number of the single character to character in the media file frequency meter
Storage.
3. preloading the method for media file as claimed in claim 1 or 2, which is characterized in that if the media file
Frequency meter is not sky, obtains the frequency information of the character in the media file frequency meter, is obtained according to the frequency information pre-
The step of loading medium file includes:
The frequency information for obtaining the character in the media file frequency meter calculates broadcasting for media file according to the frequency information
Put frequency;
Media file of the broadcasting frequency greater than predeterminated frequency is obtained as the preloading media file.
4. preloading the method for media file as described in claim 1, which is characterized in that the load preloading media
Include: before the step of file
The preloading media file is added in the load list stored in terminal and is saved;
It is described when terminal booting after, obtain the media file frequency meter stored in the terminal, judge the media file frequency
Whether table is that empty step includes: later
If the media file frequency meter is sky, the load list stored in the terminal is obtained, and obtain the load
Media file in list is as the preloading media file.
5. preloading the method for media file as claimed in claim 4, which is characterized in that if the media file frequency
Table is not sky, obtains the frequency information of character in the media file frequency meter, is obtained according to the frequency information and preloads matchmaker
The step of body file includes:
If the media file frequency meter is not sky, obtains the frequency information of character in the media file frequency meter, obtains institute
The media file in load list is stated, the pre-add is obtained according to the media file in the frequency information and the load list
Carry media file.
6. a kind of device of loading medium file, which is characterized in that the device of the loading medium file includes:
Judgment module, for obtaining the name that the terminal storage user clicks the media file of viewing in the recent period after terminal booting
Claim, and media file frequency meter is formed according to the corresponding frequency of the single character of the title of media file, judges the media text
Whether part frequency meter is empty;
First obtains module, if for the media file frequency meter not being media file empty, that acquisition user's click was watched
Title, according to the character and the corresponding frequency of character in the name acquiring media file frequency meter of the media file, root
The broadcasting frequency in play history that media file is calculated according to character and the corresponding frequency of character, it is high to obtain broadcasting frequency
Media file is as preloading media file;
Loading module, for loading the preloading media file.
7. the device of loading medium file as claimed in claim 6, which is characterized in that the device of the loading medium file is also
Include:
Decomposing module, for after the terminal plays media file, the title of the media file played to be decomposed into individually
Character calculates the corresponding number of the single character;
Update module, for being believed according to the corresponding number of the single character the frequency of character in the media file frequency meter
Breath is updated and stores.
8. the device of loading medium file as claimed in claims 6 or 7, which is characterized in that described first, which obtains module, includes:
Computing unit, for obtaining the frequency information of the character in the media file frequency meter, according to the frequency information meter
Calculate the broadcasting frequency of media file;
Acquiring unit, for obtaining the broadcasting frequency greater than the media file of predeterminated frequency as the preloading media text
Part.
9. the device of loading medium file as claimed in claim 6, which is characterized in that the device of the loading medium file is also
Include:
Adding module, for the preloading media file to be added in the load list stored in terminal and save;
Second obtains module, if being sky for the media file frequency meter, obtains the load column stored in the terminal
Table, and the media file in the load list is obtained as the preloading media file.
10. the device of loading medium file as claimed in claim 9, which is characterized in that the first acquisition module is specifically used
If not being sky in the media file frequency meter, the frequency information of character in the media file frequency meter is obtained, described in acquisition
The media file in list is loaded, the preloading is obtained according to the media file in the frequency information and the load list
Media file.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510288955.6A CN105677381B (en) | 2015-05-29 | 2015-05-29 | Preload the method and device of media file |
PCT/CN2015/090391 WO2016192253A1 (en) | 2015-05-29 | 2015-09-23 | Method and device for pre-loading media file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510288955.6A CN105677381B (en) | 2015-05-29 | 2015-05-29 | Preload the method and device of media file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105677381A CN105677381A (en) | 2016-06-15 |
CN105677381B true CN105677381B (en) | 2019-07-12 |
Family
ID=56946817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510288955.6A Active CN105677381B (en) | 2015-05-29 | 2015-05-29 | Preload the method and device of media file |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105677381B (en) |
WO (1) | WO2016192253A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189956B (en) * | 2018-08-10 | 2021-11-02 | 北京微播视界科技有限公司 | Information processing method, information processing device, electronic equipment and computer readable storage medium |
CN113569150B (en) * | 2021-08-10 | 2024-04-19 | 北京字节跳动网络技术有限公司 | Media content preloading method, model building method and related equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101777028A (en) * | 2010-01-21 | 2010-07-14 | 北京北大众志微系统科技有限责任公司 | Realization method and device of mixed secondary storage system |
CN102446222A (en) * | 2011-12-22 | 2012-05-09 | 华为技术有限公司 | Method, device and system of webpage content preloading |
CN102750174A (en) * | 2012-06-29 | 2012-10-24 | Tcl集团股份有限公司 | Method and device for loading file |
CN102918524A (en) * | 2010-05-28 | 2013-02-06 | 富士通株式会社 | Information generation program, device, method, and information retrieval program, device and method |
CN103488495A (en) * | 2013-08-13 | 2014-01-01 | 广东欧珀移动通信有限公司 | Method for accelerating startup by dynamically adjusting startup preloaded resources |
CN103686231A (en) * | 2012-08-28 | 2014-03-26 | 财团法人工业技术研究院 | Method and system for integrated management, failure replacement and continuous playing of film |
CN103744905A (en) * | 2013-12-25 | 2014-04-23 | 新浪网技术(中国)有限公司 | Junk mail judgment method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070206247A1 (en) * | 2006-03-01 | 2007-09-06 | Intouch Group, Inc. | System, apparatus, and method for managing preloaded digital files for preview on a digital media playback apparatus |
-
2015
- 2015-05-29 CN CN201510288955.6A patent/CN105677381B/en active Active
- 2015-09-23 WO PCT/CN2015/090391 patent/WO2016192253A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101777028A (en) * | 2010-01-21 | 2010-07-14 | 北京北大众志微系统科技有限责任公司 | Realization method and device of mixed secondary storage system |
CN102918524A (en) * | 2010-05-28 | 2013-02-06 | 富士通株式会社 | Information generation program, device, method, and information retrieval program, device and method |
CN102446222A (en) * | 2011-12-22 | 2012-05-09 | 华为技术有限公司 | Method, device and system of webpage content preloading |
CN102750174A (en) * | 2012-06-29 | 2012-10-24 | Tcl集团股份有限公司 | Method and device for loading file |
CN103686231A (en) * | 2012-08-28 | 2014-03-26 | 财团法人工业技术研究院 | Method and system for integrated management, failure replacement and continuous playing of film |
CN103488495A (en) * | 2013-08-13 | 2014-01-01 | 广东欧珀移动通信有限公司 | Method for accelerating startup by dynamically adjusting startup preloaded resources |
CN103744905A (en) * | 2013-12-25 | 2014-04-23 | 新浪网技术(中国)有限公司 | Junk mail judgment method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2016192253A1 (en) | 2016-12-08 |
CN105677381A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109792500B (en) | Method, system, and medium for displaying non-time-bounded content | |
US9317468B2 (en) | Personal content streams based on user-topic profiles | |
CN104965659B (en) | A kind of preloading method and device of page info | |
US9118811B2 (en) | Predicted concurrent streaming program selection | |
CN106454423B (en) | The method and system that record carries out video push is watched according to history | |
US20120060094A1 (en) | System and method for displaying information related to video programs in a graphical user interface | |
EP2833280A2 (en) | Method for automatically storing new media | |
CN104079997A (en) | Recommending system for digital television personalized programs and method thereof | |
US9959262B2 (en) | Display of user comments to timed presentation | |
CN108416053A (en) | Display processing method, TV and the readable storage medium storing program for executing of historical viewings record | |
WO2017181597A1 (en) | Method and device for video playback | |
CN103686414A (en) | Network video playing method and device | |
CN103873921A (en) | Seamless video play method and player | |
CN105847861A (en) | Video inter-cut method and device | |
CN105677381B (en) | Preload the method and device of media file | |
CN105260207B (en) | A kind of file loading method and system | |
CN101952825A (en) | Interactive program search device | |
CN110177306A (en) | Video broadcasting method, device, mobile terminal and medium based on mobile terminal | |
CN112367538A (en) | Advertisement playing control method and device, video playing terminal and readable storage medium | |
CN103237264B (en) | Internet video player method and device | |
CN105376592B (en) | A kind of ad material carousel method based on frequency control | |
CN108875068A (en) | A kind of data information localization method applied to smart television | |
CN102638663A (en) | Method and device for setting automatic channel skip for repetitive channels of digital television | |
CN105812917B (en) | channel searching method and device | |
CN105931027A (en) | Method and device for creating sporting event appointment reminder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |