CN104869238A - Ringtone setting method and mobile terminal - Google Patents

Ringtone setting method and mobile terminal Download PDF

Info

Publication number
CN104869238A
CN104869238A CN201510217482.0A CN201510217482A CN104869238A CN 104869238 A CN104869238 A CN 104869238A CN 201510217482 A CN201510217482 A CN 201510217482A CN 104869238 A CN104869238 A CN 104869238A
Authority
CN
China
Prior art keywords
song
bar
record
mobile terminal
tinkle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510217482.0A
Other languages
Chinese (zh)
Inventor
何晓俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510217482.0A priority Critical patent/CN104869238A/en
Publication of CN104869238A publication Critical patent/CN104869238A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a ringtone setting method. The method comprises the followings steps: reading N music playing records of a mobile terminal, wherein the N music playing records are used for recording the playing information of N songs, and N is an integer greater than or equal 1; acquiring a target song which is played most frequently within a preset time from the N music playing records according to the playing times of each song recorded in the N music playing records; and setting the target song as a ringtone. The embodiment of the invention also discloses the mobile terminal. Through adoption of the embodiment of the invention, the song which is played most frequently within the preset time can be selected according to the music playing records of the mobile terminal, and is set as the ringtone of the mobile terminal, so that operation is easy, and the user experience is enhanced.

Description

A kind of method that the tinkle of bells is arranged and mobile terminal
Technical field
The embodiment of the present invention relates to electronic technology field, particularly relates to method and the mobile terminal of the setting of a kind of the tinkle of bells.
Background technology
Along with the development of science and technology, mobile terminal (as mobile phone, panel computer, Intelligent worn device etc.) is more and more universal, meanwhile, function also from strength to strength, develops the electronic portable device becoming a kind of integrated multifunction from a kind of simple means of communication.
In the process that mobile terminal uses, the tinkle of bells is essential, under normal circumstances, when not having human intervention, usually only can use a kind of the tinkle of bells, comparatively single, and user can feel to dislike.Thus, user can use and manually arrange, and this mode is comparatively loaded down with trivial details, and usually worried as the tinkle of bells because do not know to select which song.
Summary of the invention
The invention provides method and the mobile terminal of the setting of a kind of the tinkle of bells, the music record by mobile terminal arranges the tinkle of bells, thus simple to operate, improves Consumer's Experience.
Embodiment of the present invention first aspect provides a kind of method that the tinkle of bells is arranged, and comprises step:
Read the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer;
According to the broadcasting time of the every song recorded in described N bar music record, from described N bar music record, obtain the maximum target song of broadcasting time in Preset Time;
Described target song is set to the tinkle of bells.
Embodiment of the present invention second aspect provides a kind of mobile terminal, comprising:
First reading unit, for reading the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer;
First acquiring unit, for the broadcasting time according to the every song recorded in the described N bar music record of described first reading unit reading, obtains the maximum target song of broadcasting time in Preset Time from described N bar music record;
Setting unit, is set to the tinkle of bells for the described target song got by described first acquiring unit.
The embodiment of the present invention reads the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer; According to the broadcasting time of the every song recorded in described N bar music record, from described N bar music record, obtain the maximum target song of broadcasting time in Preset Time; Described target song is set to the tinkle of bells.Adopt the embodiment of the present invention can choose the maximum song of broadcasting time in Preset Time according to the music record of mobile terminal, be set to the tinkle of bells of mobile terminal, thus simple to operate, improve Consumer's 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 only 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.
The schematic flow sheet of the first embodiment of the method that a kind of the tinkle of bells that Fig. 1 provides for the embodiment of the present invention is arranged;
The schematic flow sheet of the second embodiment of the method that a kind of the tinkle of bells that Fig. 2 provides for the embodiment of the present invention is arranged;
The schematic flow sheet of the 3rd embodiment of the method that a kind of the tinkle of bells that Fig. 3 provides for the embodiment of the present invention is arranged;
The structural representation of the first embodiment of a kind of mobile terminal that Fig. 4 a provides for the embodiment of the present invention;
The another structural representation of the first embodiment of a kind of mobile terminal that Fig. 4 b provides for the embodiment of the present invention;
The another structural representation of the first embodiment of a kind of mobile terminal that Fig. 4 c provides for the embodiment of the present invention;
The structural representation of the second embodiment of a kind of mobile terminal that Fig. 5 provides for the embodiment 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 only 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.
In specific implementation, in the embodiment of the present invention, mobile terminal can include but not limited to: notebook computer, mobile phone, panel computer, intelligent wearable device etc.The system of mobile terminal refers to the operating system of mobile terminal, can include but not limited to: android system, Saipan system, Windows system, IOS (Mobile operating system of Apple's exploitation) system etc.It should be noted that, Android mobile terminal refers to the mobile terminal of android system, and Saipan mobile terminal refers to the mobile terminal of Saipan system, etc.Above-mentioned mobile terminal is only citing, and non exhaustive, including but not limited to above-mentioned mobile terminal.
A kind of method that in Fig. 1 ~ Fig. 5, the embodiment of the present invention provides the tinkle of bells to arrange and mobile terminal, the music record by mobile terminal arranges the tinkle of bells, thus simple to operate, improves Consumer's Experience.
Refer to Fig. 1, the first embodiment schematic flow sheet of the method that a kind of the tinkle of bells that Fig. 1 provides for the embodiment of the present invention is arranged.The method of the tinkle of bells setting of the embodiment of the present invention, comprises step:
S101, read the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer.
In specific implementation, mobile terminal can read the N bar music record of mobile terminal, N bar music record is for recording the broadcast information of N song, wherein, N be more than or equal to 1 integer, can comprise the broadcasting record of N song in N bar music record, N song can be the song that can comprise repetition in the different song of N or N song, as long as mobile terminal plays arbitrary song, the music record of corresponding song all can be generated.The broadcast information of N song can include but are not limited to: the time span of the music style of song title, song, the singer of song, song, the initial time of song, the end time of song, the form of song etc.Further, music record can also comprise: the operation behavior of user, and as in time being played to song j, song j can be any song in mobile terminal, and user is jumped over, illustrates like this and is used for not this song.Whenever user plays a song song time, no matter whether this song is play complete, can all generate music record.N bar is play record and be can be the whole broadcasting record of user, or the music record generated in preset time period for user.
S102, broadcasting time according to the every song recorded in described N bar music record, obtain the maximum target song of broadcasting time in Preset Time from described N bar music record.
In specific implementation, mobile terminal can according to the broadcasting time of the every song recorded in N bar music record, the maximum target song of broadcasting time in Preset Time is obtained from N bar music record, wherein, Preset Time can include but are not limited to: 1 hour, 24 hours, 48 hours, a week, one month, 1 year, or play music to current time for user first.Preset Time can oneself be arranged by for oneself.
S103, described target song is set to the tinkle of bells.
In specific implementation, target song can be set to the tinkle of bells by mobile terminal, and the tinkle of bells can include but are not limited to: telephone bell, ringing sound of text message, memorandum ring prompting, ring of alarm clock, wifi telephone bell, receive message and the tinkle of bells of producing etc. that specific user sends.
In the execution mode that some are feasible, when getting the maximum K song of the broadcasting time in Preset Time from N bar music record, wherein, K be greater than 1 integer, the reproduction time in the music record of songs maximum for K broadcasting time is set to the tinkle of bells near the song of current time.
Further, when the K song that the broadcasting time that user gets in Preset Time from N bar music record is maximum, K be greater than 1 integer, mobile terminal can choose first object song from K target song; First object song is set to the tinkle of bells, wherein, first object song is the song of the reproduction time in music record corresponding to K target song near current time, or the song that user in K song is partial to the music style of hobby is set to the tinkle of bells, when as K=2, wherein a song style is rock and roll, and another first chant music style is light music, user is partial to rock and roll, then the song of rock and roll style in K song can be set to the tinkle of bells by mobile terminal.Further, when getting the maximum K song of the broadcasting time in Preset Time from N bar music record, wherein, K be greater than 1 integer, K song can be set to K different the tinkle of bells by mobile terminal, when as K=3, the song that 3 broadcasting times are maximum is respectively A, B, C, song A can be set to the tinkle of bells of getting up in morning 7 by mobile terminal, song B is set to the working the tinkle of bells at 14 in afternoon, song C is set to the tinkle of bells of the prompting user sleep at 22 in evening.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, songs maximum for broadcasting time in N bar music record is set to the tinkle of bells.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, mobile terminal can using the tinkle of bells of the tinkle of bells of mobile terminal setting last time as current terminal.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, the scope of Preset Time can expand by mobile terminal further, to obtain the music record of predetermined number, from the music record preset, choose the maximum song of broadcasting time again, songs maximum for broadcasting time in the music record of predetermined number is set to the tinkle of bells.
The embodiment of the present invention reads the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer; According to the broadcasting time of the every song recorded in described N bar music record, from described N bar music record, obtain the maximum target song of broadcasting time in Preset Time; Described target song is set to the tinkle of bells.Adopt the embodiment of the present invention can choose the maximum song of broadcasting time in Preset Time according to the music record of mobile terminal, be set to the tinkle of bells of mobile terminal, thus simple to operate, improve Consumer's Experience.
Refer to Fig. 2, the schematic flow sheet of the second embodiment of the method that a kind of the tinkle of bells that Fig. 2 provides for the embodiment of the present invention is arranged.The method of the tinkle of bells setting of the embodiment of the present invention, comprises step:
S201, read the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer.
Wherein, the step S201 of the embodiment of the present invention described by Fig. 2 refers to the step S101 of the embodiment of the present invention described by Fig. 1.
S202, from described N bar music record, read the P bar music record stored in the fixed time, described P is the integer being less than or equal to N.
In specific implementation, mobile terminal can read the P bar music record stored in the fixed time from N bar music record, P is the integer being less than or equal to N, and as N can be the music record in a week, P can be the music record in 24 hours of current time.
S203, added up according to song title by described P bar music record, to obtain the statistic record of M bar, wherein, corresponding song of each statistic record in the statistic record of described M bar, described M is the integer being less than or equal to P.
In specific implementation, P bar music record can be added up according to song title by mobile terminal, and to obtain the statistic record of M bar, wherein, the corresponding song of each statistic record in this M bar statistic record, wherein, M is the integer being less than or equal to P.
S204, from the statistic record of described M bar, choose target song.
In specific implementation, mobile terminal can choose target song from the statistic record of M bar, and further, the song that the broadcasting time chosen from the statistic record of M bar is maximum can be one or how first song.When getting the maximum song of how first broadcasting time, songs maximum for this how first broadcasting time can be set to different the tinkle of bells by mobile terminal.
S205, described target song is set to the tinkle of bells.
Wherein, the step S205 of the embodiment of the present invention described by Fig. 2 refers to the step S103 of the embodiment of the present invention described by Fig. 1.
In the execution mode that some are feasible, mobile terminal can read the P bar music record meeting Preset Time from N bar music record.Mobile terminal can be added up according to the singer name in N bar music record, obtains the song that singer name is maximum, chooses the song that the broadcasting time of this singer is maximum inside the song maximum from singer name.
The embodiment of the present invention reads the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer; According to the broadcasting time of the every song recorded in described N bar music record, from described N bar music record, obtain the maximum target song of broadcasting time in Preset Time; Described target song is set to the tinkle of bells.Adopt the embodiment of the present invention can choose the maximum song of broadcasting time in Preset Time according to the music record of mobile terminal, be set to the tinkle of bells of mobile terminal, thus simple to operate, improve Consumer's Experience.
Refer to Fig. 3, the schematic flow sheet of the 3rd embodiment of the method that a kind of the tinkle of bells that Fig. 3 provides for the embodiment of the present invention is arranged.The method of the tinkle of bells setting of the embodiment of the present invention, comprises step:
S301, read the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer.
Wherein, the step S301 of the embodiment of the present invention described by Fig. 3 refers to the step S101 of the embodiment of the present invention described by Fig. 1.
S302, broadcasting time according to the every song recorded in described N bar music record, obtain the maximum target song of broadcasting time in Preset Time from described N bar music record.
Wherein, the step S302 of the embodiment of the present invention described by Fig. 3 refers to the step S102 of the embodiment of the present invention described by Fig. 1.
S303, obtain the predetermined fraction of described target song.
Wherein, mobile terminal can obtain the predetermined fraction of target song.Further, predetermined fraction can include but are not limited to: the snatch of song in climax parts, accompaniment part, Preset Time, etc.Further, the song that broadcasting time is maximum in Preset Time is 1, mobile terminal can carry out song cutting to this song, to obtain the climax parts of this song; The song that broadcasting time is maximum in Preset Time be more than 2 or 2 songs in, mobile terminal can cut this song of more than 2 or 2, to obtain multiple climax parts of this song of more than 2 or 2, the multiple climax parts obtained can splice according to preset order by mobile terminal, connecting method can be random splicing, also can be user to arrange, the climax parts of the song obtained after splicing is similar to skewered effect.Further, when acquisition for mobile terminal is to the climax parts of how first song, multiple climax parts can be set to different the tinkle of bells by mobile terminal respectively.
S304, described predetermined fraction is set to the tinkle of bells.
In specific implementation, predetermined fraction can be set to the tinkle of bells by mobile terminal.Such as, when the predetermined fraction climax parts of song, the climax parts of target song can be set to the tinkle of bells by mobile terminal.Further, climax parts can be set to the tinkle of bells according to preset order by mobile terminal, preset order can be the order that user specifies, time as A, B, C tri-climax parts of song, user can specify order for A, B, C, namely first the climax parts of song B is spliced after the climax parts of song A, by the splicing of the climax parts of song C after the climax parts of song B; Or preset order can be random sequence, time as A, B, C tri-climax parts of song, splice the climax parts and can be ABC, CBA, CAB etc.
The embodiment of the present invention reads the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer; According to the broadcasting time of the every song recorded in described N bar music record, from described N bar music record, obtain the maximum target song of broadcasting time in Preset Time; Obtain the predetermined fraction of described target song; Described predetermined fraction is set to the tinkle of bells.Adopt the embodiment of the present invention can choose the maximum song of broadcasting time in Preset Time according to the music record of mobile terminal, be set to the tinkle of bells of mobile terminal, thus simple to operate, improve Consumer's Experience.
Refer to Fig. 4 a, Fig. 4 a is the structural representation of the first embodiment of a kind of mobile terminal that the embodiment of the present invention provides.Mobile terminal described in the embodiment of the present invention, comprising: the first reading unit 401, first acquiring unit 402 and setting unit 403, specific as follows:
First reading unit 401, for reading the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer.
In specific implementation, the first reading unit 401 can read the N bar music record of mobile terminal, N bar music record for recording the broadcast information of N song, wherein, N be more than or equal to 1 integer.Can comprise the broadcasting record of N song in N bar music record, N song can be the song that can comprise repetition in the different song of N or N song, as long as mobile terminal plays arbitrary song, all can generate the music record of corresponding song.The broadcast information of N song can include but are not limited to: the time span of the music style of song title, song, the singer of song, song, the initial time of song, the end time of song, the form of song etc.Further, music record can also comprise: the operation behavior of user, and as in time being played to song j, song j can be any song in mobile terminal, and user is jumped over, illustrates like this and is used for not this song.Whenever user plays a song song time, no matter whether this song is play complete, can all generate music record.N bar is play record and be can be the whole broadcasting record of user, or the music record generated in preset time period for user.
First acquiring unit 402, for the broadcasting time according to the every song recorded in the described N bar music record of described first reading unit 401 reading, obtains the maximum target song of broadcasting time in Preset Time from described N bar music record; .
In specific implementation, first acquiring unit 402 can according to the broadcasting time of the every song recorded in N bar music record, the maximum target song of broadcasting time in Preset Time is obtained from N bar music record, wherein, Preset Time can include but are not limited to: 1 hour, 24 hours, 48 hours, a week, one month, 1 year, or play music to current time for user first.Preset Time can oneself be arranged by for oneself.
As a kind of possible execution mode, as shown in Figure 4 b, the mobile terminal described by the embodiment of the present invention also can comprise: the second reading unit 501, statistic unit 502 and first choose unit 503.
Second reading unit 501, for reading the P bar music record stored in the fixed time in the described N bar music record from described first reading unit 401 reading, described P is the integer being less than or equal to N.
In specific implementation, second reading unit 501 can read the P bar music record stored in the fixed time from N bar music record, P is the integer being less than or equal to N, and as N can be the music record in a week, P can be the music record in 24 hours of current time.
Statistic unit 502, described P bar music record for being read by described second reading unit 501 is added up according to song title, to obtain the statistic record of M bar, wherein, the corresponding song of each statistic record in the statistic record of described M bar, described M is the integer being less than or equal to P.
In specific implementation, P bar music record can be added up according to song title by statistic unit 502, and to obtain the statistic record of M bar, wherein, the corresponding song of each statistic record in this M bar statistic record, wherein, M is the integer being less than or equal to P.
First chooses unit 503, for choosing target song in the described M bar statistic record from described statistic unit 502 statistics.
In specific implementation, first choose unit 503 can from the statistic record of M bar target song, further, the song that the broadcasting time chosen from the statistic record of M bar is maximum can be one or how first song.When getting the maximum song of how first broadcasting time, songs maximum for this how first broadcasting time can be set to different the tinkle of bells by mobile terminal.
Setting unit 403, is set to the tinkle of bells for the described target song got by described first acquiring unit 402.
In specific implementation, target song can be set to the tinkle of bells by setting unit 403, and the tinkle of bells can include but are not limited to: telephone bell, ringing sound of text message, memorandum ring prompting, ring of alarm clock, wifi telephone bell, receive message and the tinkle of bells of producing etc. that specific user sends.
In the execution mode that some are feasible, when getting the maximum K song of the broadcasting time in Preset Time from N bar music record, wherein, K be greater than 1 integer, the reproduction time in the music record of songs maximum for K broadcasting time is set to the tinkle of bells near the song of current time by setting unit 403.
Further, when the K song that the broadcasting time that user gets in Preset Time from N bar music record is maximum, K be greater than 1 integer, first object song can be chosen from K target song; First object song is set to the tinkle of bells by setting unit 403, wherein, first object song is the song of the reproduction time in music record corresponding to K target song near current time, or the song that user in K song is partial to the music style of hobby is set to the tinkle of bells, when as K=2, wherein a song style is rock and roll, another first chant music style is light music, user is partial to rock and roll, then the song of rock and roll style in K song can be set to the tinkle of bells by mobile terminal.Further, when getting the maximum K song of the broadcasting time in Preset Time from N bar music record, wherein, K be greater than 1 integer, K song can be set to K different the tinkle of bells by mobile terminal, when as K=3, the song that 3 broadcasting times are maximum is respectively A, B, C, song A can be set to the tinkle of bells of getting up in morning 7 by mobile terminal, song B is set to the working the tinkle of bells at 14 in afternoon, song C is set to the tinkle of bells of the prompting user sleep at 22 in evening.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, songs maximum for broadcasting time in N bar music record can be set to the tinkle of bells by setting unit 403.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, setting unit 403 can using the tinkle of bells of the tinkle of bells of mobile terminal setting last time as current terminal.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, the scope of Preset Time can expand by mobile terminal further, to obtain the music record of predetermined number, from the music record preset, choose the maximum song of broadcasting time again, songs maximum for broadcasting time in the music record of predetermined number can be set to the tinkle of bells by setting unit 403.
As a kind of possible execution mode, as illustrated in fig. 4 c, the setting unit 403 described by the embodiment of the present invention can comprise: second acquisition unit 601 and arrange subelement 602.
Second chooses unit 601, for when the number of described target song is K, described K be greater than 1 integer, described described target song is set to the tinkle of bells, from the described K target song that described first acquiring unit 402 gets, chooses first object song.
Subelement 602 is set, the described first object song chosen for choosing unit 601 by described second is set to the tinkle of bells, wherein, to be the reproduction time in music record corresponding to described K target song be set to the tinkle of bells near the song of current time to described first object song.
As a kind of possible execution mode, the predetermined fraction of described target song also specifically for the predetermined fraction obtaining the described target song that described first acquiring unit 402 gets, and can be set to the tinkle of bells by the setting unit 403 of mobile terminal described by the embodiment of the present invention.
In specific implementation, wherein, setting unit 403 can obtain the predetermined fraction of target song.Further, predetermined fraction can include but are not limited to: the snatch of song in climax parts, accompaniment part, Preset Time, etc.Further, the song that broadcasting time is maximum in Preset Time is 1, mobile terminal can carry out song cutting to this song, to obtain the climax parts of this song; The song that broadcasting time is maximum in Preset Time be more than 2 or 2 songs in, mobile terminal can cut this song of more than 2 or 2, to obtain multiple climax parts of this song of more than 2 or 2, the multiple climax parts obtained can splice according to preset order by mobile terminal, connecting method can be random splicing, also can be user to arrange, the climax parts of the song obtained after splicing is similar to skewered effect.Further, when acquisition for mobile terminal is to the climax parts of how first song, multiple climax parts can be set to different the tinkle of bells by mobile terminal respectively.Predetermined fraction, after the predetermined fraction obtaining target song, can be set to the tinkle of bells by setting unit 403.Such as, when the predetermined fraction climax parts of song, the climax parts of target song can be set to the tinkle of bells.Further, climax parts can be set to the tinkle of bells according to preset order by mobile terminal, preset order can be the order that user specifies, time as A, B, C tri-climax parts of song, user can specify order for A, B, C, namely first the climax parts of song B is spliced after the climax parts of song A, by the splicing of the climax parts of song C after the climax parts of song B; Or preset order can be random sequence, time as A, B, C tri-climax parts of song, splice the climax parts and can be ABC, CBA, CAB etc.
The embodiment of the present invention first reading unit 401 reads the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer; First acquiring unit 402, according to the broadcasting time of the every song recorded in the described N bar music record of described first reading unit 401 reading, obtains the maximum target song of broadcasting time in Preset Time from described N bar music record; The described target song that described first acquiring unit 402 gets is set to the tinkle of bells by setting unit 403.Adopt the embodiment of the present invention can choose the maximum song of broadcasting time in Preset Time according to the music record of mobile terminal, be set to the tinkle of bells of mobile terminal, thus simple to operate, improve Consumer's Experience.
See the second example structure schematic diagram of a kind of mobile terminal that Fig. 5, Fig. 5 provide for the embodiment of the present invention.Mobile terminal described in the present embodiment comprises: at least one input equipment 1000; At least one output equipment 2000; At least one processor 3000, such as CPU; With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 are connected by bus 5000 with memory 4000.
Wherein, above-mentioned input equipment 1000 can be contact panel, common PC, liquid crystal display screen, touch screen etc.
Above-mentioned memory 4000 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as magnetic disc store.Above-mentioned memory 4000 is for storing batch processing code, and above-mentioned input equipment 1000, output equipment 2000 and processor 3000, for calling the program code stored in memory 4000, perform and operate as follows:
Above-mentioned processor 3000, reads the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer;
In specific implementation, above-mentioned processor 3000 can read the N bar music record of mobile terminal, N bar music record is for recording the broadcast information of N song, wherein, N be more than or equal to 1 integer, can comprise the broadcasting record of N song in N bar music record, N song can be the song that can comprise repetition in the different song of N or N song, as long as mobile terminal plays arbitrary song, the music record of corresponding song all can be generated.The broadcast information of N song can include but are not limited to: the time span of the music style of song title, song, the singer of song, song, the initial time of song, the end time of song, the form of song etc.Further, music record can also comprise: the operation behavior of user, and as in time being played to song j, song j can be any song in mobile terminal, and user wants to jump in the past, illustrates like this and is used for not this song.Whenever user plays a song song time, no matter whether this song is play complete, can all generate music record.N bar is play record and be can be the whole broadcasting record of user, or the music record generated in preset time period for user.
Above-mentioned processor 3000, also specifically for:
According to the broadcasting time of the every song recorded in described N bar music record, from described N bar music record, obtain the maximum target song of broadcasting time in Preset Time;
In specific implementation, above-mentioned processor 3000 can according to the broadcasting time of the every song recorded in N bar music record, the maximum target song of broadcasting time in Preset Time is obtained from N bar music record, wherein, Preset Time can include but are not limited to: 1 hour, 24 hours, 48 hours, a week, one month, 1 year, or play music to current time for user first.Preset Time can oneself be arranged by for oneself.
Above-mentioned processor 3000, also specifically for:
Described target song is set to the tinkle of bells.
In specific implementation, target song can be set to the tinkle of bells by above-mentioned processor 3000, and the tinkle of bells can include but are not limited to: telephone bell, ringing sound of text message, memorandum ring prompting, ring of alarm clock, wifi telephone bell, receive message and the tinkle of bells of producing etc. that specific user sends.
In the execution mode that some are feasible, when getting the maximum K song of the broadcasting time in Preset Time from N bar music record, wherein, K be greater than 1 integer, the reproduction time in the music record of songs maximum for K broadcasting time is set to the tinkle of bells near the song of current time by above-mentioned processor 3000.
Further, when the K song that the broadcasting time that user gets in Preset Time from N bar music record is maximum, K be greater than 1 integer, above-mentioned processor 3000 can choose first object song from K target song; First object song is set to the tinkle of bells, wherein, to be the reproduction time in music record corresponding to K target song be set to the tinkle of bells near the song of current time to first object song, or the song that user in K song is partial to the music style of hobby is set to the tinkle of bells, when as K=2, wherein a song style is rock and roll, and another first chant music style is light music, user is partial to rock and roll, then the song of rock and roll style in K song can be set to the tinkle of bells by mobile terminal.Further, when getting the maximum K song of the broadcasting time in Preset Time from N bar music record, wherein, K be greater than 1 integer, K song can be set to K different the tinkle of bells by mobile terminal, when as K=3, the song that 3 broadcasting times are maximum is respectively A, B, C, song A can be set to the tinkle of bells of getting up in morning 7 by mobile terminal, song B is set to the working the tinkle of bells at 14 in afternoon, song C is set to the tinkle of bells of the prompting user sleep at 22 in evening.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, songs maximum for broadcasting time in N bar music record is set to the tinkle of bells by above-mentioned processor 3000.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, above-mentioned processor 3000 can using the tinkle of bells of the tinkle of bells of mobile terminal setting last time as current terminal.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, the scope of Preset Time can expand by above-mentioned processor 3000 further, to obtain the music record of predetermined number, the maximum song of broadcasting time is chosen, by songs maximum for broadcasting time in the music record of predetermined number again from the music record preset.
In the execution mode that some are feasible, above-mentioned processor 3000, also specifically for:
From described N bar music record, read the P bar music record stored in the fixed time, described P is the integer being less than or equal to N.
In specific implementation, above-mentioned processor 3000 can read the P bar music record stored in the fixed time from N bar music record, P is the integer being less than or equal to N, and as N can be the music record in a week, P can be the music record in 24 hours of current time.
In the execution mode that some are feasible, above-mentioned processor 3000, also specifically for:
Added up according to song title by described P bar music record, to obtain the statistic record of M bar, wherein, the corresponding song of each statistic record in the statistic record of described M bar, described M is the integer being less than or equal to P.
In specific implementation, P bar music record can be added up according to song title by above-mentioned processor 3000, and to obtain the statistic record of M bar, wherein, the corresponding song of each statistic record in this M bar statistic record, wherein, M is the integer being less than or equal to P.
In the execution mode that some are feasible, above-mentioned processor 3000, also specifically for:
Target song is chosen from the statistic record of described M bar.
In specific implementation, above-mentioned processor 3000 can choose target song from the statistic record of M bar, and further, the song that the broadcasting time chosen from the statistic record of M bar is maximum can be one or how first song.When getting the maximum song of how first broadcasting time, songs maximum for this how first broadcasting time can be set to different the tinkle of bells by mobile terminal.
In the execution mode that some are feasible, above-mentioned processor 3000, also specifically for:
First object song is chosen from K target song;
Described first object song is set to the tinkle of bells, and wherein, to be the reproduction time in music record corresponding to described K target song be set to the tinkle of bells near the song of current time to described first object song.
In the execution mode that some are feasible, above-mentioned processor 3000, also specifically for:
When user does not use the displaying audio file of described mobile terminal in described Preset Time, songs maximum for broadcasting time in described N bar music record is set to the tinkle of bells.
In the execution mode that some are feasible, when user does not use mobile terminal playing audio file in Preset Time, above-mentioned processor 3000 can using the tinkle of bells of the tinkle of bells of mobile terminal setting last time as current terminal.
In the execution mode that some are feasible, above-mentioned processor 3000, also specifically for:
Obtain the predetermined fraction of described target song;
Wherein, above-mentioned processor 3000 can obtain the predetermined fraction of target song.Further, predetermined fraction can include but are not limited to: the snatch of song in climax parts, accompaniment part, Preset Time, etc.Further, the song that broadcasting time is maximum in Preset Time is 1, above-mentioned processor 3000 can carry out song cutting to this song, to obtain the climax parts of this song; The song that broadcasting time is maximum in Preset Time be more than 2 or 2 songs in, above-mentioned processor 3000 can cut this song of more than 2 or 2, to obtain multiple climax parts of this song of more than 2 or 2, the multiple climax parts obtained can splice according to preset order by mobile terminal, connecting method can be random splicing, also can be user to arrange, the climax parts of the song obtained after splicing is similar to skewered effect.Further, when acquisition for mobile terminal is to the climax parts of how first song, multiple climax parts can be set to different the tinkle of bells by above-mentioned processor 3000 respectively.
In the execution mode that some are feasible, above-mentioned processor 3000, also specifically for:
Described predetermined fraction is set to the tinkle of bells.
In specific implementation, predetermined fraction can be set to the tinkle of bells by above-mentioned processor 3000.Such as, when the predetermined fraction climax parts of song, the climax parts of target song can be set to the tinkle of bells by mobile terminal.Further, climax parts can be set to the tinkle of bells according to preset order by above-mentioned processor 3000, preset order can be the order that user specifies, time as A, B, C tri-climax parts of song, user can specify order for A, B, C, namely first the climax parts of song B is spliced after the climax parts of song A, by the splicing of the climax parts of song C after the climax parts of song B; Or preset order can be random sequence, time as A, B, C tri-climax parts of song, splice the climax parts and can be ABC, CBA, CAB etc.
In specific implementation, the implementation described in each embodiment of the method that the tinkle of bells described in Fig. 1 ~ Fig. 3 that the input equipment 1000 described in the embodiment of the present invention, output equipment 2000 and processor 3000 can perform the embodiment of the present invention to be provided is arranged, also can perform the implementation of the mobile terminal described in the first embodiment of the mobile terminal described by Fig. 4 a ~ Fig. 4 c that the embodiment of the present invention provides, not repeat them here.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application SpecificIntegrated Circuit, application-specific integrated circuit (ASIC)).
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 access memory (Random Access Memory is called for short 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 the tinkle of bells setting, is characterized in that, comprising:
Read the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer;
According to the broadcasting time of the every song recorded in described N bar music record, from described N bar music record, obtain the maximum target song of broadcasting time in Preset Time;
Described target song is set to the tinkle of bells.
2. the method for claim 1, is characterized in that, describedly from described N bar music record, obtains the maximum target song of broadcasting time in Preset Time, comprising:
From described N bar music record, read the P bar music record stored in the fixed time, described P is the integer being less than or equal to N;
Described P bar music record is added up according to song title, to obtain the statistic record of M bar, wherein, the corresponding song of each statistic record in the statistic record of described M bar, described M is the integer being less than or equal to P;
Target song is chosen from the statistic record of described M bar.
3. the method as described in any one of claim 1 or 2, is characterized in that, when the number of described target song is K, described K be greater than 1 integer, described described target song is set to the tinkle of bells, comprises:
First object song is chosen from K target song;
Described first object song is set to the tinkle of bells, and wherein, described first object song is the song of the reproduction time in music record corresponding to described K target song near current time.
4. the method as described in any one of claim 1 or 2, is characterized in that, after the N bar music record of described reading mobile terminal, described method also comprises:
When user does not use the displaying audio file of described mobile terminal in described Preset Time, songs maximum for broadcasting time in described N bar music record is set to the tinkle of bells.
5. the method as described in any one of claim 1 or 2, is characterized in that, described songs maximum for broadcasting time in described Preset Time is set to the tinkle of bells, comprising:
Obtain the predetermined fraction of described target song, and described predetermined fraction is set to the tinkle of bells.
6. a mobile terminal, is characterized in that, comprising:
First reading unit, for reading the N bar music record of mobile terminal, described N bar music record for recording the broadcast information of N song, wherein, described N be more than or equal to 1 integer;
First acquiring unit, for the broadcasting time according to the every song recorded in the described N bar music record of described first reading unit reading, obtains the maximum target song of broadcasting time in Preset Time from described N bar music record;
Setting unit, is set to the tinkle of bells for the described target song got by described first acquiring unit.
7. mobile terminal as claimed in claim 6, it is characterized in that, described acquiring unit comprises:
Second reading unit, for reading the P bar music record stored in the fixed time in the described N bar music record from described first reading unit reading, described P is the integer being less than or equal to N;
Statistic unit, described P bar music record for being read by described second reading unit is added up according to song title, to obtain the statistic record of M bar, wherein, the corresponding song of each statistic record in the statistic record of described M bar, described M is the integer being less than or equal to P;
First chooses unit, chooses target song in the described M bar statistic record added up from described statistic unit.
8. the mobile terminal as described in any one of claim 6 or 7, it is characterized in that, described setting unit comprises:
Second chooses unit, for when the number of described target song is K, described K be greater than 1 integer, from the described K target song that described first acquiring unit gets, choose first object song;
Arrange subelement, be set to the tinkle of bells for the described first object song choosing unit selection by described second, wherein, described first object song is the song of the reproduction time in music record corresponding to described K target song near current time.
9. the mobile terminal as described in any one of claim 6 or 7, is characterized in that, described setting unit also specifically for:
After reading the described N bar music record of described first reading unit reading, when user does not use the displaying audio file of described mobile terminal in described Preset Time, songs maximum for broadcasting time in described N bar music record is set to the tinkle of bells.
10. the mobile terminal as described in any one of claim 6 or 7, is characterized in that, described setting unit specifically for:
Obtain the predetermined fraction of the described target song that described first acquiring unit gets, and the predetermined fraction of described target song is set to the tinkle of bells.
CN201510217482.0A 2015-04-30 2015-04-30 Ringtone setting method and mobile terminal Pending CN104869238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510217482.0A CN104869238A (en) 2015-04-30 2015-04-30 Ringtone setting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510217482.0A CN104869238A (en) 2015-04-30 2015-04-30 Ringtone setting method and mobile terminal

Publications (1)

Publication Number Publication Date
CN104869238A true CN104869238A (en) 2015-08-26

Family

ID=53914745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510217482.0A Pending CN104869238A (en) 2015-04-30 2015-04-30 Ringtone setting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN104869238A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472149A (en) * 2015-11-24 2016-04-06 小米科技有限责任公司 Ringtone setting method and apparatus thereof
CN105592225A (en) * 2016-01-11 2016-05-18 广东欧珀移动通信有限公司 Method and system for setting alarm ringtone of mobile terminal
CN106254655A (en) * 2016-08-10 2016-12-21 北京小米移动软件有限公司 The tinkle of bells method to set up and device
CN106503234A (en) * 2016-10-31 2017-03-15 北京小米移动软件有限公司 Multimedia file processing method, device and electronic equipment
CN106649645A (en) * 2016-12-09 2017-05-10 腾讯音乐娱乐(深圳)有限公司 Playlist processing method and device
CN107249083A (en) * 2017-07-27 2017-10-13 广东小天才科技有限公司 A kind of method, device, equipment and the storage medium of the tinkle of bells switching at runtime
CN107277233A (en) * 2017-06-01 2017-10-20 深圳天珑无线科技有限公司 Method, equipment and the readable storage medium storing program for executing of intelligent Matching ring of alarm clock
CN109068008A (en) * 2018-10-11 2018-12-21 广州酷狗计算机科技有限公司 The tinkle of bells setting method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883063A (en) * 2012-09-27 2013-01-16 东莞宇龙通信科技有限公司 Mobile terminal and ring tone setting method
CN102929960A (en) * 2012-10-10 2013-02-13 东莞宇龙通信科技有限公司 Self-adaption method and system of theme music
CN104469014A (en) * 2014-12-12 2015-03-25 广东欧珀移动通信有限公司 Ringtone setting method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883063A (en) * 2012-09-27 2013-01-16 东莞宇龙通信科技有限公司 Mobile terminal and ring tone setting method
CN102929960A (en) * 2012-10-10 2013-02-13 东莞宇龙通信科技有限公司 Self-adaption method and system of theme music
CN104469014A (en) * 2014-12-12 2015-03-25 广东欧珀移动通信有限公司 Ringtone setting method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472149A (en) * 2015-11-24 2016-04-06 小米科技有限责任公司 Ringtone setting method and apparatus thereof
CN105472149B (en) * 2015-11-24 2019-02-19 小米科技有限责任公司 A kind of the tinkle of bells setting method and device
CN105592225A (en) * 2016-01-11 2016-05-18 广东欧珀移动通信有限公司 Method and system for setting alarm ringtone of mobile terminal
CN106254655A (en) * 2016-08-10 2016-12-21 北京小米移动软件有限公司 The tinkle of bells method to set up and device
CN106254655B (en) * 2016-08-10 2019-07-26 北京小米移动软件有限公司 The tinkle of bells setting method and device
CN106503234A (en) * 2016-10-31 2017-03-15 北京小米移动软件有限公司 Multimedia file processing method, device and electronic equipment
CN106649645A (en) * 2016-12-09 2017-05-10 腾讯音乐娱乐(深圳)有限公司 Playlist processing method and device
CN107277233A (en) * 2017-06-01 2017-10-20 深圳天珑无线科技有限公司 Method, equipment and the readable storage medium storing program for executing of intelligent Matching ring of alarm clock
CN107249083A (en) * 2017-07-27 2017-10-13 广东小天才科技有限公司 A kind of method, device, equipment and the storage medium of the tinkle of bells switching at runtime
CN109068008A (en) * 2018-10-11 2018-12-21 广州酷狗计算机科技有限公司 The tinkle of bells setting method, device, terminal and storage medium
CN109068008B (en) * 2018-10-11 2020-12-04 广州酷狗计算机科技有限公司 Ringtone setting method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN104869238A (en) Ringtone setting method and mobile terminal
CN102197362B (en) Surfacing and management of window-specific controls
CN100581191C (en) Method and apparatus for automatically updating mobile web log (blog) to reflect mobile terminal activity
CN104572042A (en) Cross-platform middleware device of mobile terminal equipment and implementation method of cross-platform middleware device of mobile terminal equipment
CN103150081A (en) Method for creating user-defined shortcut icon in notification bar of mobile terminal, and device thereof
CN103928039A (en) Video compositing method and device
JP2013542482A (en) Multi-touch list data output control method and portable terminal supporting the same
CA3159186A1 (en) Information interaction method, apparatus, device, storage medium and program product
US20120259439A1 (en) System and method for starting up application of electronic device
KR20140143028A (en) Method for operating program and an electronic device thereof
JP6223566B2 (en) Method and apparatus for processing mobile terminal applications
CN105072242A (en) Method for voice prompt and mobile terminal
CN107592486A (en) A kind of video generation method and device
CN103442299A (en) Display method for playing records and electronic equipment
CN103500234A (en) Method for downloading multi-media files and electronic equipment
CN103809911A (en) Method and system for setting vibration modes of mobile terminal
CN113342330A (en) Front-end engineering generation method and device
US9286946B2 (en) Voice recording and playback device, and control method for voice recording and playback device
CN111125480A (en) Background music playing method and equipment, client device and electronic equipment
CN105120392A (en) Method of creating sound box grouping and mobile terminal
CN102035937A (en) Display method and device of information in mobile terminal and mobile terminal
CN104991799A (en) Terminal startup interface management method and terminal
CN102915654A (en) Digital document processing method and electronic reading device
CN105161119A (en) Sound box grouping method and terminal
CN106653070B (en) Audio node insertion method and device and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150826

RJ01 Rejection of invention patent application after publication