CN105843865A - Media file playing method and device - Google Patents
Media file playing method and device Download PDFInfo
- Publication number
- CN105843865A CN105843865A CN201610154443.5A CN201610154443A CN105843865A CN 105843865 A CN105843865 A CN 105843865A CN 201610154443 A CN201610154443 A CN 201610154443A CN 105843865 A CN105843865 A CN 105843865A
- Authority
- CN
- China
- Prior art keywords
- file
- information
- association
- target
- degree
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/48—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a media file playing method and device, and belongs to the electronic technology application field. The method includes the steps of acquiring the environment information of a target terminal; acquiring the target file information associated with the environment information from a media library according to the environment information; and playing the target media file indicted by the target file information. The problem of single media file playing mode is solved. The effect of enriching the media file playing mode is achieved. The invention is used for media file playing.
Description
Technical field
It relates to application of electronic technology field, particularly to a kind of media file playing method and device.
Background technology
Along with the fast development of electronic technology, the application of electronic product based on electronic technology is more and more extensive.
Wherein, the such as terminal such as smart mobile phone, panel computer, car-mounted terminal is exactly a kind of typical electronic product.
Terminal generally can play media file, and wherein, media file can be video file or audio frequency
File, audio file such as song files etc., as a example by media file is as song files, in correlation technique, when
When user wants to listen song, user can input the title of this song on the search interface that terminal provides, so
Rear click search button triggering terminal searches for corresponding song files, and after searching song files, terminal is permissible
This song files is played out by the operation according to user.
Summary of the invention
The problem single in order to solve playback of media files mode, present disclose provides a kind of playback of media files
Method and device.Described technical scheme is as follows:
First aspect according to the disclosure, it is provided that a kind of media file playing method, described method includes:
Obtain the environmental information of target terminal;
According to described environmental information, from media library, obtain the file destination information associated with described environmental information;
The target media file of described file destination information instruction is played out.
Alternatively, described environmental information includes: season information, Weather information, temporal information, geographical position
At least one in information and marking landscape information.
Alternatively, the described target media file to the instruction of described file destination information plays out, including:
The other-end of communication connection is set up to described mesh by described target terminal or with described target terminal
The target media file of mark fileinfo instruction plays out.
Alternatively, the target media file indicated described file destination information by described target terminal is carried out
Play, including:
The destination player detecting described target terminal is run the most, and described destination player is for playing
The player of described target media file;
When described destination player is run, detect the most described destination player plays media file;
When the currently playing media file of described destination player, play in described destination player and currently broadcast
After the media file put, play described target media file;
When described destination player off-duty, described file destination information is added to described destination player
Playlist;
When described destination player is run, play the target media file of described file destination information instruction.
Alternatively, described media library is local media library or server media library.
Alternatively, the described target media file to the instruction of described file destination information plays out, including:
When the number of described file destination information is at least two, determine at least two file destination information
Each file destination information and the degree of association of described environmental information;
According to the size of the described degree of association, described at least two file destination information is ranked up;
Successively the target media file of each file destination information instruction is played out according to ranking results.
Alternatively, described according to the size of the described degree of association, described at least two file destination information is arranged
Sequence, including:
From the described at least two degree of association, delete less than and be equal to preset the degree of association of degree of association threshold value;
According in the described at least two degree of association more than the size of the degree of association of described default degree of association threshold value to phase
The file destination information answered is ranked up.
Second aspect according to the disclosure, it is provided that a kind of playback of media files device, described device includes:
Environment acquisition module, is configured to obtain the environmental information of target terminal;
File acquisition module, is configured to according to described environmental information, obtains and described environment from media library
The file destination information of information association;
File playing module, is configured to broadcast the target media file of described file destination information instruction
Put.
Alternatively, described environmental information includes: season information, Weather information, temporal information, geographical position
At least one in information and marking landscape information.
Alternatively, described file playing module, it is configured to:
The other-end of communication connection is set up to described mesh by described target terminal or with described target terminal
The target media file of mark fileinfo instruction plays out.
Alternatively, described file playing module, including:
First plays submodule, is configured to:
The destination player detecting described target terminal is run the most, and described destination player is for playing
The player of described target media file;
When described destination player is run, detect the most described destination player plays media file;
When the currently playing media file of described destination player, play in described destination player and currently broadcast
After the media file put, play described target media file;
When described destination player off-duty, described file destination information is added to described destination player
Playlist;
When described destination player is run, play the target media file of described file destination information instruction.
Alternatively, described media library is local media library or server media library.
Alternatively, described file playing module, including;
Determine submodule, be configured as the number of described file destination information when being at least two, determine to
Each file destination information in few two file destination information and the degree of association of described environmental information;
Sorting sub-module, is configured to the size according to the described degree of association and believes described at least two file destination
Breath is ranked up;
Play submodule, be configured to the target successively each file destination information indicated according to ranking results
Media file plays out.
Alternatively, described sorting sub-module, it is configured to:
From the described at least two degree of association, delete less than and be equal to preset the degree of association of degree of association threshold value;
According in the described at least two degree of association more than the size of the degree of association of described default degree of association threshold value to phase
The file destination information answered is ranked up.
The third aspect according to the disclosure, it is provided that a kind of playback of media files device, including:
Processor;
For storing the memorizer of the executable instruction of described processor;
Wherein, described processor is configured to:
Obtain the environmental information of target terminal;
According to described environmental information, from media library, obtain the file destination information associated with described environmental information;
The target media file of described file destination information instruction is played out.
The technical scheme that the disclosure provides can include following beneficial effect;
The media file playing method of disclosure offer and device, by obtaining the environmental information of target terminal,
According to environmental information, from media library, obtain the file destination information associated with environmental information, to file destination
The target media file of information instruction plays out.Owing to matchmaker can be play according to the environmental information of target terminal
Body file, therefore, solves the problem that playback of media files mode is single, has reached rich-media file and has broadcast
Put the effect of mode.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not
Limit the disclosure.
Accompanying drawing explanation
Embodiment of the disclosure to be illustrated more clearly that, required use in embodiment being described below
Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the disclosure
Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of implementation environment involved by each embodiment of the disclosure;
Fig. 2 is the method flow diagram according to a kind of media file playing method shown in an exemplary embodiment;
Fig. 3-1 is the method flow according to a kind of media file playing method shown in another exemplary embodiment
Figure;
Fig. 3-2 is that a kind of environmental information that Fig. 3-1 illustrated embodiment provides selects surface chart;
Fig. 3-3 is that the one that Fig. 3-1 illustrated embodiment provides obtains file destination information from server media library
Method flow diagram;
Fig. 3-4 is a kind of method flow playing out target media file that Fig. 3-1 illustrated embodiment provides
Figure;
Fig. 3-5 is a kind of the entering file destination information according to the size of the degree of association of Fig. 3-1 illustrated embodiment offer
The method flow diagram of row sequence;
Fig. 3-6 is a kind of method flow playing out target media file that Fig. 3-1 illustrated embodiment provides
Figure;
Fig. 4 is the block diagram according to a kind of playback of media files device shown in an exemplary embodiment;
Fig. 5-1 is the block diagram according to a kind of playback of media files device shown in another exemplary embodiment;
Fig. 5-2 is the block diagram of a kind of file playing module that Fig. 5-1 illustrated embodiment provides;
Fig. 5-3 is the block diagram of the another kind of file playing module that Fig. 5-1 illustrated embodiment provides;
Fig. 6 is the block diagram according to a kind of playback of media files device shown in an exemplary embodiment.
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the disclosure
Embodiment, and for explaining the principle of the disclosure together with description.
Detailed description of the invention
In order to make the purpose of the disclosure, technical scheme and advantage clearer, below in conjunction with accompanying drawing to these public affairs
Open and be described in further detail, it is clear that described embodiment is only disclosure some embodiments,
Rather than whole embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art are not doing
Go out all other embodiments obtained under creative work premise, broadly fall into the scope of disclosure protection.
Fig. 1 is the structural representation of a kind of implementation environment involved by each embodiment of the disclosure.See Fig. 1,
This implementation environment includes: first terminal 120, server 140 and the second terminal 160, wherein, and server 140
It is all optional equipment with the second terminal 160.
First terminal 120, between server 140 and second this three of terminal 160 can by cable network or
Person's wireless network connects, and wherein, cable network can include but not limited to: USB (universal serial bus) (English:
Universal Serial Bus;It is called for short: USB), wireless network can include but not limited to: Wireless Fidelity (English
Literary composition: Wireless Fidelity;Be called for short: WIFI), bluetooth, honeybee infrared, purple (English: Zigbee), number
According to etc..
First terminal 120 and the second terminal 160 can be smart mobile phone, panel computer, intelligent television, platform
Formula computer, dynamic image expert's compression standard audio frequency aspect 4 are (English: Moving Picture Experts
Group Audio Layer IV;It is called for short: MP4) player, dynamic image expert's compression standard audio frequency aspect 3
(English: Moving Picture Experts Group Audio Layer III;It is called for short: MP3) player, intelligence
Energy camera, vehicle-mounted target terminal, stereo set etc., and first terminal 120 is permissible with the second terminal 160
Identical, it is also possible to different.
Server 140 can be Media file server, and illustratively, this server 140 can be clothes
Business device, or the server cluster being made up of some station servers, or a cloud computing service center.
First terminal 120 can obtain the environmental information of first terminal 120, according to this environmental information from this locality
Media library or server media library obtain the file destination information that associates with this environmental information, and passes through the
This file destination is believed by the destination player in one terminal 120 or the destination player in the second terminal 160
The target media file of breath instruction plays out.Wherein, this environmental information includes: season information, weather are believed
At least one in breath, temporal information, geographical location information and marking landscape information, these server media
Storehouse is the media library on server 140.In the disclosed embodiments, it is assumed that first terminal 120 is that target is whole
End, the second terminal 160 is to set up, with target terminal, the other-end communicated to connect.
Fig. 2 is the method flow diagram according to a kind of media file playing method shown in an exemplary embodiment,
The present embodiment is applied in target terminal be illustrated with this media file playing method, and this target is eventually
End can see Fig. 2, this media file playing method for the first terminal 120 in implementation environment shown in Fig. 1
Can include following several step:
In step 201, the environmental information of target terminal is obtained.
In step 202., according to environmental information, from media library, the target literary composition associated with environmental information is obtained
Part information.
In step 203, the target media file of file destination information instruction is played out.
In sum, the media file playing method that disclosure embodiment provides, by obtaining target terminal
Environmental information, according to environmental information, obtains the file destination information associated with environmental information from media library,
The target media file of file destination information instruction is played out.Due to can be according to the environment of target terminal
Information plays media file, therefore, solves the problem that playback of media files mode is single, has reached abundant
The effect of playback of media files mode.
Alternatively, environmental information includes: season information, Weather information, temporal information, geographical location information
With at least one in marking landscape information.
Alternatively, step 203 may include that
File destination information is referred to by the other-end by target terminal or with target terminal foundation communication connection
The target media file shown plays out.
Alternatively, the target media file indicated file destination information by target terminal is played out, bag
Include:
The destination player of detection target terminal is run the most, and destination player is for can play target medium
The player of file;
When destination player is run, the most whether detection destination player plays media file;
When the currently playing media file of destination player, play currently playing media in destination player
After file, play target media file;
When destination player off-duty, file destination information is added the playlist to destination player;
When destination player is run, play the target media file of file destination information instruction.
Alternatively, media library is local media library or server media library.
Alternatively, step 203 may include that
When the number of file destination information is at least two, determine at least two file destination information is every
Individual file destination information and the degree of association of environmental information;
According to the size of the degree of association, at least two file destination information is ranked up;
Successively the target media file of each file destination information instruction is played out according to ranking results.
Alternatively, according to the size of the degree of association, at least two file destination information is ranked up, including:
From at least two degree of association, delete less than and be equal to preset the degree of association of degree of association threshold value;
According at least two degree of association being more than the size of the degree of association presetting degree of association threshold value to corresponding target
Fileinfo is ranked up.
In sum, the media file playing method that disclosure embodiment provides, by obtaining target terminal
Environmental information, according to environmental information, obtains the file destination information associated with environmental information from media library,
The target media file of file destination information instruction is played out.Due to can be according to the environment of target terminal
Information plays media file, therefore, solves the problem that playback of media files mode is single, has reached abundant
The effect of playback of media files mode.
Fig. 3-1 is the method flow according to a kind of media file playing method shown in another exemplary embodiment
Figure, the present embodiment is applied in implementation environment shown in Fig. 1 carry out illustrating with this media file playing method
Bright, see Fig. 3-1, this media file playing method can include following several step:
In step 301, the environmental information of target terminal is obtained.Perform step 302.
In the disclosed embodiments, target terminal can obtain the environmental information of target terminal, wherein, environment
Information includes: season information, Weather information, temporal information, geographical location information and marking landscape information
In at least one.
Illustratively, target terminal can obtain season information, this season information such as " winter by server in season
Season " etc.;Target terminal can by weather server obtain Weather information, this Weather information as " rain and snow mixed,
-2 ° (degree Celsius) " etc.;Clock that target terminal can be carried by target terminal or target terminal are pacified
The clock client of dress obtains temporal information, this temporal information such as " 11:00 in the morning " etc.;Target terminal is permissible
Obtaining geographical location information by the geographical position securing component in target terminal, this geographical location information is such as
" Beijing ", " Guangdong Province ", " Guangxi province Guilin City " etc.;Target terminal can be by target terminal
Photographic head obtains marking landscape information, this marking landscape information such as " Tian An-men ", " Great Wild Goose Pagoda " etc.
Deng.
Alternatively, in the disclosed embodiments, geographical position securing component can pass through global positioning system (English
Literary composition: Global Positioning System;GPS), Beidou satellite navigation system, WIFI and shifting it is called for short:
At least one in dynamic data network obtains geographical location information, and this is not construed as limiting by disclosure embodiment.
Alternatively, target terminal can capture significant by the photographic head of target terminal according to the operation of user
The image at sight spot, then the image to marking landscape is analyzed obtaining marking landscape information, the disclosure
This is not construed as limiting by embodiment.
It should be noted that in disclosure embodiment, target terminal can provide a user with environmental information and select
Interface, user can select in interface Environment information in environmental information in advance and be configured, so that
Target terminal in real time or can obtain corresponding environment letter when the environmental information of target terminal changes
Breath, illustratively, the environmental information that target terminal provides selects interface as shown in figure 3-2, sees Fig. 3-2, ring
Environment information selects interface to include environmental information choice box 320, shows ring in this environmental information choice box 320
Environment information, and this environmental information include season information, Weather information, temporal information, geographical location information and
Marking landscape information, this environmental information choice box 320 also shows confirming button and cancel button, user
Corresponding environmental information can be clicked on and click on the confirming button triggering selection instruction to this environmental information, it is achieved
Setting to environmental information.Illustratively, when user clicks on geographical location information and clicks on confirming button, touch
Sending out the selection to geographical location information to instruct, geographical location information is set to the ring that user selects by target terminal
Environment information, this is not construed as limiting by disclosure embodiment.
In step 302, according to environmental information, from media library, the target literary composition associated with environmental information is obtained
Part information.Perform step 303.
After target terminal gets environmental information, the target associated with environmental information can be obtained from media library
Fileinfo.Wherein, target terminal can be with the keyword in extraction environment information or key word, Jin Ergen
According to the keyword in environmental information or key word, from media library, obtain the target literary composition associated with environmental information
Part information.
Alternatively, in the disclosed embodiments, media library can be local media library, it is also possible to be server
Media library.Wherein, local media library is the media library on target terminal, the media literary composition in this local media library
Part is stored in target terminal;Server media library is the media library on server, this server media library
In media file be stored on server, illustratively, server media library can be to implement shown in Fig. 1
The media library on server 140 in environment, this is not construed as limiting by disclosure embodiment.
Owing to media library can be local media library, it is also possible to be server media library, therefore, target terminal
From media library, obtain the file destination information associated with environmental information may include that target terminal is according to environment
Information, obtains the file destination information associated with environmental information from local media library;Or, target terminal
According to environmental information, from server media library, obtain the file destination information associated with environmental information.
Wherein, target terminal, according to environmental information, obtains the mesh associated with environmental information from local media library
Mark fileinfo may include that target terminal searches for local media library according to environmental information, obtains local media
The file destination information associated with environmental information in storehouse, then obtains this file destination information.Alternatively, mesh
Mark terminal can be with the keyword in extraction environment information or key word, and then according to the key in environmental information
Word or key word, search for local media library, and obtain the mesh associated with environmental information from local media library
Mark fileinfo.
Illustratively, it is assumed that environmental information is geographical location information, and this geographical location information is " Guangdong Province pearl
Sea market ", then the key word during target terminal extracts this geographical location information can be " Guangdong " and " Zhuhai ",
Then target terminal search " Guangdong " and " Zhuhai " respectively in local media library, obtains and " Guangdong "
The fileinfo that " Zhuhai " associates, and then the fileinfo that will associate with " Guangdong " and " Zhuhai "
All as the file destination information associated with environmental information " Zhuhai City, Guangdong Province " and obtain this file destination letter
Breath.Alternatively, target terminal searches for " Guangdong " and " Zhuhai " in local media library, obtains target literary composition
The title of the Guangdong language songs such as part information " long and arduous journey always feelings ", target terminal obtains this file destination information
" long and arduous journey always feelings " etc..
The most illustratively, it is assumed that environmental information is geographical location information, and this geographical location information is " Guangxi province
Guilin City ", then the key word during target terminal extracts this geographical location information can be " Guangxi " and " osmanthus
Woods ", then target terminal search " Guangxi " and " Guilin " respectively in local media library, obtains with " wide
West " fileinfo that associates with " Guilin ", and then will this file that associate with " Guangxi " and " Guilin "
Information is all as the file destination information associated with environmental information " Guangxi province Guilin City " and obtain this target literary composition
Part information.Alternatively, target terminal searches for " Guangxi " and " Guilin " in local media library, obtains mesh
The title of the song such as mark fileinfo " I thinks Guilin ", " thinking Guilin ", target terminal obtains this target
Fileinfo " I thinks Guilin ", " thinking Guilin " etc..
The most illustratively, it is assumed that environmental information is marking landscape information, and this marking landscape information be " my god
Peace door ", then the key word during target terminal extracts this geographical location information can be " " Tian An-men ", so
Rear target terminal is searched in " Tian An-men " in local media library, obtains the file letter associated with " Tian An-men "
Breath, so target terminal will the fileinfo that associate with " Tian An-men " as with environmental information " Tian An-men "
Association file destination information and obtain this file destination information.Alternatively, target terminal is at local media library
Middle search " Tian An-men ", obtains the title of the songs such as file destination information " I loves Tian An-men, Beijing ", mesh
Mark terminal obtains this file destination information " I loves Tian An-men, Beijing " etc..
Alternatively, refer to Fig. 3-3, it is illustrated that one that Fig. 3-1 illustrated embodiment provides is from server
Media library obtains the method flow diagram of the file destination information associated with environmental information, sees Fig. 3-3, the party
Method flow process can include following several step:
In sub-step 3021, target terminal sends, to server, the request of acquisition, and environment letter is carried in acquisition request
Breath.
Target terminal can generate the acquisition request carrying this environmental information according to environmental information, then to service
Device sends this acquisition request.Illustratively, target terminal is raw according to geographical location information " Guangxi province Guilin City "
Become to carry the acquisition request Q of geographical location information " Guangxi province Guilin City ", then send this to server and obtain
Take request Q.
In sub-step 3022, server is according to environmental information, and from server media library, search is believed with environment
The file destination information of breath association.
Target terminal sends to server when obtaining request, and server can receive the acquisition that target terminal sends
Request, then according to the environmental information obtained in request, from server media library, inquiry is closed with environmental information
The file destination information of connection.Alternatively, server can first resolve acquisition request and obtains environmental information, then
Keyword in extraction environment information or key word, and then according to the keyword in environmental information or key
Word, inquiry server media library obtains the file destination information associated with environmental information, and acquisition is somebody's turn to do and environment
The file destination information of information association.
Illustratively, server resolves to obtain and asks Q to obtain geographical location information " Guangxi province Guilin City ", so
Key word " Guangxi " in this geographical location information of rear extraction and " Guilin ", and then in server media library
Middle inquiry and this key word " Guangxi " and " Guilin ", obtain the literary composition associated with " Guangxi " and " Guilin "
Part information, and then the fileinfo that will associate with " Guangxi " and " Guilin " is all as " wide with environmental information
Xi Sheng Guilin City " the file destination information that associates, and obtain this file destination information.Alternatively, server
In server media library search for " Guangxi " and " Guilin ", obtain file destination information " I thinks Guilin ",
" think Guilin ", the title of the song such as " osmanthus Merrill Lynch ", server obtains this file destination information, and " I thinks
Guilin ", " thinking Guilin ", " osmanthus Merrill Lynch " etc., this is not construed as limiting by disclosure embodiment.
In sub-step 3023, server sends acquisition response according to target terminal, obtains response and includes mesh
Mark fileinfo.
After server gets the file destination information associated with environmental information, can send to target terminal and obtain
Taking response, this acquisition response can include file destination information.Wherein, server can be first according to target literary composition
Part information generates the acquisition response including file destination information, then sends this acquisition response to target terminal.
Illustratively, server is according to file destination information " I thinks Guilin ", " thinking Guilin ", " Gui Mei
Woods " etc. generate obtain response X, and to target terminal send this acquisition response X.
In sub-step 3024, target terminal resolves acquisition response and obtains file destination information.
Server sends to target terminal when obtaining response, and target terminal can receive this acquisition response, then
Resolve this acquisition response and obtain file destination information.Illustratively, target terminal receives and obtains response X, then
Resolve this acquisition response X and obtain file destination information " I thinks Guilin ", " thinking Guilin ", " osmanthus Merrill Lynch "
Deng.
It should be noted that in disclosure the present embodiment, on the one hand, owing to target terminal is from server matchmaker
When body storehouse obtains the file destination information associated with environmental information, need and server interaction, need to expend
Internet resources;On the other hand, the fileinfo typically user owing to storing in local media library more likes
The fileinfo of media file, therefore, target terminal preferentially obtains and environmental information from local media library
The file destination information of association, when there is not the file destination information associated with environmental information in local media library
Time, target terminal obtains the file destination information associated with environmental information from media server, and the disclosure is implemented
This is not limited by example.
In step 303, the target media file of file destination information instruction is played out.
After target terminal gets the file destination information associated with environmental information, can be to file destination information
The target media file of instruction plays out.It should be noted that in actual application, target terminal gets
File destination information number may more, therefore, target terminal can be according to certain rule to each
The target media file of file destination information instruction all plays out.
Illustratively, refer to Fig. 3-4, it is illustrated that the one that Fig. 3-1 illustrated embodiment provides is civilian to target
The method flow diagram that the target media file of part information instruction plays out, sees Fig. 3-4, and the method flow process can
To include following several step:
In sub-step 3031, when the number of file destination information is at least two, determine at least two mesh
Each file destination information in mark fileinfo and the degree of association of environmental information.Perform sub-step 3032.
When the number of the file destination information that target terminal obtains is at least two, target terminal may determine that
Each file destination information at least two file destination information and the degree of association of environmental information.Alternatively,
According to the matching degree of each file destination information Yu environmental information, target terminal can determine that each file destination is believed
Breath and the degree of association of environmental information, wherein, the degree of association of each file destination information and environmental information is every with this
Individual file destination information and the matching degree positive correlation of environmental information.
Illustratively, it is assumed that file destination information is " I thinks Guilin ", " thinking Guilin ", " osmanthus Merrill Lynch "
" Guilin " and " Guilin Miss ", environmental information is geographical location information " Guangxi province Guilin City ", then mesh
Mark terminal determines the matching degree of " I thinks Guilin " and " Guangxi province Guilin City " respectively, " thinking Guilin " and
The matching degree of " Guangxi province Guilin City ", the matching degree of " osmanthus Merrill Lynch " and " Guangxi province Guilin City ", " osmanthus
Woods " and the matching degree of " Guangxi province Guilin City ", " Guilin Miss " mates with " Guangxi province Guilin City "
Degree, and then determine " I thinks Guilin " according to the matching degree of " I thinks Guilin " Yu " Guangxi province Guilin City "
The degree of association of " Guangxi province Guilin City ", according to the matching degree of " thinking Guilin " Yu " Guangxi province Guilin City "
Determine " thinking Guilin " and the degree of association of " Guangxi province Guilin City ", according to " osmanthus Merrill Lynch " and " osmanthus, Guangxi province
Woods city " matching degree determine " osmanthus Merrill Lynch " and the matching degree of " Guangxi province Guilin City ", according to " Guilin "
" Guilin " and the degree of association of " Guangxi province Guilin City ", root is determined with the matching degree of " Guangxi province Guilin City "
" Guilin Miss " and " osmanthus, Guangxi province is determined according to the matching degree of " Guilin Miss " Yu " Guangxi province Guilin City "
Woods city " the degree of association.Wherein, target terminal determines the matching degree of each file destination information and environmental information
Process be referred to correlation technique, this is not limited by disclosure embodiment.
Alternatively, in disclosure embodiment, file destination information " I thinks Guilin ", " thinking Guilin ",
" osmanthus Merrill Lynch ", " Guilin " and " Guilin Miss " and the degree of association of environmental information " Guangxi province Guilin City "
Can be as shown in table 1 below:
Table 1
Seeing table 1 to understand, the degree of association of " I thinks Guilin " and " Guangxi province Guilin City " is G1, " thinks
Guilin " and the degree of association of " Guangxi province Guilin City " be G2, " osmanthus Merrill Lynch " and " Guangxi province Guilin City "
The degree of association is G3, and the degree of association of " Guilin " and " Guangxi province Guilin City " is G4, " Guilin Miss " and
The degree of association of " Guangxi province Guilin City " is G5.
It should be noted that disclosure embodiment is according to file destination information and environmental information with target terminal
Matching degree determine the degree of association of file destination information and environmental information as a example by illustrate, in actual application,
According to the semantic relevancy etc. of file destination information Yu environmental information, target terminal can also determine that file destination is believed
Breath and the degree of association of environmental information, disclosure embodiment does not repeats them here.
In sub-step 3032, according to the size of the degree of association, at least two file destination information is ranked up.
Perform sub-step 3033.
After target terminal determines the degree of association of each file destination information and environmental information, can be according to the degree of association
Size at least two file destination information is ranked up.Alternatively, big according to the degree of association of target terminal
Little determine that at least two file destination information is ranked up after, at least two file destination information can be obtained
Priority, wherein, the size of priority and the size positive correlation of the degree of association, illustratively, with environmental information
The priority of the file destination information that the degree of association is bigger is more than the file destination less with the degree of association of environmental information
The priority of information.It should be noted that in order to simplify sequencer procedure and save from server acquisition target
The Internet resources of target media file of fileinfo instruction, target terminal can at least two degree of association with
And file destination information corresponding to this at least two degree of association screens, the degree of association then screening obtained
Corresponding file destination information is ranked up.
Illustratively, refer to Fig. 3-5, it is illustrated that one that Fig. 3-1 illustrated embodiment provides is according to association
The method flow diagram that at least two file destination information is ranked up by the size of degree, sees Fig. 3-5, the method
Flow process can include following several step:
In sub-step 30321, delete from least two degree of association less than and be equal to preset degree of association threshold value
The degree of association.Perform sub-step 30322.
Wherein, presetting degree of association threshold value can be G, and the concrete numerical value of this default degree of association threshold value can basis
Being actually needed and be configured, this is not limited by disclosure embodiment.
Alternatively, target terminal can by by each degree of association at least two degree of association respectively with preset
Degree of association threshold value is compared to determine at least two degree of association and is less than and equal to the pass presetting degree of association threshold value
Connection degree, and then at least two degree of association being less than and deleting equal to the degree of association presetting degree of association threshold value,
To give up this degree of association being less than and being equal to preset degree of association threshold value.In the disclosed embodiments, it is assumed that G1,
G2, G4 and G5 are all higher than G, G3 and are less than G, then target terminal deletes degree of association G3.
In sub-step 30322, according at least two degree of association is more than the degree of association presetting degree of association threshold value
Size corresponding file destination information is ranked up.
Target terminal deletes the degree of association deleting less than and being equal to preset degree of association threshold value at least two degree of association
After, the degree of association more than default degree of association threshold value at least two degree of association, and then target terminal can be obtained
Can be according to this at least two degree of association being more than the size of the degree of association presetting degree of association threshold value to corresponding mesh
Mark fileinfo is ranked up.
Alternatively, target terminal can be first to being more than the association presetting degree of association threshold value at least two degree of association
Degree is ranked up, then according to the sequence being more than the degree of association presetting degree of association threshold value at least two degree of association
Order is entered more than the degree of association corresponding file destination information presetting degree of association threshold value at least two degree of association
Row sequence, obtains at least two degree of association more than the corresponding file destination of the degree of association presetting degree of association threshold value
The priority orders of information.
Illustratively, degree of association G1, G2, G4 and G5 are ranked up by target terminal from big to small, obtain
Clooating sequence is: G4 > G2 > G5 > G1, so target terminal according to this clooating sequence to G1, G2, G4 and
G5 corresponding file destination information carries out prioritization, obtains this degree of association G1, G2, G4 and G5 couple
The Sort Priority order of the file destination information answered is as shown in table 2 below:
Table 2
Priority orders | File destination information | Degree of association order |
1 | Guilin | G4 |
2 | Think Guilin | G2 |
3 | Guilin Miss | G5 |
4 | I thinks Guilin | G1 |
See table 2 to understand, " I thinks Guilin ", " thinking Guilin ", " Guilin " and " Guilin Miss "
Priority according to " Guilin ", " thinking Guilin ", " Guilin Miss ", the order of " I thinks Guilin "
Reduce successively.
In sub-step 3033, the target medium successively each file destination information indicated according to ranking results
File plays out.
According to each file destination information and the degree of association of environmental information, according to the size of the degree of association at least two
After individual file destination information is ranked up, target terminal can be according to ranking results successively to each file destination
The target media file of information instruction plays out.Alternatively, target terminal is according at least two file destination
The target media file of each file destination information instruction is played out by the priority orders of information successively.
Illustratively, target terminal is first play " Guilin ", is then play " thinking Guilin " etc., and the disclosure is implemented
This is not limited by example.
In the disclosed embodiments, the target media file that file destination information is indicated by target terminal is broadcast
Put and may include that the target media file that file destination information is indicated by target terminal by target terminal is carried out
Play;Or, by setting up what file destination information was indicated by the other-end of communication connection with target terminal
Target media file plays out.Such as, the media file playing method of disclosure embodiment offer is provided
Target terminal can be for the first terminal 120 in implementation environment shown in Fig. 1, then can be right by first terminal 120
The target media file of file destination information instruction plays out, it is also possible to by the second terminal 160 to target literary composition
The target media file of part information instruction plays out, and this is not limited by disclosure embodiment.The disclosure is real
Execute example to illustrate as a example by the target media file that file destination information indicates is played out by target terminal.
Illustratively, refer to Fig. 3-6, it is illustrated that the one that Fig. 3-1 illustrated embodiment provides is civilian to target
The method flow diagram that the target media file of part information instruction plays out, sees Fig. 3-6, and the method flow process can
To include following several step:
In sub-step 30331, the destination player of detection target terminal is run the most, destination player
For the player of target media file can be play.When destination player is run, perform sub-step 30332;
When destination player off-duty, perform sub-step 30335.
Destination player on target terminal detection target terminal is run the most, wherein, and this destination player
For the player of target media file can be play, illustratively, when target media file is song files,
This destination player can be: QQ music player, extremely my music player, Baidu's music player, cruel
Canis familiaris L. music player etc., this is not limited by disclosure embodiment.Wherein, target terminal detection target is eventually
The process that the destination player of end has been run the most is referred to correlation technique, and disclosure embodiment is at this no longer
Repeat.
In sub-step 30332, when destination player is run, the most whether detection destination player is play
Media file.When the currently playing media file of destination player, perform sub-step 30333;When target is play
When device does not currently play media file, perform sub-step 30334.
If target terminal determines that destination player is run in sub-step 30331, then target terminal detection mesh
The most whether mark player plays media file, and wherein, the most whether target terminal detection destination player is broadcast
The process putting media file is referred to correlation technique, and disclosure embodiment does not repeats them here.
In sub-step 30333, when the currently playing media file of destination player, broadcast in destination player
After discharging currently playing media file, play target media file.
If target terminal determines the currently playing media file of destination player, then target in sub-step 30332
Terminal, after destination player plays currently playing media file, plays target media file.Illustratively,
Assume that the currently playing media file of destination player is song " dazzle national wind most ", then target terminal is at mesh
After the mark complete song of player plays " dazzle most national wind ", play song " Guilin ", " thinking Guilin ", " osmanthus
Woods Miss ", " I thinks Guilin " etc., this is not limited by disclosure embodiment.
In sub-step 30334, when destination player does not currently play media file, play target medium
File.
If target terminal determines that destination player does not currently play media file, then mesh in sub-step 30332
Mark terminal plays target media file.Illustratively, target terminal is play song " Guilin " successively, " is thought osmanthus
Woods ", " Guilin Miss ", " I thinks Guilin ".
In sub-step 30335, when destination player off-duty, the interpolation of file destination information is broadcast to target
Put the playlist of device.Perform sub-step 30336.
If target terminal determines destination player off-duty in sub-step 30331, then target terminal can be by
File destination information adds the playlist to destination player.Illustratively, target terminal will " I thinks osmanthus
Woods ", " thinking Guilin ", " Guilin " and " Guilin Miss " adds to the playlist of destination player.
Wherein, target terminal file destination information is added the playlist to destination player to realize process permissible
With reference to correlation technique, disclosure embodiment does not repeats them here.
It should be noted that file destination information can be added extremely successively by target terminal according to priority orders
The playlist of destination player, in order to target terminal can be according to priority orders successively to file destination
The target media file of information instruction plays out.
In sub-step 30336, when destination player is run, play the target of file destination information instruction
Media file.
File destination information is added to the playlist of destination player by target terminal, in destination player
During operation, target terminal can play the target media file of file destination information instruction, illustratively, target
Terminal can be according to the target media file of playlist played in order file destination information instruction, and the disclosure is real
Execute example not repeat them here.
It should be noted that in the disclosed embodiments, target terminal can be according to file destination acquisition of information
The file content of the target media file of file destination information instruction, then according to the file of target media file
Target media file is played out by content.Such as, target terminal obtains according to " Guilin " and is somebody's turn to do " Guilin "
The file content of the song files of instruction, and then the file content of the song files indicated according to this " Guilin ",
Playing song Guilin, disclosure embodiment does not repeats them here.
Also, it should be noted disclosure embodiment is the target indicated file destination information with target terminal
Media file illustrates as a example by playing out, and plays file destination when target terminal by other-end and believes
During the target media file of breath instruction, file destination information can be sent to other-end by target terminal, with
The target media file indicated file destination information by other-end plays out, and disclosure embodiment is at this
Repeat no more.
It should be added that, the media file playing method that disclosure embodiment provides, target terminal leads to
Cross acquisition environmental information, and then obtain the file destination information associated with environmental information, to file destination information
The target media file of instruction plays out, and can improve Consumer's Experience.
It should be added that, the priority of the media file playing method step that disclosure embodiment provides is suitable
Sequence can suitably adjust, and step can also increase and decrease the most accordingly, any be familiar with this technology neck
The technical staff in territory in the technical scope that the disclosure discloses, the method that change can be readily occurred in, all should contain
Within the protection domain of the disclosure, therefore repeat no more.
In sum, the media file playing method that disclosure embodiment provides, by obtaining target terminal
Environmental information, according to environmental information, obtains the file destination information associated with environmental information from media library,
The target media file of file destination information instruction is played out.Due to can be according to the environment of target terminal
Information plays media file, therefore, solves the problem that playback of media files mode is single, has reached abundant
The effect of playback of media files mode.
Following for disclosure device embodiment, may be used for performing method of disclosure embodiment.For the disclosure
The details not disclosed in device embodiment, refer to method of disclosure embodiment.
Fig. 4 is the block diagram according to a kind of playback of media files device 400 shown in an exemplary embodiment, should
Playback of media files device 400 can pass through software, hardware or both be implemented in combination with become target terminal
Some or all of, this target terminal can be for the first terminal 120 in implementation environment shown in Fig. 1.See
Fig. 4, this playback of media files device 400 may include that
Environment acquisition module 410, is configured to obtain the environmental information of target terminal.
File acquisition module 420, is configured to according to environmental information, obtains and close with environmental information from media library
The file destination information of connection.
File playing module 430, is configured to broadcast the target media file of file destination information instruction
Put.
In sum, the playback of media files device that disclosure embodiment provides, by obtaining target terminal
Environmental information, according to environmental information, obtains the file destination information associated with environmental information from media library,
The target media file of file destination information instruction is played out.Due to can be according to the environment of target terminal
Information plays media file, therefore, solves the problem that playback of media files mode is single, has reached abundant
The effect of playback of media files mode.
Fig. 5-1 is the block diagram according to a kind of playback of media files device 500 shown in another exemplary embodiment,
This playback of media files device 500 can pass through software, hardware or both be implemented in combination with become target eventually
That holds is some or all of, and this target terminal can be for the first terminal 120 in implementation environment shown in Fig. 1.Ginseng
Seeing Fig. 5-1, this playback of media files device 500 can include but not limited to:
Environment acquisition module 510, is configured to obtain the environmental information of target terminal;
File acquisition module 520, is configured to according to environmental information, obtains and close with environmental information from media library
The file destination information of connection;
File playing module 530, is configured to broadcast the target media file of file destination information instruction
Put.
Alternatively, environmental information includes: season information, Weather information, temporal information, geographical location information
With at least one in marking landscape information.
Alternatively, file playing module 530, it is configured to target terminal or sets up logical with target terminal
The target media file that file destination information is indicated by the other-end that letter connects plays out.
Alternatively, refer to Fig. 5-2, it is illustrated that a kind of file that Fig. 5-1 illustrated embodiment provides is play
The block diagram of module 530, sees Fig. 5-2, and this document playing module 530 includes:
First plays submodule 531A, is configured to:
The destination player of detection target terminal is run the most, and destination player is for can play target medium
The player of file;
When destination player is run, the most whether detection destination player plays media file;
When the currently playing media file of destination player, play currently playing media in destination player
After file, play target media file;
When destination player off-duty, file destination information is added the playlist to destination player;
When destination player is run, play the target media file of file destination information instruction.
Alternatively, media library is local media library or server media library.
Alternatively, refer to Fig. 5-3, it is illustrated that the another kind of file that Fig. 5-1 illustrated embodiment provides is broadcast
The block diagram of amplification module 530, sees Fig. 5-3, and this document playing module 530 includes:
Determine submodule 531B, be configured as the number of file destination information when being at least two, determine to
Each file destination information in few two file destination information and the degree of association of environmental information;
Sorting sub-module 532B, is configured to the size according to the degree of association and enters at least two file destination information
Row sequence;
Play submodule 533B, be configured to according to ranking results successively to the instruction of each file destination information
Target media file plays out.
Alternatively, sorting sub-module 532B, it is configured to:
From at least two degree of association, delete less than and be equal to preset the degree of association of degree of association threshold value;
According at least two degree of association being more than the size of the degree of association presetting degree of association threshold value to corresponding target
Fileinfo is ranked up.
In sum, the playback of media files device that disclosure embodiment provides, by obtaining target terminal
Environmental information, according to environmental information, obtains the file destination information associated with environmental information from media library,
The target media file of file destination information instruction is played out.Due to can be according to the environment of target terminal
Information plays media file, therefore, solves the problem that playback of media files mode is single, has reached abundant
The effect of playback of media files mode.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation relevant
The embodiment of the method is described in detail, explanation will be not set forth in detail herein.
Fig. 6 is the block diagram according to a kind of playback of media files device 600 shown in an exemplary embodiment.Example
As, device 600 can be mobile phone, computer, digital broadcast terminal, messaging devices, game
Control station, tablet device, armarium, body-building equipment, personal digital assistant, mobile unit, intelligence phase
Machine etc..
With reference to Fig. 6, device 600 can include following one or more assembly: processes assembly 602, memorizer
604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, input/output (I/O) interface 612,
Sensor cluster 614 and communications component 616.
Process assembly 602 and generally control the integrated operation of device 600, such as with display, call, number
The operation being associated is operated according to communication, playback of media files, camera operation and record.Processing assembly 602 can
To include that one or more processor 620 performs instruction, to complete all or part of step of above-mentioned method
Suddenly.Additionally, process assembly 602 can include one or more module, it is simple to process assembly 602 and other
Mutual between assembly.Such as, process assembly 602 and can include multi-media module, to facilitate multimedia group
Part 608 and process between assembly 602 mutual.
Memorizer 604 is configured to store various types of data to support the operation at device 600.These
The example of data includes any application program for operation on device 600 or the instruction of method, contact person
Data, telephone book data, message, picture, video, audio frequency etc..Memorizer 604 can be by any type
Volatibility or non-volatile memory device or combinations thereof realize, such as static RAM
(SRAM), Electrically Erasable Read Only Memory (EEPROM), the read-only storage of erasable programmable
Device (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic storage
Device, flash memory and disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can include electricity
Management system, one or more power supplys, and other generate, manage and distribute electric power phase with for device 600
The assembly of association.
The screen of one output interface of offer that multimedia groupware 608 is included between device 600 and user.
In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If
Screen includes that touch panel, screen may be implemented as touch screen, to receive the input signal from user.
Touch panel includes that one or more touch sensor is with the gesture on sensing touch, slip and touch panel.
Touch sensor can not only sense touch or the border of sliding action, but also detect and touch or slide behaviour
Make relevant persistent period and pressure.In certain embodiments, multimedia groupware 608 includes that one preposition is taken the photograph
As head and/or post-positioned pick-up head.When device 600 is in operator scheme, during such as screening-mode or video mode,
Front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and after
Put photographic head can be a fixing optical lens system or there is focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to output and/or input audio signal.Such as, audio-frequency assembly 610 includes
One mike is (English: Microphone;It is called for short: MIC), when device 600 is in operator scheme, as
When call model, logging mode and speech recognition mode, mike is configured to receive external audio signal.
The audio signal received can be further stored at memorizer 604 or send via communications component 616.
In certain embodiments, audio-frequency assembly 610 also includes a speaker, is used for exporting audio signal.
I/O interface 612 provides interface, above-mentioned peripheral interface for processing between assembly 602 and peripheral interface module
Module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, sound
Amount button, start button and locking press button.
Sensor cluster 614 includes one or more sensor, for providing various aspects for device 600
State estimation.Such as, what sensor cluster 614 can detect device 600 opens/closed mode, assembly
Relative localization, such as assembly is display and the keypad of device 600, and sensor cluster 614 is all right
Detection the device 600 or position change of 600 1 assemblies of device, existence that user contacts with device 600 or
Do not exist, device 600 orientation or acceleration/deceleration and the variations in temperature of device 600.Sensor cluster 614 can
To include proximity transducer, it is configured to when there is no any physical contact object near detecting.
Sensor cluster 614 can also include optical sensor, such as CMOS or ccd image sensor, is used for becoming
Use as in application.In certain embodiments, this sensor cluster 614 can also include acceleration transducer,
Gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to facilitate the logical of wired or wireless mode between device 600 and other equipment
Letter.Device 600 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or they
Combination.In one exemplary embodiment, communications component 616 receives wide from outside via broadcast channel
The broadcast singal of broadcast management system or broadcast related information.In one exemplary embodiment, communications component 616
Also include near-field communication (NFC) module, to promote junction service.Such as, can be based on penetrating in NFC module
Frequency identifies (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, indigo plant
Tooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can by one or more application specific integrated circuits (ASIC),
Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD),
Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real
Existing, it is used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage medium including instruction is additionally provided
Matter, such as, include the memorizer 604 of instruction, and above-mentioned instruction can be performed by the processor 620 of device 600 with complete
Become said method.Such as, non-transitory computer-readable recording medium can be ROM, random access memory
Device (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is by device 600
When reason device performs so that device 600 is able to carry out a kind of media file playing method, this playback of media files
Method includes:
Obtain the environmental information of target terminal;
According to environmental information, from media library, obtain the file destination information associated with environmental information;
The target media file of file destination information instruction is played out.
Alternatively, environmental information includes: season information, Weather information, temporal information, geographical location information
With at least one in marking landscape information.
Alternatively, the target media file of file destination information instruction is played out, including:
File destination information is referred to by the other-end by target terminal or with target terminal foundation communication connection
The target media file shown plays out.
Alternatively, the target media file indicated file destination information by target terminal is played out, bag
Include:
The destination player of detection target terminal is run the most, and destination player is for can play target medium
The player of file;
When destination player is run, the most whether detection destination player plays media file;
When the currently playing media file of destination player, play currently playing media in destination player
After file, play target media file;
When destination player off-duty, file destination information is added the playlist to destination player;
When destination player is run, play the target media file of file destination information instruction.
Alternatively, media library is local media library or server media library.
Alternatively, the target media file of file destination information instruction is played out, including:
When the number of file destination information is at least two, determine at least two file destination information is every
Individual file destination information and the degree of association of environmental information;
According to the size of the degree of association, at least two file destination information is ranked up;
Successively the target media file of each file destination information instruction is played out according to ranking results.
Alternatively, according to the size of the degree of association, at least two file destination information is ranked up, including:
From at least two degree of association, delete less than and be equal to preset the degree of association of degree of association threshold value;
According at least two degree of association being more than the size of the degree of association presetting degree of association threshold value to corresponding target
Fileinfo is ranked up.
In sum, the playback of media files device that disclosure embodiment provides, by obtaining target terminal
Environmental information, according to environmental information, obtains the file destination information associated with environmental information from media library,
The target media file of file destination information instruction is played out.Due to can be according to the environment of target terminal
Information plays media file, therefore, solves the problem that playback of media files mode is single, has reached abundant
The effect of playback of media files mode.
Term " at least one of A and B " in the disclosure, a kind of incidence relation describing affiliated partner,
Can there are three kinds of relations, such as, at least one of A and B in expression, can represent: individualism A,
There is A and B, individualism B these three situation simultaneously.In like manner, " at least one of A, B and C " table
Show and can there are seven kinds of relations, can represent: individualism A, individualism B, individualism C, simultaneously
There is A and B, there is A and C simultaneously, there is C and B simultaneously, there is A, B and C these seven kinds simultaneously
Situation.In like manner, " at least one of A, B, C and D " represents can exist 15 kinds of relations, can represent:
, there is A and B simultaneously, deposit simultaneously in individualism A, individualism B, individualism C, individualism D
At A and C, there is A and D simultaneously, there is C and B simultaneously, there is D and B simultaneously, there is C simultaneously
And D, there is A, B and C simultaneously, there is A, B and D simultaneously, there is A, C and D, simultaneously simultaneously
There is B, C and D, there is A, B, C and D simultaneously, these 15 kinds of situations.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to these public affairs
Other embodiment opened.The application is intended to any modification, purposes or the adaptations of the disclosure,
These modification, purposes or adaptations are followed the general principle of the disclosure and include that the disclosure is not disclosed
Common knowledge in the art or conventional techniques means.Description and embodiments is considered only as exemplary
, the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to accurate knot described above and illustrated in the accompanying drawings
Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by appended
Claim limits.
Claims (15)
1. a media file playing method, it is characterised in that described method includes:
Obtain the environmental information of target terminal;
According to described environmental information, from media library, obtain the file destination information associated with described environmental information;
The target media file of described file destination information instruction is played out.
Method the most according to claim 1, it is characterised in that described environmental information includes: season believes
At least one in breath, Weather information, temporal information, geographical location information and marking landscape information.
Method the most according to claim 1, it is characterised in that described described file destination information is referred to
The target media file shown plays out, including:
The other-end of communication connection is set up to described mesh by described target terminal or with described target terminal
The target media file of mark fileinfo instruction plays out.
Method the most according to claim 3, it is characterised in that by described target terminal to described mesh
The target media file of mark fileinfo instruction plays out, including:
The destination player detecting described target terminal is run the most, and described destination player is for playing
The player of described target media file;
When described destination player is run, detect the most described destination player plays media file;
When the currently playing media file of described destination player, play in described destination player and currently broadcast
After the media file put, play described target media file;
When described destination player off-duty, described file destination information is added to described destination player
Playlist;
When described destination player is run, play the target media file of described file destination information instruction.
Method the most according to claim 1, it is characterised in that described media library be local media library or
Server media library.
6. according to the arbitrary described method of claim 1 to 5, it is characterised in that described to described target literary composition
The target media file of part information instruction plays out, including:
When the number of described file destination information is at least two, determine at least two file destination information
Each file destination information and the degree of association of described environmental information;
According to the size of the described degree of association, described at least two file destination information is ranked up;
Successively the target media file of each file destination information instruction is played out according to ranking results.
Method the most according to claim 6, it is characterised in that the described size according to the described degree of association
Described at least two file destination information is ranked up, including:
From the described at least two degree of association, delete less than and be equal to preset the degree of association of degree of association threshold value;
According in the described at least two degree of association more than the size of the degree of association of described default degree of association threshold value to phase
The file destination information answered is ranked up.
8. a playback of media files device, it is characterised in that described device includes:
Environment acquisition module, is configured to obtain the environmental information of target terminal;
File acquisition module, is configured to according to described environmental information, obtains and described environment from media library
The file destination information of information association;
File playing module, is configured to broadcast the target media file of described file destination information instruction
Put.
Device the most according to claim 8, it is characterised in that described environmental information includes: season believes
At least one in breath, Weather information, temporal information, geographical location information and marking landscape information.
Device the most according to claim 8, it is characterised in that described file playing module, is joined
It is set to:
The other-end of communication connection is set up to described mesh by described target terminal or with described target terminal
The target media file of mark fileinfo instruction plays out.
11. devices according to claim 10, it is characterised in that described file playing module, including:
First plays submodule, is configured to:
The destination player detecting described target terminal is run the most, and described destination player is for playing
The player of described target media file;
When described destination player is run, detect the most described destination player plays media file;
When the currently playing media file of described destination player, play in described destination player and currently broadcast
After the media file put, play described target media file;
When described destination player off-duty, described file destination information is added to described destination player
Playlist;
When described destination player is run, play the target media file of described file destination information instruction.
12. devices according to claim 8, it is characterised in that described media library is local media library
Or server media library.
13. according to Claim 8 to 12 arbitrary described devices, it is characterised in that mould play by described file
Block, including:
Determine submodule, be configured as the number of described file destination information when being at least two, determine to
Each file destination information in few two file destination information and the degree of association of described environmental information;
Sorting sub-module, is configured to the size according to the described degree of association and believes described at least two file destination
Breath is ranked up;
Play submodule, be configured to the target successively each file destination information indicated according to ranking results
Media file plays out.
14. devices according to claim 13, it is characterised in that
Described sorting sub-module, is configured to:
From the described at least two degree of association, delete less than and be equal to preset the degree of association of degree of association threshold value;
According in the described at least two degree of association more than the size of the degree of association of described default degree of association threshold value to phase
The file destination information answered is ranked up.
15. 1 kinds of playback of media files devices, it is characterised in that including:
Processor;
For storing the memorizer of the executable instruction of described processor;
Wherein, described processor is configured to:
Obtain the environmental information of target terminal;
According to described environmental information, from media library, obtain the file destination information associated with described environmental information;
The target media file of described file destination information instruction is played out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610154443.5A CN105843865B (en) | 2016-03-17 | 2016-03-17 | Media file playing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610154443.5A CN105843865B (en) | 2016-03-17 | 2016-03-17 | Media file playing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105843865A true CN105843865A (en) | 2016-08-10 |
CN105843865B CN105843865B (en) | 2020-07-10 |
Family
ID=56587176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610154443.5A Active CN105843865B (en) | 2016-03-17 | 2016-03-17 | Media file playing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105843865B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106777151A (en) * | 2016-12-20 | 2017-05-31 | 珠海市魅族科技有限公司 | A kind of multimedia file output intent and device |
CN106776999A (en) * | 2016-12-07 | 2017-05-31 | 北京小米移动软件有限公司 | Multi-medium data recommends method and device |
CN111782831A (en) * | 2020-07-02 | 2020-10-16 | 北京字节跳动网络技术有限公司 | Media file display method, device, medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090164429A1 (en) * | 2007-12-21 | 2009-06-25 | Concert Technology Corporation | Tunersphere |
US20140096055A1 (en) * | 2010-04-06 | 2014-04-03 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
CN103729363A (en) * | 2012-10-12 | 2014-04-16 | 上海聚力传媒技术有限公司 | Method and device for providing personalized video service through software and hardware environment of user |
CN104090921A (en) * | 2014-06-19 | 2014-10-08 | 小米科技有限责任公司 | Multi-media file playing method and device as well as terminal and server |
CN104851440A (en) * | 2015-04-27 | 2015-08-19 | 广东欧珀移动通信有限公司 | Music random playback method and intelligent loudspeaker |
-
2016
- 2016-03-17 CN CN201610154443.5A patent/CN105843865B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090164429A1 (en) * | 2007-12-21 | 2009-06-25 | Concert Technology Corporation | Tunersphere |
US20140096055A1 (en) * | 2010-04-06 | 2014-04-03 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
CN103729363A (en) * | 2012-10-12 | 2014-04-16 | 上海聚力传媒技术有限公司 | Method and device for providing personalized video service through software and hardware environment of user |
CN104090921A (en) * | 2014-06-19 | 2014-10-08 | 小米科技有限责任公司 | Multi-media file playing method and device as well as terminal and server |
CN104851440A (en) * | 2015-04-27 | 2015-08-19 | 广东欧珀移动通信有限公司 | Music random playback method and intelligent loudspeaker |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776999A (en) * | 2016-12-07 | 2017-05-31 | 北京小米移动软件有限公司 | Multi-medium data recommends method and device |
CN106777151A (en) * | 2016-12-20 | 2017-05-31 | 珠海市魅族科技有限公司 | A kind of multimedia file output intent and device |
CN111782831A (en) * | 2020-07-02 | 2020-10-16 | 北京字节跳动网络技术有限公司 | Media file display method, device, medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105843865B (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10739958B2 (en) | Method and device for executing application using icon associated with application metadata | |
CN109299384B (en) | Scene recommendation method, device and system and storage medium | |
CN108235765B (en) | Method and device for displaying story photo album | |
CN103403705B (en) | Loading a mobile computing device with media files | |
KR102436168B1 (en) | Systems and methods for creating listening logs and music libraries | |
US8874554B2 (en) | Turnersphere | |
US20180314390A1 (en) | User Interface, Method and System for Crowdsourcing Event Notification Sharing Using Mobile Devices | |
US8117193B2 (en) | Tunersphere | |
US8849821B2 (en) | Scalable visual search system simplifying access to network and device functionality | |
CN107656938B (en) | Recommendation method and device and recommendation device | |
CN110147467A (en) | A kind of generation method, device, mobile terminal and the storage medium of text description | |
CN110020148A (en) | A kind of information recommendation method, device and the device for information recommendation | |
CN108351884A (en) | Semantic locations layer for user's correlated activation | |
WO2018152822A1 (en) | Method and device for generating album, and mobile terminal | |
CN107645685A (en) | Information processing method, device, terminal device and storage medium | |
CN105447149A (en) | Interaction method, apparatus and electronic device for network searching | |
CN105373580A (en) | Method and device for displaying subjects | |
CN105843865A (en) | Media file playing method and device | |
Belimpasakis et al. | Experience explorer: a life-logging platform based on mobile context collection | |
CN107402937A (en) | A kind of searching method, device and electronic equipment | |
CN105488074A (en) | Photo clustering method and device | |
CN110020106A (en) | A kind of recommended method, recommendation apparatus and the device for recommendation | |
KR20110097151A (en) | Information providing apparatus and method thereof | |
CN109948043A (en) | A kind of information recommendation method and device | |
CN106254655A (en) | The tinkle of bells method to set up and device |
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 |