CN104599702A - Music playing method - Google Patents

Music playing method Download PDF

Info

Publication number
CN104599702A
CN104599702A CN201410708316.6A CN201410708316A CN104599702A CN 104599702 A CN104599702 A CN 104599702A CN 201410708316 A CN201410708316 A CN 201410708316A CN 104599702 A CN104599702 A CN 104599702A
Authority
CN
China
Prior art keywords
information
music
audio index
index information
terminal
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
Application number
CN201410708316.6A
Other languages
Chinese (zh)
Other versions
CN104599702B (en
Inventor
陈阳
唐冰冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410708316.6A priority Critical patent/CN104599702B/en
Publication of CN104599702A publication Critical patent/CN104599702A/en
Application granted granted Critical
Publication of CN104599702B publication Critical patent/CN104599702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a music playing method which comprises the steps: obtaining current travel information of a terminal user; searching the current travel information, and obtaining music indexing information associated with the current travel information; and playing music corresponding to the music indexing information. By using the music playing method, the corresponding music is played according to the current travel information of the terminal user, so as to improve experience of the terminal user.

Description

A kind of method for playing music
Technical field
The present invention relates to areas of information technology, particularly relate to a kind of method for playing music.
Background technology
In recent years, along with the development of the intelligent terminal such as mobile phone, panel computer, termination function also improves various day by day, and terminal applies becomes increasingly abundant especially.Terminal user applies by terminal downloads, watch video, listen to music, appreciate picture or read books etc.
At present, playing music has been one of important amusement function of intelligent terminal, and existing intelligent terminal can realize the function of music by installing music player software.But current music player software is substantially all to provide the music playlist stored and carries out played in order for terminal user, or carries out shuffle.This causes the music replay rate play high, and broadcast mode is single, Consumer's Experience is not good, and due to user in varied situations may be different to the selection of music, if the music that user need select applicable current mood to listen, user manually need select music, and complex operation is made troubles to user.
Summary of the invention
The embodiment of the present invention provides a kind of method for playing music.The travel information current according to terminal user can play corresponding music, improve end-user experience.
Embodiments provide a kind of method for playing music, comprising:
Obtain the current travel information of terminal user;
Search for described current travel information, obtain the audio index information be associated with described current travel information;
Play the music that described audio index information is corresponding.
Implement the embodiment of the present invention, terminal obtains the current travel information of terminal user, search for according to current travel information, obtain the audio index information be associated with current travel information, and play music corresponding to audio index information, the travel information current according to terminal user can play corresponding music, improve end-user experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of a kind of method for playing music of the present invention;
Fig. 2 is the second embodiment schematic flow sheet of a kind of method for playing music of the present invention;
Fig. 3 is the 3rd embodiment schematic flow sheet of a kind of method for playing music of the present invention;
Fig. 4 is the first example structure figure of a kind of terminal of the present invention;
Fig. 5 is the second example structure figure of a kind of terminal of the present invention;
Fig. 6 is the 3rd example structure figure of a kind of terminal of the present invention;
Fig. 7 is the 4th example structure figure of a kind of terminal of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention mainly can be applicable to the terminal can playing music, comprises the terminal that mobile phone, panel computer or notebook etc. have music playback function.
Referring to Fig. 1, is the first embodiment schematic flow sheet of a kind of method for playing music of the present invention.As shown in Figure 1, a kind of method for playing music described in the present embodiment comprises step:
S100, obtains the current travel information of terminal user.
In embodiments of the present invention, terminal user can the travel information of preset terminal user, such as: terminal user can pass through the travel information of stroke recording application program (as: memorandum application program, calendar applications and intended application program etc.) preset terminal user, terminal user can also pass through the travel information of social network sites (as: Renren Network, microblogging and QQ space etc.) preset terminal user.Travel information can comprise the travel information such as travel time information, location information, event information, people information or mood information that user arranges.
In embodiments of the present invention, terminal obtains the current travel information of terminal user by the travel information read in stroke records application program, further, terminal can also by preset network address, the preset travel information of terminal user is obtained by the social network sites of network entry terminal user, preferably, the multimedia messages such as the Word message that can deliver at social network sites according to terminal user of terminal or pictorial information obtains the travel information such as terminal user current mood information, location information and temporal information.
Concrete, terminal or the preset travel information of social network sites can include but not limited to: temporal information, location information, event information, mood information and people information.When terminal need carry out broadcasting music, terminal can obtain current time, and reads preset travel information by stroke recording application program or social network sites, thus according to current time, obtains current travel information.Such as: terminal user by stroke recording application program or the preset one group of travel information of social network sites is: temporal information is 7:00 ~ 7:30, and location information is family, and event information is for having breakfast, and mood information is joyful, and people information is household; Preset another group travel information of terminal user is: temporal information is 13:00 ~ 15:00, and location information is dining room, and event information is classmate's party, and mood information be glad, and people information is open an xx and Lee xx.If when current time is 13:00, the travel information that terminal can be 13:00 ~ 15:00 place according to current time acquisition time information is current travel information, as: location information is dining room, and event information is classmate's party, mood information is glad, and people information is an xx and Lee xx.Wherein, current travel information can include but not limited to: one or more in current location information, current mood information, current people's information and current event information.
Further preferred, the travel information of terminal record can comprise temporal information, location information and event information, and the preset travel information of social network sites can comprise mood information and people information.When terminal need carry out broadcasting music, terminal can obtain current travel information by the travel information of terminal record and social network sites.Concrete, terminal obtains current travel information according to current time in the travel information of stroke records application program record, as: it can be temporal information be 13:00 ~ 15:00 that terminal can obtain current travel information, and location information is dining room, and event information is classmate's party.Meanwhile, terminal, by the social network sites of preset network address registration terminal user, obtains current travel information according to current time.Preferably, the multimedia messages be associated with current time that the social network sites acquisition terminal user that terminal can log in terminal user delivers, wherein, the multimedia messages be associated with current time can be the nearest multimedia messages of multimedia messages time of delivering and current time interval or many multimedia messagess.When terminal obtains the multimedia messages be associated with current time, terminal can be resolved the multimedia messages obtained, and obtains the travel information such as mood information, people information of terminal user.Such as: the Word message delivered as terminal user is " classmate gets together; an xx has made laughs very much ", terminal can be analyzed and obtain the current mood information of terminal user for the buoyant mood information of the description such as " happiness " or " happily ", and acquisition people information can be an xx.Thus the current travel information of current stroke information acquisition terminal user that terminal can record according to the current travel information of terminal record and social network sites.
In embodiments of the present invention, when terminal does not have preset travel information, terminal by the record of terminal to the daily track of terminal user, can obtain the general travel information of terminal user, thus obtains current travel information according to general travel information.Concrete, terminal can record the operation of terminal user to terminal, such as: terminal can record terminal user at the talk times of each time period and conversation object, terminal can record send short messages number of times and the note object of terminal user in each time period, and terminal can also record terminal at each time period brush webpage number of times etc.; Terminal can also record the Word message of terminal user's input.Such as: terminal can record the p.m.entry etc. of terminal user's input.And then terminal can obtain the highest recorded information of the frequency that occurs in each preset time period according to the daily track of terminal user of above record; and the highest recorded information of the frequency occurred each time period is integrated into the general travel information of terminal user, thus obtain current travel information according to current time and general travel information.Further, when terminal preset has travel information but does not preset current travel information, the travel information that terminal can have terminal preset carries out analyzing and processing, obtain the travel information that the frequency that occurs at current slot is the highest, thus the highest travel information of the frequency that current slot can be occurred is as current travel information.Such as: the travel information that terminal user is prefixed Monday is: location information corresponding when temporal information is 7:00 is family, corresponding event information is for running.The travel information of Tuesday to Thursday comprises: location information corresponding when temporal information is 7:00 is family, and corresponding event information is for having breakfast.Then when to obtain current time be the 7:00 of Friday to terminal, terminal can to obtain the highest travel information of frequency corresponding to the 7:00 of Friday be location information is family according to the travel information of Monday to Thursday, and event information is for having breakfast.
S101, searches for described current travel information, obtains the audio index information be associated with described current travel information.
In embodiments of the present invention, audio index information can comprise: the attribute etc. of the title of music, the label of music and music.Wherein, the label of music can comprise the label for describing music style such as sentiment, campus, youth and peace and quiet, and the attribute of music can comprise the music types such as rock and roll, jazz and piano.Further, described label and music attribute can be undertaken preset by terminal user, or are undertaken preset by music provider.
In embodiments of the present invention, terminal user can the corresponding relation of preset travel information and audio index information, such as: terminal user is when each travel information preset, and terminal user can preset every bar travel information is corresponding simultaneously audio index information.When terminal is after getting current travel information, terminal according to the corresponding relation of preset travel information and audio index information, can obtain the audio index information that current travel information is corresponding.
In embodiments of the present invention, terminal can also according to current travel information, searching in the audio index storehouse stored, when finding the audio index information that associates meaningful with current travel information in audio index storehouse, then obtaining the audio index information that this is associated.Such as: all corresponding audio index information of per song of terminal storage, as, can to be name information be audio index information corresponding to song " deskmate you " " deskmate you ", when current stroke packets of information is drawn together: when people information is deskmate, terminal then can know audio index information " deskmate you " meaningful with current travel information on overlap, the audio index information that audio index information " deskmate you " is associated as current travel information can be judged.
In embodiments of the present invention, current travel information can also be sent to server search by terminal, and the audio index information that is associated meaningful with current travel information that reception server returns.Wherein, server is for providing audio index information and music corresponding to audio index information.Wherein, terminal can at least one server network address preset.
S102, plays the music that described audio index information is corresponding.
In embodiments of the present invention, when terminal gets the audio index information be associated, terminal plays music corresponding to audio index information by putting outside earphone or loudspeaker.
Wherein, when the audio index information be associated is when being stored in terminal, terminal can read music corresponding to audio index information, and plays.Such as: when the audio index information be associated is " deskmate you ", terminal can play music " deskmate you ".
Further, when the audio index information be associated be store on the server time, terminal can to send to server according to the server network address stored and obtain music corresponding to the audio index information that is associated, and the music that reception server returns is play.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, search for according to current travel information, obtain the audio index information be associated with current travel information, and play music corresponding to audio index information, make terminal the travel information current according to terminal user can play corresponding music, thus make terminal can provide the music service of more diversification, improve end-user experience.
Referring to Fig. 2, is the second embodiment schematic flow sheet of a kind of method for playing music of the present invention.As shown in Figure 2, a kind of method for playing music described in the present embodiment comprises step:
S200, obtains the current travel information of terminal user;
S201, extracts described current travel information according to preset key message extracting rule, obtains key message.
In embodiments of the present invention, preset key message extracting rule can be: terminal can preset key message, when have in current travel information comprise preset key message time, then the key message included by extracting.Such as: preset key message comprises: the key message such as " happily ", " campus ", " friend ", the current mood information of drawing together when current stroke packets of information is happy happiness, current location information is dining room, current people information is friend classmate, current event information is party, then terminal can according to the content of preset key message and current travel information, carry out extraction key message to current travel information, extracting the key message obtained can comprise: " happily " and " friend ".Further, terminal can also be screened the content of current travel information, then the key message included by extracting.As, terminal can carry out extraction key message to the event information in current travel information, obtains key message; Terminal can also be searched for the content of current travel information, then the key message included by extracting.As, if terminal preset key message comprises " classmate ", when the content of current travel information comprise meet with Lee xx time, terminal can be searched for Lee xx, if when the relation obtaining Lee xx and terminal user is classmate's relation, terminal can obtain key message and comprise " classmate ".
In embodiments of the present invention, preset key message extracting rule can also be: terminal can preset key message, and distribute for each key message the key message be associated, when have in current travel information comprise preset key message time, then extract the key message that key message that included key message and acquisition extract is associated.As, preset key message comprises: " classmate " and " spending a holiday ", and wherein, the key message be associated of " happily " can comprise: " youth ", " sentiment ", and the key message be associated of " spending a holiday " can comprise: " cheerful and light-hearted ", " easily ".The current mood information of drawing together when current stroke packets of information is happy happiness, current location information is dining room, current people information is friend classmate, current event information is party, then terminal can according to the content of the key message be associated of preset key message, key message and current travel information, extraction key message is carried out to current travel information, obtain key message, wherein key message can comprise: " classmate ", " youth " and " sentiment ".
Further, terminal can also be screened the content of current travel information, then the key message that key message included by extracting and key message are associated.As, terminal can carry out extraction key message to the event information in current travel information, the key message that acquisition key message and key message are associated; Terminal can also be searched for the content of current travel information, then key message included by extracting and the key message that is associated.As, if terminal preset key message comprises " classmate " and the key message " youth " be associated and " sentiment ", when the content of current travel information comprise meet with Lee xx time, terminal can be searched for Lee xx, if when the relation obtaining Lee xx and terminal user is classmate's relation, terminal can obtain key message and comprise " classmate ", " youth " and " sentiment ".
In embodiments of the present invention, preset key message extracting rule can also be: terminal can the corresponding relation of preset content field and key message, when current stroke packets of information draws together preset content field, terminal according to the corresponding relation of preset content field and key message, can obtain the key message corresponding to current travel information.
S202, searches for described key message, obtains the audio index information be associated with described key message.
In embodiments of the present invention, travel through the audio index information that is associated with key message in the music libraries that terminal can store in this locality, the music libraries of local storage can comprise audio index information and music corresponding to audio index information.Wherein, the audio index information be associated can comprise the audio index information carrying key message.Such as: when key message comprises " happiness " and " happily ", then terminal can travel through the audio index information be associated with " happiness " or " happily " key message in music libraries, as terminal can search out the audio index information that musical designation includes " happiness ", or music label includes the audio index information of " happily ".
In embodiments of the present invention, terminal can also send to server and obtain the described key message request of search, the audio index information returning key message to make server response request and be associated, wherein, this server can be the Website server for providing audio index information and music corresponding to audio index information, as: Baidu's music, KuGoo music etc.When terminal to server puts request, notification server is searched for key message, and obtains Search Results.After server receives the request that terminal sends over, in the musical database of server, carry out search key message, and Search Results is returned to terminal.Wherein, terminal can preset station address.
S204, plays the music that described audio index information is corresponding.
In embodiments of the present invention, when the audio index information that terminal obtains is the local audio index information stored, obtains music corresponding to audio index information in the music libraries that terminal can store in this locality and play; When terminal obtain audio index information be website return audio index information time, terminal can send to server and obtain request for music corresponding to audio index information, and the music that the audio index information that returns of reception server response request is corresponding, and play.
Wherein, the embodiment of step S200 and step S204 see the specific implementation method of the step S100 of above embodiment and step S102, no longer can repeat at this.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, search for according to current travel information, obtain the audio index information be associated with current travel information, and play music corresponding to audio index information, make terminal the travel information current according to terminal user can play corresponding music, thus make terminal can provide the music service of more diversification, improve end-user experience.
Referring to Fig. 3, is the 3rd embodiment schematic flow sheet of a kind of method for playing music of the present invention.As shown in Figure 3, a kind of method for playing music described in the present embodiment comprises step:
S300, obtains the broadcast information of music corresponding to described audio index information, carries out distribution play priority according to described broadcast information to described audio index information.
In embodiments of the present invention, broadcast information can comprise the replay times of music, the switching times of music, the point of music are praised in the collection number of times of number of times and music one or more.Namely can be that, within preset certain period, terminal the point of the replay times of recording musical and/or the switching times of music and/or music can praise number of times.Wherein, the replay times of terminal recording musical can be: when complete one time of music, and terminal can to the replay times increase of the music of record once; The switching times of terminal recording musical can be: when when music, and when monitoring the operational order of the switching music of terminal user's input, terminal can to the switching times increase of the music of record once; The point of terminal recording musical is praised number of times and can is: when when music, monitor terminal user input point praise operational order time, terminal can to record point praise number of times increase once; The collection number of times of terminal recording musical can be: when when music, and when the operational order of the collection that terminal user inputs being detected, terminal can to the collection number of times increase of record once.
In embodiments of the present invention, terminal according to the replay times of music corresponding to audio index information, can be carried out distribution to audio index information and plays priority.As, when the replay times of music is more than or equal to first threshold, terminal can play priority to audio index information distribution second, when the replay times of music is less than first threshold, and when being more than or equal to Second Threshold, terminal can play priority to audio index information distribution first, and wherein, first plays priority is less than the second broadcasting priority.Terminal according to the switching times of music corresponding to audio index information, can be carried out distribution to audio index information and plays priority.As: when the switching times of music is more than or equal to the 3rd threshold value, terminal can play priority to audio index information distribution the 3rd, when the switching times of music is less than the 3rd threshold value, and when being more than or equal to the 4th threshold value, terminal can play priority to audio index information distribution the 4th, wherein, the 3rd broadcasting priority is less than the 4th broadcasting priority.Terminal can also praise number of times according to point and collection number of times carries out distribution broadcasting priority.
Further, one or more parameters that terminal can also be praised in the collection number of times of number of times and music according to the point of the switching times of the replay times of music, music, music carry out overall treatment analysis, carry out distribution play priority to audio index information.
Concrete, the embodiment that terminal carries out overall treatment analysis according to the replay times of music, the switching times of music, the point of music one or more parameters of praising in the collection number of times of number of times and music includes but not limited to following described embodiment: terminal can carry out overall treatment analysis according to two kinds of parameters, carries out distributions broadcasting priority to audio index information.As, terminal can carry out distribution broadcasting priority according to the switching times of the replay times of music and music to audio index information.Such as: terminal can arrange when the switching times of music is greater than the replay times of music, terminal can play priority to audio index information distribution first, when the switching times of music is less than or equal to the replay times of music, terminal can play priority to audio index information distribution second, when the switching times of music is less than first threshold, and the broadcasting time of music is when being greater than Second Threshold, terminal can play priority to audio index information distribution the 3rd, wherein, first plays priority is less than the second broadcasting priority, second plays priority is less than the 3rd broadcasting priority.
Further, the collection number of times that terminal can praise number of times and music according to the point of music carries out distribution to audio index information and plays priority, such as: the terminal point that can arrange when music praises number of times when being greater than the collection number of times of music, terminal can play priority to audio index information distribution first, when the point of music praise number of times be less than or equal to the collection number of times of music time, terminal can play priority to audio index information distribution second, wherein, the first broadcasting priority is less than the second broadcasting priority; Terminal can also be praised number of times according to the point of the switching times of music and music and be carried out distribution to audio index information and play priority, such as: when the point that the terminal switching times that can arrange when music is greater than music praises number of times, terminal can play priority to audio index information distribution first, when the point that the switching times of music is less than or equal to music praises number of times, terminal can play priority to audio index information distribution second, wherein, the first broadcasting priority is less than the second broadcasting priority; Terminal can also carry out distribution broadcasting priority according to the collection number of times of the switching times of music and music to audio index information, such as: terminal can arrange when the switching times of music is greater than the collection number of times of music, terminal can play priority to audio index information distribution first, when the switching times of music is less than or equal to the collection number of times of music, terminal can play priority to audio index information distribution second, wherein, the first broadcasting priority is less than the second broadcasting priority.
Concrete, terminal can carry out overall treatment analysis according to three kinds of parameters, carries out distribution play priority to audio index information.Number of times can be praised according to the point of the switching times of the replay times of music, music and music as, terminal to carry out distribution to audio index information and play priority.Such as: the terminal switching times that can arrange when music is greater than the replay times of music, and the point being greater than music is when praising number of times, terminal can play priority to audio index information distribution first, when the switching times of music is less than or equal to the replay times of music, and the point being greater than music is when praising number of times, terminal can play priority to audio index information distribution second, when the switching times of music is less than or equal to the replay times of music, and the point being less than or equal to music is when praising number of times, terminal can play priority to audio index information distribution the 3rd, when the switching times of music is less than or equal to the replay times of music, and the point being less than or equal to music is when praising number of times, and the broadcasting time of music is when being greater than threshold value, terminal can play priority to audio index information distribution the 4th, wherein, first plays priority is less than the second broadcasting priority, second plays priority is less than the 3rd broadcasting priority, 3rd plays priority is less than the 4th broadcasting priority.
Concrete, terminal can carry out overall treatment analysis according to whole parameter, carries out distribution play priority to audio index information.As, the terminal switching times that can arrange when music is greater than the replay times of music, and the point being greater than music praises number of times, and when being greater than the collection number of times of music, terminal can play priority to audio index information distribution first; When the switching times of music is less than or equal to the replay times of music, and the point being greater than music praises number of times, and when being greater than the collection number of times of music, terminal can play priority to audio index information distribution second; When the switching times of music is less than or equal to the replay times of music, and the point being less than or equal to music praises number of times, and when being greater than the collection number of times of music, terminal can play priority to audio index information distribution the 3rd; When the switching times of music is less than or equal to the replay times of music, and the point being less than or equal to music praises number of times, and when being less than or equal to the collection number of times of music, terminal can play priority to audio index information distribution the 4th, wherein, first plays priority is less than the second broadcasting priority, and second plays priority is less than the 3rd broadcasting priority, and the 3rd plays priority is less than the 4th broadcasting priority.
S301, obtains the current travel information of terminal user.
S302, searches for described current travel information, obtains the audio index information be associated with described current travel information.
S303, generates music list according to described audio index information.
In embodiments of the present invention, music list can comprise the audio index information be associated that terminal obtains, or the musical designation in the audio index information be associated.The audio index information of acquisition can arrange by preset order by terminal, generates music list, and wherein, preset order can be obtain the initial order in the sequencing of audio index information or audio index information.Terminal user can be managed music list by this playlist, such as: carry out deletion music or add music.
S304, according to the broadcasting priority of described audio index information, plays by preset broadcasting prioritized list the music that in described music list, music index information is corresponding.
In embodiments of the present invention, preset broadcasting prioritized list can comprise the first broadcasting priority, second and play priority, the 3rd broadcasting priority ... n-th plays priority, first plays priority is less than the second broadcasting priority, second plays priority is less than the 3rd broadcasting priority ... (n-1)th plays priority is less than the n-th broadcasting priority, wherein, the broadcasting priority of each grade can use numeral, or letter represents.Such as: first plays priority, second plays priority, the 3rd broadcasting priority ... n-th plays priority correspondence can be expressed as 1,2,3 ... n, or, a, b, c ..., concrete corresponding relation can be arranged by developer.When broadcasting prioritized list correspondence is expressed as 1,2,3 ... during n, the portable broadcasting priority of audio index information can be 1,2,3 ... one in n plays priority.
In embodiments of the present invention, terminal can read the broadcasting priority of the audio index information of music list terminal, then plays by the music that above-described prioritized list is corresponding to audio index information.Further, when occurring the audio index information of carrying the same broadcasting priority in music list, can carry out playing music corresponding to audio index information according to the precedence relationship of music list sequence.
In embody rule, can one be seen table:
Table one
Audio index information Play priority
A 10
B 5
C 2
D 8
E 3
F 10
G 1
H 4
I 8
A ~ the I of upper table refers to the audio index information in music list, when broadcasting prioritized list sorts according to the order of sequence from 1 ~ 10, play priority-level when increasing progressively successively, we can obtain from table play priority-level the highest be audio index information A.Playing sequence is successively: audio index information A, audio index information F, audio index information D, audio index information I, audio index information B, audio index information H, audio index information E, audio index information C, audio index information G.
Wherein, the embodiment of step S304 also can see the embodiment of the step S102 in above-described embodiment, the embodiment of step S301 and step 302 see the embodiment of the step S100 in above-described embodiment and S101, no longer can repeat at this.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, search for according to current travel information, obtain the audio index information be associated with current travel information, and play music corresponding to audio index information, make terminal the travel information current according to terminal user can play corresponding music, thus make terminal can provide the music service of more diversification, improve end-user experience.
See Fig. 4, it is the first example structure schematic diagram of a kind of terminal of the embodiment of the present invention.Terminal described in the present embodiment, comprising:
First acquiring unit 100, for obtaining the current travel information of terminal user.
The first search unit 200 be connected with the first acquiring unit 100, for searching for described current travel information, obtains the audio index information be associated with described current travel information.
The broadcast unit 300 be connected with the first search unit 200, for playing music corresponding to described audio index information.
In embodiments of the present invention, terminal user can the travel information of preset terminal user, such as: terminal user can pass through the travel information of stroke recording application program (as: memorandum application program, calendar applications and intended application program etc.) preset terminal user, terminal user can also pass through the travel information of social network sites (as: Renren Network, microblogging and QQ space etc.) preset terminal user.Travel information can comprise the travel information such as travel time information, location information, event information, people information or mood information that user arranges.
In embodiments of the present invention, first acquiring unit 100 obtains the current travel information of terminal user by the travel information read in stroke records application program, further, first acquiring unit 100 can also by preset network address, the preset travel information of terminal user is obtained by the social network sites of network entry terminal user, preferably, the multimedia messages such as the Word message that can deliver at social network sites according to terminal user of the first acquiring unit 100 or pictorial information obtains the travel information such as terminal user current mood information, location information and temporal information.
Concrete, terminal or the preset travel information of social network sites can include but not limited to: temporal information, location information, event information, mood information and people information.When terminal need carry out broadcasting music, the first acquiring unit 100 can obtain current time, and reads preset travel information by stroke recording application program or social network sites, thus according to current time, obtains current travel information.Such as: terminal user by stroke recording application program or the preset one group of travel information of social network sites is: temporal information is 7:00 ~ 7:30, and location information is family, and event information is for having breakfast, and mood information is joyful, and people information is household; Preset another group travel information of terminal user is: temporal information is 13:00 ~ 15:00, and location information is dining room, and event information is classmate's party, and mood information be glad, and people information is open an xx and Lee xx.If when current time is 13:00, the travel information that first acquiring unit 100 can be 13:00 ~ 15:00 place according to current time acquisition time information is current travel information, as: location information is dining room, and event information is classmate's party, mood information is glad, and people information is an xx and Lee xx.Wherein, current travel information can include but not limited to: one or more in temporal information, current location information, current mood information, current people's information and current event information.
Further preferred, the travel information of terminal record can comprise temporal information, location information and event information, and the preset travel information of social network sites can comprise mood information and people information.When terminal need carry out broadcasting music, the first acquiring unit 100 can obtain current travel information by the travel information of terminal record and social network sites.Concrete, first acquiring unit 100 obtains current travel information according to current time in the travel information of stroke records application program record, as: it can be temporal information be 13:00 ~ 15:00 that the first acquiring unit 100 can obtain current travel information, location information is dining room, and event information is classmate's party.Meanwhile, the first acquiring unit 100, by the social network sites of preset network address registration terminal user, obtains current travel information according to current time.Preferably, the multimedia messages be associated with current time that the social network sites acquisition terminal user that first acquiring unit 100 can log in terminal user delivers, wherein, the multimedia messages be associated with current time can be the nearest multimedia messages of multimedia messages time of delivering and current time interval or many multimedia messagess.When the first acquiring unit 100 obtains the multimedia messages be associated with current time, the first acquiring unit 100 can be resolved the multimedia messages obtained, and obtains the travel information such as mood information, people information of terminal user.Such as: the Word message delivered as terminal user is " classmate gets together; an xx has made laughs very much ", first acquiring unit 100 can be analyzed and obtain the current mood information of terminal user for the buoyant mood information of the description such as " happiness " or " happily ", and acquisition people information can be an xx.Thus the current travel information of current stroke information acquisition terminal user that the first acquiring unit 100 can record according to the current travel information of terminal record and social network sites.
In embodiments of the present invention, when terminal does not have preset travel information, first acquiring unit 100 by the record of terminal to the daily track of terminal user, can obtain the general travel information of terminal user, thus the first acquiring unit 100 obtains current travel information according to general travel information.Concrete, terminal can record the operation of terminal user to terminal, such as: terminal can record terminal user at the talk times of each time period and conversation object, terminal can record send short messages number of times and the note object of terminal user in each time period, and terminal can also record terminal at each time period brush webpage number of times etc.; Terminal can also record the Word message of terminal user's input.Such as: terminal can record the p.m.entry etc. of terminal user's input.And then first acquiring unit 100 can obtain the highest recorded information of the frequency that occurs in each preset time period according to the daily track of terminal user of above record; and the highest recorded information of the frequency occurred each time period is integrated into the general travel information of terminal user, thus the first acquiring unit 100 obtains current travel information according to current time and general travel information.Further, when terminal preset has travel information but does not preset current travel information, the travel information that first acquiring unit 100 can have terminal preset carries out analyzing and processing, obtain the travel information that the frequency that occurs at current slot is the highest, thus the highest travel information of the frequency that current slot can be occurred is as current travel information.Such as: the travel information that terminal user is prefixed Monday is: location information corresponding when temporal information is 7:00 is family, corresponding event information is for running.The travel information of Tuesday to Thursday comprises: location information corresponding when temporal information is 7:00 is family, and corresponding event information is for having breakfast.Then when to obtain current time be the 7:00 of Friday to the first acquiring unit 100, first acquiring unit 100 can to obtain the highest travel information of frequency corresponding to the 7:00 of Friday be location information is family according to the travel information of Monday to Thursday, and event information is for having breakfast.
In embodiments of the present invention, audio index information can comprise: the attribute etc. of the title of music, the label of music and music.Wherein, the label of music can comprise the label for describing music style such as sentiment, campus, youth and peace and quiet, and the attribute of music can comprise the music types such as rock and roll, jazz and piano.Further, described label and music attribute can be undertaken preset by terminal user, or are undertaken preset by music provider.
In embodiments of the present invention, terminal user can the corresponding relation of preset travel information and audio index information, such as: terminal user is when each travel information preset, and terminal user can preset every bar travel information is corresponding simultaneously audio index information.When the first acquiring unit 100 is after getting current travel information, the first search unit 200 according to the corresponding relation of preset travel information and audio index information, can obtain the audio index information that current travel information is corresponding.
In embodiments of the present invention, first search unit 200 can also according to current travel information, searching in the audio index storehouse stored, when finding the audio index information that associates meaningful with current travel information in audio index storehouse, then obtaining the audio index information that this is associated.Such as: all corresponding audio index information of per song of terminal storage, as, can to be name information be audio index information corresponding to song " deskmate you " " deskmate you ", when current stroke packets of information is drawn together: when people information is deskmate, terminal then can know audio index information " deskmate you " meaningful with current travel information on overlap, the audio index information that audio index information " deskmate you " is associated as current travel information can be judged.
In embodiments of the present invention, current travel information can also be sent to server search by the first search unit 200, and the audio index information that is associated meaningful with current travel information that reception server returns.Wherein, server is for providing audio index information and music corresponding to audio index information.Wherein, terminal can at least one server network address preset.
In embodiments of the present invention, when the first search unit 200 gets the audio index information be associated, broadcast unit 300 plays music corresponding to audio index information by putting outside earphone or loudspeaker.
Wherein, when the audio index information be associated is when being stored in terminal, broadcast unit 300 can read music corresponding to audio index information, and plays.Such as: when the audio index information be associated is " deskmate you ", terminal can play music " deskmate you ".
Further, when the audio index information be associated be store on the server time, broadcast unit 300 can to send to server according to the server network address stored and obtain music corresponding to the audio index information that is associated, and the music that reception server returns is play.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, search for according to current travel information, obtain the audio index information be associated with current travel information, and play music corresponding to audio index information, make terminal the travel information current according to terminal user can play corresponding music, thus make terminal can provide the music service of more diversification, improve end-user experience.
See Fig. 5, it is the second example structure schematic diagram of a kind of terminal of the embodiment of the present invention.Terminal described in the present embodiment, comprising:
First acquiring unit 400, for obtaining the current travel information of terminal user.
The first search unit 500 be connected with the first acquiring unit 400, for searching for described current travel information, obtains the audio index information be associated with described current travel information.
The broadcast unit 600 be connected with the first search unit 500, for playing music corresponding to described audio index information.
Wherein, described current stroke packets of information is drawn together: one or more in temporal information, current location information, current mood information, current people's information and current event information.
Wherein, described first search unit 500 specifically for:
According to preset key message extracting rule, described current travel information is extracted, obtain key message;
Search for described key message, obtain the audio index information be associated with described key message.
Wherein, described first search unit 500 specifically for:
According to the key message preset and the corresponding relation of audio index information, obtain the audio index information that described key message is associated.
Wherein, described first search unit 500 specifically for:
First transmitting element, for sending the described key message request of search to server, wherein said server is for providing audio index information and music corresponding to audio index information;
First receiving element, for the audio index information that the described key message that returns of reception server response described request is associated.
Wherein, described broadcast unit 600 specifically for:
Send to server and obtain request for music corresponding to described audio index information;
The music that the described audio index information that reception server response described request returns is corresponding, and play described music.
In embodiments of the present invention, preset key message extracting rule can be: terminal can preset key message, when have in current travel information comprise preset key message time, the key message included by the first search unit 500 extracts.Such as: preset key message comprises: the key message such as " happily ", " campus ", " friend ", the current mood information of drawing together when current stroke packets of information is happy happiness, current location information is dining room, current people information is friend classmate, current event information is party, then the first search unit 500 can according to the content of preset key message and current travel information, carry out extraction key message to current travel information, extracting the key message obtained can comprise: " happily " and " friend ".Further, the first search unit 500 can also screen the content of current travel information, then the key message included by extracting.As, the first search unit 500 can carry out extraction key message to the event information in current travel information, obtains key message; First search unit 500 can also be searched for the content of current travel information, then the key message included by extracting.As, if terminal preset key message comprises " classmate ", when the content of current travel information comprise meet with Lee xx time, the first search unit 500 can be searched for Lee xx, if when the relation obtaining Lee xx and terminal user is classmate's relation, terminal can obtain key message and comprise " classmate ".
In embodiments of the present invention, preset key message extracting rule can also be: terminal can preset key message, and distribute for each key message the key message be associated, when have in current travel information comprise preset key message time, the first search unit 500 extracts the key message that key message that included key message and acquisition extract is associated.As, preset key message comprises: " classmate " and " spending a holiday ", and wherein, the key message be associated of " happily " can comprise: " youth ", " sentiment ", and the key message be associated of " spending a holiday " can comprise: " cheerful and light-hearted ", " easily ".The current mood information of drawing together when current stroke packets of information is happy happiness, current location information is dining room, current people information is friend classmate, current event information is party, then the first search unit 500 can according to the content of the key message be associated of preset key message, key message and current travel information, extraction key message is carried out to current travel information, obtain key message, wherein key message can comprise: " classmate ", " youth " and " sentiment ".Further, the first search unit 500 can also screen the content of current travel information, then the key message that key message included by extracting and key message are associated.As, the first search unit 500 can carry out extraction key message to the event information in current travel information, the key message that acquisition key message and key message are associated; First search unit 500 can also be searched for the content of current travel information, then key message included by extracting and the key message that is associated.As, if terminal preset key message comprises " classmate " and the key message " youth " be associated and " sentiment ", when the content of current travel information comprise meet with Lee xx time, first search unit 500 can be searched for Lee xx, if when the relation obtaining Lee xx and terminal user is classmate's relation, the first search unit 500 can obtain key message and comprise " classmate ", " youth " and " sentiment ".
In embodiments of the present invention, preset key message extracting rule can also be: terminal can the corresponding relation of preset content field and key message, when current stroke packets of information draws together preset content field, first search unit 500 according to the corresponding relation of preset content field and key message, can obtain the key message corresponding to current travel information.
In embodiments of the present invention, travel through the audio index information that is associated with key message in the music libraries that the first search unit 500 can store in this locality, the music libraries of local storage can comprise audio index information and music corresponding to audio index information.Wherein, the audio index information be associated can comprise the audio index information carrying key message.Such as: when key message comprises " happiness " and " happily ", then the first search unit 500 can travel through the audio index information be associated with " happiness " or " happily " key message in music libraries, as the first search unit 500 can search out the audio index information that musical designation includes " happiness ", or music label includes the audio index information of " happily ".
In embodiments of the present invention, first search unit 500 can also send to server and obtain the described key message request of search, the audio index information returning key message to make server response request and be associated, wherein, this server can be the Website server for providing audio index information and music corresponding to audio index information, as: Baidu's music, KuGoo music etc.When first search unit 500 puts request to server, notification server is searched for key message, and obtains Search Results.After server receives the request that the first search unit 500 sends over, in the musical database of server, carry out search key message, and Search Results is returned to terminal.Wherein, terminal can preset station address.
In embodiments of the present invention, when the audio index information that terminal obtains is the local audio index information stored, obtains music corresponding to audio index information in the music libraries that broadcast unit 600 can store in this locality and play; When broadcast unit 600 obtain audio index information be website return audio index information time, terminal can send to server and obtain request for music corresponding to audio index information, and the music that the audio index information that returns of reception server response request is corresponding, and play.
Wherein, be understandable that, the function of each functional module of the present embodiment also according to the associated description with reference to above-described embodiment, no longer can repeat herein.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, search for according to current travel information, obtain the audio index information be associated with current travel information, and play music corresponding to audio index information, make terminal the travel information current according to terminal user can play corresponding music, thus make terminal can provide the music service of more diversification, improve end-user experience.
See Fig. 6, it is the 3rd example structure schematic diagram of a kind of terminal of the embodiment of the present invention.Terminal described in the present embodiment, comprising:
Obtain allocation units 10, for obtaining the broadcast information of music corresponding to described audio index information, according to described broadcast information, distribution being carried out to described audio index information and playing priority.
First acquiring unit 20, for obtaining the current travel information of terminal user.
The first search unit 30 be connected with acquisition allocation units 10 and the first acquiring unit 20 respectively, for searching for described current travel information, obtains the audio index information be associated with described current travel information.
The generation unit 40 be connected with the first search unit 30, for generating music list according to described audio index information.
The broadcast unit 50 be connected with the first search unit 30, for playing music corresponding to described audio index information.
In embodiments of the present invention, broadcast information can comprise the replay times of music, the switching times of music, the point of music are praised in the collection number of times of number of times and music one or more.Namely can be that, within preset certain period, terminal the point of the replay times of recording musical and/or the switching times of music and/or music can praise number of times.Wherein, the replay times of terminal recording musical can be: when complete one time of music, and terminal can to the replay times increase of the music of record once; The switching times of terminal recording musical can be: when when music, and when monitoring the operational order of the switching music of terminal user's input, terminal can to the switching times increase of the music of record once; The point of terminal recording musical is praised number of times and can is: when when music, monitor terminal user input point praise operational order time, terminal can to record point praise number of times increase once; The collection number of times of terminal recording musical can be: when when music, and when the operational order of the collection that terminal user inputs being detected, terminal can to the collection number of times increase of record once.
In embodiments of the present invention, obtain allocation units 10 and according to the replay times of music corresponding to audio index information, distributions broadcasting priority can be carried out to audio index information.As, when the replay times of music is more than or equal to first threshold, obtain allocation units 10 and can play priority to audio index information distribution second, when the replay times of music is less than first threshold, and when being more than or equal to Second Threshold, obtain allocation units 10 and can play priority to audio index information distribution first, wherein, first plays priority is less than the second broadcasting priority.Obtain allocation units 10 and according to the switching times of music corresponding to audio index information, distributions broadcasting priority can be carried out to audio index information.As: when the switching times of music is more than or equal to the 3rd threshold value, obtain allocation units 10 and can play priority to audio index information distribution the 3rd, when the switching times of music is less than the 3rd threshold value, and when being more than or equal to the 4th threshold value, obtain allocation units 10 and can play priority to audio index information distribution the 4th, wherein, the 3rd broadcasting priority is less than the 4th broadcasting priority.Acquisition allocation units 10 can also praise number of times according to point and collection number of times carries out distribution broadcasting priority.
Further, one or more parameters that acquisition allocation units 10 can also be praised in the collection number of times of number of times and music according to the point of the switching times of the replay times of music, music, music carry out overall treatment analysis, carry out distribution play priority to audio index information.
Concrete, obtain the embodiment that allocation units 10 carry out overall treatment analysis according to the replay times of music, the switching times of music, the point of music one or more parameters of praising in the collection number of times of number of times and music and include but not limited to following described embodiment: obtaining allocation units 10 can carry out overall treatment analysis according to two kinds of parameters, carries out distributions broadcasting priority to audio index information.As, obtaining allocation units 10 can carry out distribution broadcasting priority according to the switching times of the replay times of music and music to audio index information.Such as: terminal can arrange when the switching times of music is greater than the replay times of music, obtain allocation units 10 and can play priority to audio index information distribution first, when the switching times of music is less than or equal to the replay times of music, obtain allocation units 10 and can play priority to audio index information distribution second, when the switching times of music is less than first threshold, and the broadcasting time of music is when being greater than Second Threshold, obtain allocation units 10 and can play priority to audio index information distribution the 3rd, wherein, first plays priority is less than the second broadcasting priority, second plays priority is less than the 3rd broadcasting priority.
Further, obtain the collection number of times that allocation units 10 can praise number of times and music according to the point of music and distributions broadcasting priority is carried out to audio index information, such as: the terminal point that can arrange when music praises number of times when being greater than the collection number of times of music, obtain allocation units 10 and can play priority to audio index information distribution first, when the point of music praise number of times be less than or equal to the collection number of times of music time, obtain allocation units 10 and can play priority to audio index information distribution second, wherein, the first broadcasting priority is less than the second broadcasting priority; Obtain allocation units 10 to praise number of times according to the point of the switching times of music and music and carry out distributions broadcasting priority to audio index information, such as: when the point that the terminal switching times that can arrange when music is greater than music praises number of times, obtain allocation units 10 and can play priority to audio index information distribution first, when the point that the switching times of music is less than or equal to music praises number of times, obtain allocation units 10 and can play priority to audio index information distribution second, wherein, the first broadcasting priority is less than the second broadcasting priority; Obtain allocation units 10 and can also carry out distribution broadcasting priority according to the collection number of times of the switching times of music and music to audio index information, such as: terminal can arrange when the switching times of music is greater than the collection number of times of music, obtain allocation units 10 and can play priority to audio index information distribution first, when the switching times of music is less than or equal to the collection number of times of music, obtain allocation units 10 and can play priority to audio index information distribution second, wherein, the first broadcasting priority is less than the second broadcasting priority.
Concrete, obtaining allocation units 10 can carry out overall treatment analysis according to three kinds of parameters, carries out distribution play priority to audio index information.As, obtain allocation units 10 and can praise number of times according to the point of the switching times of the replay times of music, music and music distributions broadcasting priority is carried out to audio index information.Such as: the terminal switching times that can arrange when music is greater than the replay times of music, and the point being greater than music is when praising number of times, obtain allocation units 10 and can play priority to audio index information distribution first, when the switching times of music is less than or equal to the replay times of music, and the point being greater than music is when praising number of times, obtain allocation units 10 and can play priority to audio index information distribution second, when the switching times of music is less than or equal to the replay times of music, and the point being less than or equal to music is when praising number of times, obtain allocation units 10 and can play priority to audio index information distribution the 3rd, when the switching times of music is less than or equal to the replay times of music, and the point being less than or equal to music is when praising number of times, and the broadcasting time of music is when being greater than threshold value, obtain allocation units 10 and can play priority to audio index information distribution the 4th, wherein, first plays priority is less than the second broadcasting priority, second plays priority is less than the 3rd broadcasting priority, 3rd plays priority is less than the 4th broadcasting priority.
Concrete, obtaining allocation units 10 can carry out overall treatment analysis according to whole parameter, carries out distribution play priority to audio index information.As, the terminal switching times that can arrange when music is greater than the replay times of music, and the point being greater than music praises number of times, and when being greater than the collection number of times of music, obtaining allocation units 10 and can play priority to audio index information distribution first; When the switching times of music is less than or equal to the replay times of music, and the point being greater than music praises number of times, and when being greater than the collection number of times of music, obtaining allocation units 10 and can play priority to audio index information distribution second; When the switching times of music is less than or equal to the replay times of music, and the point being less than or equal to music praises number of times, and when being greater than the collection number of times of music, obtaining allocation units 10 and can play priority to audio index information distribution the 3rd; When the switching times of music is less than or equal to the replay times of music, and the point being less than or equal to music praises number of times, and when being less than or equal to the collection number of times of music, obtain allocation units 10 and can play priority to audio index information distribution the 4th, wherein, first plays priority is less than the second broadcasting priority, and second plays priority is less than the 3rd broadcasting priority, and the 3rd plays priority is less than the 4th broadcasting priority.
In embodiments of the present invention, music list can comprise the audio index information be associated that terminal obtains, or the musical designation in the audio index information be associated.The audio index information of acquisition can arrange by preset order by generation unit 40, generates music list, and wherein, preset order can be obtain the initial order in the sequencing of audio index information or audio index information.Terminal user can be managed music list by this playlist, such as: carry out deletion music or add music.
In embodiments of the present invention, preset broadcasting prioritized list can comprise the first broadcasting priority, second and play priority, the 3rd broadcasting priority ... n-th plays priority, first plays priority is less than the second broadcasting priority, second plays priority is less than the 3rd broadcasting priority ... (n-1)th plays priority is less than the n-th broadcasting priority, wherein, the broadcasting priority of each grade can use numeral, or letter represents.Such as: first plays priority, second plays priority, the 3rd broadcasting priority ... n-th plays priority correspondence can be expressed as 1,2,3 ... n, or, a, b, c ..., concrete corresponding relation can be arranged by developer.When broadcasting prioritized list correspondence is expressed as 1,2,3 ... during n, the portable broadcasting priority of audio index information can be 1,2,3 ... one in n plays priority.
In embodiments of the present invention, broadcast unit 50 can read the broadcasting priority of the audio index information of music list terminal, then plays by the music that above-described prioritized list is corresponding to audio index information.Further, when occurring the audio index information of carrying the same broadcasting priority in music list, broadcast unit 50 can carry out playing music corresponding to audio index information according to the precedence relationship of music list sequence.
In embody rule, can one be seen table:
Table one
Audio index information Play priority
A 10
B 5
C 2
D 8
E 3
F 10
G 1
H 4
I 8
A ~ the I of upper table refers to the audio index information in music list, when broadcasting prioritized list sorts according to the order of sequence from 1 ~ 10, play priority-level when increasing progressively successively, broadcast unit 50 can obtain from table play priority-level the highest be audio index information A.Broadcast unit 50 obtain playing sequence successively: audio index information A, audio index information F, audio index information D, audio index information I, audio index information B, audio index information H, audio index information E, audio index information C, audio index information G.
Wherein, be understandable that, the function of each functional module of the present embodiment also according to the associated description with reference to above-described embodiment, no longer can repeat herein.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, search for according to current travel information, obtain the audio index information be associated with current travel information, and play music corresponding to audio index information, make terminal the travel information current according to terminal user can play corresponding music, thus make terminal can provide the music service of more diversification, improve end-user experience.
See Fig. 7, it is the example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, can comprise: processor 201 (quantity of the processor 201 in terminal can be one or more, and Fig. 7 is for a processor), storer 202, output unit 203, input media 204 and data interaction device 205.Wherein, processor 201, storer 202, output unit 203, input media 204 are connected by bus or alternate manner with data interaction device 205, wherein, to be connected by bus in Fig. 7.
Wherein, output unit 203 can comprise earphone or loudspeaker, for output audio (can comprise music).
Input media 204 can comprise contact panel, and contact panel comprises touch-screen and touch screen, the operational order on sense terminals contact panel.
Data interaction device 205, for interaction data, can comprise the radio-frequency units such as WIFI, bluetooth and NFC, or USB interface device.
Above-mentioned storer 202 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as magnetic disk memory.Above-mentioned storer 202 is for storing batch processing code, and above-mentioned input media 204, output unit 203 and processor 201, for calling the code stored in storer 202, perform and operate as follows:
Described processor 201, for obtaining the current travel information of terminal user;
Described processor 201, for searching for described current travel information, obtains the audio index information be associated with described current travel information;
Described output unit 203, for playing music corresponding to described audio index information.
Wherein, described current stroke packets of information is drawn together: one or more in temporal information, current location information, current mood information, current people's information and current event information.
Wherein, described current travel information searched for by described processor 201, obtains the audio index information be associated with described current travel information and is specially:
According to preset key message extracting rule, described current travel information is extracted, obtain key message;
Search for described key message, obtain the audio index information be associated with described key message.
Wherein, described key message searched for by described processor 201, obtains the audio index information be associated with described key message and is specially:
According to the key message preset and the corresponding relation of audio index information, obtain the audio index information that described key message is associated.
Wherein, described key message searched for by described processor 201, obtains the audio index information be associated with described key message and is specially:
Control described data interaction device 205 and send the described key message request of search to server, wherein said server is for providing audio index information and music corresponding to audio index information;
Control the audio index information that the described key message that returns of described data interaction device 205 reception server response described request is associated.
Wherein, the music that described processor 201 plays described audio index information corresponding is specially:
Control described data interaction device 205 and send request for music corresponding to the described audio index information of acquisition to server;
Control the music that the described audio index information that returns of described data interaction device 205 reception server response described request is corresponding, and play described music.
Wherein, described processor 201 also for, obtain terminal user current travel information before comprise:
Obtain the broadcast information of music corresponding to described audio index information, according to described broadcast information, distribution is carried out to described audio index information and play priority.
Wherein, described processor 201 also for, in the described current travel information of search, comprise after obtaining the audio index information that is associated with described current travel information:
Music list is generated according to described audio index information.
Wherein, the music that described output unit 203 plays described audio index information corresponding is specially:
According to the broadcasting priority of described audio index information distribution, play by preset prioritized list the music that in described music list, music index information is corresponding.
Wherein, described broadcast information comprises:
The point of the replay times of music, the switching times of music, music praise in the collection number of times of number of times and music one or more.
Wherein, described input media 204, praises operational order and/or collection operational order for receiving blocked operation instruction and/or point.
In specific implementation, data interaction device 205 described in the embodiment of the present invention, input media 204, output unit 203 and processor 201 can perform the first embodiment of the method for playing music that the embodiment of the present invention provides, the second embodiment and the implementation described in the 3rd embodiment, also can perform the implementation of the first embodiment of the terminal that the embodiment of the present invention provides, the second embodiment and the terminal described in the 3rd embodiment, not repeat them here.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, search for according to current travel information, obtain the audio index information be associated with current travel information, and play music corresponding to audio index information, make terminal the travel information current according to terminal user can play corresponding music, thus make terminal can provide the music service of more diversification, improve end-user experience.
Unit described in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, special IC).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a method for playing music, is characterized in that, described method comprises:
Obtain the current travel information of terminal user;
Search for described current travel information, obtain the audio index information be associated with described current travel information;
Play the music that described audio index information is corresponding.
2. the method for claim 1, is characterized in that, described current stroke packets of information is drawn together: one or more in temporal information, current location information, current mood information, current people's information and current event information.
3. the method for claim 1, is characterized in that, the described current travel information of described search, obtains the audio index information be associated with described current travel information and comprises:
According to preset key message extracting rule, described current travel information is extracted, obtain key message;
Search for described key message, obtain the audio index information be associated with described key message.
4. method as claimed in claim 3, is characterized in that, the described key message of described search, obtains the audio index information be associated with described key message and is specially:
According to the key message preset and the corresponding relation of audio index information, obtain the audio index information that described key message is associated.
5. method as claimed in claim 3, is characterized in that, the described key message of described search, obtains the audio index information be associated with described key message and comprises:
Send the described key message request of search to server, wherein said server is for providing audio index information and music corresponding to audio index information;
The audio index information that the described key message that reception server response described request returns is associated.
6. method as claimed in claim 5, is characterized in that, music corresponding to described broadcasting described audio index information comprises:
Send to server and obtain request for music corresponding to described audio index information;
The music that the described audio index information that reception server response described request returns is corresponding, and play described music.
7. the method for claim 1, is characterized in that, comprises before the current travel information of described acquisition terminal user:
Obtain the broadcast information of music corresponding to described audio index information, according to described broadcast information, distribution is carried out to described audio index information and play priority.
8. method as claimed in claim 7, is characterized in that, the described current travel information of described search, comprises after obtaining the audio index information be associated with described current travel information:
Music list is generated according to described audio index information.
9. method as claimed in claim 8, is characterized in that, music corresponding to described broadcasting described audio index information comprises:
According to the broadcasting priority of described audio index information distribution, play by preset prioritized list the music that in described music list, music index information is corresponding.
10. method as claimed in claim 9, it is characterized in that, described broadcast information comprises:
The point of the replay times of music, the switching times of music, music praise in the collection number of times of number of times and music one or more.
CN201410708316.6A 2014-11-28 2014-11-28 A kind of method for playing music Active CN104599702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410708316.6A CN104599702B (en) 2014-11-28 2014-11-28 A kind of method for playing music

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410708316.6A CN104599702B (en) 2014-11-28 2014-11-28 A kind of method for playing music

Publications (2)

Publication Number Publication Date
CN104599702A true CN104599702A (en) 2015-05-06
CN104599702B CN104599702B (en) 2019-05-14

Family

ID=53125427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410708316.6A Active CN104599702B (en) 2014-11-28 2014-11-28 A kind of method for playing music

Country Status (1)

Country Link
CN (1) CN104599702B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104916295A (en) * 2015-05-30 2015-09-16 广东欧珀移动通信有限公司 Method and terminal for play control
CN106534923A (en) * 2016-12-07 2017-03-22 珠海迈越信息技术有限公司 Data acquiring method and device
WO2018023676A1 (en) * 2016-08-05 2018-02-08 吴晓敏 Method for recommending listening content on basis of site and recommendation system
WO2018023675A1 (en) * 2016-08-05 2018-02-08 吴晓敏 Information pushing method during listening content recommendation based on site and recommendation system
WO2018032139A1 (en) * 2016-08-14 2018-02-22 何兰 Method for pushing information during music playing based on roads and playing system
CN107911428A (en) * 2017-11-03 2018-04-13 维沃移动通信有限公司 A kind of song method for pushing, device and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020019858A1 (en) * 2000-07-06 2002-02-14 Rolf Kaiser System and methods for the automatic transmission of new, high affinity media
CN102402625A (en) * 2011-12-28 2012-04-04 深圳市五巨科技有限公司 Method and system for recommending music
CN102752714A (en) * 2012-06-25 2012-10-24 华为终端有限公司 Method and device for setting bell
CN103023971A (en) * 2012-11-15 2013-04-03 广州酷狗计算机科技有限公司 Information pushing method and system of music sharing radio stations
CN103218438A (en) * 2013-04-18 2013-07-24 广东欧珀移动通信有限公司 Method of recommending online music based on playing record of mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020019858A1 (en) * 2000-07-06 2002-02-14 Rolf Kaiser System and methods for the automatic transmission of new, high affinity media
CN102402625A (en) * 2011-12-28 2012-04-04 深圳市五巨科技有限公司 Method and system for recommending music
CN102752714A (en) * 2012-06-25 2012-10-24 华为终端有限公司 Method and device for setting bell
CN103023971A (en) * 2012-11-15 2013-04-03 广州酷狗计算机科技有限公司 Information pushing method and system of music sharing radio stations
CN103218438A (en) * 2013-04-18 2013-07-24 广东欧珀移动通信有限公司 Method of recommending online music based on playing record of mobile terminal and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
夏飞: "基于移动用户地理信息的音乐推荐研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
李瑞敏: "基于社会化网络的个性化音乐推荐算法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104916295A (en) * 2015-05-30 2015-09-16 广东欧珀移动通信有限公司 Method and terminal for play control
WO2018023676A1 (en) * 2016-08-05 2018-02-08 吴晓敏 Method for recommending listening content on basis of site and recommendation system
WO2018023675A1 (en) * 2016-08-05 2018-02-08 吴晓敏 Information pushing method during listening content recommendation based on site and recommendation system
WO2018032139A1 (en) * 2016-08-14 2018-02-22 何兰 Method for pushing information during music playing based on roads and playing system
CN106534923A (en) * 2016-12-07 2017-03-22 珠海迈越信息技术有限公司 Data acquiring method and device
CN107911428A (en) * 2017-11-03 2018-04-13 维沃移动通信有限公司 A kind of song method for pushing, device and mobile terminal

Also Published As

Publication number Publication date
CN104599702B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN104599702A (en) Music playing method
US9015588B2 (en) Advanced playback queue management
CN103888837B (en) A kind of video information method for pushing and device
CN103403705B (en) Loading a mobile computing device with media files
CN101546589B (en) Active playlist having dynamic media item groups
US8666525B2 (en) Digital media player and method for facilitating music recommendation
CN105009118B (en) Customized content consumption interface
CN103151057B (en) Method for playing music and device
CN104881237B (en) A kind of network interdynamic method and client
US20150121220A1 (en) Terminal, method for displaying screen thereof, and computer readable recording medium
CN103813030A (en) Method and electronic device for providing rejection message depending on situation
US9743230B2 (en) Method and system for providing preference based content to a location aware mobile device
CN102081501A (en) Method and device for providing shortcut operation application programs for user and mobile terminal
CN101963976A (en) Information searching method for mobile terminal and mobile terminal
CN102857471A (en) Multimedia interacting method and system
CN110267113A (en) Video file processing method, system, medium and electronic equipment
CN107801095A (en) A kind of video/audio decoding method and terminal device
CN109995939B (en) Information processing method and electronic device
CN105224668A (en) A kind of disposal route of requesting songs and device
CN103488669A (en) Information processing apparatus, information processing method and program
CN103795775A (en) Alarm operation method and mobile terminal supporting the same
CN105706055A (en) Method and device for processing application of mobile terminal
CN104484350A (en) Terminal
CN104167216A (en) Audio frequency file sharing method, device and sound box
US20120117197A1 (en) Content auto-discovery

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
TR01 Transfer of patent right

Effective date of registration: 20210218

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right