CN105635254B - Multimedia resource method for down loading and device - Google Patents

Multimedia resource method for down loading and device Download PDF

Info

Publication number
CN105635254B
CN105635254B CN201510980542.4A CN201510980542A CN105635254B CN 105635254 B CN105635254 B CN 105635254B CN 201510980542 A CN201510980542 A CN 201510980542A CN 105635254 B CN105635254 B CN 105635254B
Authority
CN
China
Prior art keywords
multimedia resource
multimedia
resource
destination
module
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
Application number
CN201510980542.4A
Other languages
Chinese (zh)
Other versions
CN105635254A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510980542.4A priority Critical patent/CN105635254B/en
Publication of CN105635254A publication Critical patent/CN105635254A/en
Application granted granted Critical
Publication of CN105635254B publication Critical patent/CN105635254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure is directed to a kind of multimedia resource method for down loading and devices, belong to Internet technical field.The disclosure, which passes through, judges that the stored multimedia resource of terminal concentrates whether the included quantity for not playing multimedia resource is less than preset threshold;If the quantity for not playing multimedia resource is less than preset threshold, the address information of destination multimedia resource is then obtained from multimedia server, destination multimedia resource is the multimedia resource after the phase time that multimedia resource concentrates on the stored multimedia resource of terminal;According to the address information of destination multimedia resource, destination multimedia resource is downloaded.The disclosure, which passes through, judges that the stored multimedia resource of terminal concentrates the multimedia resource quantity not played, and download destination multimedia resource from multimedia server automatically when the quantity is less than preset threshold, it solves the problems, such as to need to have reached the technical effect for improving operation convenience by manual operation downloading multimedia resource.

Description

Multimedia resource method for down loading and device
Technical field
This disclosure relates to Internet technical field, in particular to a kind of multimedia resource method for down loading and device.
Background technique
With the fast development of Internet technology, network service provides relatively rich media resource for user.It is some more Media resource has continuity or a correlation, such as TV play, variety show, talking book are published in instalments or music album etc., can This kind of multimedia resource is known as multimedia resource collection.
In the related art, user can choose in the preferable situation of network condition, by oneself interested multimedia Resource set is all downloaded in terminal, or is downloaded according to the update Milestones of multimedia resource collection in multimedia server, and It plays out when needed.
Summary of the invention
The embodiment of the present disclosure provides a kind of multimedia resource method for down loading and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of multimedia resource method for down loading is provided, which comprises
Judge that the stored multimedia resource of terminal concentrates whether the included quantity for not playing multimedia resource is less than Preset threshold;
If the quantity for not playing multimedia resource is less than the preset threshold, mesh is obtained from multimedia server The address information of multimedia resource is marked, the destination multimedia resource concentrates on the terminal for the multimedia resource and stored Multimedia resource phase time after multimedia resource;
According to the address information of the destination multimedia resource, the destination multimedia resource is downloaded.
It is described to be obtained from multimedia server in the first the possible implementation for the first aspect that the disclosure provides The address information of destination multimedia resource includes:
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloads request to be taken less Band multimedia resource set identifier and stored newest multimedia resource mark, so that the multimedia server is from more matchmakers The destination multimedia resource is determined in body resource set, and returns to the address information of the destination multimedia resource;Or,
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloading request carries more Media resource set identifier, the quantity required of the destination multimedia resource and stored newest multimedia resource mark, so that The multimedia server is concentrated from the multimedia resource and determines the destination multimedia resource, and returns to the more matchmakers of the target The address information of body resource.
It is described to be obtained from multimedia server in second of possible implementation of the first aspect that the disclosure provides After the address information of destination multimedia resource, the method also includes:
Whether detection network meets preset condition;
If the network meets preset condition, the address information according to the destination multimedia resource is executed, downloads institute The step of stating destination multimedia resource;
If if detecting, the network is unsatisfactory for preset condition in downloading process, stop downloading.
In the third the possible implementation for the first aspect that the disclosure provides, the method also includes:
When the played duration for detecting stored any multimedia resource is more than the first preset duration, it is determined that institute Stating multimedia resource is played multimedia resource.
In the 4th kind of possible implementation of the first aspect that the disclosure provides, the method also includes:
Judge that the multimedia resource is concentrated between the last play time and current time of played multimedia resource Whether the time difference is greater than the second preset duration;
If the time difference is greater than second preset duration, the played multimedia resource is deleted.
In 4th kind of possible implementation of the first aspect and first aspect that provide in conjunction with the disclosure, the method is also wrapped It includes:
The play history that multimedia resource is concentrated according to the multimedia resource, obtains the broadcasting of the multimedia resource collection Speed;
If the broadcasting speed is greater than the first pre-set velocity, reduce second preset duration.
In the 5th kind of possible implementation of the first aspect that the disclosure provides, the method also includes:
The play history that multimedia resource is concentrated according to the multimedia resource, obtains the broadcasting of the multimedia resource collection Speed;
If the broadcasting speed is greater than the second pre-set velocity, increase the quantity required of the destination multimedia resource.
According to the second aspect of an embodiment of the present disclosure, a kind of device of multimedia resource downloading, described device packet are provided It includes:
First judgment module, for judging that the stored multimedia resource of terminal concentrates the included multimedia that do not play to provide Whether the quantity in source is less than preset threshold;
First obtains module, for determining that the quantity for not playing multimedia resource is less than in the first judgment module When the preset threshold, the address information of destination multimedia resource, the destination multimedia money are obtained from multimedia server Source is the multimedia resource after the phase time that the multimedia resource concentrates on the stored multimedia resource of the terminal;
Download module downloads institute for determining the address information of destination multimedia resource according to the first acquisition module State destination multimedia resource.
In the first the possible implementation for the second aspect that the disclosure provides, the acquisition module is specifically used for:
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloads request to be taken less Band multimedia resource set identifier and stored newest multimedia resource mark, so that the multimedia server is from more matchmakers The destination multimedia resource is determined in body resource set, and returns to the address information of the destination multimedia resource;Or,
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloading request carries more Media resource set identifier, the quantity required of the destination multimedia resource and stored newest multimedia resource mark, so that The multimedia server is concentrated from the multimedia resource and determines the destination multimedia resource, and returns to the more matchmakers of the target The address information of body resource.
In second of possible implementation of the second aspect that the disclosure provides, got in the acquisition module described After address information, described device further include:
First detection module, for detecting whether network meets preset condition;
Trigger module, for when the first detection module detects that the network meets preset condition, described in triggering Download module downloads the destination multimedia resource;
Stopping modular, in downloading process, detecting that the network is unsatisfactory for preset condition in the download module When, stop downloading.
In the third the possible implementation for the second aspect that the disclosure provides, described device further include:
Second detection module, for being more than first pre- when the played duration for detecting stored any multimedia resource If when duration, determining that the multimedia resource is played multimedia resource.
In the 4th kind of possible implementation of the second aspect that the disclosure provides, described device further include:
Second judgment module, for judging that the multimedia resource concentrates the last play time of played multimedia resource Whether the time difference between current time is greater than the second preset duration;
Removing module, for second judgment module determine the time difference be greater than second preset duration when, Delete the played multimedia resource.
In 4th kind of possible implementation of the second aspect and second aspect that provide in conjunction with the disclosure, described device is also wrapped It includes:
Second obtains module, for concentrating the play history of multimedia resource according to the multimedia resource, described in acquisition The broadcasting speed of multimedia resource collection;
Reduce module, for subtracting when the second acquisition module determines that the broadcasting speed is greater than the first pre-set velocity Small second preset duration.
In the 5th kind of possible implementation of the second aspect that the disclosure provides, described device further include:
Third obtains module, for concentrating the play history of multimedia resource according to the multimedia resource, described in acquisition The broadcasting speed of multimedia resource collection;
Increase module, for increasing when the third obtains module and determines that the broadcasting speed is greater than the second pre-set velocity Add the quantity required of the destination multimedia resource.
According to the third aspect of an embodiment of the present disclosure, a kind of multimedia resource download apparatus is provided, described device includes:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is used for:
Judge that locally stored multimedia resource concentrates whether the included quantity for not playing multimedia resource is less than Preset threshold;
If the quantity for not playing multimedia resource is less than the preset threshold, mesh is obtained from multimedia server The address information of multimedia resource is marked, the destination multimedia resource is that the multimedia resource concentrates locally stored more matchmakers Multimedia resource after the phase time of body resource;
According to the address information of the destination multimedia resource, the destination multimedia resource is downloaded.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
Judge that the stored multimedia resource of terminal concentrates the included quantity for not playing multimedia resource by terminal Whether it is less than preset threshold, if the quantity for not playing multimedia resource is less than preset threshold, is obtained from multimedia server The address information of destination multimedia resource, destination multimedia resource are that multimedia resource concentrates on the stored multimedia money of terminal Multimedia resource after the phase time in source, and according to the address information of destination multimedia resource, download destination multimedia resource.Such as This, by judging that the stored multimedia resource of terminal concentrates the multimedia resource quantity not played, and is less than in advance in the quantity If downloading destination multimedia resource when threshold value from multimedia server automatically, solves needs by manual operation and download more matchmakers The problem of body resource, has reached the technical effect for improving operation convenience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of multimedia resource method for down loading shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the multimedia resource method for down loading shown according to another exemplary embodiment.
Fig. 3 is a kind of block diagram of multimedia resource download apparatus shown according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the multimedia resource download apparatus shown according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of multimedia resource download apparatus 500 shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the multimedia resource download apparatus 600 shown according to another exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The multimedia resource method for down loading that the embodiment of the present disclosure provides, can pass through such as mobile phone, tablet computer and computer Etc terminal execute.Operation has the application client for downloading and saving multimedia resource in terminal.
Fig. 1 is a kind of flow chart of multimedia resource method for down loading shown according to an exemplary embodiment, the present embodiment It is illustrated with the multimedia resource method for down loading by terminal execution.The multimedia resource method for down loading may include as Under several steps:
In a step 101, judge not play multimedia resource included by the stored multimedia resource concentration of terminal Whether quantity is less than preset threshold.
In a step 102, it if the quantity for not playing multimedia resource is less than preset threshold, is obtained from multimedia server The address information of destination multimedia resource is taken, destination multimedia resource is that multimedia resource concentrates on the stored multimedia of terminal Multimedia resource after the phase time of resource.
In step 103, according to the address information of destination multimedia resource, destination multimedia resource is downloaded.
In conclusion multimedia resource method for down loading provided in this embodiment, judges that terminal is stored more by terminal Media resource concentrates whether the included quantity for not playing multimedia resource is less than preset threshold, if not playing multimedia resource Quantity be less than preset threshold, then from multimedia server obtain destination multimedia resource address information, destination multimedia Resource is the multimedia resource after the phase time that multimedia resource concentrates on the stored multimedia resource of terminal, and according to target The address information of multimedia resource downloads destination multimedia resource.In this way, by judging the stored multimedia resource collection of terminal In the multimedia resource quantity that does not play, and target is downloaded from multimedia server automatically when the quantity is less than preset threshold Multimedia resource solves the problems, such as to need to have reached by manual operation downloading multimedia resource and improved operation convenience Technical effect.
Based on above-mentioned providing method embodiment, referring to figure 2., the first in the first aspect that the disclosure provides may be real In existing mode, the address information that destination multimedia resource is obtained from multimedia server includes:
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloads request to be taken less Band multimedia resource set identifier and stored newest multimedia resource mark, so that the multimedia server is from more matchmakers The destination multimedia resource is determined in body resource set, and returns to the address information of the destination multimedia resource;Or,
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloading request carries more Media resource set identifier, the quantity required of the destination multimedia resource and stored newest multimedia resource mark, so that The multimedia server is concentrated from the multimedia resource and determines the destination multimedia resource, and returns to the more matchmakers of the target The address information of body resource.
It is described to be obtained from multimedia server in second of possible implementation of the first aspect that the disclosure provides After the address information of destination multimedia resource, the method also includes:
Whether detection network meets preset condition;
If the network meets preset condition, the address information according to the destination multimedia resource is executed, downloads institute The step of stating destination multimedia resource;
If if detecting, the network is unsatisfactory for preset condition in downloading process, stop downloading.
In the third the possible implementation for the first aspect that the disclosure provides, the method also includes:
When the played duration for detecting stored any multimedia resource is more than the first preset duration, it is determined that institute Stating multimedia resource is played multimedia resource.
In the 4th kind of possible implementation of the first aspect that the disclosure provides, the method also includes:
Judge that the multimedia resource is concentrated between the last play time and current time of played multimedia resource Whether the time difference is greater than the second preset duration;
If the time difference is greater than second preset duration, the played multimedia resource is deleted.
In 4th kind of possible implementation of the first aspect and first aspect that provide in conjunction with the disclosure, the method is also wrapped It includes:
The play history that multimedia resource is concentrated according to the multimedia resource, obtains the broadcasting of the multimedia resource collection Speed;
If the broadcasting speed is greater than the first pre-set velocity, reduce second preset duration.
In the 5th kind of possible implementation of the first aspect that the disclosure provides, the method also includes:
The play history that multimedia resource is concentrated according to the multimedia resource, obtains the broadcasting of the multimedia resource collection Speed;
If the broadcasting speed is greater than the second pre-set velocity, increase the quantity required of the destination multimedia resource.
Fig. 2 is a kind of flow chart of the multimedia resource method for down loading shown according to another exemplary embodiment, this implementation Example is illustrated with the multimedia resource method for down loading by terminal execution.The multimedia resource method for down loading may include The following steps:
In step 201, judge not play multimedia resource included by the stored multimedia resource concentration of terminal Whether quantity is less than preset threshold.
The multimedia resource that multimedia resource is concentrated can indicate by way of phase time, as TV play include the first collection, Second collection is to the n-th collection, and for another example, variety show includes the first phase, the second phase to the n-th phase.Different multimedia resource set can use Different multimedia resource set identifiers carry out unique identification, if the multimedia resource set identifier of TV play A can be Drama_A.Its In, different multimedia resource set also can have incidence relation, for example, broadcasting acute " hero " season includes more season collection of dramas, wherein first The multimedia resource set identifier in season can be Drama_H_S1, and the multimedia resource set identifier of the second season can be Drama_H_ S2。
When user has viewing demand to multimedia resource collection, it is often desirable that multimedia resource collection is downloaded to terminal, so as to It can watch at any time.Multimedia resource method for down loading provided in this embodiment can make terminal according to stored more in terminal Media resource collection downloads multimedia resource automatically and concentrates other multimedia resources that do not download.
The stored multimedia resource concentration of terminal may include played multimedia resource and not play multimedia resource, Wherein, played multimedia resource refers to the multimedia resource played completely, or when terminal detect it is stored The played duration of any multimedia resource is more than the first preset duration, it is determined that the multimedia resource is played multimedia money Source.Do not play multimedia resource and refer to the multimedia resource being never played, or when terminal detect it is stored any The played duration of multimedia resource is less than the first preset duration, it is determined that the multimedia resource is not play multimedia money Source.
Wherein, the first preset duration can be arranged by system default, or be set by user according to the viewing of oneself habit It sets.First preset duration can be indicated with the percentage of the total duration of multimedia resource.For example, the first preset duration can be with It is the 90% of the total duration of multimedia resource, when terminal detects that the played duration of a certain multimedia resource accounts for multimedia money The percentage of source total duration is 97%, it is determined that the multimedia resource is played multimedia resource, when a certain multimedia of detection The percentage that the played duration of resource accounts for the multimedia resource total duration is 30%, it is determined that the multimedia resource is not play Multimedia resource.
Similarly, above-mentioned preset threshold can also be arranged by system default, or be accustomed to carrying out according to the viewing of oneself by user Setting, the disclosure are not especially limited this.
It should be noted that can be terminal stored any for multimedia resource collection involved in the embodiment of the present disclosure A multimedia resource collection, is also possible to the multimedia resource collection that some is specified by user in terminal, and user can be by terminal On the multimedia resource collection is set as downloading automatically, enable the terminal to detect more matchmakers automatically based on the automatic download function Body resource set simultaneously continues subsequent download process.
In step 202, it if the quantity for not playing multimedia resource is less than preset threshold, is obtained from multimedia server The address information of destination multimedia resource is taken, destination multimedia resource is that multimedia resource concentrates on the stored multimedia of terminal Multimedia resource after the phase time of resource.
Multimedia server can store multimedia resource mark and the address information of corresponding multimedia resource, so that When multimedia server receives the request of any one multimedia resource, entrained more matchmakers can be requested according to multimedia resource Body resource identification returns to the address information of multimedia resource to the terminal for sending request, so that terminal is based on the address information It is downloaded.Based on the multimedia server, which can include at least following any implementations:
The first implementation, terminal sends multimedia resource downloading to multimedia server and requests, under multimedia resource Carry request and at least carry multimedia resource set identifier and stored newest multimedia resource mark so that multimedia server from Multimedia resource, which is concentrated, determines destination multimedia resource, and destination multimedia resource is that concentrate on terminal stored for multimedia resource Multimedia resource after the phase time of multimedia resource, and return to the address information of the destination multimedia resource.
For terminal, the multimedia resource concentration stored may include multiple multimedia resources, and in order to protect What card downloaded to is local not stored multimedia resource, needs to determine more matchmakers of newest phase time from multiple multimedia resource Body resource, to obtain stored newest multimedia resource mark.Wherein, the newest phase time can be according to the phase time of multimedia resource It numbers (such as multimedia resource title) to determine, e.g., selects more matchmakers of the phase time the largest number of multimedia resource as the newest phase time Body resource;The newest phase time can also determine according to the download time of multimedia resource, e.g., select the more matchmakers of download time the latest Multimedia resource of the body resource as the newest phase time, the disclosure are not construed as limiting this.
And the first number of downloads can be preset for multimedia server, on multimedia server, under first Carrying quantity can be quantity required when being downloaded automatically every time.For example, setting 5 for the first number of downloads, then whenever end Hold stored when not playing multimedia resource quantity less than preset threshold, terminal will download 5 mesh from multimedia server Mark multimedia resource.
And the second number of downloads can be preset in another embodiment, on multimedia server, the second number of downloads Can be used for limiting terminal does not play multimedia resource sum.In this case, the multimedia in the first implementation Resource download request should also include that terminal not play the quantity of multimedia resource currently, so as to by multimedia server according to this Difference between quantity entrained by two number of downloads and multimedia resource downloading request, determines the demand of destination multimedia resource Quantity.
Multimedia server determines the multimedia resource according to multimedia resource set identifier from multimedia resource collection list Collection, and determine that newest multimedia resource identifies corresponding next multimedia resource according to newest multimedia resource mark, as Destination multimedia resource, and determine according to the first number of downloads or the second number of downloads the quantity required of destination multimedia resource.
In the implementation of above-mentioned offer, destination multimedia resource and its quantity required are determined by multimedia server, The operand of terminal is reduced, to improve the speed of service of terminal.
In one example, the multimedia resource set identifier carried in multimedia resource downloading request is Drama A, has been deposited The newest multimedia resource of storage is identified as the 7th collection, and it is 6 that the first number of downloads is preset in multimedia server, multimedia clothes Business device determines multimedia resource collection A according to multimedia resource set identifier Drama A from multimedia resource list, and according to most New the 7th collection of multimedia resource mark determines that destination multimedia resource is the 8th collection, and quantity required is 6 collection.
There is no inevitable quantitative relation between above-mentioned first number of downloads and the second number of downloads, for example, the second downloading number Amount can be greater than the first number of downloads, and second number of downloads can be greater than or equal to preset threshold.
Second of implementation, terminal send multimedia resource downloading to multimedia server and request, under multimedia resource Carry quantity required and stored newest multimedia resource mark that request carries multimedia resource set identifier, destination multimedia resource Know, so that multimedia server is concentrated from multimedia resource determines destination multimedia resource, and returns to the destination multimedia money The address information in source.
Wherein, the quantity required of destination multimedia resource can be preset by system, can also be more according to not playing Quantitative relation between the quantity and preset threshold of media resource is calculated, for example, the quantity required can be more not play Difference between the quantity and preset threshold of media resource, not play the quantity of multimedia resource as 3, preset threshold is 7 to be Example, then the quantity required of destination multimedia resource is 4.
The implementation procedure of multimedia server is similar with the implementation of above-mentioned offer, and difference is multimedia server root According to the quantity required carried in multimedia resource downloading request, the quantity required of destination multimedia resource is directly determined.
The third implementation, terminal send multimedia resource downloading to multimedia server and request, under multimedia resource Request carried terminal mark is carried, so that multimedia server is concentrated from multimedia resource determines destination multimedia resource, and is returned The address information of destination multimedia resource.
Terminal iidentification is used for unique identification terminal used by a user, prestores terminal iidentification and more matchmakers in multimedia server The corresponding relationship of body resource set and its Download History.According to terminal iidentification, multimedia server can inquire the corresponding relationship, with Know which multimedia resource is the terminal downloaded, and according to the corresponding relationship, determines destination multimedia resource.In determination When destination multimedia resource, to the determination of the quantity required of destination multimedia resource can according to the first above-mentioned implementation or Determination method in second of implementation carries out, and therefore not to repeat here.
It should be noted that can also be realized by carrying client identification in above-mentioned implementation, wherein client Mark can be used for the terminal that unique identification user uses.
In order to intuitively state above content, only with terminal iidentification and multimedia resource pre-stored in multimedia server The corresponding relationship of collection and its Download History is illustrated, as shown in table 1 below.
Table 1
Terminal iidentification Multimedia resource collection It has been downloaded to the xth phase time Quantity required
name1 A 7 3
namen B 5 3
Terminal sends multimedia resource downloading request, multimedia resource downloading request carried terminal mark to multimedia server Know name1, multimedia server determines multimedia resource collection A and its history Download History according to terminal iidentification name1, according to The Download History, multimedia server determine that destination multimedia resource is the 8th collection, and quantity required is 3 collection.
In one possible implementation, any implementation of above-mentioned offer concentrates more matchmakers according to multimedia resource The play history of body resource obtains the broadcasting speed of multimedia resource collection, if broadcasting speed is greater than the second pre-set velocity, increases The quantity required of destination multimedia resource.This method can be executed by terminal, can also be executed by multimedia server.In this way, By increasing the quantity required of destination multimedia resource, it can adapt to the progress that user plays multimedia resource, improve more matchmakers The intelligence of body resource downloading.Wherein, the second pre-set velocity can be arranged by system default, or by user according to oneself viewing Habit is configured.
In step 203, whether detection network meets preset condition.
Preset condition include but is not limited to network be in WiFi (Wireless-Fidelity, Wireless Fidelity) connection status, Network idle state or wired connection state etc., wherein network idle state includes but is not limited to that terminal does not have any application program Network interface or terminal is called not to carry out any downloading.
In step 204, if network meets preset condition, according to the address information of destination multimedia resource, target is downloaded Multimedia resource.
If detecting, network meets preset condition, and terminal passes through application according to the address information of destination multimedia resource Programmatic client downloads destination multimedia resource.
In a kind of possible embodiment, if detecting that network is unsatisfactory for preset condition, terminal is then in downloading process Stop downloading.And real-time detection network condition, when network meets preset condition again, terminal execution is provided according to destination multimedia The step of address information in source, downloading destination multimedia resource.
The present embodiment, in the case where network meets preset condition, is held by judging whether network meets preset condition The step of row downloading destination multimedia resource, Internet resources are made full use of, and avoids network and be in mobile network's connection shape When state, flow losing issue caused by multimedia resource is downloaded.Wherein, mobile network includes 2G (2-Generation Wireless telephone technology, second generation mobile communication technical specification), 3G (3rd-Generation, third Third-generation mobile communication technology) and LTE (Long Term Evolution, long term evolution) network etc..
Certainly, it should be noted that step 203 detecting step and step 204 download step are optional step, the present embodiment It can also continue the step of selection executes downloading destination multimedia resource when network condition is unsatisfactory for preset condition.
In step 205, judge multimedia resource concentrate played multimedia resource last play time and it is current when Between between time difference whether be greater than the second preset duration.
Wherein, last play time refers to that terminal last time plays the time of the multimedia resource, last play time Including but not limited to year, month, day, hour, min, second measurement unit.For example, multimedia resource concentrates the last of a certain multimedia resource Play time is on May 26th, 2015.
Terminal judges that multimedia resource is concentrated between the last play time and current time of played multimedia resource Whether the time difference is greater than the second preset duration.Second preset duration can be arranged by system default, or by user according to oneself Viewing habit is configured, the second preset duration be used to indicate played multimedia resource in the terminal store duration, the Two preset durations include but is not limited to year, month, day, hour, min, second.For example, the second preset duration is set as 24 hours.
In step 206, if the time difference is greater than the second preset duration, played multimedia resource is deleted.
If the time difference is greater than the second preset duration, terminal deletes played multimedia resource.It is exemplified as example with above-mentioned, if Time difference between the last play time and current time of any played multimedia resource that multimedia resource is concentrated is greater than 24 hours, terminal then deleted the multimedia resource.In this way, by the way that multimedia resource is concentrated played multimedia resource most The multimedia resource that the time difference between play time and current time is greater than the second preset duration afterwards is deleted, and local number is reduced According to amount of storage, and terminal is avoided in carrying out automatic downloading process, since downloading caused by local storage space is insufficient is lost The problem of losing.
In a kind of possible embodiment, the play history of multimedia resource is concentrated according to multimedia resource, terminal obtains The broadcasting speed of multimedia resource collection is taken, if broadcasting speed is greater than the first pre-set velocity, reduces the second preset duration.
User is recorded in terminal to the play history of storing multimedia resource, terminal is gone through according to the broadcasting of multimedia resource History obtains the broadcasting collection number of the multimedia resource collection in a period of time, and according to the broadcasting collection number, obtains multimedia resource collection Broadcasting speed.Wherein, several days or several hours be can be in a period of time.
In one example, terminal gets multimedia resource collection and has played 8 collection in 24 hours, then played multimedia The broadcasting speed v of resource set are as follows:
When broadcasting speed is greater than the first pre-set velocity, illustrates that the progress of terminal plays multimedia resource is very fast, then reduce Second preset duration, so that terminal deletes the played multimedia resource for having more than the second preset duration, so that deleting more In time, it avoids terminal storage from largely played multimedia resource, and has better user experience.Wherein, the first pre-set velocity It can be arranged by system default, or be configured by user according to the viewing of oneself habit.
Step is deleted based on step 205 judgment step and step 206, in a kind of possible embodiment, terminal can also To concentrate the last play time of played multimedia resource by judging locally stored other multimedia resources and work as Whether the time difference between the preceding time is greater than the second preset duration, if the time difference is greater than the second preset duration, deletes other Played multimedia resource.In this way, by judging that other multimedia resources concentrate the last broadcasting of played multimedia resource Time difference between time and current time, deleting other multimedia resource time of concentration differences is more than the more of the second preset duration Media resource further saves multimedia resource to the occupancy that resource is locally stored.
For example, terminal storing multimedia resource collection A and multimedia resource collection B, judges when to multimedia resource collection A When, terminal can also judge the played multimedia resource in multimedia resource collection B last play time and current time it Between time difference whether be greater than the second preset duration 24 hours, and will the time difference be greater than the second preset duration 24 hours it is corresponding more Media resource is deleted.
In another embodiment that the disclosure provides, which can be to have with the multimedia resource collection Relevant multimedia resource collection.That is, the process may include: at least one multimedia resource that detection is locally stored Whether concentrate includes the multimedia resource collection for having incidence relation with the multimedia resource collection of current pending downloading, if so, Then judge that the multimedia resource with incidence relation concentrates the time between played last play time and current time Whether difference is greater than the second preset duration, if the time difference is greater than the second preset duration, deletes more matchmakers with incidence relation The time difference is greater than the multimedia resource of the second preset duration in body resource set.It should be noted that above-mentioned multimedia resource collection it Between incidence relation can be arranged by system.
It broadcasts acute " hero " first season season for example, terminal has stored and broadcasts acute " hero " second season season, when to broadcasting play " English season It is male " second season is when being judged, terminal can also obtain and the second season the broadcasting in season with incidence relation of broadcasting acute " hero " season The first season of acute " hero ", and judge to broadcast in season the played multimedia resource of the first season of acute " hero " last play time and Whether the time difference between current time is greater than the second preset duration 24 hours, and it is small the time difference will to be greater than the second preset duration 24 When corresponding multimedia resource delete.
In one possible implementation, the embodiment of above-mentioned offer, when terminal judges that the time difference is greater than second and presets Duration, then before deleting played multimedia resource, pop-up selection dialog box, so that user is confirmed by the selection dialog box Whether deletion played multimedia resource.
It should be noted that step 205 judgment step and step 206 delete step can step 204 download step it After execute, can also be performed simultaneously with step 204 download step, the disclosure is not construed as limiting this.
In conclusion multimedia resource method for down loading provided in this embodiment, judges that terminal is stored more by terminal Media resource concentrates whether the included quantity for not playing multimedia resource is less than preset threshold, if not playing multimedia resource Quantity be less than preset threshold, then from multimedia server obtain destination multimedia resource address information, destination multimedia Resource is the multimedia resource after the phase time that multimedia resource concentrates on the stored multimedia resource of terminal, and according to target The address information of multimedia resource downloads destination multimedia resource.In this way, by judging the stored multimedia resource collection of terminal In the multimedia resource quantity that does not play, and target is downloaded from multimedia server automatically when the quantity is less than preset threshold Multimedia resource solves the problems, such as to need to have reached by manual operation downloading multimedia resource and improved operation convenience Technical effect.
In addition, multimedia resource method for down loading provided in this embodiment, by judging that it is played more that multimedia resource is concentrated Whether the time difference between the last play time and current time of media resource is greater than the second preset duration, and works as the time difference When greater than the second preset duration, played multimedia resource is deleted, solves terminal in carrying out automatic downloading process, due to this The problem of failed download caused by ground memory space inadequate.In addition, multimedia resource method for down loading provided by the embodiment, terminal root The play history of multimedia resource is concentrated according to multimedia resource, obtains the broadcasting speed of multimedia resource collection, and corresponding tune The quantity required of whole destination multimedia and the second preset duration have reached the intelligence for improving multimedia resource downloading and have saved this The effect of ground data storage.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 3 is a kind of block diagram of multimedia resource download apparatus shown according to an exemplary embodiment.The present embodiment with The multimedia resource download apparatus is illustrated by terminal execution.The multimedia resource download apparatus may include:
First judgment module 310 does not play more matchmakers included by the stored multimedia resource concentration of terminal for judging Whether the quantity of body resource is less than preset threshold;
First obtains module 312, for determining the quantity for not playing multimedia resource in the first judgment module When less than the preset threshold, the address information of destination multimedia resource, the more matchmakers of target are obtained from multimedia server Body resource is the multimedia resource after the phase time that the multimedia resource concentrates on the stored multimedia resource of the terminal;
Download module 314, for determining the address information of destination multimedia resource, downloading according to the first acquisition module The destination multimedia resource.
In conclusion multimedia resource download apparatus provided in this embodiment, judges that terminal is stored more by terminal Media resource concentrates whether the included quantity for not playing multimedia resource is less than preset threshold, if not playing multimedia resource Quantity be less than preset threshold, then from multimedia server obtain destination multimedia resource address information, destination multimedia Resource is the multimedia resource after the phase time that multimedia resource concentrates on the stored multimedia resource of terminal, and according to target The address information of multimedia resource downloads destination multimedia resource.In this way, by judging the stored multimedia resource collection of terminal In the multimedia resource quantity that does not play, and target is downloaded from multimedia server automatically when the quantity is less than preset threshold Multimedia resource solves the problems, such as to need to have reached by manual operation downloading multimedia resource and improved operation convenience Technical effect.
Based on the Installation practice of above-mentioned offer, referring to figure 4., the first in the second aspect that the disclosure provides may In implementation, the acquisition module 312 is specifically used for:
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloads request to be taken less Band multimedia resource set identifier and stored newest multimedia resource mark, so that the multimedia server is from more matchmakers The destination multimedia resource is determined in body resource set, and returns to the address information of the destination multimedia resource;Or,
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloading request carries more Media resource set identifier, the quantity required of the destination multimedia resource and stored newest multimedia resource mark, so that The multimedia server is concentrated from the multimedia resource and determines the destination multimedia resource, and returns to the more matchmakers of the target The address information of body resource.
In second of possible implementation of the second aspect that the disclosure provides, got in the acquisition module 312 After the address information, described device further include:
First detection module 316, for detecting whether network meets preset condition;
Trigger module 318, for triggering institute when the first detection module detects that the network meets preset condition It states download module 314 and downloads the destination multimedia resource;
Stopping modular 320, in downloading process, detecting that the network is unsatisfactory for default item in the download module When part, stop downloading.
In the third the possible implementation for the second aspect that the disclosure provides, described device further include:
Second detection module 322, for being more than the when the played duration that detect stored any multimedia resource When one preset duration, determine that the multimedia resource is played multimedia resource.
In the 4th kind of possible implementation of the second aspect that the disclosure provides, described device further include:
Second judgment module 324, for judging that the multimedia resource concentrates the last broadcasting of played multimedia resource Whether the time difference between time and current time is greater than the second preset duration;
Removing module 326, for determining that the time difference is greater than second preset duration in second judgment module When, delete the played multimedia resource.
In 4th kind of possible implementation of the second aspect and second aspect that provide in conjunction with the disclosure, described device is also wrapped It includes:
Second obtains module 328, for concentrating the play history of multimedia resource according to the multimedia resource, obtains institute State the broadcasting speed of multimedia resource collection;
Reduce module 330, for it is described second acquisition module determine the broadcasting speed be greater than the first pre-set velocity when, Reduce second preset duration.
In the 5th kind of possible implementation of the second aspect that the disclosure provides, described device further include:
Third obtains module 332, for concentrating the play history of multimedia resource according to the multimedia resource, obtains institute State the broadcasting speed of multimedia resource collection;
Increase module 334, for the third obtain module determine the broadcasting speed be greater than the second pre-set velocity when, Increase the quantity required of the destination multimedia resource.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
One exemplary embodiment of the disclosure additionally provides a kind of multimedia resource download apparatus, can be realized disclosure offer Multimedia resource method for down loading.The device includes: processor, and the storage of the executable instruction for storage processor Device.Wherein, processor is used for:
Judge that locally stored multimedia resource concentrates whether the included quantity for not playing multimedia resource is less than Preset threshold;
If the quantity for not playing multimedia resource is less than the preset threshold, mesh is obtained from multimedia server The address information of multimedia resource is marked, the destination multimedia resource is that the multimedia resource concentrates locally stored more matchmakers Multimedia resource after the phase time of body resource;
According to the address information of the destination multimedia resource, the destination multimedia resource is downloaded.
In the first the possible implementation for the third aspect that the disclosure provides, processor is used for:
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloads request to be taken less Band multimedia resource set identifier and stored newest multimedia resource mark, so that the multimedia server is from more matchmakers The destination multimedia resource is determined in body resource set, and returns to the address information of the destination multimedia resource;Or,
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloading request carries more Media resource set identifier, the quantity required of the destination multimedia resource and stored newest multimedia resource mark, so that The multimedia server is concentrated from the multimedia resource and determines the destination multimedia resource, and returns to the more matchmakers of the target The address information of body resource.
In second of possible implementation of the third aspect that the disclosure provides, processor is also used to:
Whether detection network meets preset condition;
If the network meets preset condition, the address information according to the destination multimedia resource is executed, downloads institute The step of stating destination multimedia resource;
If if detecting, the network is unsatisfactory for preset condition in downloading process, stop downloading.
In the third the possible implementation for the third aspect that the disclosure provides, processor is also used to:
When the played duration for detecting stored any multimedia resource is more than the first preset duration, it is determined that institute Stating multimedia resource is played multimedia resource.
In the 4th kind of possible implementation of the third aspect that the disclosure provides, processor is also used to:
Judge that the multimedia resource is concentrated between the last play time and current time of played multimedia resource Whether the time difference is greater than the second preset duration;
If the time difference is greater than second preset duration, the played multimedia resource is deleted.
In 4th kind of possible implementation of the third aspect and the third aspect that provide in conjunction with the disclosure, processor is also used In:
The play history that multimedia resource is concentrated according to the multimedia resource, obtains the broadcasting of the multimedia resource collection Speed;
If the broadcasting speed is greater than the first pre-set velocity, reduce second preset duration.
In the 5th kind of possible implementation of the third aspect that the disclosure provides, processor is also used to:
The play history that multimedia resource is concentrated according to the multimedia resource, obtains the broadcasting of the multimedia resource collection Speed;
If the broadcasting speed is greater than the second pre-set velocity, increase the quantity required of the destination multimedia resource.
Fig. 5 is a kind of block diagram of multimedia resource download apparatus 500 shown according to an exemplary embodiment.For example, dress Setting 500 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig. 5, device 500 may include following one or more components: processing component 502, memory 504, power supply Component 506, multimedia component 508, audio component 510, the interface 512 of input/output (I/O), sensor module 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing component 502, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 502 may include that one or more processors 520 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 502 may include one or more modules, just Interaction between processing component 502 and other assemblies.For example, processing component 502 may include multi-media module, it is more to facilitate Interaction between media component 508 and processing component 502.
Memory 504 is configured as storing various types of data to support the operation in device 500.These data are shown Example includes the instruction of any application or method for operating on device 500, contact data, and telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 may include power management system System, one or more power supplys and other with for device 500 generate, manage, and distribute the associated component of electric power.
Multimedia component 508 includes the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 508 includes a front camera and/or rear camera.When device 500 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 510 is configured as output and/or input audio signal.For example, audio component 510 includes a Mike Wind (MIC), when device 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 504 or via communication set Part 516 is sent.In some embodiments, audio component 510 further includes a loudspeaker, is used for output audio signal.
I/O interface 512 provides interface between processing component 502 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor module 514 can detecte the state that opens/closes of device 500, and the relative positioning of component, for example, it is described Component is the display and keypad of device 500, and sensor module 514 can be with 500 1 components of detection device 500 or device Position change, the existence or non-existence that user contacts with device 500,500 orientation of device or acceleration/deceleration and device 500 Temperature change.Sensor module 514 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 514 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 504 of instruction, above-metioned instruction can be executed by the processor 520 of device 500 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 500 When device executes, so that device 500 is able to carry out the multimedia resource method for down loading such as above-mentioned Fig. 1 or embodiment illustrated in fig. 2 offer.
Fig. 6 is a kind of block diagram of multimedia resource download apparatus 600 shown according to an exemplary embodiment.For example, dress Setting 600 may be provided as a server.Referring to Fig. 6, device 600 includes processing component 622, further comprises one or more A processor, and the memory resource as representated by memory 632, for storing the instruction that can be executed by processing component 622, Such as application program.The application program stored in memory 632 may include it is one or more each correspond to one The module of group instruction.In addition, processing component 622 for executing instruction, is provided with executing such as above-mentioned Fig. 1 or embodiment illustrated in fig. 2 Multimedia resource method for down loading.
Device 600 can also include the power management that power supply module 626 is used for executive device 600, one it is wired or Radio network interface 650 is used to device 600 being connected to network and input and output (I/O) interface 658.Device 600 can be with Operation is based on the operating system for being stored in memory 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTMOr it is similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (15)

1. a kind of multimedia resource method for down loading, which is characterized in that the described method includes:
It is default to judge that the stored multimedia resource of terminal concentrates the included quantity for not playing multimedia resource whether to be less than Threshold value;
If the quantity for not playing multimedia resource is less than the preset threshold, it is more that target is obtained from multimedia server The address information of media resource, the destination multimedia resource are that concentrate on the terminal stored more for the multimedia resource Multimedia resource after the multimedia resource of newest phase time in a multimedia resource;
According to the address information of the destination multimedia resource, the destination multimedia resource is downloaded.
2. the method according to claim 1, wherein described obtain destination multimedia money from multimedia server The address information in source includes:
Multimedia resource downloading request is sent to the multimedia server, it is more that the multimedia resource downloads request to few carrying Media resource set identifier and stored newest multimedia resource mark, so that the multimedia server is provided from the multimedia Source, which is concentrated, determines the destination multimedia resource, and returns to the address information of the destination multimedia resource;Or,
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloading request carries multimedia Resource set identifier, the quantity required of the destination multimedia resource and stored newest multimedia resource mark, so that described Multimedia server is concentrated from the multimedia resource and determines the destination multimedia resource, and returns to the destination multimedia money The address information in source.
3. the method according to claim 1, wherein described obtain destination multimedia money from multimedia server After the address information in source, the method also includes:
Whether detection network meets preset condition;
If the network meets preset condition, the address information according to the destination multimedia resource is executed, the mesh is downloaded The step of marking multimedia resource;
If if detecting, the network is unsatisfactory for preset condition in downloading process, stop downloading.
4. the method according to claim 1, wherein the method also includes:
When the played duration for detecting stored any multimedia resource is more than the first preset duration, it is determined that described more Media resource is played multimedia resource.
5. the method according to claim 1, wherein the method also includes:
Judge that the multimedia resource concentrates the time between the last play time and current time of played multimedia resource Whether difference is greater than the second preset duration;
If the time difference is greater than second preset duration, the played multimedia resource is deleted.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The play history that multimedia resource is concentrated according to the multimedia resource obtains the broadcasting speed of the multimedia resource collection Degree;
If the broadcasting speed is greater than the first pre-set velocity, reduce second preset duration.
7. the method according to claim 1, wherein the method also includes:
The play history that multimedia resource is concentrated according to the multimedia resource obtains the broadcasting speed of the multimedia resource collection Degree;
If the broadcasting speed is greater than the second pre-set velocity, increase the quantity required of the destination multimedia resource.
8. a kind of multimedia resource download apparatus, which is characterized in that described device includes:
First judgment module does not play multimedia resource included by the stored multimedia resource concentration of terminal for judging Whether quantity is less than preset threshold;
First obtains module, described for determining that the quantity for not playing multimedia resource is less than in the first judgment module When preset threshold, the address information of destination multimedia resource is obtained from multimedia server, the destination multimedia resource is The multimedia resource concentrate on newest phase in the stored multiple multimedia resources of the terminal time multimedia resource it Multimedia resource afterwards;
Download module downloads the mesh for determining the address information of destination multimedia resource according to the first acquisition module Mark multimedia resource.
9. device according to claim 8, which is characterized in that the acquisition module is specifically used for:
Multimedia resource downloading request is sent to the multimedia server, it is more that the multimedia resource downloads request to few carrying Media resource set identifier and stored newest multimedia resource mark, so that the multimedia server is provided from the multimedia Source, which is concentrated, determines the destination multimedia resource, and returns to the address information of the destination multimedia resource;Or,
Multimedia resource downloading request is sent to the multimedia server, the multimedia resource downloading request carries multimedia Resource set identifier, the quantity required of the destination multimedia resource and stored newest multimedia resource mark, so that described Multimedia server is concentrated from the multimedia resource and determines the destination multimedia resource, and returns to the destination multimedia money The address information in source.
10. device according to claim 8, which is characterized in that described device further include:
First detection module, for detecting whether network meets preset condition;
Trigger module, for triggering the downloading when the first detection module detects that the network meets preset condition Module downloads the destination multimedia resource;
Stopping modular, for stopping when the download module is in downloading process, detects that the network is unsatisfactory for preset condition Only download.
11. device according to claim 8, which is characterized in that described device further include:
Second detection module, for when the played duration for detecting stored any multimedia resource is more than first default When long, determine that the multimedia resource is played multimedia resource.
12. device according to claim 8, which is characterized in that described device further include:
Second judgment module, for judging that the multimedia resource is concentrated the last play time of played multimedia resource and worked as Whether the time difference between the preceding time is greater than the second preset duration;
Removing module, for deleting when second judgment module determines that the time difference is greater than second preset duration The played multimedia resource.
13. device according to claim 12, which is characterized in that described device further include:
Second obtains module, for concentrating the play history of multimedia resource according to the multimedia resource, obtains more matchmakers The broadcasting speed of body resource set;
Reduce module, for reducing institute when the second acquisition module determines that the broadcasting speed is greater than the first pre-set velocity State the second preset duration.
14. device according to claim 8, which is characterized in that described device further include:
Third obtains module, for concentrating the play history of multimedia resource according to the multimedia resource, obtains more matchmakers The broadcasting speed of body resource set;
Increase module, for increasing institute when the third obtains module and determines that the broadcasting speed is greater than the second pre-set velocity State the quantity required of destination multimedia resource.
15. a kind of multimedia resource download apparatus characterized by comprising
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is used for:
It is default to judge that locally stored multimedia resource concentrates the included quantity for not playing multimedia resource whether to be less than Threshold value;
If the quantity for not playing multimedia resource is less than the preset threshold, it is more that target is obtained from multimedia server The address information of media resource, the destination multimedia resource are that the multimedia resource concentrates locally stored multiple more matchmakers Multimedia resource after the multimedia resource of newest phase time in body resource;
According to the address information of the destination multimedia resource, the destination multimedia resource is downloaded.
CN201510980542.4A 2015-12-23 2015-12-23 Multimedia resource method for down loading and device Active CN105635254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510980542.4A CN105635254B (en) 2015-12-23 2015-12-23 Multimedia resource method for down loading and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510980542.4A CN105635254B (en) 2015-12-23 2015-12-23 Multimedia resource method for down loading and device

Publications (2)

Publication Number Publication Date
CN105635254A CN105635254A (en) 2016-06-01
CN105635254B true CN105635254B (en) 2018-12-18

Family

ID=56049726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510980542.4A Active CN105635254B (en) 2015-12-23 2015-12-23 Multimedia resource method for down loading and device

Country Status (1)

Country Link
CN (1) CN105635254B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959159A (en) * 2016-06-30 2016-09-21 天脉聚源(北京)传媒科技有限公司 Network downloading method and device
WO2018027649A1 (en) * 2016-08-10 2018-02-15 董访问 Data feedback method for title-based automatic download technology and download system
WO2018027650A1 (en) * 2016-08-10 2018-02-15 董访问 Title-based automatic download method and download system
WO2018027651A1 (en) * 2016-08-10 2018-02-15 董访问 Method for pushing technology ownership information during automatic downloading, and downloading system
CN107872477A (en) * 2016-09-26 2018-04-03 北京优朋普乐科技有限公司 A kind of multimedia resource storage method and device
CN107682720A (en) * 2017-10-23 2018-02-09 中国联合网络通信集团有限公司 A kind of update method of content of multimedia, platform and system
CN108156550B (en) * 2017-12-27 2020-03-31 上海传英信息技术有限公司 Playing method and device of headset
CN110636376A (en) * 2019-09-05 2019-12-31 北京达佳互联信息技术有限公司 Video positioning method and device, server and readable storage medium
CN114979679A (en) * 2021-02-26 2022-08-30 北京字跳网络技术有限公司 Resource issuing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7206500B1 (en) * 2002-01-23 2007-04-17 Melodeo, Inc. System and methods for recording broadcast programs, converting the programs and managing the storage in a digital media playback device
CN101420349A (en) * 2008-11-20 2009-04-29 四川长虹电器股份有限公司 Method for implementing multimedia file synchronous downloading and playing
US8756620B2 (en) * 2012-08-20 2014-06-17 United Video Properties, Inc. Systems and methods for tracking content sources from which media assets have previously been viewed
CN103905897A (en) * 2014-04-23 2014-07-02 无锡天脉聚源传媒科技有限公司 Video playing device and method thereof
CN104244033A (en) * 2014-09-03 2014-12-24 乐视致新电子科技(天津)有限公司 Video playing method and device and intelligent terminal
CN104363302A (en) * 2014-11-27 2015-02-18 北京奇艺世纪科技有限公司 Method and device for downloading file offline

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7206500B1 (en) * 2002-01-23 2007-04-17 Melodeo, Inc. System and methods for recording broadcast programs, converting the programs and managing the storage in a digital media playback device
CN101420349A (en) * 2008-11-20 2009-04-29 四川长虹电器股份有限公司 Method for implementing multimedia file synchronous downloading and playing
US8756620B2 (en) * 2012-08-20 2014-06-17 United Video Properties, Inc. Systems and methods for tracking content sources from which media assets have previously been viewed
CN103905897A (en) * 2014-04-23 2014-07-02 无锡天脉聚源传媒科技有限公司 Video playing device and method thereof
CN104244033A (en) * 2014-09-03 2014-12-24 乐视致新电子科技(天津)有限公司 Video playing method and device and intelligent terminal
CN104363302A (en) * 2014-11-27 2015-02-18 北京奇艺世纪科技有限公司 Method and device for downloading file offline

Also Published As

Publication number Publication date
CN105635254A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN105635254B (en) Multimedia resource method for down loading and device
JP6072362B2 (en) Application program processing method, apparatus, program, and storage medium
CN105045467B (en) The display methods and device at task manager interface
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
JP6423872B2 (en) Video classification method and apparatus
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
US20110185283A1 (en) Mobile terminal and method of controlling the mobile terminal
CN105183513A (en) Application recommendation method and apparatus
CN107636541B (en) Method on computing device, system for alarm and machine readable medium
CN109461462B (en) Audio sharing method and device
CN104618218A (en) Information reminding method and device
CN107147957B (en) Video broadcasting method and device
CN104933170A (en) Information exhibition method and device
CN109587549B (en) Video recording method, device, terminal and storage medium
CN107122135A (en) Data processing method and device
CN104636475B (en) Optimize the method and device of multimedia file memory space
CN108966025A (en) Video broadcasting method, device and computer readable storage medium
CN110290392B (en) Live broadcast information display method, device, equipment and storage medium
CN104881304B (en) Resource downloading method and device
CN109376771A (en) Application program classification method and device
CN110087148A (en) A kind of video sharing method, apparatus, electronic equipment and storage medium
CN107220059A (en) The display methods and device of application interface
CN106572397B (en) Interactive approach and device in net cast application
CN107632835A (en) Using installation method and device
CN105096162A (en) Content item display method and apparatus

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