CN105472575A - Ring-back tone realization method and device - Google Patents

Ring-back tone realization method and device Download PDF

Info

Publication number
CN105472575A
CN105472575A CN201410441668.XA CN201410441668A CN105472575A CN 105472575 A CN105472575 A CN 105472575A CN 201410441668 A CN201410441668 A CN 201410441668A CN 105472575 A CN105472575 A CN 105472575A
Authority
CN
China
Prior art keywords
terminal
tone
policy
file
ringback tone
Prior art date
Application number
CN201410441668.XA
Other languages
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 中兴通讯股份有限公司
Priority to CN201410441668.XA priority Critical patent/CN105472575A/en
Publication of CN105472575A publication Critical patent/CN105472575A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Abstract

The invention discloses a ring-back tone realization method. After a first terminal initiates a call request to a second terminal, the first terminal determines that a ring-back tone strategy has been set to the second terminal, and then, plays the ring-back tone according to the set ring-back tone strategy. The invention also discloses a ring-back tone realization device.

Description

一种回铃音实现方法和装置 One kind of ring back tone realization method and apparatus

技术领域 FIELD

[0001] 本发明涉及移动通信领域,具体涉及一种回铃音实现方法和装置。 [0001] The present invention relates to the field of mobile communications, particularly to a method and apparatus to realize ring back tone.

背景技术 Background technique

[0002] 随着智能手机终端的发展,各种终端应用层出不穷,而通话功能仍为手机终端最重要的应用之一。 [0002] With the development of smart mobile terminals, terminal applications emerging, and call function remains one of the most important applications of mobile terminals.

[0003] 当主叫用户呼叫被叫用户时,通常能够从自身终端中听到回铃音,该回铃音用于指示主叫用户呼叫正在进行中,被叫用户可接收到呼叫。 [0003] When the calling user calls the called user, usually from its own terminal can hear the ring back tone, ring-back tone for the caller indicating the call is in progress, the called user may receive the call. 目前,用户的回铃音多是由网络侧提供的服务,如个性化的彩铃业务;这样当主叫用户呼叫被叫用户时,听到的就是被叫用户订制的回铃音业务,如彩铃歌曲等。 Currently, users are mostly ring-back tone service provided by the network side, such as personalized ring back tone service; so when the calling user calls the called user, the hearing is called user customized ring back tone service, such as RBT songs. 然而这种回铃音业务要求主叫方的终端只能被动接收和播放被叫方用户定制的回铃音,主叫方的终端无法自行控制回铃音的播放。 However, this ring back tone service requires the caller terminal can only passively receive and play the called party's customized ringback tones, caller ring back tone of the terminal can not control the player themselves.

发明内容 SUMMARY

[0004] 为了解决现有存在的技术问题,本发明实施例期望提供一种回铃音实现方法和装置。 [0004] In order to solve the problems of the prior art exist, desirable to provide a ringback embodiment implemented method and apparatus according to the present invention.

[0005] 本发明实施例提供了一种回铃音实现方法,所述方法包括: [0005] Example embodiments provide a method of the present invention is to realize ring back tone, the method comprising:

[0006] 第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃音。 After [0006] a first terminal initiates a call request to the second terminal, the first terminal of the second terminal has confirmed itself ringback tone set policy, ringback tone according to the ring back tone playing policy that has been set.

[0007] 上述方案中,所述回铃音策略包括:第二终端对应的回铃音文件; [0007] In the above embodiment, the policy ringback tone comprising: a second terminal corresponding to the ringback tone files;

[0008] 当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。 [0008] When the file of the second ringback tone corresponding to the terminal number more than one, the ring back tone policy further comprising: RBT playing policy, and the RBT playing policy, comprising: sequential and shuffle .

[0009] 上述方案中,所述第一终端根据已设置的回铃音策略播放回铃音包括: [0009] In the above embodiment, the ring back tone according to a first terminal displays the strategy has been set back tone comprises:

[0010] 第一终端确定第二终端的回铃音策略; [0010] determining a first terminal a second terminal of the ring back tone strategy;

[0011] 第一终端根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃首文件; [0011] The first terminal determines that the present file plays the ring back tone according to the ring back tone policy determined, and reads the file header ringback;

[0012] 第一终端接收网络侧信令,以确认与第二终端之间通话是否建立; [0012] The first terminal receives a signaling network, to confirm whether the call is established between a second terminal;

[0013]当第一终端与第二终端建立通话后,第一终端播放已经读取的回铃音文件。 [0013] When the first terminal and the second terminal to establish a call, ringback tone played the first terminal file has been read.

[0014] 上述方案中,第一终端通过以下方式确定第二终端的回铃音策略: [0014] In the above embodiment, the terminal determines a first terminal of the second ring back tone policy by:

[0015] 第一终端判断自身对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将自身对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。 [0015] The first terminal of the second terminal itself determines whether ringback tone strategy provided separately, or the group of the second terminal is located is set up ringback tone policy, and the determination result is YES, the first itself second terminal ringback tone setting policy or strategy to determine the ringback tone for the second terminal group where the ring back tone set for the policy of the second terminal.

[0016] 进一步的,所述方法还包括: [0016] Further, the method further comprising:

[0017]当所述第一终端确定自身对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。 [0017] When the first terminal to the second terminal determines that it is provided separately strategy ringback tone, and the second group of terminals is also provided where the ringback tone policy, determines a second group back to the terminal where and a second terminal itself policy tone RBT policy is the same, if not identical, then the priority policy according to a preset policy of the group ring back tone or the second terminal itself RBT policy is set to a second terminal of the ring-back tone policy; if the same, then the policies of the group ring back tone or the second terminal itself RBT policy is set to a second terminal RBT policy.

[0018] 上述方案中,所述第一终端通过以下方式确定并读取本次播放的回铃音文件: [0018] In the above embodiment, the first terminal by way of determining the file and reads the current ringback tone to play:

[0019] 确认所述确定的回铃音策略中,回铃音文件的个数为一个还是多个; [0019] ringback tone to confirm the policy determination, the number of files to back tone or a plurality of;

[0020] 当确认回铃音文件个数为一个时,第一终端从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。 [0020] When it is confirmed when the number of files a ringback tone, the ringback tone to find a first terminal of the ring back tone file from the file addresses stored in the ring back tone file or read out and stored to the cache.

[0021] 上述方案中,当确认回铃音文件个数为多个时,所述方法还包括: [0021] In the above embodiment, the number of the ring back tone when it is confirmed when a plurality of files, the method further comprising:

[0022] 第一终端确认所述多个回铃音文件的播放策略; [0022] confirmed that a first terminal of the plurality of files back tone playing policy;

[0023] 当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中; [0023] When the playing of the plurality of ringback tone acknowledgment policy file is played in sequence, find the configuration file from the ring back tone RBT playing records of the called number, determining the current ringback tone to play the file and look from the ringback tone files stored in the address to the ringback tone file, or the ringback tone from the local file read and stored in the cache;

[0024] 当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。 [0024] When the RBT playing policy corresponding to the called number is shuffle randomly selected ringback tone files in this play, and look from the ringback tone file is saved to the return address ring tone file, or the ringback tone from the local file read out and stored in the cache.

[0025] 本发明实施例提供了一种回铃音实现装置,应用于第一终端,所述装置包括:呼叫控制模块、设置模块、音频处理模块及存储模块;其中, [0025] Example embodiments provide an apparatus for implementing ring back tone, is applied to a first terminal of the present invention, the apparatus comprising: a call control module, a setting module, an audio processing module and a memory module; wherein,

[0026] 所述呼叫控制模块,用于向第二终端发起呼叫请求; [0026] The call control module for initiating a call request to the second terminal;

[0027] 所述设置模块,用于设置回铃音策略,并在确认对第二终端已设置回铃音策略时,触发音频处理模块; [0027] The setting module configured to set the ringback tone policy, and confirmation of the second terminal has set the ringback tone policy, triggers an audio processing module;

[0028] 所述音频处理模块,用于被设置模块触发时,根据已设置的回铃音策略查找回铃音文件,并执行回铃音播放处理; When [0028] The audio processing module, is used to set the trigger module, find files based ringback tones ringback tones policy has been set, and perform the RBT playing processing;

[0029] 所述存储模块,用于存储回铃音文件。 The [0029] storage module for storing the ringback tone file.

[0030] 上述方案中,所述回铃音策略包括:第二终端对应的回铃音文件; [0030] In the above embodiment, the policy ringback tone comprising: a second terminal corresponding to the ringback tone files;

[0031] 当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。 [0031] When the file of the second ringback tone corresponding to the terminal number more than one, the ring back tone policy further comprising: RBT playing policy, and the RBT playing policy, comprising: sequential and shuffle .

[0032] 上述方案中,所述呼叫控制模块,还用于接收网络侧信令,以确认第一终端与第二终端之间通话是否建立;并在确认第一终端与第二终端之间已经建立通话时,触发音频处理模块。 Between a first terminal and a second terminal and has been confirmed; [0032] In the above embodiment, the call control module is further configured to receive a network-side signaling to confirm that the call between the first terminal and the second terminal is established when the call is established, trigger an audio processing module.

[0033] 上述方案中,所述音频处理模块进一步包括:回铃音策略确定子模块、回铃音文件确定子模块和回铃音文件播放子模块;其中, [0033] In the above-described embodiment, the audio processing module further comprising: a policy determining submodule ring-back tone, ring-back tone determination sub-module, and the file playback ringback tone sub-module; wherein,

[0034] 所述回铃音策略确定子模块,用于确定第二终端的回铃音策略; [0034] The policy determining submodule ringback tone, the ringback tone strategy for determining a second terminal;

[0035] 所述回铃音文件确定子模块,用于根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件; [0035] The ringback tone file determination sub-module, for determining the current playing ring back tone according to the determined RBT policy file and reads the file ringback tone;

[0036] 所述回铃音播放子模块,用于被呼叫控制模块触发时,播放已经读取的回铃音文件。 [0036] The RBT playing submodule, a ring back tone for the call control module file is triggered play has been read.

[0037] 上述方案中,所述回铃音策略确定子模块用于根据以下方式确定第二终端的回铃音策略: [0037] In the above embodiment, the ring-back tone policy determining submodule for determining a second terminal of the policy ringback tone in the following manner:

[0038] 判断设置模块对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将设置模块对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。 [0038] It is determined whether the second terminal is provided on a separate module ringback tone set policy, or to the group of the second terminal is located is set up ringback tone policy, and the determination result is YES, the second module is provided ringback tone setting terminal policy or a group policy to determine the ringback tone for the second terminal is located is provided to the second terminal ringback tone policy.

[0039] 上述方案中,所述回铃音策略确定子模块还用于根据以下方式确定第二终端的回铃音策略: [0039] In the above embodiment, the ring-back tone policy determining submodule is further configured to determine a second terminal according to the ring back tone mode strategy:

[0040] 当确定设置模块对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。 [0040] When it is determined that the second terminal is provided on a separate module disposed strategy ringback tone, and the second group of terminals is also provided where the ringback tone strategy, where the group determines a second terminal and the ring back tone Policy a second terminal itself RBT policy is the same, if not identical, then the priority policy according to a preset policy of the group ring back tone or the second terminal itself RBT policy is set to the second terminal ringback policy; if the same, then the group ring back tone or the second terminal itself policy RBT policy to the policy of the second terminal ringback tone.

[0041] 上述方案中,所述回铃音文件确定子模块用于通过以下方式确定并读取本次播放的回铃音文件: [0041] In the above embodiment, the ring-back tone determination sub-module for determining a file and reads the file of this play ringback tone in the following manner:

[0042] 判断所述确定的回铃音策略中,回铃音文件的个数为一个还是多个; Policy ringback tone [0042] The determination of the determination, the number of files to back tone or a plurality of;

[0043] 当确认回铃音文件个数为一个时,回铃音文件确定子模块从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。 [0043] When it is confirmed when the number of files a ringback tone, ring-back tone determination sub-module searches the file back tone file from the file storage address ringback tone in the ringback tone file or read out and stored in the cache.

[0044] 上述方案中,所述回铃音文件确定子模块还用于当确认回铃音文件个数为多个时,确认所述多个回铃音文件的播放策略; [0044] In the above embodiment, the ring back tone file sub-module is further configured to determine when a ringback tone to confirm the number of the plurality of files, the acknowledgment of the plurality of ringback tone playing policy files;

[0045] 当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中; [0045] When the playing of the plurality of ringback tone acknowledgment policy file is played in sequence, find the configuration file from the ring back tone RBT playing records of the called number, determining the current ringback tone to play the file and look from the ringback tone files stored in the address to the ringback tone file, or the ringback tone from the local file read and stored in the cache;

[0046] 当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。 [0046] When the RBT playing policy corresponding to the called number is shuffle randomly selected ringback tone files in this play, and look from the ringback tone file is saved to the return address ring tone file, or the ringback tone from the local file read out and stored in the cache.

[0047] 本发明实施例所提供的一种回铃音实现方法和装置,第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃。 After [0047] implemented method and apparatus for providing a ringback tone of the embodiment of the present invention, the first terminal initiates a call request to the second terminal, the first terminal of the second terminal has its own acknowledgment back tone set policy, in accordance with ringback tone policies are set to play ringback. 如此,主叫终端(第一终端)可以根据自身需要为被叫终端(第二终端)定制个性化的回铃音,主叫终端中回铃音的播放由传统的主叫终端被动接收和播放,转变为由主叫方的终端自行控制回铃音的播放,丰富了回铃音的播放控制方式。 Thus, the calling terminal (first terminal) can be customized according to their personalized ring back tone to the called terminal (the second terminal), the terminal calling ring back tone played by the player and a conventional passive received calling terminal , being transferred to the caller's terminal control their own ringback tone to play to enrich the playback control ringback tone.

附图说明 BRIEF DESCRIPTION

[0048] 图1为本发明实施例提供的回铃音实现方法流程图一; [0048] Example 1 of the present embodiment provides a flowchart of a method to achieve a ringback tone to the invention;

[0049] 图2为本发明实施例提供的回铃音实现方法流程图二; [0049] FIG 2 is a flowchart provided by two back tone realization method of the present invention;

[0050] 图3为本发明实施例提供的回铃音实现装置的基本结构图一; [0050] FIG 3 a block diagram of a basic implementation of a ringback tone apparatus according to an embodiment of the present invention;

[0051] 图4为本发明实施例提供的回铃音实现装置的基本结构图二。 [0051] FIG 4 is a basic block diagram two realize ring back tone device according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0052] 本发明实施例中,第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃音。 When [0052] the embodiments of the present invention, the first terminal initiates a call request to the second terminal, the first terminal of the second terminal has its own acknowledgment back tone set policy, the policy is set according to the ring back tone played back tone .

[0053] 下面通过附图及具体实施例对本发明做进一步的详细说明。 [0053] By following drawings and specific embodiments described in detail further embodiment of the present invention.

[0054] 实施例一 [0054] Example a

[0055] 本发明实施例一提供了一种回铃音实现方法,如图1所示,该方法包括以下步骤: [0055] Embodiments of the present invention provides a method to achieve a ring back tone, shown in Figure 1, the method comprising the steps of:

[0056] 步骤101:第一终端向第二终端发起呼叫请求; [0056] Step 101: a first terminal initiates a call request to the second terminal;

[0057] 具体的,第一终端通过拨打第二终端电话号码,向第二终端发起呼叫请求。 [0057] Specifically, a first terminal a second terminal by dialing a telephone number, a call request to the second terminal.

[0058] 步骤102:第一终端判断自身对第二终端是否已设置回铃音策略; [0058] Step 102: a first terminal to the second terminal itself determines whether ringback tone setting policy;

[0059]当第一终端向第二终端发起呼叫请求后,第一终端首先判断自身对所述第二终端是否已设置回铃音策略; [0059] When the first terminal initiates a call request to the second terminal, the first terminal first determines whether its own terminal to the second ring back tone set policy;

[0060] 所述回铃音策略包括:第二终端对应的回铃音文件;当第二终端对应的回铃音文件超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放;即,当第二终端对应的回铃音文件为两个或两个以上时,第一终端可以设置多次呼叫时,这些回铃音文件按照顺序播放或随机播放; [0060] The policy ringback tone comprising: a second terminal corresponding to the ringback tone document; when the second terminal corresponding to the ringback tone more than one file, the ringback tone policy further comprising: RBT playing policy the RBT playing policy, comprising: sequential and shuffle; That is, when the second terminal corresponding to the ringback tone for the two or more files, the first terminal may be provided multiple calls, the return ring tone file or shuffle the order;

[0061] 在第一终端向第二终端发起呼叫请求之前,第一终端需要预先设置第二终端的回铃音策略;在实际实现中,第一终端可以通过以下方式为联系人(包括第二终端)设置回铃音策略: Before [0061] initiates a call request at a first terminal to the second terminal, the first terminal needs ringback tone preset policy second terminal; in an actual implementation, the first terminal by way of the following contacts (including a second terminal) set a ringback tone policies:

[0062] 第一种方式:第一终端为联系人列表中各个联系人设置相应菜单选项,以方便第一终端用户选择该联系人对应的回铃音策略;具体的,第一终端用户选择对某一联系人进行设置时,在相应选项下选择本地铃音文件作为该联系人的回铃音文件,第一终端用户可以选择一个或多个本地铃音文件;当第一终端选择多个本地铃音文件作为回铃音文件时,第一终端还设置相应界面提示第一终端用户选择这些铃音文件的播放策略;可选的播放策略有随机播放或顺序播放;具体的,当第一终端用户设置完毕后,第一终端还可以自动生成标记,以标记该联系人为已设置了回铃音的联系人;或者,第一终端用户可以自行为相应联系人添加标记以标记该联系人为已设置回铃音策略的联系人; [0062] The first embodiment: a first terminal provided the respective contact list menu options for each contact, a first end-user to facilitate selection policy ringback tone corresponding to the contact; Specifically, the first end-user selection of when a contact is set, the local ring tone file select the option in the document as the ringback tone for the contact, a first end-user may select one or more local ring tone file; when the terminal selects a first plurality of local ringback tone file as a file, a first terminal provided the respective first interface prompts the terminal user to select the ring tone file playing policy; optional playing policy random play or sequential play; specifically, when the first terminal after a user is set up, the terminal can automatically generate a first mark to mark the contact as the contact is set back tone; or, a first end user can add their own mark to mark the respective contacts of the contact set ringback tone contact strategy;

[0063] 第二种方式:第一终端以群组为单位为联系人列表中的联系人设置回铃音策略,具体的,第一终端为联系人列表中各个群组设置相应菜单选项,以方便第一终端用户选择相应群组对应的回铃音策略;具体的,第一终端用户选择对某一群组进行设置时,在相应选项下选择本地铃音文件作为该群组内联系人的回铃音文件,第一终端用户可以选择一个或多个本地铃音文件;当第一终端选择多个本地铃音文件作为回铃音文件时,第一终端还设置相应界面提示第一终端用户选择这些铃音文件的播放策略;可选的播放策略有随机播放或顺序播放;具体的,当第一终端用户设置完毕后,第一终端还可以自动生成标记,以标记该群组为已设置了回铃音的群组,则该群组内的各个联系人被标记为已设置了回铃音的联系人;或者,第一终端用户可以自行为相应群组 [0063] The second way: the first terminal set up a group unit to a contact in the contact list ringback tone strategy, specifically, the first terminal set the corresponding menu options for the contact list each group to first end-user to facilitate selection policy corresponding ringback tone corresponding to the group; specifically, the first end-user to select a setting group, the local ring tone file selected at the option of the group as the contact ringback tone file, first end-user may select one or more local ring tone file; when the terminal selects a first plurality of files as local ringback tone file, a first terminal provided the respective first end-user interface prompts selecting those tone playing policy documents; optional playing policy random play or sequential play; specifically, when the first end-user set up, the terminal can automatically generate a first mark to the mark set group as the group ring back tone, the individual contacts in the group is marked as a contact ring back tone set; or, a first end user may own corresponding group 加标记以标记该群组为已设置回铃音策略的群组,相应的,该群组内的各个联系人被标记为已设置了回铃音的联系人。 Add Mark to mark the group as a ringback tone set policy group, the corresponding, individual contacts within the group is set up contacts marked as ringback tones.

[0064] 当第一终端用户设置了相应联系人或群组的回铃音策略后,第一终端生成回铃音配置文件,其中包括:联系人号码及该联系人对应的回铃音策略、和/或群组及该群组对应的回铃音策略,从而形成联系人与回铃音文件保存地址、及联系人与回铃音文件的播放策略的映射关系。 [0064] When the first end-user set policy corresponding ringback tone or a contact group, the first terminal generates a ring back tone configuration file, which includes: the contact and the contact number corresponding to the RBT policy, and / or group and the group corresponding ringback tones strategy to form contacts with ringback tone files are saved addresses, and contact mapping between playing strategy and ringback tone files.

[0065] 因此,第一终端可以检测第二终端对应的联系人号码在第一终端是否被标记为已设置了回铃音的联系人,从而确定自身是否对第二终端设置了回铃音策略;或者,第一终端可以检测该第二终端对应的联系人号码是否为回铃音配置文件中的联系人号码。 [0065] Thus, the terminal may detect a first contact number corresponding to the second terminal of the first terminal is marked as a contact ring back tone set, to determine whether its own terminal is provided on a second ringback tone strategy ; or, a first terminal of the second terminal may detect the contact number corresponding to whether a contact number back tone profile.

[0066] 步骤103:当第一终端确认自身对第二终端已设置了回铃音策略时,第一终端根据已设置的回铃音策略播放回铃音; [0066] Step 103: when the first terminal to the second terminal has confirmed itself ringback tone set policy, the first terminal ring back tone according to the ring back tone playing policy that has been set;

[0067]当第一终端在步骤102中检测到第二终端为被标记为已设置了回铃音的联系人时,则确认自身对第二终端已设置了回铃音策略,此时,第一终端根据已设置的回铃音策略播放回铃音。 [0067] When in step 102 the first terminal to the second terminal is detected as being marked as a contact ring back tone set, it is confirmed that the second terminal has its own set of ringback tone strategy, this time, the first a terminal ringback tone according to the ringback tone playing policy has been set.

[0068] 具体的,第一终端根据已设置的回铃音策略播放回铃音包括: [0068] Specifically, the first terminal according to the ringback tone to play ringback tone has been set strategy include:

[0069] 第一终端确定第二终端的回铃音策略; [0069] determining a first terminal a second terminal of the ring back tone strategy;

[0070] 第一终端根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃首文件; [0070] The first terminal determines that the present file plays the ring back tone according to the ring back tone policy determined, and reads the file header ringback;

[0071] 第一终端接收网络侧信令,以确认与第二终端之间通话是否建立; [0071] The first terminal receives a signaling network, to confirm whether the call is established between a second terminal;

[0072]当第一终端与第二终端建立通话后,第一终端播放已经读取的回铃音文件。 [0072] When the first terminal and the second terminal to establish a call, ringback tone played the first terminal file has been read.

[0073] 具体的,第一终端通过以下方式确定第二终端的回铃音策略: [0073] Specifically, the terminal determines a first terminal of the second ring back tone policy by:

[0074] 第一终端判断自身对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将自身对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。 [0074] The first terminal of the second terminal itself determines whether ringback tone strategy provided separately, or the group of the second terminal is located is set up ringback tone policy, and the determination result is YES, the first itself second terminal ringback tone setting policy or strategy to determine the ringback tone for the second terminal group where the ring back tone set for the policy of the second terminal.

[0075] 进一步的,当所述第一终端确定自身对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,可以进一步判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果判断结果为相同,则将所述群组或第二终端自身的回铃音策略设置为第二终端的回铃音策略。 [0075] Further, when the first terminal to the second terminal determines that it is provided separately strategy ringback tone, and the second group of terminals is also provided where the ringback tone policy may further determine a second terminal where the group policy and a second ring-back tone RBT policy terminal itself is the same, if not identical, then the priority policy according to a preset policy of the group ring back tone or the second terminal itself back policy to the second terminal tone RBT policy; if the determination result is the same, then the second group or the terminal itself RBT policy is set to a second terminal RBT policy.

[0076] 具体的,第一终端通过以下方式确定并读取本次播放的回铃音文件: [0076] Specifically, the first terminal by way of determining the file and reads the current ringback tone to play:

[0077] 第一终端确认所述确定的回铃音策略中,回铃音文件的个数为一个还是多个; [0077] The first terminal ring back tone to confirm the policy determination, the number of files to back tone or a plurality of;

[0078] 当确认回铃音文件个数为一个时,第一终端从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。 [0078] When it is confirmed when the number of files a ringback tone, the ringback tone to find a first terminal of the ring back tone file from the file addresses stored in the ring back tone file or read out and stored to the cache.

[0079] 进一步的,当确认回铃音文件个数为多个时,第一终端进一步确认所述多个回铃音文件的播放策略; [0079] Further, when it is confirmed as the number of the plurality of ringback tone file, a first acknowledgment of the plurality of terminals further ringback tone playing policy files;

[0080] 当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找该被叫号码的回铃音播放记录,从而确定本次播放的回铃音文件,并从该回铃音文件的保存地址中查找到该回铃音文件,或将该回铃音文件从本地读出并存入缓存中;当所述被叫号码对应的回铃音播放策略为随机播放时,则随机选定本次播放的回铃音文件,并从该回铃音文件的保存地址中查找到该回铃音文件、或将该回铃音文件从本地读出并存入缓存中。 [0080] When the playing of the plurality of ringback tone acknowledgment policy file is played in sequence, to find the record RBT playing ring back tone from the called number in the configuration file, the file to determine the ringback tone to play this , and search the stored address of the ring back tone file to the file ringback tone, ring back tone or the file is stored and read from the local cache; when the called number corresponding to the RBT playing policy when random play, randomly selected ringback tone plays this file and look for the address of the ringback tone from the save file to the file ringback tone, ring-back tone or the file is read out from the local co-exist into the cache.

[0081] 具体的,该回铃音文件通过第一终端的听筒或扬声器播放给第一终端用户。 [0081] Specifically, the ringback tone played to the first end-user file handset or the speaker of the first terminal.

[0082]当第二终端的播放策略为顺序播放时,所述终端还会将第二终端最后一次的播放记录写入回铃音配置文件。 [0082] When the second terminal is playing policy order of play, the terminal also displays the last record written to the second terminal ringback tone profile.

[0083] 进一步的,当第一终端确认第二终端不是已设置回铃音策略的终端时,则当第一终端与第二终端呼叫连接建立后,第一终端按照第二终端预设的回铃音策略,向第一终端播放回铃音。 [0083] Further, when the first terminal is not a terminal confirms a second terminal ring back tone set policy, the first terminal after the call has been connected with the second terminal, the first terminal of the second terminal in accordance with a preset back ringtone strategy, tones play back to the first terminal.

[0084] 下面通过一个具体示例对本发明实施例提供的回铃音实现方法做详细介绍。 [0084] By following a specific example of the ringback tone according to an embodiment of the present invention to achieve a method described in detail.

[0085] 该示例的流程图如图2所示,具体包括以下步骤: [0085] The flowchart shown in the example in FIG. 2, includes the following steps:

[0086] 201:终端根据用户指打开回铃首设直选项; [0086] 201: The user terminal means to open the first set straight ringback option;

[0087] 具体的,这一步骤中,用户操作终端显示界面选择相应设置选项,终端根据用户操作打开相应设置选项; [0087] Specifically, in this step, the user operates the terminal display, in the appropriate setting options, the option is provided to open the corresponding terminal according to a user operation;

[0088] 202:终端根据用户的设置信息进行回铃音设置; [0088] 202: The terminal ringback tone setting user setting information;

[0089] 具体的,用户操作终端显示界面,终端根据用户操作过程中的设置信息,针对用户选定的联系人号码设置该号码对应的回铃音策略,并将设置了回铃音策略的号码标记为彩色回铃音号码,以指示该号码为已设置了回铃音策略的号码;或者,终端根据用户指示设置通讯录中的相应群组的回铃音策略,并将该群组标记为彩色回铃群组,以指示该群组中所有的联系人号码为已设置了回铃音策略的联系人号码,而且,该群组中所有联系人号码均被设置为相同的回铃音策略; [0089] Specifically, the user operates the terminal display interface, a user terminal according to the setting information during operation, contact number for the user-selected ringback tone is provided to the policy corresponding to the number, and the number of the ring back tone set policy labeled color ring back tone number, to indicate that the number is set as the number of the ring back tone policy; or terminal according to the ring back tone corresponding to the group policy settings of the user indicating the address book, and the group is marked as color ringback group, to indicate that all the contact numbers in the group has set up a contact number for the ring back tone strategy, and the group of all contact numbers are set to the same ring-back tone strategy ;

[0090] 之后,终端根据用户设置生成回铃音配置文件,以建立联系人号码与回铃音文件保存地址的映射关系。 After the [0090], the terminal user profile settings to generate the ringback tone according to a mapping relationship with a contact number ringback tone files are saved addresses.

[0091] 203:终端根据用户指示呼叫通讯录中的联系人; [0091] 203: The terminal indicating a call a contact of the user;

[0092] 在具体实现时,通过用户点击终端上的通话键实现。 [0092] In specific implementation, achieved by the user clicking the call button on the terminal.

[0093] 204:终端判断被叫号码是否为彩色回铃音号码; [0093] 204: the terminal determines whether the called number is the number of the color ring back tone;

[0094] 具体的,终端对被叫号码进行判断,将被叫号码与回铃音配置文件中的彩色回铃音号码进行匹配,并输出匹配结果;实际实现时,可以采用多种方法进行号码匹配处理;例如,可以采用比较器对被叫号码与回铃音配置文件中的彩色回铃音号码进行异或逻辑运算,并输出匹配结果;若与某回铃音配置文件中的彩色回铃音号码的匹配结果为“0”,则认为被叫号码为彩色回铃音号码;若与所有回铃音配置文件中的彩色回铃音号码的匹配结果都为“1”,则认为被叫号码不是彩色回铃音号码;或者,也可以直接判断被叫号码是否被标记为彩色回铃音号码,若是,则确认被叫号码为彩色回铃音号码,若否,则确认被叫号码不是彩色回铃音号码; [0094] Specifically, the terminal of the called number is determined, the ringback tone and the called number in the configuration file number matching the color ring back tone, and outputs the matching result; actual implementation, the number may be made using a variety of methods matching process; e.g., the comparator and the ring back tone to the called number in the configuration file number for the color ring back tone XOR operation may be employed, and outputs a matching result; and if back to a ringback tone color profile bell sound matches the number of "0", then that number is called color ring back tone number; if all ringback tone profile color ring back tone number of matching results are "1", then that called the color ring back tone number is not a number; alternatively, may be directly determined whether the called number is marked as the color ring back tone number, and if yes, the called number is confirmed that the color ring back tone number, if not, the called number is not confirmed color ring back tone number;

[0095] 当确认被叫号码为彩色回铃音号码时,转至步骤205执行;当确认被叫号码不为彩色回铃音号码时,转至步骤209执行; [0095] When confirming the called number is the ring back tone color number, go to step 205 performed; when the called number is not confirmed ringback tone color number, execution proceeds to step 209;

[0096] 205:终端确定被叫号码的回铃音策略; [0096] 205: the called terminal determines that the policy number of the ring back tone;

[0097] 具体的,终端判断自身对被叫号码是否单独设置了回铃音策略、或者对被叫号码所在的群组是否设置了回铃音策略,并在判断结果为是时,将自身对被叫号码设置的回铃音策略、或者对被叫号码所在的群组设置的回铃音策略确定为所述被叫号码的回铃音策略; [0097] Specifically, the terminal itself determines whether the called number is provided separately strategy ringback tone, the called number or to the group where the ringback tone is set policy, and the determination result is YES, to itself ringback tone setting policy called number or to determine the ringback tone for the called number group strategy where the ring back tone set for the policy of the called number;

[0098] 进一步的,当所述终端确定自身对被叫号码单独设置了回铃音策略、且对被叫号码所在的群组也设置了回铃音策略时,判断被叫号码所在群组的回铃音策略和被叫号码自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将被叫号码自身的回铃音策略设置为第二终端的回铃音策略。 [0098] Further, when the terminal determines that it is provided separately called number strategy ringback tone and the called number of the group where the ringback tone strategy is also provided, where the called number is determined group ringback tone and the called number itself policy RBT policy is the same, if not identical, then the priority policy according to a preset ring back tone itself called number to the ring back tone policy strategy second terminal.

[0099] 206:终端查找回铃音文件; [0099] 206: The terminal searches ringback tone files;

[0100] 具体的,终端确认步骤205中确定的回铃音策略中,所述被叫号码对应的回铃音文件为一个还是多个; [0100] Specifically, the terminal confirms the ring back tone policy determined in step 205, the called number corresponding to the ringback tone or a plurality of files;

[0101] 当所述被叫号码对应的回铃音文件为一个时,则直接从该回铃音文件的保存地址中查找到该回铃音文件,或将该回铃音文件从本地读出并存入缓存中; [0101] When the ringback tone corresponding to the called number is a file, the address stored is searched directly from the ringback tone file to the file ringback tone, the ringback tone file or read out from the local and stored in the cache;

[0102] 当所述被叫号码对应的回铃音文件为多个时,进一步确认被叫号码对应的回铃音播放策略,当所述被叫号码对应的回铃音播放策略为顺序播放时,从回铃音配置文件中查找该被叫号码的回铃音播放记录,从而确定本次播放的回铃音文件,并从该回铃音文件的保存地址中查找到该回铃音文件,或将该回铃音文件从本地读出并存入缓存中;当所述被叫号码对应的回铃音播放策略为随机播放时,则随机选定本次播放的回铃音文件,并从该回铃音文件的保存地址中查找到该回铃音文件,或将该回铃音文件从本地读出并存入缓存中; When [0102] When the ringback tone corresponding to the called number when a plurality of files, further confirm the RBT playing policy corresponding to the called number, when the RBT playing policy of the called number corresponds to the order of play Find the configuration file from the ringback tone RBT playing record of the called number to determine the ringback tone plays this file and look for the address of the ringback tone from the save file to the ringback tone file, the ring back tone file or read out and stored in the local cache; when the called number corresponding to the RBT playing policy shuffle, randomly selected documents for the ringback tone played, and from save the file address of the ringback tone in the ringback tone to find the file, or the ringback tone from the local file read and stored in the cache;

[0103] 207:终端接收网络侧信令,判断通话连接是否建立。 [0103] 207: The terminal receives the signaling network, determines whether to establish a call connection.

[0104] 当通话连接建立时,转至步骤208执行;当通话连接没有建立,则继续判断通话连接是否建立; [0104] When a call connection is established, execution proceeds to step 208; if a call connection is not established, it continues to determine whether to establish a call connection;

[0105] 208:终端播放回铃音文件; [0105] 208: terminal play ringback tone files;

[0106] 具体的,终端对已经读出或已经存入缓存的回铃音文件进行解码,并播放。 [0106] Specifically, the terminal has already cached read or ringback tone decode the file, and play.

[0107] 209:按照被叫方的回铃音策略播放回铃音。 [0107] 209: ringback tone according to the called party's strategy to play ringback tone.

[0108] 实施例二 [0108] Second Embodiment

[0109] 本发明实施例二提供了一种回铃音实现装置,应用于第一终端,如图3所示,所述装置包括:呼叫控制模块31、设置模块32、音频处理模块33及存储模块34 ;其中, [0109] according to a second embodiment of the present invention, there is provided an apparatus for implementing ring back tone, is applied to a first terminal, shown in Figure 3, the apparatus comprising: a call control module 31, setting module 32, an audio processing module 33 and memory module 34; wherein,

[0110] 所述呼叫控制模块31,用于向第二终端发起呼叫请求; [0110] The call control module 31 for initiating a call request to the second terminal;

[0111] 所述设置模块32,用于设置回铃音策略,并在确认对第二终端已设置回铃音策略时,触发音频处理模块33 ; [0111] The setting module 32 is used to set the ringback tone policy, and confirmation of the second terminal has set the ringback tone policy, triggers an audio processing module 33;

[0112] 所述音频处理模块33,用于被设置模块32触发时,根据已设置的回铃音策略查找回铃音文件,并执行回铃音播放处理; [0112] The audio processing module 33 when the module 32 is provided for the trigger, to find back tone according to the ring back tone policy document have been set, and performs the RBT playing process;

[0113] 所述存储模块34,用于存储回铃音文件。 The [0113] storage module 34 for storing the ringback tone file.

[0114] 所述回铃音策略包括:第二终端对应的回铃音文件;当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。 [0114] The policy ringback tone comprising: a second terminal corresponding to the ringback tone files; ringback tone when the number of the second file corresponding to more than one terminal, the ringback tone policy further comprises: a ring back tone play strategy, the RBT playing policy, including: the order of play and random play.

[0115] 进一步的,所述设置模块32,具体用于通过以下方式设置联系人的回铃音策略: [0115] Further, the setting module 32, configured to set the contacts in the following manner ringback strategy:

[0116] 设置自身联系人列表中各个联系人的回铃音策略;和/或,以联系人列表中的群组为单位,设置群组对应的回铃音策略。 [0116] ringback tone set their own policies contact list various contacts; and / or to the contact list of the group as a unit, set the ringback tone corresponding to the group strategy.

[0117] 进一步的,所述呼叫控制模块31,还用于接收网络侧信令,以确认第一终端与第二终端之间通话是否建立;并在确认第一终端与第二终端之间已经建立通话时,触发音频处理模块33。 [0117] Further, the call control module 31 is further configured to receive a network-side signaling to confirm that the call between the first terminal and the second terminal is established; and acknowledgment between a first terminal and a second terminal has been when the call is established, trigger an audio processing module 33.

[0118] 具体的,所述音频处理模块33进一步包括:回铃音策略确定子模块、回铃音文件确定子模块和回铃音文件播放子模块;其中, [0118] Specifically, the audio processing module 33 further comprising: a policy determining submodule ring-back tone, ring-back tone determination sub-module, and the file playback ringback tone sub-module; wherein,

[0119] 所述回铃音策略确定子模块,用于确定第二终端的回铃音策略; [0119] The policy determining submodule ringback tone, the ringback tone strategy for determining a second terminal;

[0120] 所述回铃音文件确定子模块,用于根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件; [0120] The ringback tone file determination sub-module, for determining the current playing ring back tone according to the determined RBT policy file and reads the file ringback tone;

[0121] 所述回铃音播放子模块,用于被呼叫控制模块31触发时,播放已经读取的回铃音文件。 [0121] The RBT playing submodule, ringback tone files for call control module 31 is triggered, play has been read.

[0122] 具体的,所述回铃音策略确定子模块用于根据以下方式确定第二终端的回铃音策略: [0122] Specifically, the ring-back tone policy determining submodule for determining a second terminal of the policy ringback tone in the following manner:

[0123] 判断设置模块32对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将设置模块32对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。 [0123] determining whether the second set of terminal module 32 is provided separately ringback tone policy, or to the group of the second terminal is located is set up ringback tone policy, and the determination result is YES, the module 32 is provided for a second terminal ringback tone setting policy or policies determined for the group of the second ring-back tone set for the terminal where the ringback tone policy second terminal.

[0124] 进一步的,所述回铃音策略确定子模块还用于根据以下方式确定第二终端的回铃音策略: [0124] Further, the ringback tone policy determining submodule is further configured to determine the ringback tone according to the policy of the second terminal in the following manner:

[0125] 当确定设置模块32对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。 [0125] When it is determined by the second terminal module 32 is provided separately provided strategy ringback tone, and the second group of terminals is also provided where the ringback tone strategy, where the second terminal group determination strategies ringback and a second terminal itself RBT policy is the same, if not identical, then the priority policy according to a preset policy of the group ring back tone or the second terminal itself RBT policy is set to a second terminal RBT policy; if the same, then the policies of the group ring back tone or the second terminal itself RBT policy to the policy of the second terminal ringback tone.

[0126] 具体的,所述回铃音文件确定子模块用于通过以下方式确定并读取本次播放的回铃音文件: [0126] Specifically, the ring-back tone determination sub-module for determining a file and reads the file of this play ringback tone in the following manner:

[0127] 判断所述确定的回铃音策略中,回铃音文件的个数为一个还是多个; Ringback tone Policy [0127] It is determined in the determination, the number of the ring back tone file or a plurality of;

[0128] 当确认回铃音文件个数为一个时,回铃音文件确定子模块从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。 [0128] When it is confirmed when the number of files a ringback tone, ring-back tone determination sub-module searches the file back tone file from the file storage address ringback tone in the ringback tone file or read out and stored in the cache.

[0129] 进一步的,所述回铃音文件确定子模块还用于当确认回铃音文件个数为多个时,确认所述多个回铃音文件的播放策略; [0129] Further, the ringback tone file sub-module is further configured to determine when a ringback tone to confirm the number of the plurality of files, the acknowledgment of the plurality of ringback tone playing policy files;

[0130] 当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中; [0130] When the playing of the plurality of ringback tone acknowledgment policy file is played in sequence, find the configuration file from the ring back tone RBT playing records of the called number, determining the current ringback tone to play the file and look from the ringback tone files stored in the address to the ringback tone file, or the ringback tone from the local file read and stored in the cache;

[0131 ] 当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。 [0131] When the RBT playing policy corresponding to the called number is shuffle randomly selected ringback tone files in this play, and look from the ringback tone file is saved to the return address ring tone file, or the ringback tone from the local file read out and stored in the cache.

[0132] 图4为本发明实施例提供的又一种回铃音实现装置结构图,该回铃音实现装置在图3的回铃音实现装置结构基础上,进一步增加了:配置文件生成模块35,用于在设置模块32设置联系人的回铃音策略之后,生成与所述设置相对应的回铃音配置文件;所述回铃音配置文件,保存于存储模块34中,包括:联系人号码及所述联系人对应的回铃音策略、和/或群组及所述群组对应的回铃音策略。 [0132] FIG 4 yet another configuration diagram of a ring back tone device implemented according to an embodiment of the present invention, apparatus for implementing the ring back tone implemented in FIG. 3 ringback tone based on the device configuration, further increasing: the configuration file generating module 35, after the ring-back tone for the policy setting module setting the contact 32, is provided to generate the ringback tone corresponding to the profile; the ringback tone profile, stored in the storage module 34, comprising: contact number and contact person of the ringback tone corresponding strategies, and / or group and the group corresponding ringback tones strategy.

[0133] 所述配置文件生成模块35,还用于当第二终端的播放策略为顺序播放时,将该第二终端最后一次的播放记录写入回铃音配置文件。 [0133] The configuration file generating module 35 is further configured to, when the second terminal is playing policy order of play, the player's last record written back tone profile of the second terminal.

[0134] 实施例三 [0134] Example three

[0135] 本发明实施例还提供了一种终端,包括上述回铃音实现装置。 Example [0135] The present invention further provides a terminal, comprising a device for implementing the above-described ringback tone.

[0136] 在具体实施过程中,上述呼叫控制模块31、设置模块32、音频处理模块33、及配置文件生成模块35可以由终端内的中央处理器(CPU, Central Processing Unit)、微处理器(MPU, Micro Processing Unit)、数字信号处理器(DSP, Digital Signal Processor)或可编程逻辑阵列(FPGA, Field 一Programmable Gate Array)来实现;上述存储模块34通过终端中的存储器实现。 [0136] In a specific embodiment the process of the call control module 31, setting module 32, an audio processing module 33 and module 35 may generate a configuration file by the central processor (CPU, Central Processing Unit) in the terminal, the microprocessor ( MPU, Micro Processing Unit), a digital signal processor (DSP, digital signal processor) or a programmable logic array (FPGA, Field a programmable Gate array) is achieved; the memory module 34 is achieved by a terminal in a memory.

[0137] 本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。 [0137] skilled in the art should understand that the embodiments of the present invention may provide a method, system, or computer program product. 因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。 Thus, embodiments of the present invention be implemented in hardware, software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。 Further, in the present invention may comprise one or more of which computer usable storage medium having computer-usable program code (including but not limited to disk storage, and optical storage) in the form of a computer program product implemented on.

[0138] 本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0138] The present invention has been described in accordance with the method of Example of the present invention, apparatus (systems) and computer program products flowchart and / or block diagrams described. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in a device for implementing the flow chart or more flows and / or block diagram block or blocks in a specified functions.

[0139] 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0139] These computer program instructions may also be stored in a computer can direct a computer or other programmable data processing apparatus to function in a particular manner readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0140] 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0140] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus execute instructions to provide processes for implementing a process or flows and / or block diagram block or blocks a function specified step.

[0141] 以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 [0141] The above are only preferred embodiments of the present invention but are not intended to limit the scope of the present invention.

Claims (15)

1.一种回铃音实现方法,其特征在于,所述方法包括: 第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃音。 A ring back tone implemented method, wherein the method comprises: when the first terminal initiates a call request to the second terminal, the first terminal of the second terminal has its own acknowledgment back tone set policy, according to have ringback tone to play strategy set ringback tone.
2.根据权利要求1所述的方法,其特征在于,所述回铃音策略包括:第二终端对应的回铃音文件; 当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。 2. The method according to claim 1, wherein the ringback tone policy comprises: a second ringback tone file corresponding to the terminal; and when the number of files of the second ringback tone corresponding to more than one terminal, the strategy also includes ringback tone: RBT playing policy, the RBT playing policy, including: the order of play and random play.
3.根据权利要求1或2所述的方法,其特征在于,所述第一终端根据已设置的回铃音策略播放回铃音包括: 第一终端确定第二终端的回铃音策略; 第一终端根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件; 第一终端接收网络侧信令,以确认与第二终端之间通话是否建立; 当第一终端与第二终端建立通话后,第一终端播放已经读取的回铃音文件。 3. The method of claim 1 or claim 2, wherein the first terminal according to the ring back tone playing ring back tone set policy comprises: determining a first terminal a second terminal of the ring-back tone strategy; first a terminal is determined according to the determined policy back tone RBT playing this file and reads the file ringback tone; terminal receives a first signaling network, and to confirm whether the call is between a second terminal established; ringback tone file when the first terminal and the second terminal establishes the call, the first terminal plays have been read.
4.根据权利要求3所述的方法,其特征在于,第一终端通过以下方式确定第二终端的回铃音策略: 第一终端判断自身对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将自身对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。 4. The method according to claim 3, wherein the first terminal determines that the second terminal of the ring back tone policy by: a first terminal to the second terminal itself determines whether ringback tone strategy provided separately, or the second group of the terminal where whether a ringback tone strategy and judgment result is yes, ringback tones will be back for the second terminal to set its own policies, or to the group of the second terminal is located set sound policy determines policy for the ring-back tone of the second terminal.
5.根据权利要求4所述的方法,其特征在于,所述方法还包括: 当所述第一终端确定自身对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。 The method according to claim 4, characterized in that the method further comprises: determining when the first terminal to the second terminal itself ringback tone policy separately provided, and the second group of terminals is located ringback tone also set policy, where the group determines a second terminal and a second terminal ringback policy itself RBT policy is the same, if not identical, then according to a preset priority policy to the group ring-back tone or the second terminal group policy itself RBT policy is set to a second terminal RBT policy; if the same, then the policies of the group ring back tone or the second terminal itself ringback policy is set to ringback tone strategy of the second terminal.
6.根据权利要求4或5所述的方法,其特征在于,所述第一终端通过以下方式确定并读取本次播放的回铃音文件: 确认所述确定的回铃音策略中,回铃音文件的个数为一个还是多个; 当确认回铃音文件个数为一个时,第一终端从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。 The method according to claim 4 or claim 5, wherein said first terminal by way of determining the file and reads the current ringback tone played: confirmation of the policy determined ringback tone, the return for a number of ring tone file or multiple; when it is confirmed when the number of files a ringback tone, the ringback tone to find a first terminal of the ring back tone file from the file stored in the address, or the ringback tone file read and stored in the cache.
7.根据权利要求6所述的方法,其特征在于,当确认回铃音文件个数为多个时,所述方法还包括: 第一终端确认所述多个回铃音文件的播放策略; 当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中; 当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。 7. The method according to claim 6, wherein, when a plurality of acknowledgment back tone file number, said method further comprising: a first plurality of terminal confirms the ring back tone playing policy files; when the playing of the plurality of ringback tone acknowledgment policy file is played in sequence, find the configuration file from the ring back tone RBT playing records of the called number, determining the current ringback tone to play the file, and from the ringback tone files stored in the address to find the ringback tone file, or the ringback tone from the local file read and stored in the cache; RBT playing policy of the called numbers when Shuffle is randomly selected ringback tone plays this file and look for the address of the ringback tone from saving files to the ringback tone file, or to read the file from the local ringback tone and stored in the cache.
8.—种回铃音实现装置,应用于第一终端,其特征在于,所述装置包括:呼叫控制模块、设置模块、音频处理模块及存储模块;其中, 所述呼叫控制模块,用于向第二终端发起呼叫请求; 所述设置模块,用于设置回铃音策略,并在确认对第二终端已设置回铃音策略时,触发音频处理模块; 所述音频处理模块,用于被设置模块触发时,根据已设置的回铃音策略查找回铃音文件,并执行回铃音播放处理; 所述存储模块,用于存储回铃音文件。 8.- species ringback implemented means applied to the first terminal, wherein, said means comprising: a call control module, a setting module, an audio processing module and a memory module; wherein, the call control module is configured to the second terminal initiates a call request; the setting module configured to set the ringback tone policy, and confirmation of the second terminal has set the ringback tone policy, triggers an audio processing module; the audio processing module is arranged for when the module is triggered, the policy has been to find a ringback tone according to the ringback tone settings file, and perform the RBT playing process; the storage module for storing the ringback tone file.
9.根据权利要求8所述的装置,其特征在于,所述回铃音策略包括:第二终端对应的回铃音文件; 当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。 9. The apparatus according to claim 8, wherein said policy ringback tone comprising: a second terminal corresponding to the ringback tone files; ringback tone when the number of the second file corresponding to more than one terminal, the strategy also includes ringback tone: RBT playing policy, the RBT playing policy, including: the order of play and random play.
10.根据权利要求8或9所述的装置,其特征在于,所述呼叫控制模块,还用于接收网络侧信令,以确认第一终端与第二终端之间通话是否建立;并在确认第一终端与第二终端之间已经建立通话时,触发音频处理模块。 10. The apparatus of claim 8 or claim 9, wherein, the call control module is further configured to receive a network-side signaling to confirm that the call between the first terminal and the second terminal is established; and confirm when the call has been established between the first terminal and a second terminal, an audio processing module is triggered.
11.根据权利要求10所述的装置,其特征在于,所述音频处理模块进一步包括:回铃音策略确定子模块、回铃音文件确定子模块和回铃音文件播放子模块;其中, 所述回铃音策略确定子模块,用于确定第二终端的回铃音策略; 所述回铃音文件确定子模块,用于根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件; 所述回铃音播放子模块,用于被呼叫控制模块触发时,播放已经读取的回铃音文件。 11. The apparatus according to claim 10, wherein said audio processing module further comprising: a policy determining submodule ring-back tone, ring-back tone determination sub-module, and the file playback ringback tone sub-module; wherein the said ring-back tone policy determining submodule, for determining a second terminal of the policy ringback tone; the ringback tone file determination sub-module, for determining the current playing ring back tone according to the policy determined RBT file, and reads the file ringback tone; the RBT playing submodule, a ring back tone for the call control module file is triggered play has been read.
12.根据权利要求11所述的装置,其特征在于,所述回铃音策略确定子模块用于根据以下方式确定第二终端的回铃音策略: 判断设置模块对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将设置模块对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。 12. The apparatus as claimed in claim 11, wherein the ringback tone policy determining submodule for determining a second terminal strategy ringback tone according to the following manner: determining whether the second terminal is provided on a separate module provided ringback tones policy, or to the group of the second terminal is located ringback tone is set strategy, the judgment result is yes, the policy module to set the ring back tone set by the second terminal, or the second terminal is located ringback tone group policy settings to determine the ringback tone policy of the second terminal.
13.根据权利要求12所述的装置,其特征在于,所述回铃音策略确定子模块还用于根据以下方式确定第二终端的回铃音策略: 当确定设置模块对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。 13. The apparatus as claimed in claim 12, wherein the ringback tone policy determining submodule is further configured to determine the ringback tone according to the policy of the second terminal in the following manner: when it is determined by the second terminal module is provided separately provided the ringback tone strategy for the group and the second terminal is located is also set ringback tone strategy, the group's second terminal is located judgment ringback tones policy and a second terminal itself ringback tones strategy is the same, if are not the same, the priority policy according to a preset policy of the group ring back tone or the second terminal itself RBT policy is set to a second terminal RBT policy; if the same, then the group ringback tone or the second terminal of the policy group's own policy is set to ring back tone ringback tone strategy of the second terminal.
14.根据权利要求12或13所述的装置,其特征在于,所述回铃音文件确定子模块用于通过以下方式确定并读取本次播放的回铃音文件: 判断所述确定的回铃音策略中,回铃音文件的个数为一个还是多个; 当确认回铃音文件个数为一个时,回铃音文件确定子模块从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。 14. The apparatus of claim 12 or claim 13, wherein said ring-back tone determination sub-module for determining a file and reads the file of this ring back tone played by: determining said determined back policy tone, ring back tone file number as one or more; and when the number of confirmation file for a ringback tone, the ringback tone files determining submodule find the address of the ring back tone from a saved file said ring back tone file, or the file is read out and stored in the ringback tone to the cache.
15.根据权利要求14所述的装置,其特征在于,所述回铃音文件确定子模块还用于当确认回铃音文件个数为多个时,确认所述多个回铃音文件的播放策略; 当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中; 当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。 15. The apparatus according to claim 14, wherein said ring back tone file sub-module is further configured to determine when a ringback tone to confirm the number of the plurality of files, the plurality of ringback tone to confirm file playing policy; when the plurality of playing the ringback tone acknowledgment policy file is played in sequence, find the configuration file from the ring back tone RBT playing records of the called number, determining the current ringback tone to play the file , and search the ring back tone file to save the address in the file ringback tone, the ringback tone or read from the file and stored in the local cache; ringback corresponding to the called number when sound strategy is to play shuffle randomly selected ringback tone files in this play, and look from the ringback tone files stored in the address to the ringback tone files, or files from the ringback tone local read and stored in the cache.
CN201410441668.XA 2014-09-01 2014-09-01 Ring-back tone realization method and device CN105472575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410441668.XA CN105472575A (en) 2014-09-01 2014-09-01 Ring-back tone realization method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410441668.XA CN105472575A (en) 2014-09-01 2014-09-01 Ring-back tone realization method and device
PCT/CN2014/091192 WO2016033869A1 (en) 2014-09-01 2014-11-14 Ring-back tone implementation method and apparatus, and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN105472575A true CN105472575A (en) 2016-04-06

Family

ID=55439065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410441668.XA CN105472575A (en) 2014-09-01 2014-09-01 Ring-back tone realization method and device

Country Status (2)

Country Link
CN (1) CN105472575A (en)
WO (1) WO2016033869A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7839995B2 (en) * 2005-01-28 2010-11-23 Alcatel-Lucent Usa Inc. Change to playback characteristic of ringback tone
CN1859488B (en) * 2006-01-07 2010-05-12 华为技术有限公司 System and method for real time selecting audible ringing tone
CN101389073A (en) * 2007-06-21 2009-03-18 华为技术有限公司 Method and system for realizing customized ring back tone

Also Published As

Publication number Publication date
WO2016033869A1 (en) 2016-03-10

Similar Documents

Publication Publication Date Title
US7613287B1 (en) Method and apparatus for providing ringback tones
CN100484171C (en) Method for setting substitute rebelling tone of caller in mobile communication system
US20060210033A1 (en) Context sensitive ring back service
US20090185669A1 (en) System and method for karaoke style ringback tones and karaoke style ringtones
US7792264B2 (en) Ring tone selected by calling party of third party played to called party
CN100471212C (en) Log based ringing tone service
CN105338203A (en) Sharing profile data between telecommunication devices
CN101156425B (en) Method for call terminal controlling personalized information and its terminal unit
CN101001276A (en) Intelligent telephone terminal and method for providing un-disturbing service for it
US8160220B2 (en) Request to block use of remotely selected ring tone
JP6038973B2 (en) To the phone, the provision of presence and social networking information
US20070264978A1 (en) Method of providing customized ring tone service
CN101621579A (en) Method and terminal for processing call
CN1859449A (en) Communication terminal and method for playing ringback sound while its main calling
US20090041208A1 (en) Method and apparatus for creating an answer tone for a computing device with phone cababilities or a telephone
US8571526B2 (en) System and method for recording a communication
CN100479535C (en) Color ring selecting method, apparatus and system
US8208908B2 (en) Hybrid mobile devices for processing media and wireless communications
JP2006106695A (en) Terminal-adjusted ringtone
CN103002141A (en) Incoming call processing method and device of mobile terminals and mobile terminal
CN101478591A (en) Method for preventing incoming call disturbance of mobile phone
CN101312474A (en) Method, system and service for ring back tone playing in IP multimedia sub-system
US20070189488A1 (en) Method of providing improved Ringback Tone signaling
CN102420906A (en) Prompt method and user terminal
CN101345964B (en) Reminding method for incoming call of communication terminal, and communication terminal

Legal Events

Date Code Title Description
C06 Publication
SE01