[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104599702B - A kind of method for playing music - Google Patents

A kind of method for playing music Download PDF

Info

Publication number
CN104599702B
CN104599702B CN201410708316.6A CN201410708316A CN104599702B CN 104599702 B CN104599702 B CN 104599702B CN 201410708316 A CN201410708316 A CN 201410708316A CN 104599702 B CN104599702 B CN 104599702B
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.)
Active
Application number
CN201410708316.6A
Other languages
Chinese (zh)
Other versions
CN104599702A (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

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of method for playing music, comprising: obtains the current travel information of terminal user;It searches for the current travel information, obtains audio index information associated with the current travel information;Play the corresponding music of the audio index information.Using the present invention, corresponding music can be played according to the current travel information of terminal user, improve end-user experience.

Description

A kind of method for playing music
Technical field
The present invention relates to information technology field more particularly to a kind of method for playing music.
Background technique
In recent years, with the continuous development of the intelligent terminals such as mobile phone, tablet computer, terminal function also improved day by day multiplicity, Terminal applies are even more to become increasingly abundant.Terminal user can by terminal downloads apply, watch video, listen to music, appreciate picture or Person's read books etc..
Currently, playing music has been one of important amusement function of intelligent terminal, existing intelligent terminal can pass through peace Music player software is filled to realize the function of music.But current music player software is substantially offer and has stored Music playlist for terminal user carry out played in order, or carry out shuffle.This leads to the music replay rate played Height, broadcast mode is single, user experience is bad, and due to user in varied situations may selection to music it is different, if The music that user need to select suitable current mood to listen, user need to select music manually, cumbersome, make troubles to user.
Summary of the invention
The embodiment of the present invention provides a kind of method for playing music.It can be played according to the current travel information of terminal user corresponding Music, improve end-user experience.
The embodiment of the invention provides a kind of method for playing music, comprising:
Obtain the current travel information of terminal user;
It searches for the current travel information, obtains audio index information associated with the current travel information;
Play the corresponding music of the audio index information.
Implement the embodiment of the present invention, terminal obtains the current travel information of terminal user, carries out according to current travel information Search obtains audio index information associated with current travel information, and plays the corresponding music of audio index information, can root Corresponding music is played according to the current travel information of terminal user, improves end-user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of first embodiment flow diagram of method for playing music of the present invention;
Fig. 2 is a kind of second embodiment flow diagram of method for playing music of the present invention;
Fig. 3 is a kind of 3rd embodiment flow diagram of method for playing music of the present invention;
Fig. 4 is a kind of first embodiment structure chart of terminal of the present invention;
Fig. 5 is a kind of second embodiment structure chart of terminal of the present invention;
Fig. 6 is a kind of 3rd embodiment structure chart of terminal of the present invention;
Fig. 7 is a kind of fourth embodiment structure chart of terminal of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention is primarily applicable for can play the terminal of music, including mobile phone, tablet computer or notebook Deng the terminal with music playback function.
It referring to Figure 1, is a kind of first embodiment flow diagram of method for playing music of the present invention.As shown in Figure 1, this A kind of method for playing music described in embodiment comprising steps of
S100 obtains the current travel information of terminal user.
In embodiments of the present invention, terminal user can with the travel information of preset terminal user, such as: terminal user can be with It is used by the preset terminal of stroke recording application program (such as: memorandum application program, calendar applications and intended application program) The travel information at family, terminal user can also pass through social network sites (such as: Renren Network, microblogging and QQ space) preset terminal user Travel information.Travel information may include user arrange travel time information, location information, event information, people information or The travel informations such as mood information.
In embodiments of the present invention, terminal can obtain terminal by the travel information read in stroke recording application program and use The current travel information in family, further, terminal can also pass through the social network of network registration terminal user by preset network address It stands and obtains the preset travel information of terminal user, it is preferred that terminal can be believed according to terminal user in the text that social network sites are delivered The multimedia messages such as breath or pictorial information obtain the strokes letter such as current mood information, location information and temporal information of terminal user Breath.
Specifically, terminal or the preset travel information of social network sites may include but be not limited to: temporal information, place letter Breath, event information, mood information and people information.When terminal need to play out music, the available current time of terminal, and Preset travel information is read by stroke recording application program or social network sites, to obtain current according to current time Travel information.Such as: terminal user's one group travel information preset by stroke recording application program or social network sites are as follows: when Between information be 7:00~7:30, location information is family, and event information is to have breakfast, and mood information is pleasure, and people information is family People;Another group of preset travel information of terminal user are as follows: temporal information is 13:00~15:00, and location information is dining room, event Information is classmate's party, and mood information is happiness, and people information is an xx and Lee xx.If current time is 13:00, terminal can Travel information where being 13:00~15:00 according to current time acquisition time information is current travel information, such as: place letter Breath is dining room, and event information is classmate's party, and mood information is happiness, and people information is an xx and Lee xx.Wherein, current stroke Information may include but be not limited to: in current location information, current mood information, current people's information and current event information It is one or more.
It is further preferred that the travel information of terminal record may include temporal information, location information and event information, social activity The preset travel information in website may include mood information and people information.When terminal need to play out music, terminal can lead to The travel information and social network sites for crossing terminal record obtain current travel information.Specifically, terminal is according to current time in stroke Current travel information is obtained in the travel information of records application program record, such as: the available current travel information of terminal can be with It is temporal information for 13:00~15:00, location information is dining room, and event information is classmate's party.Meanwhile terminal is by preset Network address registration terminal user social network sites, current travel information is obtained according to current time.Preferably, terminal can log in end The social network sites of end subscriber obtain the multimedia messages associated with current time that terminal user is delivered, wherein with it is current The multimedia messages that time correlation joins can be the matchmaker more than one of the time that multimedia messages are delivered and current time interval recently Body information or a plurality of multimedia messages.When terminal obtains multimedia messages associated with current time, terminal can be to acquisition Multimedia messages parsed, obtain the travel informations such as mood information, the people information of terminal user.Such as: when terminal is used The text information that family is delivered is " classmate's party, an xx make laughs very much ", and terminal, which can be analyzed, obtains the current mood letter of terminal user Breath is that " happiness " or " happy " etc. describe buoyant mood information, and obtaining people information can be an xx.To terminal The current stroke information acquisition terminal user that the current travel information and social network sites that can be recorded according to terminal are recorded is current Travel information.
In embodiments of the present invention, when terminal does not have preset travel information, terminal can be by terminal to terminal user The record of daily track, to obtain the general travel information of terminal user, to obtain current stroke according to general travel information Information.Specifically, terminal can recorde operation of the terminal user to terminal, and such as: terminal can recorde terminal user each The talk times and conversation object of period, terminal can recorde terminal user each period send short messages number and Short message object, terminal can also record terminal in each period brush webpage number etc.;It is defeated that terminal can also record terminal user The text information entered.Such as: terminal can recorde the memorandum etc. of terminal user's input.And then terminal can be according to the above record The daily track of terminal user obtain the highest record information of frequency occurred in preset each period, and will be each when Between the highest record information of the frequency that occurs of section be integrated into the general travel information of terminal user, thus according to current time and General travel information obtains current travel information.Further, when terminal preset has travel information but does not preset current stroke When information, terminal can be analyzed and processed the travel information that terminal preset has, and obtain the frequency occurred in current slot The highest travel information of rate, the highest travel information of frequency so as to current slot occur are believed as current stroke Breath.Such as: terminal user is prefixed the travel information of Monday are as follows: corresponding location information is family when temporal information is 7:00, right The event information answered is running.The travel information of Tuesday to Thursday includes: temporal information when being 7:00, and corresponding location information is Family, corresponding event information are to have breakfast.Then when terminal obtains the 7:00 that current time is Friday, terminal can be according to Monday extremely It is family, event information that the travel information of Thursday, which is location information the highest travel information of the corresponding frequency of 7:00 that obtains Friday, To have breakfast.
S101 searches for the current travel information, obtains audio index information associated with the current travel information.
In embodiments of the present invention, audio index information can include: the category of the title of music, the label of music and music Property etc..Wherein, the label of music may include the label that sentiment, campus, youth and peace and quiet etc. are used to describe music style, music Attribute may include the music types such as rock and roll, jazz and piano.Further, the label and music attribute can be by terminal users It carries out preset, or is carried out by music provider preset.
In embodiments of the present invention, terminal user can be with the corresponding relationship of preset travel information and audio index information, example Such as: for terminal user in preset each travel information, terminal user can the corresponding music of preset every travel information simultaneously Index information.When terminal is after getting current travel information, terminal can be believed according to preset travel information and audio index The corresponding relationship of breath obtains the corresponding audio index information of current travel information.
In embodiments of the present invention, terminal can also carry out in the audio index library of storage according to current travel information Search, when finding in audio index library has the associated audio index information of content with current travel information, then obtaining should Associated audio index information.Such as: the per song of terminal storage all corresponds to an audio index information, and e.g., song is " same Table you " to can be name information be " deskmate you " for corresponding audio index information, when current stroke information includes: Ren Wuxin When breath is deskmate, terminal then would know that audio index information " deskmate you " has being overlapped in content with current travel information, can Judge audio index information " deskmate you " for the associated audio index information of current travel information.
In embodiments of the present invention, current travel information can also be sent to server and scanned for by terminal, and be received What server returned has the associated audio index information of content with current travel information.Wherein, server is for providing music Index information and the corresponding music of audio index information.Wherein, terminal can at least one preset server network address.
S102 plays the corresponding music of the audio index information.
In embodiments of the present invention, when terminal gets associated audio index information, terminal can by earphone or It is put outside person's loudspeaker and plays the corresponding music of audio index information.
Wherein, when associated audio index information is stored in terminal, it is corresponding that audio index information can be read in terminal Music, and play out.Such as: when associated audio index information is " deskmate you ", terminal can play music " deskmate You ".
Further, when associated audio index information is stored on server, terminal can be according to the clothes of storage Device network address of being engaged in is sent to server obtains the corresponding music of associated audio index information, and receives the music of server return It plays out.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, is carried out according to current travel information Search obtains audio index information associated with current travel information, and plays the corresponding music of audio index information, so that Terminal can play corresponding music according to the current travel information of terminal user, so that terminal can provide the sound of more diversification It is happy to play service, improve end-user experience.
Fig. 2 is referred to, for a kind of second embodiment flow diagram of method for playing music of the present invention.As shown in Fig. 2, this A kind of method for playing music described in embodiment comprising steps of
S200 obtains the current travel information of terminal user;
S201 extracts the current travel information according to preset key message extracting rule, obtains crucial letter Breath.
In embodiments of the present invention, preset key message extracting rule may is that terminal can with preset key message, when When having in current travel information including preset key message, then included key message is extracted.Such as: it is preset Key message include: the key messages such as " happy ", " campus ", " friend ", the current mood letter for including when current stroke information Breath is happy happiness, current location information is dining room, current people information is friend classmate, and current event information is poly- Meeting, then terminal can extract key to current travel information according to the content of preset key message and current travel information Information extracts the key message of acquisition can include: " happy " and " friend ".Further, terminal can also believe current stroke The content of breath is screened, then extracts included key message.Such as, terminal can be to the event in current travel information Information extracts key message, obtains key message;Terminal can also scan for the content of current travel information, then into Row extracts included key message.Such as, if terminal preset key message includes " classmate ", when the content packet of current travel information When including with Lee xx meet, terminal can scan for Lee xx, if the relationship of acquisition Lee xx and terminal user are classmate's relationships, eventually Holding and can get key message includes " classmate ".
In embodiments of the present invention, preset key message extracting rule may also is that terminal can with preset key message, And associated key message is distributed for each key message, is believed when having in current travel information including preset key When breath, then extracts included key message and obtain the extracted associated key message of key message.Such as, preset Key message includes: " classmate " and " spending a holiday ", wherein the associated key message of " happy " may include: " youth ", " wound Sense ", the associated key message of " spending a holiday " may include: " cheerful and light-hearted ", " light ".When what current stroke information included works as front center Feelings information is happy happiness, current location information is dining room, current people information is friend classmate, and current event information is Party, then terminal can according to preset key message, key message associated key message and current travel information in Hold, key message is extracted to current travel information, obtains key message, wherein key message can include: " classmate ", it is " green Spring " and " sentiment ".
Further, terminal can also screen the content of current travel information, then extract included pass Key information and the associated key message of key message.Such as, terminal can carry out the event information in current travel information Key message is extracted, key message and the associated key message of key message are obtained;Terminal can also believe current stroke The content of breath scans for, then extracts included key message and associated key message.Such as, if terminal preset Key message includes " classmate " and associated key message " youth " and " sentiment ", when the content of current travel information includes When meeting with Lee xx, terminal can scan for Lee xx, if the relationship of acquisition Lee xx and terminal user are classmate's relationships, terminal Can get key message includes " classmate ", " youth " and " sentiment ".
In embodiments of the present invention, preset key message extracting rule may also is that terminal can be with preset field With the corresponding relationship of key message, when current stroke information includes preset content field, terminal can be according to preset content The corresponding relationship of field and key message obtains key message corresponding to current travel information.
S202 searches for the key message, obtains audio index information associated with the key message.
In embodiments of the present invention, terminal can traverse sound associated with key message in the music libraries being locally stored Happy index information, the music libraries being locally stored may include audio index information and the corresponding music of audio index information.Wherein, Associated audio index information may include carrying the audio index information of key message.Such as: when key message includes " happiness " and " happy ", then terminal can traverse audio index associated with " happiness " or " happy " key message in music libraries Information, as to may search for out musical designation include the audio index information of " happiness " to terminal or music label includes " to open The audio index information of the heart ".
In embodiments of the present invention, terminal, which can also send to obtain to server, searches for the key message request, so that Server respond request returns to the associated audio index information of key message, wherein the server can be for providing sound The Website server of happy index information and the corresponding music of audio index information, such as: Baidu music, KuGoo music.Terminal When putting request to server, tell the server scans for key message, and obtains search result.When server receives end After holding the request sended over, key message is scanned in the musical database of server, and search result is returned to Terminal.Wherein, terminal can be with preset station address.
S204 plays the corresponding music of the audio index information.
In embodiments of the present invention, when the audio index information that terminal obtains is the audio index information being locally stored, Terminal can obtain the corresponding music of audio index information and be played out in the music libraries being locally stored;It is obtained when terminal When audio index information is the audio index information that website returns, terminal can send to server and obtain audio index information pair The request for music answered, and the corresponding music of audio index information of server respond request return is received, and play out.
Wherein, the specific embodiment of step S200 and step S204 may refer to the step S100 and step of above embodiments The specific implementation method of rapid S102, is no longer repeated herein.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, is carried out according to current travel information Search obtains audio index information associated with current travel information, and plays the corresponding music of audio index information, so that Terminal can play corresponding music according to the current travel information of terminal user, so that terminal can provide the sound of more diversification It is happy to play service, improve end-user experience.
Fig. 3 is referred to, for a kind of 3rd embodiment flow diagram of method for playing music of the present invention.As shown in figure 3, this A kind of method for playing music described in embodiment comprising steps of
S300 obtains the broadcast information of the corresponding music of the audio index information, according to the broadcast information to described Audio index information is allocated broadcasting priority.
In embodiments of the present invention, broadcast information may include the replay times of music, the switching times of music, music One of collection number of like time and music is a variety of.It can be that within certain the preset time, terminal can be remembered The switching times of the replay times and/or music of recording happy and/or the like time of music.Wherein, the weight of terminal record music Broadcasting number may is that when music is one time complete, and terminal can increase the replay times of the music of record primary;Terminal note The happy switching times of recording may is that in music, monitor the operational order of the switching music of terminal user's input When, terminal can increase the switching times of the music of record primary;The like time of terminal record music may is that when in sound When happy broadcasting, when monitoring the operational order of terminal user's input thumbed up, terminal can increase by one to the like time of record It is secondary;The collection number of terminal record music may is that in music, detect the operation of the collection of terminal user's input When instruction, terminal can collection number to record increase it is primary.
In embodiments of the present invention, terminal can be according to the replay times of the corresponding music of audio index information, to music Index information is allocated broadcasting priority.Such as, when the replay times of music are greater than or equal to first threshold, terminal can be right Audio index information distribution second play priority, when music replay times be less than first threshold, and be greater than or equal to second When threshold value, terminal can distribute first to audio index information and play priority, wherein the first broadcasting priority is broadcast less than second Put priority.Terminal can be allocated audio index information according to the switching times of the corresponding music of audio index information Play priority.Such as: when the switching times of music are greater than or equal to third threshold value, terminal can be distributed audio index information Third plays priority, and when the switching times of music are less than third threshold value, and are greater than or equal to four threshold values, terminal can be right Audio index information distribution the 4th plays priority, wherein third plays priority and plays priority less than the 4th.Terminal may be used also To be allocated broadcasting priority according to like time and collection number.
Further, terminal can also according to the replay times of music, the switching times of music, music like time and One of collection number of music or many kinds of parameters carry out integrated treatment analysis, and it is excellent to be allocated broadcasting to audio index information First grade.
Specifically, terminal is according to the replay times of music, the switching times of music, the like time of music and the receipts of music The specific embodiment for hiding one of number or many kinds of parameters progress integrated treatment analysis is including but not limited to discussed below Embodiment: terminal can carry out integrated treatment analysis according to two kinds of parameters, and it is preferential to be allocated broadcasting to audio index information Grade.Such as, it is excellent can be allocated broadcasting to audio index information according to the replay times of music and the switching times of music for terminal First grade.Such as: terminal can be set when the switching times of music are greater than the replay times of music, and terminal can be to audio index Information distribution first plays priority, and when the switching times of music are less than or equal to the replay times of music, terminal can be right Audio index information distribution second plays priority, when the switching times of music are less than first threshold, and the broadcasting time of music When greater than second threshold, terminal can distribute third to audio index information and play priority, wherein the first broadcasting priority is small Priority is played in second, second, which plays priority, is less than third broadcasting priority.
Further, terminal can carry out audio index information according to the like time of music and the collection number of music Distribution plays priority, such as: terminal can be set when the like time of music is greater than the collection number of music, and terminal can be with Priority is played to audio index information distribution first, when the like time of music is less than or equal to the collection number of music, Terminal can distribute second to audio index information and play priority, wherein first plays priority plays preferentially less than second Grade;It is preferential that terminal can also be allocated broadcasting to audio index information according to the switching times of music and the like time of music Grade, such as: terminal can be set when the switching times of music are greater than the like time of music, and terminal can believe audio index Breath distribution first plays priority, and when the switching times of music are less than or equal to the like time of music, terminal can be to sound Happy index information distribution second plays priority, wherein first, which plays priority, plays priority less than second;Terminal can be with Broadcasting priority is allocated to audio index information according to the switching times of music and the collection number of music, such as: terminal It can be set when the switching times of music are greater than the collection number of music, terminal can distribute first to audio index information and broadcast Priority is put, when the switching times of music are less than or equal to the collection number of music, terminal can be to audio index information point Priority is played with second, wherein first, which plays priority, plays priority less than second.
Specifically, terminal can carry out integrated treatment analysis according to three kinds of parameters, audio index information is allocated and is broadcast Put priority.Such as, terminal can be according to the like time of the replay times of music, the switching times of music and music to music rope Fuse breath is allocated broadcasting priority.Such as: terminal can be set when music switching times be greater than music replay times, And when being greater than the like time of music, terminal can distribute first to audio index information and play priority, when the switching of music Number be less than or equal to music replay times, and be greater than music like time when, terminal can distribute audio index information Second plays priority, when the switching times of music are less than or equal to the replay times of music, and is less than or equal to thumbing up time for music When number, terminal can distribute third to audio index information and play priority, when the switching times of music are less than or equal to music Replay times, and be less than or equal to music like time when, and the broadcasting time of music be greater than threshold value when, terminal can be to music Index information distribution the 4th plays priority, wherein first, which plays priority, plays priority less than second, and the second broadcasting is preferential Grade is less than third and plays priority, and third plays priority and plays priority less than the 4th.
Specifically, terminal can carry out integrated treatment analysis according to whole parameters, audio index information is allocated and is broadcast Put priority.Such as, terminal can be set when the switching times of music are greater than the replay times of music, and be greater than thumbing up time for music When counting, and being greater than the collection number of music, terminal can distribute first to audio index information and play priority;When cutting for music When changing the replay times that number is less than or equal to music, and be greater than the like time of music, and being greater than the collection number of music, terminal Second can be distributed to audio index information play priority;When music switching times be less than or equal to music replay times, And it is less than or equal to the like time of music, and when being greater than the collection number of music, terminal can distribute the to audio index information Three play priority;When music switching times be less than or equal to music replay times, and be less than or equal to music like time, And when being less than or equal to the collection number of music, terminal can distribute the 4th to audio index information and play priority, wherein first It plays priority and plays priority less than second, second, which plays priority, is less than third broadcasting priority, and third plays priority Priority is played less than the 4th.
S301 obtains the current travel information of terminal user.
S302 searches for the current travel information, obtains audio index information associated with the current travel information.
S303 generates music list according to the audio index information.
In embodiments of the present invention, music list may include terminal associated audio index information obtained, or Musical designation in the associated audio index information of person.Terminal can by the audio index information of acquisition by preset sequence into Row arrangement, generates music list, wherein preset sequence can be the sequencing either music for obtaining audio index information Initial sequence in index information.Terminal user can be managed music list by the playlist, such as: it carries out Delete music or addition music.
S304 is played according to the broadcasting priority of the audio index information by preset broadcasting prioritized list The corresponding music of music index information in the music list.
In embodiments of the present invention, preset broadcasting prioritized list may include the first broadcasting priority, second broadcast Priority, the third broadcasting broadcasting priority of priority ... n-th are put, first, which plays priority, plays priority less than second, the Two, which play priority, is less than third broadcasting priority ... (n-1)th broadcasting priority less than the n-th broadcasting priority, wherein each The broadcasting priority of grade can be indicated with number or letter.Such as: first plays priority, second plays priority, the The three broadcasting broadcasting of priority ... n-th priority, which can correspond to, is expressed as 1,2,3 ... n, alternatively, a, b, c ..., specific corresponding to pass System can be configured by developer.When broadcasting prioritized list is corresponding is expressed as 1,2,3 ... n, audio index information Portable broadcasting priority can play priority for one of 1,2,3 ... n.
In embodiments of the present invention, terminal can read the broadcasting priority of the audio index information of music list terminal, Then the corresponding music of audio index information is played out by above-described prioritized list.Further, work as sound It, can be according to the successive pass of music list sequence when occurring carrying the audio index information of the same broadcasting priority in happy list System plays out the corresponding music of audio index information.
In concrete application, reference can be made to following table one:
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~I of upper table refers to the audio index information in music list, when play prioritized list be from 1~ 10 are sequentially ranked up, and when broadcasting priority-level is incremented by successively, we can obtain from table plays priority-level highest Be audio index information A.Playing sequence is successively: audio index information A, audio index information F, audio index information D, sound Happy 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 referring also to the step S102 in above-described embodiment specific embodiment, The specific embodiment of step S301 and step 302 may refer to the specific implementation of step S100 and S101 in above-described embodiment Mode is no longer repeated herein.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, is carried out according to current travel information Search obtains audio index information associated with current travel information, and plays the corresponding music of audio index information, so that Terminal can play corresponding music according to the current travel information of terminal user, so that terminal can provide the sound of more diversification It is happy to play service, improve end-user experience.
Referring to fig. 4, be the embodiment of the present invention a kind of terminal schematic structural diagram of the first embodiment.It is retouched in the present embodiment The terminal stated, comprising:
First acquisition unit 100, for obtaining the current travel information of terminal user.
The first search unit 200 connecting with first acquisition unit 100 is obtained for searching for the current travel information Audio index information associated with the current travel information.
The broadcast unit 300 being connect with the first search unit 200, for playing the corresponding sound of the audio index information It is happy.
In embodiments of the present invention, terminal user can with the travel information of preset terminal user, such as: terminal user can be with It is used by the preset terminal of stroke recording application program (such as: memorandum application program, calendar applications and intended application program) The travel information at family, terminal user can also pass through social network sites (such as: Renren Network, microblogging and QQ space) preset terminal user Travel information.Travel information may include user arrange travel time information, location information, event information, people information or The travel informations such as mood information.
In embodiments of the present invention, first acquisition unit 100 can be believed by the stroke read in stroke recording application program Breath obtains the current travel information of terminal user, and further, first acquisition unit 100 can also be passed through by preset network address The social network sites of network registration terminal user obtain the preset travel information of terminal user, it is preferred that first acquisition unit 100 can It is current that the multimedia messages such as the text information or pictorial information delivered according to terminal user in social network sites obtain terminal user The travel informations such as mood information, location information and temporal information.
Specifically, terminal or the preset travel information of social network sites may include but be not limited to: temporal information, place letter Breath, event information, mood information and people information.When terminal need to play out music, first acquisition unit 100 is available Current time, and preset travel information is read by stroke recording application program or social network sites, thus according to it is current when Between, obtain current travel information.Such as: terminal user's one group row preset by stroke recording application program or social network sites Journey information are as follows: temporal information is 7:00~7:30, and location information is family, and event information is to have breakfast, and mood information is pleasure, people Object information is household;Another group of preset travel information of terminal user are as follows: temporal information is 13:00~15:00, and location information is Dining room, event information are classmate's party, and mood information is happiness, and people information is an xx and Lee xx.If current time is 13:00 When, the travel information where first acquisition unit 100 can be 13:00~15:00 according to current time acquisition time information is to work as Front travel information, such as: location information is dining room, and event information is classmate's party, and mood information is happiness, and people information is an xx With Lee xx.Wherein, current travel information may include but be not limited to: temporal information, current location information, current mood information, when One of preceding people information and current event information are a variety of.
It is further preferred that the travel information of terminal record may include temporal information, location information and event information, social activity The preset travel information in website may include mood information and people information.When terminal need to play out music, first obtains list Member 100 can obtain current travel information by the travel information and social network sites that terminal records.Specifically, first acquisition unit 100 obtain current travel information according to current time in the travel information that stroke records application program records, such as: first obtains It is 13:00~15:00 that the available current travel information of unit 100, which can be temporal information, and location information is dining room, event letter Breath is that classmate meets.Meanwhile first acquisition unit 100 is by the social network sites of preset network address registration terminal user, according to working as The preceding time obtains current travel information.Preferably, the social network sites that first acquisition unit 100 can log in terminal user obtain terminal The multimedia messages associated with current time that user is delivered, wherein multimedia messages associated with current time can To be time for delivering of multimedia messages and the nearest multimedia messages or a plurality of multimedia messages of current time interval.When When first acquisition unit 100 obtains multimedia messages associated with current time, first acquisition unit 100 can be to the more of acquisition Media information is parsed, and the travel informations such as mood information, the people information of terminal user are obtained.Such as: when terminal user sends out The text information of table is " classmate's party, xx make laughs very much ", and first acquisition unit 100 can analyze that obtain terminal user current Mood information is that " happiness " or " happy " etc. describe buoyant mood information, and obtaining people information can be an xx.From And the current travel information that the current travel information and social network sites that first acquisition unit 100 can be recorded according to terminal are recorded Obtain the current travel information of terminal user.
In embodiments of the present invention, when terminal does not have preset travel information, first acquisition unit 100 can pass through terminal To the record of the daily track of terminal user, to obtain the general travel information of terminal user, thus 100 basis of first acquisition unit General travel information obtains current travel information.Specifically, terminal can recorde operation of the terminal user to terminal, such as: eventually End can recorde terminal user in the talk times and conversation object of each period, and terminal can recorde terminal user each Send short messages number and the short message object of a period, terminal can also record terminal in each period brush webpage number etc.; Terminal can also record the text information of terminal user's input.Such as: terminal can recorde the memorandum etc. of terminal user's input. And then first acquisition unit 100 can be obtained according to the daily track of the terminal user recorded above in preset each period institute The highest record information of the frequency of appearance, and the highest record information of frequency that each period occurs is integrated into terminal and is used The general travel information at family is believed so that first acquisition unit 100 obtains current stroke according to current time and general travel information Breath.Further, when terminal preset has travel information but do not preset current travel information, first acquisition unit 100 can be with The travel information that terminal preset has is analyzed and processed, the highest stroke letter of frequency occurred in current slot is obtained Breath, so as to the highest travel information of frequency that current slot occur as current travel information.Such as: terminal user It is prefixed the travel information of Monday are as follows: corresponding location information is family when temporal information is 7:00, and corresponding event information is to run Step.The travel information of Tuesday to Thursday includes: temporal information when being 7:00, and corresponding location information is family, corresponding event information To have breakfast.Then when first acquisition unit 100 obtains the 7:00 that current time is Friday, first acquisition unit 100 can basis It is family, thing that the travel information of Monday to Thursday, which is location information the highest travel information of the corresponding frequency of 7:00 that obtains Friday, Part information is to have breakfast.
In embodiments of the present invention, audio index information can include: the category of the title of music, the label of music and music Property etc..Wherein, the label of music may include the label that sentiment, campus, youth and peace and quiet etc. are used to describe music style, music Attribute may include the music types such as rock and roll, jazz and piano.Further, the label and music attribute can be by terminal users It carries out preset, or is carried out by music provider preset.
In embodiments of the present invention, terminal user can be with the corresponding relationship of preset travel information and audio index information, example Such as: for terminal user in preset each travel information, terminal user can the corresponding music of preset every travel information simultaneously Index information.When first acquisition unit 100 is after getting current travel information, the first search unit 200 can be according to preset Travel information and audio index information corresponding relationship, obtain the corresponding audio index information of current travel information.
In embodiments of the present invention, the first search unit 200 can also be according to current travel information, in the music rope of storage Draw in library and scan for, has the associated audio index information of content with current travel information when finding in audio index library When, then obtain the associated audio index information.Such as: all corresponding audio index letter of the per song of terminal storage Breath, e.g., it is " deskmate you " that the corresponding audio index information of song " deskmate you ", which can be name information, when current stroke is believed Breath includes: people information when being deskmate, in terminal then would know that audio index information " deskmate you " and current travel information have Coincidence in appearance can determine whether audio index information " deskmate you " for the associated audio index information of current travel information.
In embodiments of the present invention, current travel information can also be sent to server progress by the first search unit 200 Search, and receive server return has the associated audio index information of content with current travel information.Wherein, server is used In offer audio index information and the corresponding music of audio index information.Wherein, terminal can at least one preset server Network address.
In embodiments of the present invention, it when the first search unit 200 gets associated audio index information, plays single Member 300 can play the corresponding music of audio index information by putting outside earphone or loudspeaker.
Wherein, when associated audio index information is stored in terminal, audio index letter is can be read in broadcast unit 300 Corresponding music is ceased, and is played out.Such as: when associated audio index information is " deskmate you ", terminal can play sound Happy " deskmate you ".
Further, when associated audio index information is stored on server, broadcast unit 300 can be according to depositing The server network address of storage is sent to server obtains the corresponding music of associated audio index information, and receives server return Music play out.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, is carried out according to current travel information Search obtains audio index information associated with current travel information, and plays the corresponding music of audio index information, so that Terminal can play corresponding music according to the current travel information of terminal user, so that terminal can provide the sound of more diversification It is happy to play service, improve end-user experience.
It is a kind of schematic structural diagram of the second embodiment of terminal of the embodiment of the present invention referring to Fig. 5.It is retouched in the present embodiment The terminal stated, comprising:
First acquisition unit 400, for obtaining the current travel information of terminal user.
The first search unit 500 connecting with first acquisition unit 400 is obtained for searching for the current travel information Audio index information associated with the current travel information.
The broadcast unit 600 being connect with the first search unit 500, for playing the corresponding sound of the audio index information It is happy.
Wherein, the current stroke information includes: temporal information, current location information, current mood information, current people One of information and current event information are a variety of.
Wherein, first search unit 500 is specifically used for:
The current travel information is extracted according to preset key message extracting rule, obtains key message;
The key message is searched for, audio index information associated with the key message is obtained.
Wherein, first search unit 500 is specifically used for:
According to the corresponding relationship of preset key message and audio index information, the associated sound of the key message is obtained Happy index information.
Wherein, first search unit 500 is specifically used for:
First transmission unit searches for the key message request for sending to server, wherein the server is used for Audio index information and the corresponding music of audio index information are provided;
First receiving unit responds the associated music of the key message that the request returns for receiving server Index information.
Wherein, the broadcast unit 600 is specifically used for:
It is sent to server and obtains the corresponding request for music of the audio index information;
It receives server and responds the corresponding music of the audio index information that the request returns, and play the sound It is happy.
In embodiments of the present invention, preset key message extracting rule may is that terminal can with preset key message, when When having in current travel information including preset key message, the first search unit 500 extracts included key Information.Such as: preset key message includes: the key messages such as " happy ", " campus ", " friend ", when current stroke packet The current mood information included 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 be according to the content of preset key message and current travel information, to working as Front travel information extracts key message, extracts the key message of acquisition can include: " happy " and " friend ".Further, First search unit 500 can also screen the content of current travel information, then extract included key message. Such as, the first search unit 500 can extract key message to the event information in current travel information, obtain crucial letter Breath;First search unit 500 can also scan for the content of current travel information, then extract included crucial letter Breath.Such as, if terminal preset key message includes " classmate ", when the content of current travel information includes meeting with Lee xx, first Search unit 500 can scan for Lee xx, if the relationship of acquisition Lee xx and terminal user are classmate's relationships, terminal be can get Key message includes " classmate ".
In embodiments of the present invention, preset key message extracting rule may also is that terminal can with preset key message, And associated key message is distributed for each key message, is believed when having in current travel information including preset key When breath, the first search unit 500 extracts included key message and obtains the extracted associated key of key message Information.Such as, preset key message includes: " classmate " and " spending a holiday ", wherein the associated key message of " happy " can wrap Include: " youth ", " sentiment ", the associated key message of " spending a holiday " may include: " cheerful and light-hearted ", " light ".When current stroke is believed The current mood information that breath includes is happy happiness, current location information is dining room, current people information is friend classmate, when Preceding event information is party, then the first search unit 500 can be according to the associated pass of preset key message, key message The content of key information and current travel information extracts key message to current travel information, key message is obtained, wherein closing Key information can include: " classmate ", " youth " and " sentiment ".Further, the first search unit 500 can also believe current stroke The content of breath is screened, then extracts included key message and the associated key message of key message.Such as, One search unit 500 can extract key message to the event information in current travel information, obtain key message and The associated key message of key message;First search unit 500 can also scan for the content of current travel information, then Extract included key message and associated key message.Such as, if terminal preset key message includes " classmate " And associated key message " youth " and " sentiment ", when the content of current travel information includes meeting with Lee xx, first Search unit 500 can scan for Lee xx, if the relationship of acquisition Lee xx and terminal user are classmate's relationships, the first search is single First 500 available key messages include " classmate ", " youth " and " sentiment ".
In embodiments of the present invention, preset key message extracting rule may also is that terminal can be with preset field With the corresponding relationship of key message, when current stroke information includes preset content field, the first search unit 500 can basis The corresponding relationship of preset content field and key message, obtains key message corresponding to current travel information.
In embodiments of the present invention, the first search unit 500 can traverse in the music libraries being locally stored believes with crucial The associated audio index information of manner of breathing, the music libraries being locally stored may include that audio index information and audio index information are corresponding Music.Wherein, associated audio index information may include carrying the audio index information of key message.Such as: when Key message includes " happiness " and " happy ", then the first search unit 500 can traverse and " happiness " or " happy " in music libraries The associated audio index information of key message, it includes " happiness " that such as the first search unit 500, which may search for out musical designation, Audio index information or music label include " happy " audio index information.
In embodiments of the present invention, the first search unit 500 can also be sent to server obtains the search crucial letter Breath request, so that server respond request returns to the associated audio index information of key message, wherein the server can be For providing the Website server of audio index information and the corresponding music of audio index information, such as: Baidu music, KuGoo sound It is happy etc..When first search unit 500 puts request to server, tell the server scans for key message, and obtains search As a result.After server receives the request that the first search unit 500 sends over, carried out in the musical database of server Key message is searched for, and search result is returned into terminal.Wherein, terminal can be with preset station address.
In embodiments of the present invention, when the audio index information that terminal obtains is the audio index information being locally stored, Broadcast unit 600 can obtain the corresponding music of audio index information and be played out in the music libraries being locally stored;When broadcasting When the audio index information for putting the acquisition of unit 600 is the audio index information that website returns, terminal can send to server and obtain The corresponding request for music of audio index information is taken, and receives the corresponding sound of audio index information of server respond request return It is happy, and play out.
Wherein it is possible to understand, the function of each functional module of the present embodiment can also be according to referring to above-described embodiment Associated description is no longer repeated herein.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, is carried out according to current travel information Search obtains audio index information associated with current travel information, and plays the corresponding music of audio index information, so that Terminal can play corresponding music according to the current travel information of terminal user, so that terminal can provide the sound of more diversification It is happy to play service, improve end-user experience.
It is a kind of 3rd embodiment structural schematic diagram of terminal of the embodiment of the present invention referring to Fig. 6.It is retouched in the present embodiment The terminal stated, comprising:
Allocation unit 10 is obtained, for obtaining the broadcast information of the corresponding music of the audio index information, according to described Broadcast information is allocated broadcasting priority to the audio index information.
First acquisition unit 20, for obtaining the current travel information of terminal user.
The first search unit 30 being connect respectively with acquisition allocation unit 10 and first acquisition unit 20, it is described for searching for Current travel information obtains audio index information associated with the current travel information.
The generation unit 40 being connect with the first search unit 30, for generating music column according to the audio index information Table.
The broadcast unit 50 being connect with the first search unit 30, for playing the corresponding music of the audio index information.
In embodiments of the present invention, broadcast information may include the replay times of music, the switching times of music, music One of collection number of like time and music is a variety of.It can be that within certain the preset time, terminal can be remembered The switching times of the replay times and/or music of recording happy and/or the like time of music.Wherein, the weight of terminal record music Broadcasting number may is that when music is one time complete, and terminal can increase the replay times of the music of record primary;Terminal note The happy switching times of recording may is that in music, monitor the operational order of the switching music of terminal user's input When, terminal can increase the switching times of the music of record primary;The like time of terminal record music may is that when in sound When happy broadcasting, when monitoring the operational order of terminal user's input thumbed up, terminal can increase by one to the like time of record It is secondary;The collection number of terminal record music may is that in music, detect the operation of the collection of terminal user's input When instruction, terminal can collection number to record increase it is primary.
In embodiments of the present invention, obtaining allocation unit 10 can be according to the replay time of the corresponding music of audio index information Number, is allocated broadcasting priority to audio index information.Such as, when the replay times of music are greater than or equal to first threshold, The second broadcasting priority can be distributed audio index information by obtaining allocation unit 10, when the replay times of music are less than the first threshold When being worth, and being greater than or equal to second threshold, the first broadcasting priority can be distributed audio index information by obtaining allocation unit 10, Wherein, first priority is played less than the second broadcasting priority.Obtaining allocation unit 10 can be corresponding according to audio index information Music switching times, broadcasting priority is allocated to audio index information.Such as: be greater than when the switching times of music or When third threshold value, third broadcasting priority can be distributed audio index information by obtaining allocation unit 10, when the switching of music Number be less than third threshold value, and be greater than or equal to four threshold values when, obtain allocation unit 10 audio index information can be distributed 4th plays priority, wherein third plays priority and plays priority less than the 4th.Obtaining allocation unit 10 can also basis Like time and collection number are allocated broadcasting priority.
Further, obtaining allocation unit 10 can also be according to the replay times of music, the switching times of music, music One of collection number of like time and music or many kinds of parameters carry out integrated treatment analysis, carry out to audio index information Distribution plays priority.
Specifically, obtain allocation unit 10 according to the replay times of music, the switching times of music, music like time The specific embodiment for carrying out integrated treatment analysis with one of the collection number of music or many kinds of parameters includes but is not limited to Embodiment discussed below: integrated treatment analysis can be carried out according to two kinds of parameters by obtaining allocation unit 10, to audio index Information is allocated broadcasting priority.Such as, obtaining allocation unit 10 can be according to the switching time of the replay times and music of music Several pairs of audio index information are allocated broadcasting priority.Such as: terminal can be set when the switching times of music are greater than music Replay times when, obtain allocation unit 10 can to audio index information distribute first play priority, when the switching of music When number is less than or equal to the replay times of music, obtaining allocation unit 10 can be excellent to the second broadcasting of audio index information distribution First grade obtains allocation unit when the switching times of music are less than first threshold, and the broadcasting time of music is greater than second threshold 10, which can distribute third to audio index information, plays priority, wherein and first, which plays priority, plays priority less than second, Second, which plays priority, is less than third broadcasting priority.
Further, obtaining allocation unit 10 can be according to the like time of music and the collection number of music to music rope Fuse breath is allocated broadcasting priority, such as: terminal can be set when the like time of music is greater than the collection number of music When, obtain allocation unit 10 and can distribute first to audio index information and play priority, be less than when the like time of music or Equal to music collection number when, obtain allocation unit 10 can to audio index information distribute second play priority, wherein First, which plays priority, plays priority less than second;Obtaining allocation unit 10 can also be according to the switching times and music of music Like time broadcasting priority is allocated to audio index information, such as: the switching times when music can be set in terminal Greater than music like time when, obtain allocation unit 10 can to audio index information distribute first play priority, work as sound When happy switching times are less than or equal to the like time of music, the can be distributed to audio index information by obtaining allocation unit 10 Two play priority, wherein first, which plays priority, plays priority less than second;Obtaining allocation unit 10 can also be according to sound The collection number of happy switching times and music is allocated broadcasting priority to audio index information, such as: terminal can be set It sets when the switching times of music are greater than the collection number of music, the can be distributed to audio index information by obtaining allocation unit 10 One plays priority, and when the switching times of music are less than or equal to the collection number of music, obtaining allocation unit 10 can be right Audio index information distribution second plays priority, wherein first, which plays priority, plays priority less than second.
Specifically, integrated treatment analysis can be carried out according to three kinds of parameters by obtaining allocation unit 10, to audio index information It is allocated broadcasting priority.Such as, obtaining allocation unit 10 can be according to the replay times of music, the switching times of music and sound Happy like time is allocated broadcasting priority to audio index information.Such as: the switching time when music can be set in terminal When counting the replay times for being greater than music, and being greater than the like time of music, obtaining allocation unit 10 can be to audio index information Distribution first plays priority, when the switching times of music are less than or equal to the replay times of music, and is greater than thumbing up time for music When number, the second broadcasting priority can be distributed audio index information by obtaining allocation unit 10, when the switching times of music are less than Equal to the replay times of music, and be less than or equal to music like time when, obtain allocation unit 10 audio index can be believed Breath distribution third plays priority, when the switching times of music are less than or equal to the replay times of music, and is less than or equal to music When like time, and when the broadcasting time of music is greater than threshold value, the can be distributed to audio index information by obtaining allocation unit 10 Four play priority, wherein first, which plays priority, plays priority less than second, and second plays priority plays less than third Priority, third play priority and play priority less than the 4th.
Specifically, integrated treatment analysis can be carried out according to whole parameters by obtaining allocation unit 10, to audio index information It is allocated broadcasting priority.Such as, terminal can be set when music switching times be greater than music replay times, and be greater than sound Happy like time, and be greater than music collection number when, obtain allocation unit 10 can to audio index information distribute first Play priority;When the switching times of music are less than or equal to the replay times of music, and it is greater than the like time of music, and is greater than When the collection number of music, the second broadcasting priority can be distributed audio index information by obtaining allocation unit 10;When music Switching times are less than or equal to the replay times of music, and are less than or equal to the like time of music, and are greater than the collection number of music When, third broadcasting priority can be distributed audio index information by obtaining allocation unit 10;When music switching times be less than etc. When in the replay times of music, and being less than or equal to the like time of music, and being less than or equal to the collection number of music, distribution is obtained Unit 10 can distribute the 4th to audio index information and play priority, wherein the first broadcasting priority plays excellent less than second First grade, second, which plays priority, is less than third broadcasting priority, and third plays priority and plays priority less than the 4th.
In embodiments of the present invention, music list may include terminal associated audio index information obtained, or Musical designation in the associated audio index information of person.Generation unit 40 can be by the audio index information of acquisition by preset Sequence arranged, generate music list, wherein preset sequence can be obtain audio index information sequencing or It is the initial sequence in audio index information.Terminal user can be managed music list by the playlist, example Such as: carrying out deleting music or add music.
In embodiments of the present invention, preset broadcasting prioritized list may include the first broadcasting priority, second broadcast Priority, the third broadcasting broadcasting priority of priority ... n-th are put, first, which plays priority, plays priority less than second, the Two, which play priority, is less than third broadcasting priority ... (n-1)th broadcasting priority less than the n-th broadcasting priority, wherein each The broadcasting priority of grade can be indicated with number or letter.Such as: first plays priority, second plays priority, the The three broadcasting broadcasting of priority ... n-th priority, which can correspond to, is expressed as 1,2,3 ... n, alternatively, a, b, c ..., specific corresponding to pass System can be configured by developer.When broadcasting prioritized list is corresponding is expressed as 1,2,3 ... n, audio index information Portable broadcasting priority can play priority for one of 1,2,3 ... n.
In embodiments of the present invention, broadcast unit 50 can read the audio index information of music list terminal broadcasting it is excellent Then first grade plays out the corresponding music of audio index information by above-described prioritized list.Further, When occurring carrying the audio index information of the same broadcasting priority in music list, broadcast unit 50 can be arranged according to music The precedence relationship of list sorting plays out the corresponding music of audio index information.
In concrete application, reference can be made to following table one:
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~I of upper table refers to the audio index information in music list, when play prioritized list be from 1~ 10 are sequentially ranked up, and when broadcasting priority-level is incremented by successively, broadcast unit 50 can be obtained from table plays priority grade Not highest is audio index information A.The playing sequence that broadcast unit 50 obtains 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 it is possible to understand, the function of each functional module of the present embodiment can also be according to referring to above-described embodiment Associated description is no longer repeated herein.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, is carried out according to current travel information Search obtains audio index information associated with current travel information, and plays the corresponding music of audio index information, so that Terminal can play corresponding music according to the current travel information of terminal user, so that terminal can provide the sound of more diversification It is happy to play service, improve end-user experience.
It is a kind of example structure schematic diagram of terminal provided in an embodiment of the present invention referring to Fig. 7.It is retouched in the present embodiment The terminal stated, it may include: (quantity of the processor 201 in terminal can be one or more, and Fig. 7 is handled with one for processor 201 For device), memory 202, output device 203, input unit 204 and data interaction device 205.Wherein, processor 201, deposit Reservoir 202, output device 203, input unit 204 and data interaction device 205 can be connected by bus or other means, In, in Fig. 7 for being connected by bus.
Wherein, output device 203 may include earphone or loudspeaker, for exporting audio (may include music).
Input unit 204 may include touch panel, and touch panel includes touch screen and touch screen, for detecting terminal touch-control Operational order on panel.
Data interaction device 205 is used for interaction data, it may include the radio-frequency units such as WIFI, bluetooth and NFC or USB Interface arrangement.
Above-mentioned memory 202 can be high speed RAM memory, can also be non-labile memory (non-volatile ), such as magnetic disk storage memory.Above-mentioned memory 202 is used to store a set of program code, above-mentioned input unit 204, output Device 203 and processor 201 are used to call the code stored in memory 202, perform the following operations:
The processor 201, for obtaining the current travel information of terminal user;
The processor 201 obtains associated with the current travel information for searching for the current travel information Audio index information;
The output device 203, for playing the corresponding music of the audio index information.
Wherein, the current stroke information includes: temporal information, current location information, current mood information, current people One of information and current event information are a variety of.
Wherein, the processor 201 searches for the current travel information, obtains associated with the current travel information Audio index information specifically:
The current travel information is extracted according to preset key message extracting rule, obtains key message;
The key message is searched for, audio index information associated with the key message is obtained.
Wherein, the processor 201 searches for the key message, obtains audio index associated with the key message Information specifically:
According to the corresponding relationship of preset key message and audio index information, the associated sound of the key message is obtained Happy index information.
Wherein, the processor 201 searches for the key message, obtains audio index associated with the key message Information specifically:
It controls the data interaction device 205 and sends the search key message request to server, wherein the service Device is for providing audio index information and the corresponding music of audio index information;
The data interaction device 205 is controlled to receive server to respond the key message that the request returns associated Audio index information.
Wherein, the processor 201 plays the corresponding music of the audio index information specifically:
The data interaction device 205 is controlled to ask to the corresponding music of the server transmission acquisition audio index information It asks;
It controls the data interaction device 205 and receives the audio index information pair that server responds the request return The music answered, and play the music.
Wherein, the processor 201 is also used to, and includes: before the current travel information for obtaining terminal user
The broadcast information for obtaining the corresponding music of the audio index information, according to the broadcast information to the music rope Fuse breath is allocated broadcasting priority.
Wherein, the processor 201 is also used to, and is searching for the current travel information, is obtained and is believed with the current stroke Include: after the associated audio index information of manner of breathing
Music list is generated according to the audio index information.
Wherein, the output device 203 plays the corresponding music of the audio index information specifically:
According to the broadcasting priority that the audio index information is distributed, the sound is played by preset prioritized list The corresponding music of music index information in happy list.
Wherein, the broadcast information includes:
One of the replay times of music, the switching times of music, the like time of music and collection number of music Or it is a variety of.
Wherein, the input unit 204, for receiving handover operation instruction and/or thumbing up operational order and/or collection behaviour It instructs.
In the specific implementation, data interaction device 205 described in the embodiment of the present invention, input unit 204, output device 203 and processor 201 first embodiment of method for playing music provided in an embodiment of the present invention, second embodiment and can be performed First embodiment, the second reality of terminal provided in an embodiment of the present invention also can be performed in implementation described in three embodiments The implementation of terminal described in example and 3rd embodiment is applied, details are not described herein.
In embodiments of the present invention, terminal obtains the current travel information of terminal user, is carried out according to current travel information Search obtains audio index information associated with current travel information, and plays the corresponding music of audio index information, so that Terminal can play corresponding music according to the current travel information of terminal user, so that terminal can provide the sound of more diversification It is happy to play service, improve end-user experience.
Unit described in the embodiment of the present invention can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, specific integrated circuit) Lai Shixian.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (5)

1. a kind of method for playing music, which is characterized in that the described method includes:
The broadcast information for obtaining the corresponding music of audio index information, divides audio index information according to the broadcast information With playing priority, wherein the broadcast information includes that the replay times of music, the switching times of music, music thumb up time One of several and music collection number is a variety of;
Current time is obtained, is believed according to the current time in the current stroke for obtaining terminal user in preset travel information Breath, wherein the travel information is the travel information that user arranges, wherein the travel information includes temporal information, works as front center Feelings information, current people's information or current event information;
It searches for the current travel information, obtains audio index information associated with the current travel information;
Play the corresponding music of the associated audio index information, wherein the broadcasting audio index information is corresponding Music include: that music list is generated according to the associated audio index information, distributed according to the audio index information Broadcasting priority, it is corresponding to play associated audio index information in the music list by preset prioritized list Music.
2. the method as described in claim 1, which is characterized in that current travel information described in described search, acquisition are worked as with described The associated audio index information of front travel information includes:
The current travel information is extracted according to preset key message extracting rule, obtains key message;
The key message is searched for, audio index information associated with the key message is obtained.
3. method according to claim 2, which is characterized in that key message described in described search obtains and the crucial letter The associated audio index information of manner of breathing specifically:
According to the corresponding relationship of preset key message and audio index information, the associated music rope of the key message is obtained Fuse breath.
4. method according to claim 2, which is characterized in that key message described in described search obtains and the crucial letter The associated audio index information of manner of breathing includes:
It is sent to server and searches for the key message request, wherein the server is for providing audio index information and sound The corresponding music of happy index information;
It receives server and responds the associated audio index information of the key message that the request returns.
5. method as claimed in claim 4, which is characterized in that described to play the corresponding music packet of the audio index information It includes:
It is sent to server and obtains the corresponding request for music of the audio index information;
It receives server and responds the corresponding music of the audio index information that the request returns, and play the music.
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 CN104599702A (en) 2015-05-06
CN104599702B true 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)

Families Citing this family (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
CN106534923B (en) * 2016-12-07 2019-09-10 珠海迈越信息技术有限公司 A kind of data capture method and device
CN107911428A (en) * 2017-11-03 2018-04-13 维沃移动通信有限公司 A kind of song method for pushing, device and mobile terminal

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752714A (en) * 2012-06-25 2012-10-24 华为终端有限公司 Method and device for setting bell

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7206775B2 (en) * 2000-07-06 2007-04-17 Microsoft Corporation 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
CN103023971B (en) * 2012-11-15 2015-09-09 广州酷狗计算机科技有限公司 The information-pushing method in music sharing radio station and system thereof
CN103218438B (en) * 2013-04-18 2016-04-20 广东欧珀移动通信有限公司 Method and the mobile terminal of Online Music recommended in broadcasting record based on mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752714A (en) * 2012-06-25 2012-10-24 华为终端有限公司 Method and device for setting bell

Also Published As

Publication number Publication date
CN104599702A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104599702B (en) A kind of method for playing music
US9870360B1 (en) Shared metadata for media files
CN104881237B (en) A kind of network interdynamic method and client
CN103403705B (en) Loading a mobile computing device with media files
US20120108221A1 (en) Augmenting communication sessions with applications
Botterill et al. Millennials’ media use: It is a matter of time
CN104333783B (en) The order method and system, relevant device of a kind of formulation task
US20140309760A1 (en) Music playback method, third-party application and device
US20110228921A1 (en) Method and System for Live Collaborative Tagging of Audio Conferences
US8792863B2 (en) Method for collecting and storing annotations associated to a voice audio data
CN109461462A (en) Audio sharing method and device
CN101546589A (en) Active playlist having dynamic media item groups
CN102857471A (en) Multimedia interacting method and system
WO2019047850A1 (en) Identifier displaying method and device, request responding method and device
CN115134653A (en) Predictive media routing
CN107071711A (en) Multimedia sharing method, device and Bluetooth equipment
CN104167216B (en) A kind of audio file sharing method, device and audio amplifier
CN106686431A (en) Synthesizing method and equipment of audio file
Spinelli et al. Influences on the Social Practices Surrounding Commercial Music Services: A Model for Rich Interactions.
CN104484350A (en) Terminal
CN105025353B (en) A kind of control method for playing back and user terminal
CN105357388A (en) Information recommending method and electronic equipment
CN107484015A (en) Program processing method and device, terminal
CN106886536A (en) A kind of modularization interaction display method and system
CN109614252B (en) Audio playing scheduling method and system for intelligent story machine

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
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.