[summary of the invention]
The purpose of the present invention is to provide a kind of data file playback method and devices, can mitigate the negative of playback terminal
Lotus improves the running speed and efficiency of playback terminal.
To solve the above problems, technical scheme is as follows:
A kind of data file playback method, the described method comprises the following steps: A, according to the selected data file of user
Generate playlist information, wherein the playlist information is used for so that playback terminal plays and the playlist information
Corresponding data file;B, judge whether the predetermined attribute of the playlist information is greater than or equal to preset threshold, and generate
Judging result;C, according to the judging result to the playback terminal send the playlist information or with the playlist
The corresponding download path information of information.
In above-mentioned data file playback method, the step C include: c 1, the judging result be the predetermined category
Property be less than the preset threshold in the case where, the playlist information is sent to the playback terminal;C2, in the judgement
As a result in the case where being greater than or equal to the preset threshold for the predetermined attribute, by the download path of the playlist information
Information is sent to the playback terminal, wherein the download path information is used for so that the playback terminal is downloaded from server
The playlist information.
In above-mentioned data file playback method, the step c2 includes: c21, in the judging result is described predetermined
In the case that attribute is greater than or equal to the preset threshold, the playlist information is uploaded to the server;C22, it connects
It receives the feedback information of the server and generates the download path information of the playlist;C23, by the download path information
It is sent to the playback terminal.
In above-mentioned data file playback method, before the step C, the method also includes following steps: D, with
The playback terminal establishes communication connection.
In above-mentioned data file playback method, data that the predetermined attribute includes by the playlist information
Amount;Or the quantity of the predetermined attribute data file that includes by the playlist information.
A kind of data file playing device, described device include: playlist information generation module, for according to user institute
The Generating Data File playlist information of selection, wherein the playlist information is used for so that playback terminal plays and institute
State the corresponding data file of playlist information;Judgment module, for judge the playlist information predetermined attribute whether
More than or equal to preset threshold, and generate judging result;First communication module, for according to the judging result to the broadcasting
Terminal sends the playlist information or download path information corresponding with the playlist information.
In above-mentioned data file playing device, the first communication module is used in the judging result be described predetermined
In the case that attribute is less than the preset threshold, the playlist information is sent to the playback terminal, and be used for
The judging result is in the case that the predetermined attribute is greater than or equal to the preset threshold, by the playlist information
Download path information is sent to the playback terminal;Wherein, the download path information is used for so that the playback terminal is from clothes
Business device downloads the playlist information.
In above-mentioned data file playing device, described device further include: uploading module, for being in the judging result
In the case that the predetermined attribute is greater than or equal to the preset threshold, the playlist information is uploaded to the service
Device;Download path information generating module, for receiving the feedback information of the server and generating the downloading of the playlist
Routing information;The first communication module is also used to the download path information being sent to the playback terminal.
In above-mentioned data file playing device, the first communication module is also used to establish with the playback terminal and communicate
Connection.
In above-mentioned data file playing device, data that the predetermined attribute includes by the playlist information
Amount;Or the quantity of the predetermined attribute data file that includes by the playlist information.
A kind of data file playback method, the described method comprises the following steps: E, receiving and leads to transmitted by user equipment 10
Letter data, wherein the communication data includes playlist information or download path corresponding with playlist information letter
Breath;F, according to the communication data downloading data file or the playlist information corresponding with the data file, wherein
The playlist information is the information for downloading the data file;G, the data file is played.
In above-mentioned data file playback method, the step F include: f1, the communication data be the played column
In the case where table information, the data file is downloaded from server according to the playlist information;F2, in the communication data
In the case where for the download path information, the playlist information is downloaded according to the download path information, and according to institute
It states playlist information and downloads the data file.
A kind of data file playing device, described device includes: second communication module, for receiving transmitted by user equipment
Communication data, wherein the communication data includes playlist information or downloading corresponding with playlist information road
Diameter information;Download module, for according to the communication data downloading data file or corresponding with the data file described broadcasting
Put list information, wherein the playlist information is the information for downloading the data file;Playing module, for broadcasting
Put the data file.
In above-mentioned data file playing device, the download module is used in the communication data be the playlist
In the case where information, the data file is downloaded from server according to the playlist information, and in the communication
In the case that data are the download path information, the playlist information, and root are downloaded according to the download path information
The data file is downloaded according to the playlist information.
Compared with the prior art, the present invention can mitigate the load of playback terminal, improve the running speed and efficiency of playback terminal.
For above content of the invention can be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate institute's accompanying drawings, makees
Detailed description are as follows:
[specific embodiment]
The explanation of following embodiment is to can be used to the particular implementation of implementation to illustrate the present invention with reference to additional schema
Example.
Data file of the present invention may be, for example, music file, video files etc., for example, the data file is
The file of " .mp3 " format, alternatively, the data file is the file of " .mkv " format.
User equipment 10 of the present invention may be, for example, that smart phone, walkman, digital camera, tablet computer etc. are removable
Dynamic electronic equipment.
Playback terminal 20 of the present invention may be, for example, the playback equipments such as intelligent sound box, smart television.
With reference to Fig. 1 and Fig. 2, Fig. 1 is the operating mode schematic diagram of data file playing method and device of the invention, Fig. 2
For the block diagram of the data file playing device shown in FIG. 1 being implemented in user equipment 10.
The data file playing device for being implemented on user equipment 10 of the invention includes playlist information generation module
101, judgment module 102 and first communication module 105.
The playlist information generation module 101 is used to be believed according to the selected Generating Data File playlist of user
Breath, for example, music playlist, wherein the playlist information is used for so that playback terminal 20 plays and the played column
The corresponding data file of table information.
The judgment module 102 is for judging whether the predetermined attribute of the playlist information is greater than or equal to default threshold
Value, and generate judging result.
The first communication module 105 is used to send the played column to the playback terminal 20 according to the judging result
Table information or download path information corresponding with the playlist information, for example, URL (Uniform/Universal
Resoure Locator, uniform resource locator).
In the data file playing device for being implemented on user equipment 10 of the invention, the first communication module 105 is used
In in the case where the judging result is that the predetermined attribute is less than the preset threshold, the playlist information is sent
The extremely playback terminal 20, and for being that the predetermined attribute is greater than or equal to the preset threshold in the judging result
In the case of, the download path information of the playlist information is sent to the playback terminal 20.
Wherein, the download path information is used for so that the playback terminal 20 downloads the playlist from server 40
Information.
In the data file playing device for being implemented on user equipment 10 of the invention, described device further includes uploading module
103 and download path information generating module 104.
The uploading module 103 is used in the judging result be that the predetermined attribute is greater than or equal to the preset threshold
In the case where, the playlist information is uploaded to the server 40 by network 30.
The download path information generating module 104 is used to receive to be broadcast described in the feedback information of the server 40 and generation
Emplace the download path information of table.
The first communication module 105 is also used to the download path information being sent to the playback terminal 20.
In the data file playing device for being implemented on user equipment 10 of the invention, the first communication module 105 is also
It is communicated to connect for being established with the playback terminal 20.
In the data file playing device for being implemented on user equipment 10 of the invention, the predetermined attribute is the broadcasting
The data volume that list information is included, for example, the predetermined attribute is the size of file corresponding to the playlist information
For 1MB (MByte, million), 3.55MB, 6.09MB etc..Or
The quantity for the data file that the predetermined attribute includes by the playlist information, for example, the predetermined category
Property is 30,42,55 etc. by the quantity for the data file that the playlist information includes.
With reference to Fig. 1 and Fig. 3, Fig. 1 is the operating mode schematic diagram of data file playing method and device of the invention, Fig. 3
By the flow chart for the data file playback method that the device in Fig. 2 is implemented.
The of the invention data file playback method for being implemented on user equipment 10 the following steps are included:
A (step 302), according to the selected Generating Data File playlist information of user, for example, music arranges
Table, wherein the playlist information is used for so that playback terminal 20 plays data text corresponding with the playlist information
Part.
B (step 303) judges whether the predetermined attribute of the playlist information is greater than or equal to preset threshold, and raw
At judging result.
(step 304, step 305) send the playlist letter to the playback terminal 20 according to the judging result to C
Breath or download path information corresponding with the playlist information, for example, URL (Uniform/Universal Resoure
Locator, uniform resource locator).
In the data file playback method for being implemented on user equipment 10 of the invention, the step C includes:
C1 (step 304), the judging result be the predetermined attribute be less than the preset threshold in the case where, by institute
It states playlist information and is sent to the playback terminal 20.
C2 (step 305), the judging result be the predetermined attribute be greater than or equal to the preset threshold the case where
Under, the download path information of the playlist information is sent to the playback terminal 20, wherein the download path information
For making the playback terminal 20 download the playlist information from server 40.
With reference to Fig. 4, Fig. 4 is the step of the download path information of playlist information is sent to playback terminal 20 in Fig. 3
Flow chart.
(step 305) includes: by the step c2
C21 (step 401), the judging result be the predetermined attribute be greater than or equal to the preset threshold the case where
Under, the playlist information is uploaded to the server 40 by network 30.
C22 (step 402), the download path for receiving the feedback information of the server 40 and generating playlist letter
Breath.
The download path information is sent to the playback terminal 20 by c23 (step 403).
In the data file playback method for being implemented on user equipment 10 of the invention, in the step C (step
304, before the step 305), the method also includes following steps:
D (step 301) establishes communication connection with the playback terminal 20.
In the data file playback method for being implemented on user equipment 10 of the invention, the predetermined attribute is the broadcasting
The data volume that list information is included, for example, the predetermined attribute is the size of file corresponding to the playlist information
For 1MB, 3.55MB, 6.09MB etc..Or
The quantity for the data file that the predetermined attribute includes by the playlist information, for example, the predetermined category
Property is 30,42,55 etc. by the quantity for the data file that the playlist information includes.
With reference to Fig. 1 and Fig. 5, Fig. 1 is the operating mode schematic diagram of data file playing method and device of the invention, Fig. 5
For the block diagram of the data file playing device in playback terminal 20 shown in FIG. 1.
The data file playing device for being implemented on playback terminal 20 of the invention includes second communication module 201, downloading mould
Block 202, playing module 203.
The second communication module 201 is for receiving communication data transmitted by user equipment 10, wherein the communication number
According to including playlist information or download path information corresponding with the playlist information.
The download module 202 is used for according to the communication data downloading data file or corresponding with the data file
The playlist information, wherein the playlist information is the information for downloading the data file.
The playing module 203 is for playing the data file.
In the data file playing device for being implemented on playback terminal 20 of the invention, the download module 202 is used for
In the case that the communication data is the playlist information, network 30 is passed through from server according to the playlist information
The 40 downloading data files, and be used in the case where the communication data is the download path information, according to described
Download path information downloads the playlist information from server 40 by network 30, and logical according to the playlist information
It crosses network 30 and downloads the data file from server 40.
With reference to Fig. 1 and Fig. 6, Fig. 1 is the operating mode schematic diagram of data file playing method and device of the invention, Fig. 6
By the flow chart for the data file playback method that the device in Fig. 5 is implemented.
The of the invention data file playback method for being implemented on playback terminal 20 the following steps are included:
E (step 601) receives communication data transmitted by user equipment 10, wherein the communication data includes played column
Table information or download path information corresponding with the playlist information.
F (step 602, step 603, step 604), according to the communication data downloading data file or with data text
The corresponding playlist information of part, wherein the playlist information is the information for downloading the data file.
G (step 605) plays the data file.
In the data file playback method for being implemented on playback terminal 20 of the invention, the step F includes:
F1 (step 602), the communication data be the playlist information in the case where, according to the playlist
Information downloads the data file from server 40 by network 30.
F2 (step 603, step 604), the communication data be the download path information in the case where, according to described
Download path information downloads the playlist information from server 40 by network 30, and logical according to the playlist information
It crosses network 30 and downloads the data file from server 40.
Through the above technical solutions, the present invention can mitigate the load of playback terminal, improve playback terminal running speed and
Efficiency.
Although the present invention, those skilled in the art have shown and described relative to one or more implementations
It will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The present invention includes all such repairs
Change and modification, and is limited only by the scope of the following claims.In particular, to by said modules (such as element, resource etc.)
The various functions of executing, term for describing such components be intended to correspond to execute the component specified function (such as
It is functionally of equal value) random component (unless otherwise instructed), even if in structure with execute shown in this article say
The open structure of function in the exemplary implementations of bright book is not equivalent.In addition, although the special characteristic of this specification
Be disclosed relative to the only one in several implementations, but this feature can with such as can to given or specific application and
Speech is expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " tool
Have ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with term
The similar mode of "comprising" includes.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit
The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention
Decorations, therefore protection scope of the present invention subjects to the scope of the claims.