CN109271551A - Method for playing music, electronic device and computer readable storage medium - Google Patents

Method for playing music, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN109271551A
CN109271551A CN201811121396.XA CN201811121396A CN109271551A CN 109271551 A CN109271551 A CN 109271551A CN 201811121396 A CN201811121396 A CN 201811121396A CN 109271551 A CN109271551 A CN 109271551A
Authority
CN
China
Prior art keywords
music
mobile terminal
playing
route
mobile
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.)
Pending
Application number
CN201811121396.XA
Other languages
Chinese (zh)
Inventor
陈�田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811121396.XA priority Critical patent/CN109271551A/en
Publication of CN109271551A publication Critical patent/CN109271551A/en
Pending legal-status Critical Current

Links

Landscapes

  • Navigation (AREA)

Abstract

A kind of method for playing music, electronic device and computer readable storage medium, wherein above-mentioned method for playing music includes: the mobile route for predicting mobile terminal;The music being adapted to the mobile route is searched for from music libraries;When searching the music of adaptation, the music of adaptation described in the mobile terminal playing is triggered.Scheme provided by the present application can provide intelligentized music service for user.

Description

Method for playing music, electronic device and computer readable storage medium
Technical field
This application involves technical field of mobile terminals more particularly to a kind of method for playing music, electronic device and computer Readable storage medium storing program for executing.
Background technique
As mobile terminal technology develops, the function of mobile terminal is more and more abundant, for example, user can be by mobile whole End plays music.
User according to the hobby of oneself, can download the music of number format to mobile terminal, thus real from internet Now pass through the interested music of mobile terminal playing oneself whenever and wherever possible.
However, inventor is the study found that be at present according to the preset broadcasting of user by playing music by mobile terminal List or the music chosen manually play out, and music mode is not smart enough.
Summary of the invention
The application provides a kind of method for playing music, electronic device and computer readable storage medium, can provide for user Intelligentized music service.
The application first aspect provides a kind of method for playing music, comprising:
Predict the mobile route of mobile terminal;
The music being adapted to the mobile route is searched for from music libraries;
When searching the music of adaptation, the music of adaptation described in the mobile terminal playing is triggered.
The application second aspect provides a kind of electronic device, comprising:
Path prediction unit, for predicting the mobile route of mobile terminal;
Search unit, for searching for the music being adapted to the mobile route from music libraries;
Trigger unit, for triggering the mobile terminal playing institute when music of the described search unit searches to adaptation State the music of adaptation.
The application third aspect provides another electronic device, comprising:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor, When the processor executes the computer program, the method for playing music that above-mentioned the embodiment of the present application first aspect provides is realized In each step.
The application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, the meter When calculation machine program is executed by processor, each step in the method for playing music of above-mentioned the application first aspect offer is realized.
Therefore application scheme is searched for and the shifting by the mobile route of prediction mobile terminal, and from music libraries The music that the music and broadcasting that dynamic route is adapted to are fitted to, is achieved in the music based on mobile route.Due to mobile whole The mobile route at end usually namely the mobile route of user, therefore, by application scheme, can for user in journey, go to work Or the music of adaptation is searched under equal mobile contexts of going home and music that broadcasting is fitted to, it is set in advance relative to traditional based on user The scheme that fixed playlist or the music chosen manually play out, application scheme can provide intelligentized music for user Play service.
Detailed description of the invention
Fig. 1-a is method for playing music one embodiment flow diagram provided by the present application;
Fig. 1-b is the automatic play and arranging interface schematic diagram of music under a kind of application scenarios provided by the present application;
Fig. 2 is another embodiment flow diagram of method for playing music provided by the present application;
Fig. 3 is electronic device one embodiment structural schematic diagram provided by the present application;
Fig. 4 is another example structure schematic diagram of electronic device provided by the present application;
Fig. 5 is electronic device further embodiment structural schematic diagram provided by the present application.
Specific embodiment
To enable present invention purpose, feature, advantage more obvious and understandable, below in conjunction with the application Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality Applying example is only some embodiments of the present application, and not all embodiments.Based on the embodiment in the application, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of method for playing music, which is applied to electronic device, the electronics Device can be for mobile terminal (such as smart phone, MP3, tablet computer or wearable smart machine etc.) in itself, alternatively, can also Think independently of mobile terminal and can carry out with mobile terminal the electronic device of communication connection, herein without limitation.
Fig. 1-a is please referred to, the method for playing music in the present embodiment mainly comprises the steps that
Step 101, the mobile route for predicting mobile terminal;
In the embodiment of the present application, it can be changed based on the geographical location of mobile terminal, predict the movement of above-mentioned mobile terminal Route.Specifically, the history can be recorded in conjunction with mobile terminal historical movement path (such as motion track from the home to company) The position of motion track institute approach, when the geographical location of mobile terminal, variation meets in the historical movement path a little to another point Geographical location variation, then can be predicted the mobile terminal mobile route be historical movement path.Further, it can be combined with working as The preceding time, if the geographical location variation of mobile terminal meets the geography for a little arriving another point in the historical movement path of same time Change in location, then the mobile route that the mobile terminal can be predicted is the historical movement path.
Alternatively, in a step 101, can also be predicted above-mentioned based on the starting point and destination for inputting above-mentioned mobile terminal The mobile route of mobile terminal.For example, when user input starting point for a, destination for b when, then above-mentioned movement can be predicted The mobile route of terminal for a with arriving b.In practical applications, the navigation application journey that above-mentioned mobile terminal is installed can be monitored Sequence when the starting of above-mentioned navigation application program and listens to the starting point and destination inputted in above-mentioned navigation application program, then The mobile route that above-mentioned mobile terminal can be predicted is from the starting point of input to the destination of input.
Certainly, the mobile route of above-mentioned mobile terminal can also be predicted in the embodiment of the present application based on other way.
Since user is not to move the music playback function that can use mobile terminal each time, in step 101 In, the execution of step 101 can be triggered when above-mentioned mobile terminal is in music state.Further, user can select It selects and whether enables music automatic playing function, when above-mentioned music automatic playing function is opened, just execute in the embodiment of the present application Method for playing music.In this application scenarios, step 101 specific manifestation are as follows: when the music of above-mentioned mobile terminal plays automatically Function is opened, and when above-mentioned mobile terminal is in music state, predicts the mobile route of above-mentioned mobile terminal.
Specifically, user can be set by operating above-mentioned mobile terminal into music provided by above-mentioned mobile terminal It sets interface and opens or closes above-mentioned music automatic playing function.The music set interface as shown in Fig. 1-b, user can be The music set interface opens or closes above-mentioned music automatic playing function.
Step 102 searches for the music being adapted to above-mentioned mobile route from music libraries;
In a step 102, the music being adapted to above-mentioned mobile route is searched for from preset music libraries.The music libraries can be with Music libraries comprising above-mentioned mobile terminal local and/or the music libraries being arranged in predetermined server.
In the embodiment of the present application, the matching that can carry out mobile route to each music in music libraries in advance is arranged, that is, sets The mobile route that each music is adapted in accordatura music storehouse.The setting process can be based on big data (i.e. to each user in each movement The data that the music that route is often listened is counted) it is set.
In a step 102, the mobile route that step 101 can be predicted, the movement being adapted to music each in music libraries Route carries out similarity mode, and collocation degree (can be regarded as similarity) is higher than sound corresponding to the mobile route of preset threshold The happy music for being determined as being adapted to the mobile route that step 101 predicts.
Need to illustrate when, in a step 102, the music number searched from music libraries may be 0,1 or any value, The music number that can be specifically fitted to is based on depending on search result.
Step 103, when searching the music of adaptation, trigger the music of the above-mentioned adaptation of above-mentioned mobile terminal playing;
In step 103, (the i.e. music number that is searched from music libraries of step 102 when searching the music of adaptation When greater than 0), trigger the music that above-mentioned mobile terminal playing step 102 searches.Further, if not searching and above-mentioned movement The music of route adaptation then can trigger the broadcasting that above-mentioned mobile terminal continues music according to currently determining music playlist.
Optionally, when searching the music of two first above adaptations, can trigger above-mentioned mobile terminal according to collocation degree according to It is secondary to play the music got.For example, when step 103 searches music 1, music 2, music 3, music 4 and the first sound of music 5 five It is happy, and be followed successively by music 1, music 2, music 3, music 4, music 5 according to the sequence of collocation degree from high to low, then it can preferentially broadcast It puts the music on 1, play in order music 2, music 3, music 4 and music 5 later.Alternatively, when searching the two first above music being adapted to When, the music that above-mentioned mobile terminal shuffle is got can also be triggered.
Optionally, in step 103, above-mentioned mobile terminal playing can be triggered immediately in the music for searching adaptation The music being fitted to, alternatively, if current above-mentioned mobile terminal is playing music, it can also be in currently played music After, trigger the music that above-mentioned mobile terminal playing is fitted to.
Optionally, when above-mentioned mobile terminal is in music state, the movement of the sustainable above-mentioned mobile terminal of prediction Route, if step can be continued to execute when the secondary mobile route for predicting to obtain and the preceding primary mobile route for predicting to obtain are inconsistent Rapid 102 and step 103, to guarantee that the music being fitted to can be according to prediction result real-time update.
Therefore the embodiment of the present application is searched for and is somebody's turn to do by the mobile route of prediction mobile terminal, and from music libraries The music that the music and broadcasting that mobile route is adapted to are fitted to, is achieved in the music based on mobile route.Due to movement The mobile route of terminal usually namely the mobile route of user, therefore, by application scheme, can for user in journey, go The music of adaptation is searched under class or equal mobile contexts of going home and music that broadcasting is fitted to, relative to traditional preparatory based on user The scheme that the playlist of setting or the music chosen manually play out, application scheme can provide intelligentized sound for user It is happy to play service.
The embodiment of the present application provides another method for playing music, the method for playing music and Fig. 1-a illustrated embodiment The difference is that the music of mobile route and rate travel search adaptation of the embodiment of the present application based on mobile terminal, so that The music being fitted to more meets the mobile context of user.As shown in Fig. 2, the method for playing music in the embodiment of the present application includes:
Step 201, the mobile route for predicting mobile terminal;
In the embodiment of the present application, it can be changed based on the geographical location of mobile terminal, predict the movement of above-mentioned mobile terminal Route.Specifically, the history can be recorded in conjunction with mobile terminal historical movement path (such as motion track from the home to company) The position of motion track institute approach, when the geographical location of mobile terminal, variation meets in the historical movement path a little to another point Geographical location variation, then can be predicted the mobile terminal mobile route be historical movement path.Further, it can be combined with working as The preceding time, if the geographical location variation of mobile terminal meets the geography for a little arriving another point in the historical movement path of same time Change in location, then the mobile route that the mobile terminal can be predicted is the historical movement path.
Alternatively, in step 201, can also be predicted above-mentioned based on the starting point and destination for inputting above-mentioned mobile terminal The mobile route of mobile terminal.For example, when user input starting point for a, destination for b when, then above-mentioned movement can be predicted The mobile route of terminal for a with arriving b.In practical applications, the navigation application journey that above-mentioned mobile terminal is installed can be monitored Sequence when the starting of above-mentioned navigation application program and listens to the starting point and destination inputted in above-mentioned navigation application program, then The mobile route that above-mentioned mobile terminal can be predicted is from the starting point of input to the destination of input.
Certainly, the mobile route of above-mentioned mobile terminal can also be predicted in the embodiment of the present application based on other way.
Since user is not to move the music playback function that can use mobile terminal each time, in step 201 In, the execution of step 201 can be triggered when above-mentioned mobile terminal is in music state.Further, user can select It selects and whether enables music automatic playing function, when above-mentioned music automatic playing function is opened, just execute in the embodiment of the present application Method for playing music.In this application scenarios, step 201 specific manifestation are as follows: when the music of above-mentioned mobile terminal plays automatically Function is opened, and when above-mentioned mobile terminal is in music state, predicts the mobile route of above-mentioned mobile terminal.
Specifically, user can be set by operating above-mentioned mobile terminal into music provided by above-mentioned mobile terminal It sets interface and opens or closes above-mentioned music automatic playing function.The music set interface as shown in Fig. 1-b, user can be The music set interface opens or closes above-mentioned music automatic playing function.
Step 202, the rate travel for determining above-mentioned mobile terminal;
It, can be above-mentioned mobile whole in the moving distance calculating of unit time according to above-mentioned mobile terminal in the embodiment of the present application The rate travel in the unit time is held, is calculated later based on rate travel of the above-mentioned mobile terminal within the unit time for the moment The Mean Speed, is determined as the rate travel of above-mentioned mobile terminal by the Mean Speed of above-mentioned mobile terminal in long.
Alternatively, in the embodiment of the present application, can also transfer third party application that above-mentioned mobile terminal installed (such as Navigation application program) rate travel of the mobile terminal is calculated, the rate travel of above-mentioned mobile terminal is determined with this.
The embodiment of the present application is not defined the method for determination of above-mentioned rate travel.
Step 203 searches for the music being adapted to above-mentioned mobile route and rate travel from music libraries;
In step 203, the mobile route predicted with step 201 and step 202 institute are searched for from preset music libraries The music of determining rate travel adaptation.The music libraries may include the music libraries of above-mentioned mobile terminal local and/or setting exists Music libraries in predetermined server.
Under a kind of application scenarios, mobile route can be carried out to each music in music libraries in advance and move mode (moves Flowing mode for example can for walking, run, ride, drive and fly) matching setting, that is, set music libraries in each music The mobile route and move mode being adapted to.The setting process can based on big data (i.e. to each user in each mobile route and The data that the music often listened under each move mode is counted) it is set.Under this application scenarios, step 203 can Determine the move mode of above-mentioned mobile terminal based on the rate travel that step 202 determines, filter out later in music libraries with the shifting The collection of music of flowing mode adaptation, the mobile route for then being predicted step 201 are adapted to each music in the collection of music Mobile route carry out similarity mode, and by collocation degree (can be regarded as similarity) be higher than preset threshold mobile route institute it is right The music answered is determined as the music being adapted to above-mentioned mobile route and rate travel.
In another application scenarios, mobile route and rate travel can also be carried out to each music in music libraries in advance The matching of range is arranged, that is, the mobile route and rate travel range that each music is adapted in setting music libraries.The setting process Big data can be equally based on, and (music often listened under each mobile route and each move mode each user count To data) set.Under this application scenarios, step 203 can filter out the mobile speed determined in music libraries with step 202 The collection of music of rate travel range adaptation where rate, in the mobile route for then being predicted step 201, with the collection of music The mobile route that each music is adapted to carries out similarity mode, and collocation degree (can be regarded as similarity) is higher than preset threshold Music corresponding to mobile route is determined as the music of adaptation.
Need to illustrate when, in step 203, the music number searched from music libraries may be 0,1 or any value, The music number that can be specifically fitted to is based on depending on search result.
Step 204, when searching the music of adaptation, trigger the music of the above-mentioned adaptation of above-mentioned mobile terminal playing;
In step 204, (the i.e. music number that is searched from music libraries of step 203 when searching the music of adaptation When greater than 0), trigger the music that above-mentioned mobile terminal playing step 203 searches.Further, if not searching and above-mentioned movement When the music of route and above-mentioned rate travel adaptation, then it can trigger above-mentioned mobile terminal according to currently determining music playlist Continue the broadcasting of music.
Optionally, when searching the music of two first above adaptations, can trigger above-mentioned mobile terminal according to collocation degree according to It is secondary to play the music got.For example, when step 204 searches music 1, music 2, music 3, music 4 and the first sound of music 5 five It is happy, and be followed successively by music 1, music 2, music 3, music 4, music 5 according to the sequence of collocation degree from high to low, then it can preferentially broadcast It puts the music on 1, play in order music 2, music 3, music 4 and music 5 later.Alternatively, when searching the two first above music being adapted to When, the music that above-mentioned mobile terminal shuffle is got can also be triggered.
Optionally, in step 204, above-mentioned mobile terminal playing can be triggered immediately in the music for searching adaptation The music being fitted to, alternatively, if current above-mentioned mobile terminal is playing music, it can also be in currently played music After, trigger the music that above-mentioned mobile terminal playing is fitted to.
Optionally, sustainable to predict above-mentioned mobile terminal and determination when above-mentioned mobile terminal is in music state The rate travel of above-mentioned mobile terminal, if when the secondary mobile route for predicting to obtain and the preceding primary mobile route for predicting to obtain are different It causes or when time determining that the rate travel and preceding once determining rate travel deviation be greater than a deviation threshold, then it can be after It is continuous to execute step 203 and step 205, to guarantee that the music being fitted to can be according to the determination fructufy of prediction result and rate travel Shi Gengxin.
It should be noted that the application describes for simplicity, therefore, it is stated as a series of action combinations, but this Field technical staff should be aware of, and the application is not limited by the described action sequence, because according to the application, Mou Xiebu Suddenly it can carry out using other sequences or simultaneously.For example, in the embodiment of the present application, step 202 can be first carried out and executed again Step 201, alternatively, also may be performed simultaneously step 201 and step 202.The embodiment of the present application method for playing music is applied to Electronic device, the electronic device can be mobile terminal (such as smart phone, MP3, tablet computer or wearable smart machine Deng) itself, or, or independently of mobile terminal and can with mobile terminal progress communication connection electronic device, herein Without limitation.
Therefore the embodiment of the present application passes through the mobile route of prediction mobile terminal and the shifting of determining above-mentioned mobile terminal Dynamic rate, and the music that the music and broadcasting that search is adapted to the mobile route and the rate travel from music libraries are fitted to, It is achieved in the music based on mobile route and rate travel.Due to mobile terminal mobile route usually namely user Mobile route, and rate travel can embody the move mode (such as walking, run, ride, drive or fly) of user, because This can be searched for suitable for user under through the travelling of different move modes, the mobile contexts such as go to work or go home by application scheme The music that the music and broadcasting matched are fitted to based on the preset playlist of user or is manually chosen relative to traditional The scheme that music plays out, application scheme can provide intelligentized music service for user.
The embodiment of the present application provides a kind of electronic device, as shown in figure 3, the electronic device includes:
Path prediction unit 301, for predicting the mobile route of mobile terminal;
Search unit 302, for searching for the music being adapted to above-mentioned mobile route from music libraries;
Trigger unit 303 triggers above-mentioned mobile terminal playing when for searching the music of adaptation when search unit 302 The music of above-mentioned adaptation.
Optionally, path prediction unit 301 is specifically used for: above-mentioned shifting is predicted in the geographical location variation based on mobile terminal The mobile route of dynamic terminal.Alternatively, predicting above-mentioned mobile terminal based on the starting point and destination that input above-mentioned mobile terminal Mobile route.
Optionally, on the basis of embodiment shown in Fig. 3, as shown in figure 4, the electronic device in the embodiment of the present application also wraps It includes:
Rate determination unit 304, for determining the rate travel of the mobile terminal;
Search unit 302 is specifically used for: search is adapted to the mobile route and the rate travel from music libraries Music.
Optionally, on the basis of the embodiment shown in fig. 4, search unit 302 is specifically used for: filtered out from music libraries with The collection of music of the adaptation of move mode corresponding to the rate travel that rate determination unit 304 determines;From above-mentioned collection of music Search for the music being adapted to above-mentioned mobile route.
Optionally, trigger unit 303 is also used to: being adapted to not searching with above-mentioned mobile route and above-mentioned rate travel When music, the broadcasting that above-mentioned mobile terminal continues music according to currently determining music playlist is triggered.
Optionally, trigger unit 303 is specifically used for: when search unit 302 searches the music that two head or more are adapted to, touching Sending out mobile terminal described plays in order the music got according to collocation degree.
It should be noted that the exemplary electronic device of Fig. 3 or Fig. 4 can be (such as smart phone, MP3, flat for mobile terminal Plate computer or wearable smart machine etc.) itself, or, or it can be led to independently of mobile terminal and with mobile terminal The electronic device of connection is interrogated, herein without limitation.
In the embodiment of the present application, the division of each functional module is merely illustrative of, and can according to need in practical application, Such as the convenient of the realization of the configuration requirement or software of corresponding hardware considers, and by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of electronic device is divided into different functional modules, to complete whole described above or portion Divide function.Moreover, in practical applications, the corresponding functional module in the present embodiment can be by corresponding hardware realization, Corresponding software can be executed by corresponding hardware to complete.Each embodiment that this specification provides all can be former using foregoing description Then, it repeats no more below.
The detailed process of the respective function of each Implement of Function Module, refers to above-mentioned side in electronic device provided in this embodiment Particular content described in method embodiment, details are not described herein again.
Therefore the electronic device in the embodiment of the present application is by the mobile route of prediction mobile terminal, and from music The music that the music and broadcasting that search is adapted to the mobile route in library are fitted to, is achieved in the music based on mobile route and broadcasts It puts.Since the mobile route of mobile terminal is usual namely the mobile route of user, it can be user by application scheme In journey, the music of adaptation is searched under the mobile contexts such as go to work or go home and music that broadcasting is fitted to, relative to traditional The scheme that the music chosen based on the preset playlist of user or manually plays out, application scheme can mention for user For intelligentized music service.
Fig. 5 provides a kind of mobile terminal for the embodiment of the present application.The mobile terminal can be used for realizing shown in Fig. 1-a or Fig. 2 Method for playing music in embodiment.As shown in figure 5, the mobile terminal specifically includes that
Memory 501, processor 502 and it is stored in the computer journey that can be run on memory 501 and on processor 502 Sequence when processor 502 executes the computer program, realizes the method for playing music in Fig. 1-a or embodiment illustrated in fig. 2.
Further, the electronic device further include:
At least one input equipment 503 and at least one output equipment 504.
Above-mentioned memory 501, processor 502, input equipment 503 and output equipment 504, are connected by bus 505.
Wherein, input equipment 503 concretely camera, touch panel, physical button or mouse etc..Output equipment 504 concretely display screens.
Memory 501 can be high random access memory body (RAM, Random Access Memory) memory, It can be non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 501 is for storing one Group executable program code, processor 502 are coupled with memory 501.
Therefore the electronic device in the embodiment of the present application is by the mobile route of prediction mobile terminal, and from music The music that the music and broadcasting that search is adapted to the mobile route in library are fitted to, is achieved in the music based on mobile route and broadcasts It puts.Since the mobile route of mobile terminal is usual namely the mobile route of user, it can be user by application scheme In journey, the music of adaptation is searched under the mobile contexts such as go to work or go home and music that broadcasting is fitted to, relative to traditional The scheme that the music chosen based on the preset playlist of user or manually plays out, application scheme can mention for user For intelligentized music service.
Further, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages Medium can be in the electronic device being set in the various embodiments described above, which can be earlier figures 5 Memory in illustrated embodiment.It is stored with computer program on the computer readable storage medium, which is held by processor The method for playing music in Fig. 1-a or embodiment illustrated in fig. 2 is realized when row.Further, the computer can storage medium may be used also To be that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), RAM, magnetic or disk etc. are various can be with Store the medium of program code.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or module Letter connection can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a readable storage medium storing program for executing, including some instructions are used so that a meter It calculates machine equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment the method for the application All or part of the steps.And readable storage medium storing program for executing above-mentioned includes: USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. The various media that can store program code.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are retouching to method for playing music provided herein, electronic device and computer readable storage medium It states, for those skilled in the art, according to the thought of the embodiment of the present application, can in specific embodiments and applications There is change place, to sum up, the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of method for playing music characterized by comprising
Predict the mobile route of mobile terminal;
The music being adapted to the mobile route is searched for from music libraries;
When searching the music of adaptation, the music of adaptation described in the mobile terminal playing is triggered.
2. method for playing music according to claim 1, which is characterized in that the mobile route of the prediction mobile terminal Are as follows:
Geographical location variation based on mobile terminal, predicts the mobile route of the mobile terminal.
3. method for playing music according to claim 1, which is characterized in that the mobile route of the prediction mobile terminal Are as follows:
Based on the starting point and destination for inputting the mobile terminal, the mobile route of the mobile terminal is predicted.
4. method for playing music according to any one of claims 1 to 3, which is characterized in that described to be searched for from music libraries Before the music being adapted to the mobile route further include:
Determine the rate travel of the mobile terminal;
It is described that the music being adapted to the mobile route is searched for from music libraries are as follows: search and the mobile route from music libraries With the music of rate travel adaptation.
5. method for playing music according to claim 4, which is characterized in that the search from music libraries and the movement Route and the rate travel adaptation music include:
The collection of music being adapted to move mode corresponding to the rate travel is filtered out from music libraries;
The music being adapted to the mobile route is searched for from the collection of music.
6. method for playing music according to claim 4, which is characterized in that the search from music libraries and the movement After the music of route and rate travel adaptation further include:
When not searching the music being adapted to the mobile route and the rate travel, the mobile terminal is triggered according to working as The music playlist of preceding determination continues the broadcasting of music.
7. method for playing music according to any one of claims 1 to 3, which is characterized in that described to search adaptation When music, the music of adaptation described in the mobile terminal playing is triggered are as follows:
When searching the music that two head or more are adapted to, triggers the mobile terminal and play in order the sound got according to collocation degree It is happy.
8. a kind of electronic device characterized by comprising
Path prediction unit, for predicting the mobile route of mobile terminal;
Search unit, for searching for the music being adapted to the mobile route from music libraries;
Trigger unit, for triggering and being fitted described in the mobile terminal playing when music of the described search unit searches to adaptation The music matched.
9. a kind of electronic device, comprising: memory, processor and be stored on the memory and can transport on the processor Capable computer program, which is characterized in that when the processor executes the computer program, realize in claim 1 to 7 and appoint Step in one the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, the step in any one the method in claim 1 to 7 is realized.
CN201811121396.XA 2018-09-26 2018-09-26 Method for playing music, electronic device and computer readable storage medium Pending CN109271551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811121396.XA CN109271551A (en) 2018-09-26 2018-09-26 Method for playing music, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811121396.XA CN109271551A (en) 2018-09-26 2018-09-26 Method for playing music, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109271551A true CN109271551A (en) 2019-01-25

Family

ID=65198938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811121396.XA Pending CN109271551A (en) 2018-09-26 2018-09-26 Method for playing music, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109271551A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105702270A (en) * 2014-11-27 2016-06-22 深圳市腾讯计算机系统有限公司 Music playing method and apparatus
CN106844360A (en) * 2015-12-04 2017-06-13 深圳富泰宏精密工业有限公司 Electronic installation and its music playing system and method
US20170270974A1 (en) * 2016-03-21 2017-09-21 Le Holdings (Beijing) Co., Ltd. Method for Controlling Multimedia and Electronic Device
CN108121720A (en) * 2016-11-28 2018-06-05 北京搜狗科技发展有限公司 A kind of resource recommendation method and device
CN108519101A (en) * 2018-03-26 2018-09-11 四川斐讯信息技术有限公司 A kind of movement locus management method and electronic equipment with music markup information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105702270A (en) * 2014-11-27 2016-06-22 深圳市腾讯计算机系统有限公司 Music playing method and apparatus
CN106844360A (en) * 2015-12-04 2017-06-13 深圳富泰宏精密工业有限公司 Electronic installation and its music playing system and method
US20170270974A1 (en) * 2016-03-21 2017-09-21 Le Holdings (Beijing) Co., Ltd. Method for Controlling Multimedia and Electronic Device
CN108121720A (en) * 2016-11-28 2018-06-05 北京搜狗科技发展有限公司 A kind of resource recommendation method and device
CN108519101A (en) * 2018-03-26 2018-09-11 四川斐讯信息技术有限公司 A kind of movement locus management method and electronic equipment with music markup information

Similar Documents

Publication Publication Date Title
US11803564B2 (en) Method and system for keyword search using messaging service
KR101916798B1 (en) Method and system for providing recommendation query using search context
JP6613475B2 (en) Route inquiry method, apparatus, device, and non-volatile computer storage medium
US20190171727A1 (en) Personalized contextual predictive type-ahead query suggestions
WO2017177630A1 (en) Method and device for recommending personalized information
JP2019501466A (en) Method and system for search engine selection and optimization
CN110573837B (en) Navigation method, navigation device, storage medium and server
CN108984157A (en) Technical ability configuration and call method and system for voice dialogue platform
JP2018531379A6 (en) Route inquiry method, apparatus, device, and non-volatile computer storage medium
CN108875090B (en) Song recommendation method, device and storage medium
CN103092962B (en) A kind of method and system issuing internet information
JP7342286B2 (en) Voice function jump method, electronic equipment and storage medium for human-machine interaction
US11849160B2 (en) Image analysis system
CN106790549A (en) A kind of data-updating method and device
CN111737441A (en) Human-computer interaction method, device and medium based on neural network
CN104572953A (en) Method and device for triggering music playing based on search engine result page (SERP)
CN105117383A (en) Search result providing method and apparatus
CN109446415A (en) A kind of application recommendation, acquisition methods and equipment
CN115134670A (en) Multimedia playing method, device, storage medium and program product
CN104572981B (en) A kind of Webpage method for caching and processing and mobile terminal device
CN103457944A (en) Method and device for pushing information and server
CN109271551A (en) Method for playing music, electronic device and computer readable storage medium
CN113190752A (en) Information recommendation method, mobile terminal and storage medium
CN112948621A (en) Podcast recommendation method and device in music application
CN112689153A (en) CDN node recommendation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190125

RJ01 Rejection of invention patent application after publication