WO2012089095A1 - Mobile terminal ringtone playing method and device - Google Patents

Mobile terminal ringtone playing method and device Download PDF

Info

Publication number
WO2012089095A1
WO2012089095A1 PCT/CN2011/084711 CN2011084711W WO2012089095A1 WO 2012089095 A1 WO2012089095 A1 WO 2012089095A1 CN 2011084711 W CN2011084711 W CN 2011084711W WO 2012089095 A1 WO2012089095 A1 WO 2012089095A1
Authority
WO
WIPO (PCT)
Prior art keywords
ringtone
mobile terminal
playlist
preset
playing
Prior art date
Application number
PCT/CN2011/084711
Other languages
French (fr)
Chinese (zh)
Inventor
徐丙雁
王英超
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2012089095A1 publication Critical patent/WO2012089095A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations

Definitions

  • the present invention relates to a mobile terminal, and in particular, to a ringtone playing method and apparatus for a mobile terminal. Background technique
  • the embodiment of the invention provides a method and a device for playing a ringtone of a mobile terminal, so as to avoid the trouble that the user repeatedly sets the ringtone of the incoming call or prompts the ringtone.
  • an embodiment of the present invention provides a method for playing a ringtone of a mobile terminal, where the method includes: when the mobile terminal is in a ringtone random play mode, adjusting a play path of the ringtone of the mobile terminal to a preset play a directory, the preset playlist includes at least two audio files;
  • At least one audio file is randomly selected from the preset playlist.
  • an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: An adjustment module, configured to adjust a play path of the ringtone of the mobile terminal to a preset playlist when the mobile terminal is in a ringtone random play mode, where the preset playlist includes at least two audio files;
  • a playing module configured to randomly select at least one audio file to play from the preset playlist when the mobile terminal satisfies the ringtone playing condition.
  • the user can put the audio file as the ringtone or the prompt ringtone in a play directory, and when the ringtone playing condition is satisfied, the audio file in the playlist will be randomly played, so as to be exempted.
  • the user has trouble setting the ringtone or the ringtone repeatedly.
  • FIG. 1 is a flow chart of a method according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a method according to another embodiment of the present invention.
  • FIG. 3 is a flow chart of a method according to still another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to the embodiment shown in FIG. 5. detailed description
  • FIG. 1 is a flowchart of a method for playing a ringtone of a mobile terminal according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
  • Step 101 When the mobile terminal is in the ringtone random play mode, the mobile terminal's ringtone is broadcasted.
  • the playback path is adjusted to a preset playlist, and the preset playlist includes at least two audio files;
  • the ringtone of the mobile terminal may be the ringtone of the mobile terminal, or may be the alarm ringtone of the alarm or the schedule of the mobile terminal, or may be the prompt ringtone of the mobile terminal receiving the short message, the multimedia message, the email, and the random play mode of the ringtone.
  • the audio file in the preset playlist is randomly played; when the mobile terminal is in the ringtone random play mode, the processor or the corresponding module or chip inside the mobile terminal adjusts the play path of the ringtone of the mobile terminal to a preset playlist.
  • the processor of the mobile terminal performs this operation; the preset playlist contains at least two audio files; and an optional preset playlist can also store an audio file.
  • the audio files in the playlist can be automatically generated by the mobile terminal from the internal stored audio files based on certain conditions, or can be downloaded by the user as needed, or copied from other folders storing audio files, or stored audio from other sources.
  • the folder of the file is transferred to the playlist.
  • the pre-set playlist is any one of a folder for storing music of the mobile terminal, a playlist of a media player of the mobile terminal, or a music album of a media player of the mobile terminal.
  • the at least two audio files included in the preset playlist are generated according to a preset policy from the audio file stored by the mobile terminal; for example, if the preset policy is Andy Lau's song, if the mobile terminal stores 10 locally The song of the first Andy Lau, the song of the 10 sets of Andy Lau is generated as the audio file contained in the preset playlist; if the preset strategy is classical music, if the mobile terminal locally stores 5 classical music, the 5 is generated. The first classical music is used as an audio file included in the preset playlist.
  • the preset policy can also set the priority.
  • the preset policy is that the song of Andy Lau is the first priority
  • the preset strategy is that the classical music is the second priority, so that when the mobile terminal does not store the song of Andy Lau locally or only one song
  • the default strategy is that the secondary priority strategy of classical music comes into effect.
  • the 5 songs (the mobile terminal does not store the songs of Andy Lau locally) or 6 (the mobile terminal local storage of Andy Lau's one)
  • the first song) music is used as an audio file contained in the preset playlist. It is of course also possible to set a specific number of generated audio files, for example to generate 6 audio files.
  • the specific preset strategy can be set by the manufacturer when the mobile terminal is shipped from the factory, or can be adjusted accordingly by the user.
  • the specific policy differences do not constitute a limitation of the scope of the invention.
  • At least two audio files included in the preset playlist are according to a user.
  • the user selects three songs of Andy Lau stored locally by the mobile terminal as at least two audio files in the preset playlist.
  • the generating of the two methods for generating at least two audio files in the preset playlist specifically includes copying the selected one of the audio files locally stored in the mobile terminal to a corresponding storage folder of the preset playlist. In the middle, or just copy the playback path of the selected audio file to the preset playlist, you can use other methods. If you copy the playback path of the selected audio file to the preset playlist, you can save the storage space of the mobile terminal.
  • the audio file locally stored by the mobile terminal mentioned above includes an audio file stored by the mobile terminal itself, or an audio file stored by the extended memory card, for example.
  • the audio file may be an audio file of various formats supported by the ringtone player of the mobile terminal, such as an MP3 format, or an AMR format, or a MIDI format, etc., and the embodiment is not limited thereto.
  • the audio file may be pre-stored in the mobile terminal when the mobile terminal is shipped from the factory, or may be saved to the mobile terminal by the user after being downloaded from the mobile terminal.
  • the play path of the ringtone can be adjusted to a preset playlist by different setting paths of the mobile terminal, which will be described below through different embodiments.
  • Step 102 When the mobile terminal satisfies the ringtone playing condition, at least one audio file is randomly selected from the preset playing directory.
  • the ringtone playing condition is different, for example, if the ringtone is an incoming call ringtone, the ringtone playing condition is that the mobile terminal receives the incoming call; if the ringtone is an alarm prompting ringtone, The ringtone playing condition is when the alarm reaches the set time. Other ringtones are similar and will not be described again.
  • At least one audio file is randomly selected from a preset playlist, which may be selecting an audio file and playing, or selecting one or more audio files and playing each selected audio file in turn, or selecting one
  • the above audio file plays the set time period of each selected audio file in turn, for example, selecting two audio files, 6 seconds before the end of each audio file or 6 seconds before the start, or a middle one
  • the time period, which time period can be played specifically can be set in advance. The above is only an example, and the embodiment is not limited thereto.
  • the group group sets the ringtone random play mode; of course, the ringtone random play mode can also be set for individual services, for example, the ringtone of the caller is set to the random play mode of the ringtone, and the other service is the normal play mode.
  • the mobile terminal when the mobile terminal is in the ringtone random play mode, the mobile terminal randomly plays the audio file in the preset playlist when the ringtone playing condition is satisfied, thereby eliminating the trouble of repeatedly setting the ringtone by the user. .
  • FIG. 1 is a flowchart of a method for playing a ringtone of a mobile terminal according to an embodiment of the present invention.
  • the ringtone is an incoming call ringtone of the mobile terminal.
  • the method includes:
  • Step 201 When the mobile terminal is in the ringtone random play mode, adjust the play path of the ringtone of the mobile terminal to a preset playlist, where the preset playlist includes at least two audio files;
  • the preset playlist is the same as the playlist set in advance in the embodiment of FIG. 1, and may be, for example, a folder for storing music of the mobile terminal, or a playlist of the media player of the mobile terminal, or a mobile terminal.
  • Each of these playlists corresponds to at least two audio files, for example, a folder in which music is stored contains two songs, or a playlist of the media player corresponds to two music files, or a music album of the media player corresponds to two music files.
  • Step 202 When the mobile terminal receives the incoming call, select at least one audio file to play from the preset playlist.
  • the mobile terminal when the mobile terminal receives the incoming call, the mobile terminal satisfies the playing condition of the incoming call ringtone, and then selects at least one audio file from the playlist to play by using the method in this embodiment.
  • At least one audio file is randomly selected from a preset playlist, which may be selecting an audio file and playing, or selecting one or more audio files and playing each selected audio file in turn, or selecting one
  • the above audio file plays the set time period of each selected audio file in turn.
  • the step 201 of the embodiment includes: adjusting the play path of the ringtone of the contact or the contact group of the mobile terminal to the preset play. table of Contents. As such, when the contact or the contact in the contact group calls, the mobile terminal randomly selects at least one audio file to play from the preset playlist.
  • the preset playlist may be a folder in which the mobile terminal includes music files, Or a media player's playlist or music album.
  • the user of the mobile terminal may also set a different ringtone for the incoming call or the different contact or the contact group of the mobile terminal by using the media player of the mobile terminal.
  • the mobile terminal plays from the preset setting. At least one audio file is randomly selected in the directory for playback.
  • the preset playlist may be a playlist or a music album of the media player of the mobile terminal.
  • the mobile terminal when the mobile terminal is in the ringtone random play mode, the mobile terminal randomly plays the audio file in the preset playlist when the ringtone playing condition is satisfied, thereby eliminating the trouble of repeatedly setting the ringtone by the user. .
  • step 201 and step 202 are the same as those of the first embodiment, and details are not described herein again.
  • FIG. 3 is a flowchart of a method for playing a ringtone of a mobile terminal according to an embodiment of the present invention.
  • the information prompting ringtone is an alarm clock ringtone or a calendar prompt ringtone.
  • the method includes:
  • Step 301 When the mobile terminal is in the ringing random play mode, adjust the playing path of the alarm clock of the mobile terminal or the prompt ring of the date table to a preset playing directory, where the preset playing directory contains at least two audio files;
  • the preset playlist is the same as the playlist set in advance in the embodiment of FIG. 1, and may be, for example, a folder for storing music of the mobile terminal, or a playlist of the media player of the mobile terminal, or a mobile terminal.
  • Each of these playlists corresponds to at least two audio files, for example, a folder in which music is stored contains two songs, or a playlist of the media player corresponds to two music files, or a music album of the media player corresponds to two music files.
  • Step 302 When the time of the alarm or the schedule of the mobile terminal reaches the preset time and/or date At least one audio file is randomly selected from a preset playlist.
  • the mobile terminal When the time of the alarm or the schedule of the mobile terminal reaches the preset time and/or date, the mobile terminal satisfies the playing condition of the incoming call ringtone, and then selects from the previously adjusted playlist by the method in this embodiment. At least one audio file is played.
  • At least one audio file is randomly selected from a preset playlist, which may be selecting an audio file and playing, or selecting one or more audio files and playing each selected audio file in turn, or selecting one The above audio file and in turn play the selected time period of each selected audio file, for example, selecting two audio files, before each audio file is played
  • time period 6 seconds or 6 seconds before the start, or a certain time period in the middle, which time period can be preset to be preset.
  • the above is only an example, and the embodiment is not limited thereto.
  • step 301 and step 302 are the same as those of the first embodiment, and details are not described herein again.
  • the audio file in the play directory is randomly played, thus eliminating the user repeatedly setting the alarm clock or the schedule. Prompt for ringtones.
  • FIG. 4 is a flowchart of a method for playing a ringtone of a mobile terminal according to an embodiment of the present invention.
  • the ringtone is a prompt ringtone of a short message, a multimedia message, or an email.
  • the method includes: Step 401 When the mobile terminal is in the ringing random play mode, the playing path of the short message of the short message of the mobile terminal, the multimedia message or the mail is adjusted to a preset playing directory, and the preset playing directory includes at least two audio files;
  • the preset playlist is the same as the playlist set in advance in the embodiment of FIG. 1, and may be, for example, a folder for storing music of the mobile terminal, or a playlist of the media player of the mobile terminal, or a mobile terminal.
  • Each of these playlists corresponds to at least two audio files, for example, a folder in which music is stored contains two songs, or a playlist of the media player corresponds to two music files, or a music album of the media player corresponds to two music files.
  • Step 402 When the mobile terminal receives the short message, the multimedia message or the email, select an audio file to play from the preset playing directory.
  • the mobile terminal satisfies the playing condition of the ringing tone when the mobile terminal receives the short message, the multimedia message, or the email, and selects at least one audio text from the playlist by using the method in this embodiment.
  • the pieces are played.
  • At least one audio file is randomly selected from a preset playlist, which may be selecting an audio file and playing, or selecting one or more audio files and playing each selected audio file in turn, or selecting one The above audio file and in turn play the selected time period of each selected audio file, for example, selecting two audio files, before each audio file is played
  • the user of the mobile terminal can also set different SMS, MMS or email alert ringtones for different contacts or consecutive groups, and details are not described herein.
  • step 401 and step 402 are the same as those of the first embodiment, and details are not described herein again.
  • the audio file is randomly played, thereby eliminating the trouble of the user repeatedly setting the short message, the multimedia message, or the email prompt ringtone.
  • the time of the alarm clock and the schedule reaches a predetermined preset time and/or date
  • the time can be played from Randomly select an audio file to play in the directory, thus getting rid of the boring of the single prompt tone, eliminating the trouble that the user needs to repeatedly set the tone when changing the prompt tone.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal includes:
  • the adjustment module 51 is configured to: when the mobile terminal is in the ringtone random play mode, adjust a play path of the ringtone of the mobile terminal to a preset playlist, where the preset playlist includes at least two audio files;
  • the playing module 52 is configured to randomly select at least one audio file to play from the preset playing directory when the mobile terminal satisfies the ringing playing condition.
  • the components of the mobile terminal of the present embodiment are respectively used to implement the steps of the method of the embodiment shown in FIG. 1. Since the steps have been described in detail in the embodiment of FIG. 1, no further details are provided herein.
  • the mobile terminal when it satisfies the ringtone playing condition, for example, receives To call, SMS, MMS or email, or the time of the alarm clock and schedule to reach the preset time and/or date, you can randomly select an audio file from the playlist to play, thus getting rid of the boring and exemption of the single prompt. The trouble that the user needs to set repeatedly when changing the prompt tone.
  • FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal includes an adjustment module 61 and a playback module 62 , and the adjustment module 61 and the playback module 62 .
  • the functions of the adjustment module 51 and the playback module 52 of the embodiment shown in FIG. 5 are the same, and details are not described herein again.
  • the adjustment module 61 includes at least one of the following modules:
  • the first adjustment module 611 is configured to adjust a play route of the incoming call ringtone, the short message alert ringtone, the MMS alert ringtone, or the email alert ringtone of the contact or contact group in the mobile terminal address book to a preset playlist.
  • the second adjustment module 612 is configured to adjust a play channel of the mobile terminal or the contact of the mobile terminal or the contact group of the mobile terminal, a short message alert ringtone, a MMS alert ringtone, or a mail alert ringtone to the media play Playlist or music album.
  • the playing module 62 may include any one of the following modules:
  • the first playing module 621 is configured to select an audio file and play when the mobile terminal satisfies the ringing playing condition
  • a second playing module 622 configured to: when the mobile terminal satisfies the ringtone playing condition, select one or more audio files and play each of the selected audio files in turn;
  • the third playing module 623 is configured to: when the mobile terminal satisfies the ringtone playing condition, select one or more audio files and play the selected time period of each selected audio file in turn.
  • the mobile terminal in this embodiment may further include at least one of the following modules:
  • the automatic generation module 63 is configured to generate at least two audio files included in a preset playlist according to a preset policy from an audio file stored by the mobile terminal;
  • Manual generation module 64 Used to generate at least two audio files contained in the preset playlist according to the user's corresponding operation.
  • the components of the mobile terminal of this embodiment are respectively used to implement the steps of the method of the embodiment shown in FIG. 1 to FIG. 4, and the steps have been described in detail in the embodiments of FIG. 1 to FIG. I will not repeat them here.
  • the mobile terminal provided by the embodiment of the present invention, the user can select more than one audio file as the incoming call ringtone, the short message or the multimedia message or the email prompt ringtone, the alarm clock or the calendar prompt ringtone, thus eliminating the boring of the single prompt tone, eliminating the user from replacing The trouble of repeatedly setting the tone is required.
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or any other form of storage known in the art. In the medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

An embodiment of the present invention provides a mobile terminal ringtone playing method and device, the method comprises: adjusting the ringtone playing path of the mobile terminal to a preset playlist when the mobile terminal is in a random ringtone playing mode, wherein the preset playlist comprises at least two audio files; and selecting randomly at least one audio file from the preset playlist to be played when the mobile terminal satisfies the ringtone playing condition. Through the ringtone playing method and device provided by the embodiment of the present invention, a user can place audio files to be used as ringtones or prompt tones in a playlist, and when the ringtone playing condition is satisfied, randomly playing the audio files in the playlist, thus eliminating the inconvenience of user repeatedly setting the ringtone or prompt tone. DRAWINIG: FIG. 1: 101 Adjusting the ringtone playing path of the mobile terminal to a preset playlist when the mobile terminal is in a random ringtone playing mode, wherein the preset playlist comprises at least two audio files 102 Selecting randomly at least one audio file from the preset playlist to be played when the mobile terminal satisfies the ringtone playing condition

Description

_ 一种移动终端的铃声播放方法和装置 本申请要求于 2010年 12月 29日提交中国专利局、申请号为 201010612097.3 发明名称为"移动终端的铃声播放方法和装置"的中国专利申请的优先权,其全 部内容通过引用结合在本申请中。 技术领域  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The entire content of which is incorporated herein by reference. Technical field
本发明涉及移动终端, 尤其涉及一种移动终端的铃声播放方法和装置。 背景技术  The present invention relates to a mobile terminal, and in particular, to a ringtone playing method and apparatus for a mobile terminal. Background technique
目前几乎所有的移动终端, 例如手机都支持来电铃声的设置, 而且可以根 据不同联系人设置不同的来电铃声。但是即使这样,移动终端的用户每次也只 能设置一首音乐或铃声文件作为来电铃声,因此,每次的来电铃声都是不变的, 当要更换来电铃声时, 需要重新设置。 同样的, 随着手机功能以及各项应用的 发展, 有许多功能或应用需要提示铃声, 例如当手机接收到短信、 彩信或者邮 件时, 需要提示铃声以提示手机用户; 或者当手机的闹钟、 日程表设置的时间 或日期到达时,也需要提示铃声来提示手机用户。 此时单一的来电铃声或提示 铃声降低了手机用户的用户体验。 发明内容  At present, almost all mobile terminals, such as mobile phones, support the setting of ringtones, and can set different ringtones according to different contacts. Even so, the user of the mobile terminal can only set one music or ringtone file as the incoming call ringtone each time. Therefore, the ringtone of each call is unchanged. When the ringtone is to be replaced, it needs to be reset. Similarly, with the development of mobile phone functions and various applications, there are many functions or applications that require prompting ringtones, such as when a mobile phone receives a text message, a multimedia message, or an email, it needs to prompt a ringtone to prompt the mobile phone user; or when the mobile phone's alarm clock, schedule When the time or date set by the table arrives, the ringtone is also prompted to prompt the mobile phone user. At this point, a single ringtone or prompt ringtone reduces the user experience of the mobile phone user. Summary of the invention
本发明实施例提供一种移动终端的铃声播放方法和装置,以免除用户反复 设置来电铃声或提示铃声的麻烦。  The embodiment of the invention provides a method and a device for playing a ringtone of a mobile terminal, so as to avoid the trouble that the user repeatedly sets the ringtone of the incoming call or prompts the ringtone.
一方面,本发明实施例提供一种移动终端的铃声播放方法,所述方法包括: 当所述移动终端处于铃声随机播放模式时,将所述移动终端的铃声的播放 路径调整为预先设置的播放目录,所述预先设置的播放目录中包含至少两个音 频文件;  In an aspect, an embodiment of the present invention provides a method for playing a ringtone of a mobile terminal, where the method includes: when the mobile terminal is in a ringtone random play mode, adjusting a play path of the ringtone of the mobile terminal to a preset play a directory, the preset playlist includes at least two audio files;
当所述移动终端满足铃声播放条件时,从所述预先设置的播放目录中随机 选择至少一个音频文件播放。  When the mobile terminal satisfies the ringtone playing condition, at least one audio file is randomly selected from the preset playlist.
另一方面, 本发明实施例还提供一种移动终端, 所述移动终端包括: 调整模块, 用于当所述移动终端处于铃声随机播放模式时,将所述移动终 端的铃声的播放路径调整为预先设置的播放目录,所述预先设置的播放目录中 包含至少两个音频文件; On the other hand, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: An adjustment module, configured to adjust a play path of the ringtone of the mobile terminal to a preset playlist when the mobile terminal is in a ringtone random play mode, where the preset playlist includes at least two audio files;
播放模块, 用于当所述移动终端满足铃声播放条件时,从所述预先设置的 播放目录中随机选择至少一个音频文件播放。  And a playing module, configured to randomly select at least one audio file to play from the preset playlist when the mobile terminal satisfies the ringtone playing condition.
通过本发明实施例提供的方法和装置,用户可以将作为来电铃声或者提示 铃声的音频文件放在一个播放目录中, 当满足铃声播放条件时, 将随机播放该 播放目录中的音频文件, 如此免除了用户反复设置来电铃声或提示铃声的麻 烦。 附图说明  With the method and device provided by the embodiment of the present invention, the user can put the audio file as the ringtone or the prompt ringtone in a play directory, and when the ringtone playing condition is satisfied, the audio file in the playlist will be randomly played, so as to be exempted. The user has trouble setting the ringtone or the ringtone repeatedly. DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 并不构成对本发明的限定。 在附图中:  The drawings described herein are provided to provide a further understanding of the invention and are in no way of limitation. In the drawing:
图 1为本发明一个实施例的方法流程图;  1 is a flow chart of a method according to an embodiment of the present invention;
图 2为本发明另一个实施例的方法流程图;  2 is a flow chart of a method according to another embodiment of the present invention;
图 3为本发明再一个实施例的方法流程图;  3 is a flow chart of a method according to still another embodiment of the present invention;
图 4为本发明又一个实施例的方法流程图;  4 is a flow chart of a method according to still another embodiment of the present invention;
图 5为本发明实施例的移动终端的结构示意图;  FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
图 6为图 5所示实施例的移动终端的一个实施方式结构示意图。 具体实施方式  FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to the embodiment shown in FIG. 5. detailed description
为使本发明实施例的目的、技术方案和优点更加清楚明白, 下面结合实施 例和附图, 对本发明实施例做进一步详细说明。 在此, 本发明的示意性实施例 及其说明用于解释本发明, 但并不作为对本发明的限定。 电话、 个人数字处助理 PDA、 无线手持设备等具有无线通信功能的电子设备。  The embodiments of the present invention will be further described in detail below with reference to the embodiments and the accompanying drawings. The illustrative embodiments of the present invention and the description thereof are intended to be illustrative of the invention, and are not intended to limit the invention. Telephone, personal digital assistant PDA, wireless handheld device and other electronic devices with wireless communication capabilities.
图 1为本发明实施例提供的一种移动终端的铃声播放方法的流程图,请参 照图 1 , 该方法包括:  FIG. 1 is a flowchart of a method for playing a ringtone of a mobile terminal according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
步骤 101 : 当移动终端处于铃声随机播放模式时, 将移动终端的铃声的播 放路径调整为预先设置的播放目录,该预先设置的播放目录中包含至少两个音 频文件; Step 101: When the mobile terminal is in the ringtone random play mode, the mobile terminal's ringtone is broadcasted. The playback path is adjusted to a preset playlist, and the preset playlist includes at least two audio files;
移动终端的铃声可以是该移动终端的来电铃声,也可以是该移动终端的闹 钟或日程表的提示铃声, 还可以是该移动终端接收到短信、 彩信、 邮件的提示 铃声, 该铃声随机播放模式是指随机播放预先设置的播放目录中的音频文件; 当移动终端处于铃声随机播放模式时,移动终端内部的处理器或相应模块或芯 片将移动终端的铃声的播放路径调整为预先设置的播放目录,例如移动终端的 处理器来执行这一操作; 该预先设置的播放目录中包含至少两个音频文件; 可 选的预先设置的播放目录中也可以存储一个音频文件。播放目录中的音频文件 可以由移动终端从内部的存储的音频文件中基于某种条件自动生成,也可以由 用户根据需要下载, 或者从其他存储音频文件的文件夹中复制, 或者从其他存 储音频文件的文件夹中转移到播放目录中。该预先设置的播放目录为所述移动 终端的存储音乐的文件夹、所述移动终端的媒体播放器的播放列表、或者所述 移动终端的媒体播放器的音乐专辑中任一种。  The ringtone of the mobile terminal may be the ringtone of the mobile terminal, or may be the alarm ringtone of the alarm or the schedule of the mobile terminal, or may be the prompt ringtone of the mobile terminal receiving the short message, the multimedia message, the email, and the random play mode of the ringtone. It means that the audio file in the preset playlist is randomly played; when the mobile terminal is in the ringtone random play mode, the processor or the corresponding module or chip inside the mobile terminal adjusts the play path of the ringtone of the mobile terminal to a preset playlist. For example, the processor of the mobile terminal performs this operation; the preset playlist contains at least two audio files; and an optional preset playlist can also store an audio file. The audio files in the playlist can be automatically generated by the mobile terminal from the internal stored audio files based on certain conditions, or can be downloaded by the user as needed, or copied from other folders storing audio files, or stored audio from other sources. The folder of the file is transferred to the playlist. The pre-set playlist is any one of a folder for storing music of the mobile terminal, a playlist of a media player of the mobile terminal, or a music album of a media player of the mobile terminal.
所述预先设置的播放目录中包含的至少两个音频文件是从所述移动终端 存储的音频文件中按照预设策略生成; 例如, 若预设策略为刘德华的歌曲, 如 果移动终端本地存储了 10首刘德华的歌曲,则生成该 10首刘德华的歌曲作为 所述预先设置的播放目录中包含的音频文件; 若预设策略为古典音乐,如果移 动终端本地存储了 5首古典音乐,则生成该 5首古典音乐作为所述预先设置的 播放目录中包含的音频文件。 预设策略也可设置优先级, 例如, 预设策略为刘 德华的歌曲为第一优先级,预设策略为古典音乐为第二优先级, 这样当移动终 端本地没有存储刘德华的歌曲或只有一首歌曲, 古典音乐有 5首时,预设策略 为古典音乐的次优先级策略开始生效, 那么则生成该 5首(移动终端本地没有 存储刘德华的歌曲)或 6首(移动终端本地存储刘德华的一首歌曲)音乐作为 所述预先设置的播放目录中包含的音频文件。当然还可设置生成的音频文件的 具体数量, 例如生成 6个音频文件。具体的预设策略可以在移动终端出厂时由 生产厂商设置,也可由用户更具需要进行相应调整。具体的策略的不同并不构 成对本发明保护范围的限制。  The at least two audio files included in the preset playlist are generated according to a preset policy from the audio file stored by the mobile terminal; for example, if the preset policy is Andy Lau's song, if the mobile terminal stores 10 locally The song of the first Andy Lau, the song of the 10 sets of Andy Lau is generated as the audio file contained in the preset playlist; if the preset strategy is classical music, if the mobile terminal locally stores 5 classical music, the 5 is generated. The first classical music is used as an audio file included in the preset playlist. The preset policy can also set the priority. For example, the preset policy is that the song of Andy Lau is the first priority, and the preset strategy is that the classical music is the second priority, so that when the mobile terminal does not store the song of Andy Lau locally or only one song When there are 5 songs and classical music, the default strategy is that the secondary priority strategy of classical music comes into effect. Then, the 5 songs (the mobile terminal does not store the songs of Andy Lau locally) or 6 (the mobile terminal local storage of Andy Lau's one) The first song) music is used as an audio file contained in the preset playlist. It is of course also possible to set a specific number of generated audio files, for example to generate 6 audio files. The specific preset strategy can be set by the manufacturer when the mobile terminal is shipped from the factory, or can be adjusted accordingly by the user. The specific policy differences do not constitute a limitation of the scope of the invention.
可选的,所述预先设置的播放目录中包含的至少两个音频文件是根据用户 的相应操作后生成; 例如, 用户选择移动终端本地存储的刘德华的三首歌曲作 为预先设置的播放目录中的至少两个音频文件。 Optionally, at least two audio files included in the preset playlist are according to a user. After the corresponding operation is generated; for example, the user selects three songs of Andy Lau stored locally by the mobile terminal as at least two audio files in the preset playlist.
上面所述的生成预先设置的播放目录中的至少两个音频文件的两种方法 中生成具体包括将移动终端本地存储的音频文件中选择出的文件复制到预先 设置的播放目录相应的存储文件夹中, 或者, 只是将选中的音频文件的播放路 径复制到预先设置的播放目录中,还可釆用其他的方式。 若釆用将选中的音频 文件的播放路径复制到预先设置的播放目录中可以节省移动终端的存储空间。  The generating of the two methods for generating at least two audio files in the preset playlist, as described above, specifically includes copying the selected one of the audio files locally stored in the mobile terminal to a corresponding storage folder of the preset playlist. In the middle, or just copy the playback path of the selected audio file to the preset playlist, you can use other methods. If you copy the playback path of the selected audio file to the preset playlist, you can save the storage space of the mobile terminal.
需要说明的是,上述提到的移动终端本地存储的音频文件包括移动终端自 身的存储器存储的音频文件, 也可以是扩展的存储卡存储的音频文件, 例如 It should be noted that the audio file locally stored by the mobile terminal mentioned above includes an audio file stored by the mobile terminal itself, or an audio file stored by the extended memory card, for example.
SD卡。 SD card.
在本实施例中,该音频文件可以是该移动终端的铃声播放器支持的各种格 式的音频文件, 例如 MP3格式, 或者 AMR格式, 或者 MIDI格式等等, 本实施 例并不以此作为限制。该音频文件可以是该移动终端出厂时预先保存于该移动 终端的, 也可以是移动终端出厂后由用户通过下载保存到该移动终端的。  In this embodiment, the audio file may be an audio file of various formats supported by the ringtone player of the mobile terminal, such as an MP3 format, or an AMR format, or a MIDI format, etc., and the embodiment is not limited thereto. . The audio file may be pre-stored in the mobile terminal when the mobile terminal is shipped from the factory, or may be saved to the mobile terminal by the user after being downloaded from the mobile terminal.
其中,可以通过移动终端的不同设置路径来将铃声的播放路径调整为预先 设置的播放目录, 以下将通过不同的实施例加以说明。  The play path of the ringtone can be adjusted to a preset playlist by different setting paths of the mobile terminal, which will be described below through different embodiments.
步骤 102: 当移动终端满足铃声播放条件时, 从预先设置的播放目录中随 机选择至少一个音频文件播放。  Step 102: When the mobile terminal satisfies the ringtone playing condition, at least one audio file is randomly selected from the preset playing directory.
其中, 因为铃声类型是不同的, 移动终端满足的铃声播放条件也不同, 例 如, 如果该铃声为来电铃声, 则该铃声播放条件为该移动终端接收到来电; 如 果该铃声为闹钟提示铃声, 则该铃声播放条件为该闹钟达到设置的时间。其他 铃声与此相似, 不再赘述。  The ringtone playing condition is different, for example, if the ringtone is an incoming call ringtone, the ringtone playing condition is that the mobile terminal receives the incoming call; if the ringtone is an alarm prompting ringtone, The ringtone playing condition is when the alarm reaches the set time. Other ringtones are similar and will not be described again.
其中,从预先设置的播放目录中随机选择至少一个音频文件播放, 可以是 选择一个音频文件并播放 ,也可以是选择一个以上的音频文件并轮流播放选择 的每个音频文件,还可以是选择一个以上的音频文件并轮流播放选择的每个音 频文件的设定时间段, 例如, 选择两个音频文件, 每个音频文件播放结束前的 6秒钟或者开始前的 6秒钟, 或者中间的某个时间段, 具体播放哪个时间段可 以预先设置。 以上只是举例说明, 本实施例并不以此作为限制。  Wherein, at least one audio file is randomly selected from a preset playlist, which may be selecting an audio file and playing, or selecting one or more audio files and playing each selected audio file in turn, or selecting one The above audio file plays the set time period of each selected audio file in turn, for example, selecting two audio files, 6 seconds before the end of each audio file or 6 seconds before the start, or a middle one The time period, which time period can be played specifically can be set in advance. The above is only an example, and the embodiment is not limited thereto.
需要说明的是:也可以针对移动终端中的通讯录中的部分联系人或部分联 系群组设定铃声随机播放模式; 当然, 也可以针对个别业务设定铃声随机播放 模式, 例如, 来电铃声设置为铃声随机播放模式, 其他业务为普通播放模式。 It should be noted that some contacts or partial links in the address book in the mobile terminal may also be The group group sets the ringtone random play mode; of course, the ringtone random play mode can also be set for individual services, for example, the ringtone of the caller is set to the random play mode of the ringtone, and the other service is the normal play mode.
通过本发明实施例提供的方法, 当移动终端处于铃声随机播放模式时, 该 移动终端在满足铃声播放条件时, 随机播放预先设置的播放目录中的音频文 件, 如此免除了用户反复设置铃声的麻烦。  According to the method provided by the embodiment of the present invention, when the mobile terminal is in the ringtone random play mode, the mobile terminal randomly plays the audio file in the preset playlist when the ringtone playing condition is satisfied, thereby eliminating the trouble of repeatedly setting the ringtone by the user. .
图 1为本发明实施例提供的一种移动终端的铃声播放方法的流程图,在本 实施例中, 该铃声为该移动终端的来电铃声, 请参照图 2 , 该方法包括:  FIG. 1 is a flowchart of a method for playing a ringtone of a mobile terminal according to an embodiment of the present invention. In this embodiment, the ringtone is an incoming call ringtone of the mobile terminal. Referring to FIG. 2, the method includes:
步骤 201 : 当移动终端处于铃声随机播放模式时, 将移动终端的来电铃声 的播放路径调整为预先设置的播放目录,该预先设置的播放目录中包含至少两 个音频文件;  Step 201: When the mobile terminal is in the ringtone random play mode, adjust the play path of the ringtone of the mobile terminal to a preset playlist, where the preset playlist includes at least two audio files;
其中,预先设置的播放目录与图 1实施例中预先设置的播放目录相同, 例 如可以为该移动终端的存储音乐的文件夹,或者该移动终端的媒体播放器的播 放列表, 或者该移动终端的媒体播放器的音乐专辑。这些播放目录中都对应至 少两个音频文件, 例如存储音乐的文件夹中包含两首歌曲, 或者媒体播放器的 播放列表对应两个音乐文件, 或者媒体播放器的音乐专辑对应两个音乐文件。  The preset playlist is the same as the playlist set in advance in the embodiment of FIG. 1, and may be, for example, a folder for storing music of the mobile terminal, or a playlist of the media player of the mobile terminal, or a mobile terminal. Music album for the media player. Each of these playlists corresponds to at least two audio files, for example, a folder in which music is stored contains two songs, or a playlist of the media player corresponds to two music files, or a music album of the media player corresponds to two music files.
步骤 202 : 当移动终端接收到来电时, 从预先设置的播放目录中选择至少 一个音频文件播放。  Step 202: When the mobile terminal receives the incoming call, select at least one audio file to play from the preset playlist.
其中,当移动终端接收到来电时,该移动终端满足了来电铃声的播放条件, 则通过本实施例的方法, 从上述播放目录中选择至少一个音频文件加以播放。  Wherein, when the mobile terminal receives the incoming call, the mobile terminal satisfies the playing condition of the incoming call ringtone, and then selects at least one audio file from the playlist to play by using the method in this embodiment.
其中,从预先设置的播放目录中随机选择至少一个音频文件播放, 可以是 选择一个音频文件并播放 ,也可以是选择一个以上的音频文件并轮流播放选择 的每个音频文件,还可以是选择一个以上的音频文件并轮流播放选择的每个音 频文件的设定时间段。 以上只是举例说明, 本实施例并不以此作为限制。 的联系人或联系群组设置不同的来电铃声, 则本实施例的步骤 201具体包括: 将该移动终端的通讯录中的联系人或联系群组的来电铃声的播放路径调 整为预先设置的播放目录。如此,当该联系人或该联系群组中的联系人来电时, 该移动终端从预先设置的播放目录中随机选择至少一个音频文件播放。  Wherein, at least one audio file is randomly selected from a preset playlist, which may be selecting an audio file and playing, or selecting one or more audio files and playing each selected audio file in turn, or selecting one The above audio file plays the set time period of each selected audio file in turn. The above is only an example, and the embodiment is not limited thereto. The step 201 of the embodiment includes: adjusting the play path of the ringtone of the contact or the contact group of the mobile terminal to the preset play. table of Contents. As such, when the contact or the contact in the contact group calls, the mobile terminal randomly selects at least one audio file to play from the preset playlist.
此时, 该预先设置的播放目录可以为该移动终端包含音乐文件的文件夹、 或者媒体播放器的播放列表或者音乐专辑。 At this time, the preset playlist may be a folder in which the mobile terminal includes music files, Or a media player's playlist or music album.
在本实施例中,移动终端的用户还可以通过移动终端的媒体播放器,针对 移动终端的所有来电或者不同的联系人或者联系群组设置不同的来电铃声,则 本实施例的步骤 201具体包括:  In this embodiment, the user of the mobile terminal may also set a different ringtone for the incoming call or the different contact or the contact group of the mobile terminal by using the media player of the mobile terminal. :
将该移动终端通讯录中的来电铃声,或者该移动终端的特定联系人的来电 铃声,或者该移动终端的联系群组的来电铃声的播放路径调整为确定的媒体播 放器的播放列表或者音乐专辑。 如此, 当该移动终端接收到来电, 或者该移动 终端接收到该特定联系人的来电,或者该移动终端接收到该特定联系群组中的 联系人的来电时,该移动终端从预先设置的播放目录中随机选择至少一个音频 文件播放。  Adjusting the ringtone of the incoming call in the address book of the mobile terminal, or the ringtone of the caller of the specific contact of the mobile terminal, or the play path of the ringtone of the contact group of the mobile terminal to a determined playlist or music album of the media player . In this way, when the mobile terminal receives an incoming call, or the mobile terminal receives an incoming call of the specific contact, or the mobile terminal receives an incoming call of the contact in the specific contact group, the mobile terminal plays from the preset setting. At least one audio file is randomly selected in the directory for playback.
此时,该预先设置的播放目录可以为该移动终端的媒体播放器的播放列表 或者音乐专辑。  At this time, the preset playlist may be a playlist or a music album of the media player of the mobile terminal.
通过本发明实施例提供的方法, 当移动终端处于铃声随机播放模式时, 该 移动终端在满足铃声播放条件时, 随机播放预先设置的播放目录中的音频文 件, 如此免除了用户反复设置铃声的麻烦。  According to the method provided by the embodiment of the present invention, when the mobile terminal is in the ringtone random play mode, the mobile terminal randomly plays the audio file in the preset playlist when the ringtone playing condition is satisfied, thereby eliminating the trouble of repeatedly setting the ringtone by the user. .
需要说明的是:步骤 201和步骤 202的具体实施方法与第一个实施例相同, 此处不再赘述。  It should be noted that the specific implementation methods of step 201 and step 202 are the same as those of the first embodiment, and details are not described herein again.
图 3为本发明实施例提供的一种移动终端的铃声播放方法的流程图,在本 实施例中, 该信息提示铃声为闹钟提示铃声或日程表提示铃声, 请参照图 3 , 该方法包括:  FIG. 3 is a flowchart of a method for playing a ringtone of a mobile terminal according to an embodiment of the present invention. In this embodiment, the information prompting ringtone is an alarm clock ringtone or a calendar prompt ringtone. Referring to FIG. 3, the method includes:
步骤 301 : 当移动终端处于铃声随机播放模式时, 将移动终端的闹钟或日 程表的提示铃声的播放路径调整为预先设置的播放目录,该预先设置的播放目 录中包含至少两个音频文件;  Step 301: When the mobile terminal is in the ringing random play mode, adjust the playing path of the alarm clock of the mobile terminal or the prompt ring of the date table to a preset playing directory, where the preset playing directory contains at least two audio files;
其中,预先设置的播放目录与图 1实施例中预先设置的播放目录相同, 例 如可以为该移动终端的存储音乐的文件夹,或者该移动终端的媒体播放器的播 放列表, 或者该移动终端的媒体播放器的音乐专辑。这些播放目录中都对应至 少两个音频文件, 例如存储音乐的文件夹中包含两首歌曲, 或者媒体播放器的 播放列表对应两个音乐文件, 或者媒体播放器的音乐专辑对应两个音乐文件。  The preset playlist is the same as the playlist set in advance in the embodiment of FIG. 1, and may be, for example, a folder for storing music of the mobile terminal, or a playlist of the media player of the mobile terminal, or a mobile terminal. Music album for the media player. Each of these playlists corresponds to at least two audio files, for example, a folder in which music is stored contains two songs, or a playlist of the media player corresponds to two music files, or a music album of the media player corresponds to two music files.
步骤 302 : 当移动终端的闹钟或日程表的计时到达预设的时间和 /或日期 时, 从预先设置的播放目录中随机选择至少一个音频文件播放。 Step 302: When the time of the alarm or the schedule of the mobile terminal reaches the preset time and/or date At least one audio file is randomly selected from a preset playlist.
其中, 当移动终端的闹钟或日程表的计时到达预设的时间和 /或日期时, 该移动终端满足了来电铃声的播放条件, 则通过本实施例的方法,从之前调整 的播放目录中选择至少一个音频文件加以播放。  When the time of the alarm or the schedule of the mobile terminal reaches the preset time and/or date, the mobile terminal satisfies the playing condition of the incoming call ringtone, and then selects from the previously adjusted playlist by the method in this embodiment. At least one audio file is played.
其中,从预先设置的播放目录中随机选择至少一个音频文件播放, 可以是 选择一个音频文件并播放 ,也可以是选择一个以上的音频文件并轮流播放选择 的每个音频文件,还可以是选择一个以上的音频文件并轮流播放选择的每个音 频文件的设定时间段, 例如, 选择两个音频文件, 每个音频文件播放结束前的 Wherein, at least one audio file is randomly selected from a preset playlist, which may be selecting an audio file and playing, or selecting one or more audio files and playing each selected audio file in turn, or selecting one The above audio file and in turn play the selected time period of each selected audio file, for example, selecting two audio files, before each audio file is played
6秒钟或者开始前的 6秒钟, 或者中间的某个时间段, 具体播放哪个时间段可 以预先设置。 以上只是举例说明, 本实施例并不以此作为限制。 6 seconds or 6 seconds before the start, or a certain time period in the middle, which time period can be preset to be preset. The above is only an example, and the embodiment is not limited thereto.
需要说明的是:步骤 301和步骤 302的具体实施方法与第一个实施例相同, 此处不再赘述。  It should be noted that the specific implementation methods of step 301 and step 302 are the same as those of the first embodiment, and details are not described herein again.
通过本发明实施例提供的方法,当该闹钟或日程表的计时到达预设的时间 和 /或日期时, 将随机播放该播放目录中的音频文件, 如此免除了用户反复设 置闹钟或日程表的提示铃声的麻烦。  According to the method provided by the embodiment of the present invention, when the timing of the alarm clock or the schedule reaches a preset time and/or date, the audio file in the play directory is randomly played, thus eliminating the user repeatedly setting the alarm clock or the schedule. Prompt for ringtones.
图 4为本发明实施例提供的一种移动终端的铃声播放方法的流程图,在本 实施例中, 该铃声为短信、 彩信或邮件的提示铃声, 请参照图 4 , 该方法包括: 步骤 401 : 当移动终端处于铃声随机播放模式时, 将移动终端的短信、 彩 信或邮件的提示铃声的播放路径调整为预先设置的播放目录,该预先设置的播 放目录中包含至少两个音频文件;  FIG. 4 is a flowchart of a method for playing a ringtone of a mobile terminal according to an embodiment of the present invention. In this embodiment, the ringtone is a prompt ringtone of a short message, a multimedia message, or an email. Referring to FIG. 4, the method includes: Step 401 When the mobile terminal is in the ringing random play mode, the playing path of the short message of the short message of the mobile terminal, the multimedia message or the mail is adjusted to a preset playing directory, and the preset playing directory includes at least two audio files;
其中,预先设置的播放目录与图 1实施例中预先设置的播放目录相同, 例 如可以为该移动终端的存储音乐的文件夹,或者该移动终端的媒体播放器的播 放列表, 或者该移动终端的媒体播放器的音乐专辑。这些播放目录中都对应至 少两个音频文件, 例如存储音乐的文件夹中包含两首歌曲, 或者媒体播放器的 播放列表对应两个音乐文件, 或者媒体播放器的音乐专辑对应两个音乐文件。  The preset playlist is the same as the playlist set in advance in the embodiment of FIG. 1, and may be, for example, a folder for storing music of the mobile terminal, or a playlist of the media player of the mobile terminal, or a mobile terminal. Music album for the media player. Each of these playlists corresponds to at least two audio files, for example, a folder in which music is stored contains two songs, or a playlist of the media player corresponds to two music files, or a music album of the media player corresponds to two music files.
步骤 402: 当移动终端接收到短信、 彩信或邮件时, 从预先设置的播放目 录中选择一个音频文件播放。  Step 402: When the mobile terminal receives the short message, the multimedia message or the email, select an audio file to play from the preset playing directory.
其中, 当移动终端接收到短信、 彩信或邮件时, 该移动终端满足了来电铃 声的播放条件, 则通过本实施例的方法,从该播放目录中选择至少一个音频文 件加以播放。 The mobile terminal satisfies the playing condition of the ringing tone when the mobile terminal receives the short message, the multimedia message, or the email, and selects at least one audio text from the playlist by using the method in this embodiment. The pieces are played.
其中,从预先设置的播放目录中随机选择至少一个音频文件播放, 可以是 选择一个音频文件并播放 ,也可以是选择一个以上的音频文件并轮流播放选择 的每个音频文件,还可以是选择一个以上的音频文件并轮流播放选择的每个音 频文件的设定时间段, 例如, 选择两个音频文件, 每个音频文件播放结束前的 Wherein, at least one audio file is randomly selected from a preset playlist, which may be selecting an audio file and playing, or selecting one or more audio files and playing each selected audio file in turn, or selecting one The above audio file and in turn play the selected time period of each selected audio file, for example, selecting two audio files, before each audio file is played
6秒钟或者开始前的 6秒钟, 或者中间的某个时间段, 具体播放哪个时间段可 以预先设置。以上只是举例说明,本实施例并不以此作为限制。在本实施例中, 移动终端的用户也可以针对不同的联系人或连续群组设置不同的短信、彩信或 邮件提示铃声, 在此不再赘述。 6 seconds or 6 seconds before the start, or a certain time period in the middle, which time period can be preset to be preset. The above is only an example, and the embodiment is not limited thereto. In this embodiment, the user of the mobile terminal can also set different SMS, MMS or email alert ringtones for different contacts or consecutive groups, and details are not described herein.
需要说明的是:步骤 401和步骤 402的具体实施方法与第一个实施例相同, 此处不再赘述。  It should be noted that the specific implementation methods of step 401 and step 402 are the same as those of the first embodiment, and details are not described herein again.
通过本发明实施例提供的方法,当该移动终端接收到短信、彩信或邮件时, 随机播放音频文件,如此免除了用户反复设置短信、彩信或邮件提示铃声的麻 烦。  According to the method provided by the embodiment of the present invention, when the mobile terminal receives the short message, the multimedia message, or the email, the audio file is randomly played, thereby eliminating the trouble of the user repeatedly setting the short message, the multimedia message, or the email prompt ringtone.
通过本发明实施例提供的方法, 当移动终端满足铃声播放条件时, 例如接 收到来电、 短信、 彩信或邮件, 或者闹钟、 日程表的计时到达预定预设的时间 和 /或日期, 可以从播放目录中随机选择一个音频文件加以播放, 如此摆脱了 单一提示音的枯燥, 免除了用户要更换提示音时需要反复设置的麻烦。  According to the method provided by the embodiment of the present invention, when the mobile terminal satisfies the ringtone playing condition, for example, an incoming call, a short message, a multimedia message, or a mail is received, or the time of the alarm clock and the schedule reaches a predetermined preset time and/or date, the time can be played from Randomly select an audio file to play in the directory, thus getting rid of the boring of the single prompt tone, eliminating the trouble that the user needs to repeatedly set the tone when changing the prompt tone.
图 5为本发明实施例提供的一种移动终端的结构示意图, 请参照图 5 , 该 移动终端包括:  FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. Referring to FIG. 5, the mobile terminal includes:
调整模块 51 , 用于当所述移动终端处于铃声随机播放模式时, 将该移动 终端的铃声的播放路径调整为预先设置的播放目录,该预先设置的播放目录中 包含至少两个音频文件;  The adjustment module 51 is configured to: when the mobile terminal is in the ringtone random play mode, adjust a play path of the ringtone of the mobile terminal to a preset playlist, where the preset playlist includes at least two audio files;
播放模块 52 , 用于当该移动终端满足铃声播放条件时, 从该预先设置的 播放目录中随机选择至少一个音频文件播放。  The playing module 52 is configured to randomly select at least one audio file to play from the preset playing directory when the mobile terminal satisfies the ringing playing condition.
本实施例的移动终端的各个组成部分分别用于实现图 1 所示实施例的方 法的各步骤, 由于在图 1的实施例中, 已经对各步骤进行了详细说明, 在此不 再赘述。  The components of the mobile terminal of the present embodiment are respectively used to implement the steps of the method of the embodiment shown in FIG. 1. Since the steps have been described in detail in the embodiment of FIG. 1, no further details are provided herein.
通过本发明实施例提供的移动终端, 当其满足铃声播放条件时, 例如接收 到来电、 短信、 彩信或邮件, 或者闹钟、 日程表的计时到达预定预设的时间和 /或日期, 可以从播放目录中随机选择一个音频文件加以播放, 如此摆脱了单 一提示音的枯燥, 免除了用户要更换提示音时需要反复设置的麻烦。 The mobile terminal provided by the embodiment of the present invention, when it satisfies the ringtone playing condition, for example, receives To call, SMS, MMS or email, or the time of the alarm clock and schedule to reach the preset time and/or date, you can randomly select an audio file from the playlist to play, thus getting rid of the boring and exemption of the single prompt. The trouble that the user needs to set repeatedly when changing the prompt tone.
图 6为本发明实施例提供的移动终端的一个实施方式的结构示意图,请参 照图 6 , 在本实施方式中, 该移动终端包括调整模块 61和播放模块 62 , 该调 整模块 61和播放模块 62与图 5所示实施例的调整模块 51和播放模块 52的功 能相同, 在此不再赘述。  FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention. Referring to FIG. 6 , in the embodiment, the mobile terminal includes an adjustment module 61 and a playback module 62 , and the adjustment module 61 and the playback module 62 . The functions of the adjustment module 51 and the playback module 52 of the embodiment shown in FIG. 5 are the same, and details are not described herein again.
可选的, 在图 6中, 调整模块 61至少包括以下至少一种模块:  Optionally, in FIG. 6, the adjustment module 61 includes at least one of the following modules:
第一调整模块 611 , 用于将移动终端通讯录中的联系人或联系群组的来电 铃声、短信提示铃声、彩信提示铃声或者邮件提示铃声的播放路径调整为预先 设置的播放目录。  The first adjustment module 611 is configured to adjust a play route of the incoming call ringtone, the short message alert ringtone, the MMS alert ringtone, or the email alert ringtone of the contact or contact group in the mobile terminal address book to a preset playlist.
第二调整模块 612 , 用于将该移动终端或者该移动终端的联系人或者该移 动终端的联系群组的来电铃声、短信提示铃声、彩信提示铃声或邮件提示铃声 的播放路径调整为该媒体播放器的播放列表或者音乐专辑。  The second adjustment module 612 is configured to adjust a play channel of the mobile terminal or the contact of the mobile terminal or the contact group of the mobile terminal, a short message alert ringtone, a MMS alert ringtone, or a mail alert ringtone to the media play Playlist or music album.
可选的, 在图 6中, 播放模块 62可以包括以下任一种模块:  Optionally, in FIG. 6, the playing module 62 may include any one of the following modules:
第一播放模块 621 , 用于当移动终端满足铃声播放条件时, 选择一个音频 文件并播放;  The first playing module 621 is configured to select an audio file and play when the mobile terminal satisfies the ringing playing condition;
第二播放模块 622 , 用于当移动终端满足铃声播放条件时, 选择一个以上 的音频文件并轮流播放选择的每个音频文件;  a second playing module 622, configured to: when the mobile terminal satisfies the ringtone playing condition, select one or more audio files and play each of the selected audio files in turn;
第三播放模块 623 , 用于当移动终端满足铃声播放条件时, 选择一个以上 的音频文件并轮流播放选择的每个音频文件的设定时间段。  The third playing module 623 is configured to: when the mobile terminal satisfies the ringtone playing condition, select one or more audio files and play the selected time period of each selected audio file in turn.
可选的, 本实施例的移动终端还可以包括以下至少一种模块:  Optionally, the mobile terminal in this embodiment may further include at least one of the following modules:
自动生成模块 63: 用于从该移动终端存储的音频文件中按照预设策略生 成预先设置的播放目录中包含的至少两个音频文件;  The automatic generation module 63 is configured to generate at least two audio files included in a preset playlist according to a preset policy from an audio file stored by the mobile terminal;
手动生成模块 64 : 用于根据用户的相应操作后生成预先设置的播放目录 中包含的至少两个音频文件。  Manual generation module 64: Used to generate at least two audio files contained in the preset playlist according to the user's corresponding operation.
本实施例的移动终端的各组成部分分别用于实现图 1 -图 4所示实施例的 方法的各步骤,由于在图 1 -图 4的实施例中, 已经对各步骤进行了详细说明, 在此不再赘述。 通过本发明实施例提供的移动终端,用户可以选择不止一个音频文件作为 来电铃声、 短信或彩信或邮件提示铃声、 闹钟或日程表提示铃声, 如此摆脱了 单一提示音的枯燥, 免除了用户要更换提示音时需要反复设置的麻烦。 The components of the mobile terminal of this embodiment are respectively used to implement the steps of the method of the embodiment shown in FIG. 1 to FIG. 4, and the steps have been described in detail in the embodiments of FIG. 1 to FIG. I will not repeat them here. With the mobile terminal provided by the embodiment of the present invention, the user can select more than one audio file as the incoming call ringtone, the short message or the multimedia message or the email prompt ringtone, the alarm clock or the calendar prompt ringtone, thus eliminating the boring of the single prompt tone, eliminating the user from replacing The trouble of repeatedly setting the tone is required.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处 理器执行的软件模块, 或者二者的结合来实施。软件模块可以置于随机存储器 The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both. Software modules can be placed in random access memory
( RAM )、 内存、 只读存储器(ROM )、 电可编程 R0M、 电可擦除可编程 R0M、 寄 存器、 硬盘、 可移动磁盘、 CD-R0M、 或技术领域内所公知的任意其它形式的存 储介质中。 (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage known in the art. In the medium.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进 一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施例而已, 并不 用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above described specific embodiments of the present invention are further described in detail, and it is to be understood that the foregoing description is only All modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种移动终端的铃声播放方法, 其特征在于, 所述方法包括: 当所述移动终端处于铃声随机播放模式时, 将所述移动终端的铃声的播放 路径调整为预先设置的播放目录, 所述预先设置的播放目录中包含至少两个音 频文件;  A method for playing a ringtone of a mobile terminal, the method comprising: adjusting a play path of a ringtone of the mobile terminal to a preset playlist when the mobile terminal is in a ringtone random play mode, The preset playlist includes at least two audio files;
当所述移动终端满足铃声播放条件时, 从所述预先设置的播放目录中随机 选择至少一个音频文件播放。  When the mobile terminal satisfies the ringtone playing condition, at least one audio file is randomly selected from the preset playlist.
2、 根据权利要求 1所述的方法, 其特征在于, 所述铃声为来电铃声、 闹钟 提示铃声、 日程表提示铃声、 短信提示铃声、 彩信提示铃声或邮件提示铃声中 的任一种。  The method according to claim 1, wherein the ringtone is any one of an incoming call ringtone, an alarm alert ringtone, a calendar alert ringtone, a short message alert ringtone, a multimedia message alert ringtone, or a mail alert ringtone.
3、 根据权利要求 2所述的方法, 其特征在于, 当所述铃声为来电铃声、 短 信提示铃声、 彩信提示铃声或者邮件提示铃声的任一种时, 将所述移动终端的 铃声的播放路径调整为预先设置的播放目录, 包括:  The method according to claim 2, wherein when the ringtone is any one of an incoming call ringtone, a short message alert ringtone, a multimedia message alert ringtone, or a mail alert ringtone, the playing path of the ringtone of the mobile terminal is used. Adjust to the preset playlist, including:
将所述移动终端的通讯录中的联系人或联系群组的来电铃声、 短信提示铃 声、 彩信提示铃声或邮件提示铃声的播放路径调整为预先设置的播放目录; 或者,  Adjusting a play route of a caller ringtone, a short message alert ringtone, a multimedia message alert ringtone, or a mail alert ringtone of a contact or contact group in the address book of the mobile terminal to a preset playlist; or
将所述移动终端的通讯录中的联系人或者联系群组的来电铃声、 短信提示 铃声、 彩信提示铃声或邮件提示铃声的播放路径调整为媒体播放器的播放列表 或者音乐专辑。  Adjusting the play path of the caller ringtone, the SMS alert ringtone, the MMS alert ringtone or the email alert ringtone of the contact or contact group in the address book of the mobile terminal to a playlist or a music album of the media player.
4、 根据权利要求 1至 3任一所述的方法, 其特征在于,  4. A method according to any one of claims 1 to 3, characterized in that
所述预先设置的播放目录中包含的至少两个音频文件是从所述移动终端存 储的音频文件中按照预设策略生成; 或者,  The at least two audio files included in the preset playlist are generated from the audio files stored in the mobile terminal according to a preset policy; or
所述预先设置的播放目录中包含的至少两个音频文件是根据用户的相应操 作后生成。  The at least two audio files included in the preset playlist are generated according to corresponding operations of the user.
5、根据权利要求 1至 3任一所述的方法, 其特征在于, 所述预先设置的播 放目录为所述移动终端的存储音乐的文件夹、 所述移动终端的媒体播放器的播 放列表、 或者所述移动终端的媒体播放器的音乐专辑中任一种。  The method according to any one of claims 1 to 3, wherein the preset playlist is a folder for storing music of the mobile terminal, a playlist of a media player of the mobile terminal, Or any one of the music albums of the media player of the mobile terminal.
6、根据权利要求 1至 4任一所述的方法, 其特征在于, 所述当所述移动终 端满足铃声播放条件时, 从所述预先设置的播放目录中随机选择至少一个音频 文件播放, 包括: The method according to any one of claims 1 to 4, wherein, when the mobile terminal satisfies a ringtone playing condition, randomly selecting at least one audio from the preset playlist File playback, including:
当所述移动终端满足铃声播放条件时, 选择一个音频文件并播放; 或者,  Selecting an audio file and playing when the mobile terminal satisfies the ringtone playing condition; or
当所述移动终端满足铃声播放条件时, 选择一个以上的音频文件并轮流播 放选择的每个音频文件;  When the mobile terminal satisfies the ringtone playing condition, select one or more audio files and play each selected audio file in turn;
或者,  Or,
当所述移动终端满足铃声播放条件时, 选择一个以上的音频文件并轮流播 放选择的每个音频文件的设定时间段。  When the mobile terminal satisfies the ringtone playing condition, more than one audio file is selected and the set time period of each selected audio file is played in turn.
7、 一种移动终端, 其特征在于, 所述移动终端包括:  A mobile terminal, the mobile terminal comprising:
调整模块, 用于当所述移动终端处于铃声随机播放模式时, 将所述移动终 端的铃声的播放路径调整为预先设置的播放目录, 所述预先设置的播放目录中 包含至少两个音频文件;  And an adjustment module, configured to adjust a play path of the ringtone of the mobile terminal to a preset playlist when the mobile terminal is in a ringtone random play mode, where the preset playlist includes at least two audio files;
播放模块, 用于当所述移动终端满足铃声播放条件时, 从所述预先设置的 播放目录中随机选择至少一个音频文件播放。  And a playing module, configured to randomly select at least one audio file to play from the preset playlist when the mobile terminal satisfies the ringtone playing condition.
8、根据权利要求 7所述的移动终端, 其特征在于, 所述调整模块至少包括 以下一种模块:  The mobile terminal according to claim 7, wherein the adjustment module comprises at least one of the following modules:
第一调整模块, 用于将所述移动终端的通讯录中的所述联系人或联系群组 的来电铃声、 短信提示铃声、 彩信提示铃声或者邮件提示铃声的播放路径调整 为预先设置的播放目录;  a first adjustment module, configured to adjust a play ringtone of the contact or contact group, a short message alert ringtone, a multimedia message alert ringtone, or a mail alert ringtone in the address book of the mobile terminal to a preset playlist ;
第二调整模块, 用于将所述移动终端的通讯录中的联系人或者联系群组的 来电铃声、 短信提示铃声、 彩信提示铃声或邮件提示铃声的播放路径调整为所 述媒体播放器的播放列表或者音乐专辑。  a second adjustment module, configured to adjust a play path of a caller ringtone, a short message alert ringtone, a multimedia message alert ringtone, or a mail alert ringtone of a contact or contact group in the address book of the mobile terminal to play by the media player List or music album.
9、根据权利要求 7所述的移动终端, 其特征在于, 所述移动终端还包括以 下至少一种模块:  The mobile terminal according to claim 7, wherein the mobile terminal further comprises at least one of the following modules:
自动生成模块: 用于从所述移动终端存储的音频文件中按照预设策略生成 所述预先设置的播放目录中包含的至少两个音频文件;  An automatic generation module: configured to generate at least two audio files included in the preset playlist according to a preset policy from an audio file stored by the mobile terminal;
手动生成模块: 用于根据用户的相应操作后生成所述预先设置的播放目录 中包含的至少两个音频文件。  Manually generating a module: configured to generate at least two audio files included in the preset playlist according to a corresponding operation of the user.
10、 根据权利要求 7至 9任一所述的移动终端, 其特征在于, 所述播放模 块至少包括以下任一种模块: 第一播放模块, 用于当所述移动终端满足铃声播放条件时, 选择一个音频 文件并播放; The mobile terminal according to any one of claims 7 to 9, wherein the playing module comprises at least one of the following modules: a first playing module, configured to: when the mobile terminal satisfies a ringtone playing condition, select an audio file and play;
第二播放模块, 用于当所述移动终端满足铃声播放条件时, 选择一个以上 的音频文件并轮流播放选择的每个音频文件;  a second playing module, configured to: when the mobile terminal satisfies a ringtone playing condition, select one or more audio files and play each selected audio file in turn;
第三播放模块, 用于当所述移动终端满足铃声播放条件时, 选择一个以上 的音频文件并轮流播放选择的每个音频文件的设定时间段。  And a third playing module, configured to: when the mobile terminal satisfies the ringtone playing condition, select one or more audio files and play the selected time period of each selected audio file in turn.
PCT/CN2011/084711 2010-12-29 2011-12-27 Mobile terminal ringtone playing method and device WO2012089095A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010612097.3 2010-12-29
CN2010106120973A CN102065179A (en) 2010-12-29 2010-12-29 Ring playing method and device for mobile terminal

Publications (1)

Publication Number Publication Date
WO2012089095A1 true WO2012089095A1 (en) 2012-07-05

Family

ID=44000275

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/084711 WO2012089095A1 (en) 2010-12-29 2011-12-27 Mobile terminal ringtone playing method and device

Country Status (2)

Country Link
CN (1) CN102065179A (en)
WO (1) WO2012089095A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065179A (en) * 2010-12-29 2011-05-18 华为终端有限公司 Ring playing method and device for mobile terminal
CN102905032B (en) * 2012-10-24 2014-01-29 广东欧珀移动通信有限公司 Method and system for realizing dynamic ring tone of smart mobile phone
CN104656412A (en) * 2015-01-20 2015-05-27 深圳市金立通信设备有限公司 Method for adjusting alarm
CN105491240B (en) * 2016-01-06 2019-03-15 Oppo广东移动通信有限公司 The switching method and system of incoming ring tone
CN105527827A (en) * 2016-01-13 2016-04-27 广东小天才科技有限公司 Alarm clock ringing method and device and intelligent device
CN105807604A (en) * 2016-05-20 2016-07-27 乐视控股(北京)有限公司 Alarm clock ring setting method and device
CN106210317A (en) * 2016-07-12 2016-12-07 佛山杰致信息科技有限公司 A kind of ring of alarm clock Play System
CN106603845A (en) * 2016-12-16 2017-04-26 上海斐讯数据通信技术有限公司 Free transformation method of client bell ring
CN114006973A (en) * 2020-07-28 2022-02-01 北京破壁者科技有限公司 Ringtone updating method, data updating method, ringtone publishing method, ringtone updating device, ringtone publishing device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642185A (en) * 2004-01-12 2005-07-20 夏新电子股份有限公司 Method and apparatus for realizing bell-sound intelligent of hand-held equipment
US20070014536A1 (en) * 2005-07-12 2007-01-18 Hellman Martin E FM broadcast system competitive with satellite radio
CN101151877A (en) * 2005-03-07 2008-03-26 索尼爱立信移动通讯有限公司 Call alerting using different ring signals according to a play list
CN101207871A (en) * 2006-12-22 2008-06-25 联想移动通信科技有限公司 Mobile terminal and method for playing music ring
US20090003550A1 (en) * 2007-06-26 2009-01-01 Babu Mani Method and system for calling party control of ringback tone content
CN102065179A (en) * 2010-12-29 2011-05-18 华为终端有限公司 Ring playing method and device for mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370196A (en) * 2007-08-14 2009-02-18 联想移动通信科技有限公司 Ring output method and device for mobile terminal
CN101753677A (en) * 2008-12-15 2010-06-23 康佳集团股份有限公司 Communication terminal, ring playing method and system thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642185A (en) * 2004-01-12 2005-07-20 夏新电子股份有限公司 Method and apparatus for realizing bell-sound intelligent of hand-held equipment
CN101151877A (en) * 2005-03-07 2008-03-26 索尼爱立信移动通讯有限公司 Call alerting using different ring signals according to a play list
US20070014536A1 (en) * 2005-07-12 2007-01-18 Hellman Martin E FM broadcast system competitive with satellite radio
CN101207871A (en) * 2006-12-22 2008-06-25 联想移动通信科技有限公司 Mobile terminal and method for playing music ring
US20090003550A1 (en) * 2007-06-26 2009-01-01 Babu Mani Method and system for calling party control of ringback tone content
CN102065179A (en) * 2010-12-29 2011-05-18 华为终端有限公司 Ring playing method and device for mobile terminal

Also Published As

Publication number Publication date
CN102065179A (en) 2011-05-18

Similar Documents

Publication Publication Date Title
WO2012089095A1 (en) Mobile terminal ringtone playing method and device
US7493146B1 (en) Method and system for using user-selected alert patterns
CN1281044C (en) Mobile phone with music reproduction function, music data, reproduction method by mobile phone with music reproduction function and program thereof
US7844040B2 (en) Device and method for announcing an incoming call
WO2009115010A1 (en) Color ring setting method, terminal and color ring source server
JP2009508401A (en) Method and device for telephone call prioritization
JP2006106695A (en) Terminal-adjusted ringtone
MX2007010421A (en) Defined ringing tone segments in an audio source.
JP2010527532A (en) System and method for selecting part of media
WO2001052506A1 (en) Portable telephone
JP2002204286A (en) Portable telephone system with melody signaling call tone
JP4360033B2 (en) Communication terminal device
JP4924282B2 (en) Mobile terminal and alarm sound selection method for the terminal
JP2005300783A (en) Voice converting device
JP2007251288A (en) Mobile communication terminal equipment and call termination notice method
KR100773950B1 (en) Method for assigning bell sound of a phone
CN102833394A (en) Mobile phone capable of generating ring of the mobile phone, and method for generating ring thereof
JP2007295261A (en) Mobile communication terminal with music reproducing function
TWI442309B (en) Method for playing audio file
JP2008139621A (en) Communication system and terminal
JP2007235265A (en) Portable terminal
KR100622640B1 (en) Method and system for providing pre-listen service of call connection sound using wireless communication service
KR100690754B1 (en) Voice recording method for mobile communication terminal
JP2002271452A (en) Communication terminal device
KR20060018177A (en) System and method for playing phone bell of receiver by caller's choice

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11852962

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11852962

Country of ref document: EP

Kind code of ref document: A1