WO2016033869A1 - 一种回铃音实现方法、装置和计算机可读存储介质 - Google Patents

一种回铃音实现方法、装置和计算机可读存储介质 Download PDF

Info

Publication number
WO2016033869A1
WO2016033869A1 PCT/CN2014/091192 CN2014091192W WO2016033869A1 WO 2016033869 A1 WO2016033869 A1 WO 2016033869A1 CN 2014091192 W CN2014091192 W CN 2014091192W WO 2016033869 A1 WO2016033869 A1 WO 2016033869A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
policy
ring back
ringback tone
tone
Prior art date
Application number
PCT/CN2014/091192
Other languages
English (en)
French (fr)
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 WO2016033869A1 publication Critical patent/WO2016033869A1/zh

Links

Images

Classifications

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

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a ringback tone implementation method, apparatus, and computer readable storage medium.
  • the ring back tone can usually be heard from the own terminal, and the ring back tone is used to indicate that the calling party call is in progress, and the called user can receive the call.
  • the ringback tone of the user is mostly provided by the network side, such as a personalized ring back tone service; when the calling user calls the called user, the ringback tone service subscribed by the called user is heard, such as CRBT songs, etc.
  • the ringback tone service requires that the calling party's terminal can only passively receive and play the ringback tone customized by the called party user, and the calling party's terminal cannot control the playback of the ring back tone.
  • embodiments of the present invention are directed to providing a ring back tone implementation method, apparatus, and computer readable storage medium.
  • An embodiment of the present invention provides a method for implementing a ring back tone, where the method includes:
  • the first terminal After the first terminal initiates a call request to the second terminal, the first terminal confirms that it has set a ringback tone policy to the second terminal, and plays the ring back tone according to the set ringback tone policy.
  • the ring back tone policy includes: a ring back tone file corresponding to the second terminal;
  • the ring back tone policy further includes: a ring back tone playing policy, and the ring back tone playing policy includes: sequential playing and random playing.
  • the playing, by the first terminal, the ringback tone according to the set ringback tone policy includes:
  • the first terminal After the first terminal establishes a call with the second terminal, the first terminal plays the ringback tone file that has been read.
  • the first terminal determines a ring back tone policy of the second terminal by:
  • the ring back tone policy, or the ring back tone policy set for the group in which the second terminal is located, is determined as the ring back tone policy of the second terminal.
  • the method further includes:
  • the first terminal determines that the ringback tone policy is set separately for the second terminal, and the ringback tone policy is also set for the group where the second terminal is located, determining a ringback tone policy of the group in which the second terminal is located Whether the ringback tone policy of the second terminal is the same as the ringback tone policy of the second terminal itself. If not, the ringback tone policy of the group or the ringback tone policy of the second terminal itself is set as the second terminal according to a preset priority policy. If the ringback tone policy is the same, the ringback tone policy of the group or the ringback tone policy of the second terminal itself is set as the ringback tone policy of the second terminal.
  • the first terminal determines and reads the ringback tone file played this time by:
  • the first terminal searches for the ring back tone file from the save address of the ring back tone file, or reads and stores the ring back tone file into the cache. .
  • the method further includes:
  • the first terminal confirms a playing strategy of the multiple ring back tone files
  • the ringback tone file is read locally and stored in the cache;
  • the ring back tone file of the current play is randomly selected, and the ring back tone file is found from the saved address of the ring back tone file. Or reading the ringback tone file from the local and storing it in the cache.
  • the embodiment of the present invention provides a ring back tone implementation device, which is applied to a first terminal, where the device includes: a call control module, a setting module, an audio processing module, and a storage module;
  • the call control module is configured to initiate a call request to the second terminal
  • the setting module is configured to set a ringback tone policy, and trigger an audio processing module when confirming that a ringback tone policy has been set for the second terminal;
  • the audio processing module is configured to: when triggered by the setting module, search for a ringback tone file according to the set ringback tone policy, and perform a ringback tone playing process;
  • the storage module is configured to store a ringback tone file.
  • the ring back tone policy includes: a ring back tone file corresponding to the second terminal;
  • the ring back tone policy further includes: a ring back tone playing policy, and the ring back tone playing policy includes: sequential playing and random playing.
  • the call control module is further configured to receive network side signaling to confirm whether a call between the first terminal and the second terminal is established; and when confirming that a call has been established between the first terminal and the second terminal , triggers the audio processing module.
  • the audio processing module includes: a ringback tone policy determining submodule, a ringback tone file determining submodule, and a ringback tone file playing submodule;
  • the ringback tone policy determining submodule is configured to determine a ringback tone policy of the second terminal
  • the ringback tone file determining submodule is configured to determine a ringback tone file played this time according to the determined ringback tone policy, and read the ringback tone file;
  • the ringback tone playing submodule is configured to be played by the call control module, and the play has been read. Take the ringback tone file.
  • the ringback tone policy determining submodule is configured to determine a ringback tone policy of the second terminal according to the following manner:
  • the ring back tone policy, or the ring back tone policy set for the group in which the second terminal is located, is determined as the ring back tone policy of the second terminal.
  • the ringback tone policy determining submodule is further configured to determine a ringback tone policy of the second terminal according to the following manner:
  • the setting module separately sets the ring back tone policy for the second terminal, and the ring back tone policy is also set for the group where the second terminal is located, determining the ring back tone policy of the group in which the second terminal is located and the second terminal Whether the ringback tone policy of the second terminal is set to be the ringback tone of the second terminal according to the priority policy that is set in advance, and the ringback tone policy of the second terminal is set to the ringback tone of the second terminal according to the preset priority policy. If the policy is the same, the ringback tone policy of the group or the ringback tone policy of the second terminal itself is set as the ringback tone policy of the second terminal.
  • the ringback tone file determining submodule is configured to determine and read the ringback tone file played this time by:
  • the ringback tone file determining submodule searches for the ringback tone file from the saved address of the ringback tone file, or reads and records the ringback tone file. Into the cache.
  • the ringback tone file determining submodule is further configured to: when the number of the ringback tone files is confirmed to be multiple, confirm a playing strategy of the multiple ringback tone files;
  • the ring back tone playing record of the called number is searched from the ring back tone configuration file, and the ring back tone file of the current playing is determined, and Finding the ringback tone file in the save address of the ringback tone file, or calling the ringback
  • the audio file is read locally and stored in the cache;
  • the ring back tone file of the current play is randomly selected, and the ring back tone file is found from the saved address of the ring back tone file. Or reading the ringback tone file from the local and storing it in the cache.
  • the embodiment of the present invention provides a computer readable storage medium, the storage medium includes a set of computer executable instructions, and the instructions are used to implement a ring back tone implementation method according to an embodiment of the present invention.
  • the method and device for implementing the ring back tone provided by the embodiment of the present invention, and the computer readable storage medium, after the first terminal initiates a call request to the second terminal, the first terminal confirms that it has set a ringback tone policy for the second terminal.
  • the ringback is played according to the set ringback tone policy.
  • the calling terminal the first terminal
  • can customize the personalized ring back tone for the called terminal the second terminal
  • the playback of the ring back tone in the calling terminal is passively received and played by the traditional calling terminal.
  • the switch is controlled by the calling party's terminal to control the playback of the ring back tone, enriching the playback control mode of the ring back tone.
  • FIG. 1 is a flowchart 1 of a method for implementing ring back tone according to an embodiment of the present invention
  • FIG. 2 is a second flowchart of a method for implementing ring back tone according to an embodiment of the present invention
  • FIG. 3 is a first structural diagram 1 of a ring back tone implementation apparatus according to an embodiment of the present invention.
  • FIG. 4 is a second structural diagram of a ring back tone implementation apparatus according to an embodiment of the present invention.
  • the first terminal after the first terminal initiates a call request to the second terminal, the first terminal confirms that it has set a ringback tone policy to the second terminal, and plays the ring back tone according to the set ringback tone policy.
  • a first embodiment of the present invention provides a method for implementing a ring back tone. As shown in FIG. 1 , the method includes the following steps:
  • Step 101 The first terminal initiates a call request to the second terminal.
  • the first terminal initiates a call request to the second terminal by dialing the second terminal phone number.
  • Step 102 The first terminal determines whether it has set a ringback tone policy to the second terminal.
  • the first terminal After the first terminal initiates a call request to the second terminal, the first terminal first determines whether the ringback tone policy has been set for the second terminal.
  • the ringback tone policy includes: a ringback tone file corresponding to the second terminal; when the second terminal corresponds to more than one ringback tone file, the ringback tone policy further includes: a ringback tone playing policy,
  • the ringback tone playing policy includes: sequential play and random play; that is, when the ringback tone file corresponding to the second terminal is two or more, the first terminal can set multiple ringing tone files when the call is set multiple times. Play in sequence or randomly.
  • the first terminal Before the first terminal initiates a call request to the second terminal, the first terminal needs to set a ringback tone policy of the second terminal in advance; in an actual implementation, the first terminal may set the contact (including the second terminal) in the following manner.
  • Ringback tone strategy :
  • the first mode the first terminal sets a corresponding menu option for each contact in the contact list, so that the first terminal user selects a ringback tone policy corresponding to the contact; specifically, the first terminal user selects a contact
  • the local ringtone file is selected as the ringback tone file of the contact under the corresponding option, and the first terminal user can select one or more local ringtone files; when the first terminal selects multiple local ringtone files
  • the first terminal further sets a corresponding interface to prompt the first terminal user to select a play policy of the ringtone files; the optional play policy has random play or sequential play; specifically, when the first terminal user is set Afterwards, the first terminal may also automatically generate a flag to mark the contact as a contact that has set a ringback tone; or the first terminal user may add a mark to the corresponding contact to mark the contact as being set back.
  • the second mode the first terminal sets a ringback tone policy for the contacts in the contact list in units of groups. Specifically, the first terminal sets corresponding menu options for each group in the contact list to facilitate the first The terminal user selects a ringback tone policy corresponding to the corresponding group; specifically, when the first terminal user selects to set a group, the local ringtone file is selected as the ringback tone of the contact in the group under the corresponding option.
  • the first end user can select one or more local ringtone files; when the first terminal selects multiple local ringtone files as the ringback tone file, the first terminal also sets a corresponding interface to prompt the first terminal user to select the bells.
  • the playing strategy of the audio file has random play or sequential play; specifically, after the first terminal user is set, the first terminal may also automatically generate a mark to mark the group as having set the ringback
  • each contact in the group is marked as a contact with a ring back tone set; or the first end user can add the corresponding group to the corresponding group.
  • the group has been set back tones strategy, appropriate, individual contacts within the group is set up contacts marked as ringback tones.
  • the first terminal After the first terminal user sets the ringback tone policy of the corresponding contact or group, the first terminal generates a ringback tone configuration file, which includes: a contact number and a ringback tone policy corresponding to the contact, and/or The group and the ringback tone policy corresponding to the group, thereby forming a mapping relationship between the contact and the ringback tone file save address, and the play policy of the contact and the ringback tone file.
  • the first terminal may detect whether the contact number corresponding to the second terminal is marked as a contact with the ring back tone set in the first terminal, thereby determining whether the ringback tone policy is set for the second terminal; or The first terminal may detect whether the contact number corresponding to the second terminal is a contact number in the ringback tone configuration file.
  • Step 103 When the first terminal confirms that the ringback tone policy has been set for the second terminal, the first terminal plays the ringback tone according to the set ringback tone policy.
  • the first terminal detects in step 102 that the second terminal is a contact that is marked as having a ringback tone, it confirms that the ringback tone policy has been set for the second terminal, and the first terminal is configured according to the second terminal.
  • the ringback tone policy that has been set plays the ringback tone.
  • the first terminal plays the ring back tone according to the set ring back tone policy:
  • the first terminal After the first terminal establishes a call with the second terminal, the first terminal plays the ringback tone file that has been read.
  • the first terminal determines a ring back tone policy of the second terminal by:
  • the ring back tone policy, or the ring back tone policy set for the group in which the second terminal is located, is determined as the ring back tone policy of the second terminal.
  • the ringback tone of the group where the second terminal is located may be determined. Whether the policy and the ringback tone policy of the second terminal itself are the same. If not, the ringback tone policy of the group or the ringback tone policy of the second terminal itself is set to the second according to a preset priority policy. The ringback tone policy of the terminal; if the judgment result is the same, the ringback tone policy of the group or the second terminal itself is set as the ringback tone policy of the second terminal.
  • the first terminal determines and reads the ringback tone file played this time by:
  • the first terminal confirms whether the number of the ring back tone files is one or more in the determined ring back tone policy
  • the first terminal searches for the ring back tone file from the save address of the ring back tone file, or reads and stores the ring back tone file into the cache. .
  • the first terminal confirms the playing strategy of the multiple ring back tone files
  • the configuration from the ringback tone Finding a ringback tone play record of the called number in the file, thereby determining a ring back tone file played this time, and finding the ring back tone file from the saved address of the ring back tone file, or the ring back tone
  • the file is read out locally and stored in the cache; when the ringback tone playing policy corresponding to the called number is random play, the ringback tone file played this time is randomly selected, and the ring back tone file is randomly selected from the ringback tone file.
  • the ringback tone file is found in the save address, or the ringback tone file is locally read and stored in the cache.
  • the ringback tone file is played to the first end user through the handset or speaker of the first terminal.
  • the terminal When the play policy of the second terminal is sequential play, the terminal also writes the last play record of the second terminal to the ringback tone configuration file.
  • the first terminal When the first terminal confirms that the second terminal is not the terminal that has set the ringback tone policy, after the first terminal and the second terminal call connection are established, the first terminal follows the preset ringback tone policy of the second terminal. A terminal plays a ring back tone.
  • FIG. 2 The flowchart of this example is shown in FIG. 2, and specifically includes the following steps:
  • the terminal opens a ring back tone setting option according to the user instruction.
  • the user operates the terminal display interface to select a corresponding setting option, and the terminal opens the corresponding setting option according to the user operation;
  • the terminal performs a ring back tone setting according to the setting information of the user.
  • the user operates the terminal display interface, and the terminal sets a ringback tone policy corresponding to the number according to the setting information in the user operation process, and marks the number of the ringback tone policy set as color.
  • Ringback tone number to indicate that the number is a number that has a ringback tone policy set; or, the terminal sets a ringback tone policy of the corresponding group in the address book according to the user indication, and marks the group as a color ringback Group to indicate that all contact numbers in the group are contact numbers for which a ringback tone policy has been set, and all contacts in the group
  • the numbers are all set to the same ringback tone policy;
  • the terminal After that, the terminal generates a ringback tone configuration file according to the user setting, so as to establish a mapping relationship between the contact number and the ringback tone file save address.
  • the terminal calls the contact in the address book according to the user indication
  • the terminal determines whether the called number is a color ring back tone number
  • the terminal determines the called number, matches the called number with the color ring back tone number in the ring back tone configuration file, and outputs a matching result; in actual implementation, the number matching process may be performed by using multiple methods; For example, the comparator may perform an exclusive OR operation on the called number and the color ring back tone number in the ring back tone profile, and output a matching result; if the color ring back tone number in the ring back tone profile is If the matching result is “0”, the called number is considered to be a color ring back tone number; if the matching result of the color ring back tone number in all ringback tone profiles is “1”, the called number is considered not to be colored.
  • Ringback tone number alternatively, it can also directly determine whether the called number is marked as a color ringback tone number, and if so, confirm that the called number is a color ringback tone number, and if not, confirm that the called number is not a color ringback ringback Tone number
  • step 205 When it is confirmed that the called number is a color ring back tone number, go to step 205 to execute; when it is confirmed that the called number is not a color ring back tone number, go to step 209 to execute;
  • the terminal determines a ringback tone policy of the called number.
  • the terminal determines whether the ringback tone policy is set separately for the called number, or whether the ringback tone policy is set for the group where the called number is located, and when the determination result is yes, the terminal is set to the called number.
  • the set ringback tone policy, or the ringback tone policy set for the group in which the called number is located, is determined as the ringback tone policy of the called number;
  • the ringback tone policy of the group in which the called number is located is determined. Whether the ringback tone policy of the number itself is the same. If not, the ringback tone policy of the called number itself is set to the ringback tone policy of the second terminal according to a preset priority policy.
  • the terminal searches for a ringback tone file.
  • the terminal confirms that the ringback tone file corresponding to the called number is one or more in the ringback tone policy determined in step 205;
  • the ringback tone file corresponding to the called number is one, the ringback tone file is directly found from the saved address of the ringback tone file, or the ringback tone file is locally read and stored. In the cache;
  • the ringback tone playing policy corresponding to the called number is confirmed, and when the ringback tone playing policy corresponding to the called number is sequential playing, the ringback is generated.
  • Finding a ringback tone playback record of the called number in the tone configuration file thereby determining a ringback tone file played this time, and finding the ringback tone file from the saved address of the ringback tone file, or returning the ringback tone file
  • the ringtone file is read out locally and stored in the buffer; when the ringback tone playing strategy corresponding to the called number is random play, the ringback tone file played this time is randomly selected, and the ringback tone is selected from the ringback tone
  • the ringback tone file is found in the saved address of the file, or the ringback tone file is locally read and stored in the cache;
  • the terminal receives the network side signaling, and determines whether the call connection is established.
  • the terminal plays the ringback tone file.
  • the terminal decodes and plays back the ring back tone file that has been read or has been stored in the cache.
  • the second embodiment of the present invention provides a ring back tone implementation device, which is applied to a first terminal, as shown in FIG. 3, the device includes: a call control module 31, a setting module 32, an audio processing module 33, and a storage module 34; among them,
  • the call control module 31 is configured to initiate a call request to the second terminal
  • the setting module 32 is configured to set a ringback tone policy, and trigger the audio processing module 33 when it is confirmed that the ringback tone policy has been set for the second terminal;
  • the audio processing module 33 is configured to, when triggered by the setting module 32, search for a ringback tone file according to the set ringback tone policy, and perform a ringback tone playing process;
  • the storage module 34 is configured to store a ringback tone file.
  • the ringback tone policy includes: a ringback tone file corresponding to the second terminal; when the number of the ringback tone files corresponding to the second terminal exceeds one, the ringback tone policy further includes: a ringback tone playing policy,
  • the ring back tone playing strategy includes: sequential play and random play.
  • the setting module 32 is configured to set a ringback tone policy of the contact in the following manner:
  • the call control module 31 is further configured to receive network side signaling to confirm whether a call between the first terminal and the second terminal is established, and trigger audio when confirming that a call has been established between the first terminal and the second terminal. Processing module 33.
  • the audio processing module 33 includes: a ringback tone policy determining submodule, a ringback tone file determining submodule, and a ringback tone file playing submodule;
  • the ringback tone policy determining submodule is configured to determine a ringback tone policy of the second terminal
  • the ringback tone file determining submodule is configured to determine a ringback tone file played this time according to the determined ringback tone policy, and read the ringback tone file;
  • the ringback tone playing submodule is configured to play the ringback tone file that has been read when triggered by the call control module 31.
  • the ringback tone policy determining submodule is configured to determine a ringback tone policy of the second terminal according to the following manner:
  • the ring back tone policy set by the block 32 for the second terminal or the ring back tone policy set for the group in which the second terminal is located is determined as the ring back tone policy of the second terminal.
  • the ringback tone policy determining submodule is further configured to determine a ringback tone policy of the second terminal according to the following manner:
  • the setting module 32 When it is determined that the setting module 32 separately sets the ring back tone policy for the second terminal, and also sets the ring back tone policy to the group where the second terminal is located, determining the ring back tone policy of the group in which the second terminal is located and the second Whether the ringback tone policy of the terminal is the same, if not, the ringback tone policy of the group or the ringback tone policy of the second terminal is set to the ringback of the second terminal according to a preset priority policy.
  • the tone policy if the same, the ringback tone policy of the group or the ringback tone policy of the second terminal itself is set as the ringback tone policy of the second terminal.
  • the ringback tone file determining submodule is configured to determine and read the ringback tone file played this time by:
  • the ringback tone file determining submodule searches for the ringback tone file from the saved address of the ringback tone file, or reads and records the ringback tone file. Into the cache.
  • the ringback tone file determining submodule is further configured to: when the number of the ringback tone files is confirmed to be multiple, confirm a playing strategy of the multiple ringback tone files;
  • the ring back tone playing record of the called number is searched from the ring back tone configuration file, and the ring back tone file of the current playing is determined, and The ringback tone file is found in the save address of the ringback tone file, or the ringback tone file is read out from the local and stored in the cache;
  • the ring back tone file of the current play is randomly selected, and the ring back tone file is found from the saved address of the ring back tone file. Or reading the ringback tone file from the local and storing it in the cache.
  • FIG. 4 is a structural diagram of still another apparatus for implementing a ring back tone according to an embodiment of the present invention.
  • the ring back tone implementation apparatus adds a configuration file generating module 35 to the structure of the ring back tone implementation apparatus of FIG.
  • the setting module 32 sets the ringback tone policy of the contact
  • the ringback tone configuration file corresponding to the setting is generated;
  • the ringback tone configuration file is stored in the storage module 34, and includes: a contact number and a location
  • the configuration file generating module 35 is further configured to write the last play record of the second terminal to the ringback tone configuration file when the play policy of the second terminal is sequential play.
  • the embodiment of the invention further provides a terminal, comprising the above-mentioned ring back tone implementation device.
  • the call control module 31, the setting module 32, the audio processing module 33, and the configuration file generating module 35 may be implemented by a central processing unit (CPU, Central Processing Unit) and a microprocessor (MPU, Micro) in the terminal.
  • the processing unit is implemented by a digital signal processor (DSP) or a Field-Programmable Gate Array (FPGA).
  • DSP digital signal processor
  • FPGA Field-Programmable Gate Array
  • the storage module 34 is implemented by a memory in the terminal.
  • the embodiment of the present invention provides a computer readable storage medium, the storage medium includes a set of computer executable instructions, and the instructions are used to implement a ring back tone implementation method according to an embodiment of the present invention.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the present invention is directed to a method, apparatus (system), and computer program in accordance with an embodiment of the present invention
  • the flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种回铃音实现方法,第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃音。本发明同时还公开了一种回铃音实现装置和计算机可读存储介质。

Description

一种回铃音实现方法、装置和计算机可读存储介质 技术领域
本发明涉及移动通信领域,具体涉及一种回铃音实现方法、装置和计算机可读存储介质。
背景技术
随着智能手机终端的发展,各种终端应用层出不穷,而通话功能仍为手机终端最重要的应用之一。
当主叫用户呼叫被叫用户时,通常能够从自身终端中听到回铃音,该回铃音用于指示主叫用户呼叫正在进行中,被叫用户可接收到呼叫。目前,用户的回铃音多是由网络侧提供的服务,如个性化的彩铃业务;这样当主叫用户呼叫被叫用户时,听到的就是被叫用户订制的回铃音业务,如彩铃歌曲等。然而这种回铃音业务要求主叫方的终端只能被动接收和播放被叫方用户定制的回铃音,主叫方的终端无法自行控制回铃音的播放。
发明内容
为了解决现有存在的技术问题,本发明实施例期望提供一种回铃音实现方法、装置和计算机可读存储介质。
本发明实施例提供了一种回铃音实现方法,所述方法包括:
第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃音。
上述方案中,所述回铃音策略包括:第二终端对应的回铃音文件;
当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。
上述方案中,所述第一终端根据已设置的回铃音策略播放回铃音包括:
第一终端确定第二终端的回铃音策略;
第一终端根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件;
第一终端接收网络侧信令,以确认与第二终端之间通话是否建立;
当第一终端与第二终端建立通话后,第一终端播放已经读取的回铃音文件。
上述方案中,第一终端通过以下方式确定第二终端的回铃音策略:
第一终端判断自身对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将自身对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。
上述方案中,所述方法还包括:
当所述第一终端确定自身对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。
上述方案中,所述第一终端通过以下方式确定并读取本次播放的回铃音文件:
确认所述确定的回铃音策略中,回铃音文件的个数为一个还是多个;
当确认回铃音文件个数为一个时,第一终端从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。
上述方案中,当确认回铃音文件个数为多个时,所述方法还包括:
第一终端确认所述多个回铃音文件的播放策略;
当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置 文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中;
当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。
本发明实施例提供了一种回铃音实现装置,应用于第一终端,所述装置包括:呼叫控制模块、设置模块、音频处理模块及存储模块;其中,
所述呼叫控制模块,配置为向第二终端发起呼叫请求;
所述设置模块,配置为设置回铃音策略,并在确认对第二终端已设置回铃音策略时,触发音频处理模块;
所述音频处理模块,配置为被设置模块触发时,根据已设置的回铃音策略查找回铃音文件,并执行回铃音播放处理;
所述存储模块,配置为存储回铃音文件。
上述方案中,所述回铃音策略包括:第二终端对应的回铃音文件;
当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。
上述方案中,所述呼叫控制模块,还配置为接收网络侧信令,以确认第一终端与第二终端之间通话是否建立;并在确认第一终端与第二终端之间已经建立通话时,触发音频处理模块。
上述方案中,所述音频处理模块包括:回铃音策略确定子模块、回铃音文件确定子模块和回铃音文件播放子模块;其中,
所述回铃音策略确定子模块,配置为确定第二终端的回铃音策略;
所述回铃音文件确定子模块,配置为根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件;
所述回铃音播放子模块,配置为被呼叫控制模块触发时,播放已经读 取的回铃音文件。
上述方案中,所述回铃音策略确定子模块配置为根据以下方式确定第二终端的回铃音策略:
判断设置模块对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将设置模块对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。
上述方案中,所述回铃音策略确定子模块还配置为根据以下方式确定第二终端的回铃音策略:
当确定设置模块对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。
上述方案中,所述回铃音文件确定子模块配置为通过以下方式确定并读取本次播放的回铃音文件:
判断所述确定的回铃音策略中,回铃音文件的个数为一个还是多个;
当确认回铃音文件个数为一个时,回铃音文件确定子模块从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。
上述方案中,所述回铃音文件确定子模块还配置为当确认回铃音文件个数为多个时,确认所述多个回铃音文件的播放策略;
当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃 音文件从本地读出并存入缓存中;
当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。
本发明实施例提供了一种计算机可读存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行本发明实施例所述的回铃音实现方法。
本发明实施例所提供的一种回铃音实现方法、装置和计算机可读存储介质,第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃。如此,主叫终端(第一终端)可以根据自身需要为被叫终端(第二终端)定制个性化的回铃音,主叫终端中回铃音的播放由传统的主叫终端被动接收和播放,转变为由主叫方的终端自行控制回铃音的播放,丰富了回铃音的播放控制方式。
附图说明
图1为本发明实施例提供的回铃音实现方法流程图一;
图2为本发明实施例提供的回铃音实现方法流程图二;
图3为本发明实施例提供的回铃音实现装置的基本结构图一;
图4为本发明实施例提供的回铃音实现装置的基本结构图二。
具体实施方式
本发明实施例中,第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃音。
下面通过附图及具体实施例对本发明做进一步的详细说明。
实施例一
本发明实施例一提供了一种回铃音实现方法,如图1所示,该方法包括以下步骤:
步骤101:第一终端向第二终端发起呼叫请求;
具体的,第一终端通过拨打第二终端电话号码,向第二终端发起呼叫请求。
步骤102:第一终端判断自身对第二终端是否已设置回铃音策略;
当第一终端向第二终端发起呼叫请求后,第一终端首先判断自身对所述第二终端是否已设置回铃音策略;
所述回铃音策略包括:第二终端对应的回铃音文件;当第二终端对应的回铃音文件超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放;即,当第二终端对应的回铃音文件为两个或两个以上时,第一终端可以设置多次呼叫时,这些回铃音文件按照顺序播放或随机播放;
在第一终端向第二终端发起呼叫请求之前,第一终端需要预先设置第二终端的回铃音策略;在实际实现中,第一终端可以通过以下方式为联系人(包括第二终端)设置回铃音策略:
第一种方式:第一终端为联系人列表中各个联系人设置相应菜单选项,以方便第一终端用户选择该联系人对应的回铃音策略;具体的,第一终端用户选择对某一联系人进行设置时,在相应选项下选择本地铃音文件作为该联系人的回铃音文件,第一终端用户可以选择一个或多个本地铃音文件;当第一终端选择多个本地铃音文件作为回铃音文件时,第一终端还设置相应界面提示第一终端用户选择这些铃音文件的播放策略;可选的播放策略有随机播放或顺序播放;具体的,当第一终端用户设置完毕后,第一终端还可以自动生成标记,以标记该联系人为已设置了回铃音的联系人;或者,第一终端用户可以自行为相应联系人添加标记以标记该联系人为已设置回 铃音策略的联系人;
第二种方式:第一终端以群组为单位为联系人列表中的联系人设置回铃音策略,具体的,第一终端为联系人列表中各个群组设置相应菜单选项,以方便第一终端用户选择相应群组对应的回铃音策略;具体的,第一终端用户选择对某一群组进行设置时,在相应选项下选择本地铃音文件作为该群组内联系人的回铃音文件,第一终端用户可以选择一个或多个本地铃音文件;当第一终端选择多个本地铃音文件作为回铃音文件时,第一终端还设置相应界面提示第一终端用户选择这些铃音文件的播放策略;可选的播放策略有随机播放或顺序播放;具体的,当第一终端用户设置完毕后,第一终端还可以自动生成标记,以标记该群组为已设置了回铃音的群组,则该群组内的各个联系人被标记为已设置了回铃音的联系人;或者,第一终端用户可以自行为相应群组添加标记以标记该群组为已设置回铃音策略的群组,相应的,该群组内的各个联系人被标记为已设置了回铃音的联系人。
当第一终端用户设置了相应联系人或群组的回铃音策略后,第一终端生成回铃音配置文件,其中包括:联系人号码及该联系人对应的回铃音策略、和/或群组及该群组对应的回铃音策略,从而形成联系人与回铃音文件保存地址、及联系人与回铃音文件的播放策略的映射关系。
因此,第一终端可以检测第二终端对应的联系人号码在第一终端是否被标记为已设置了回铃音的联系人,从而确定自身是否对第二终端设置了回铃音策略;或者,第一终端可以检测该第二终端对应的联系人号码是否为回铃音配置文件中的联系人号码。
步骤103:当第一终端确认自身对第二终端已设置了回铃音策略时,第一终端根据已设置的回铃音策略播放回铃音;
当第一终端在步骤102中检测到第二终端为被标记为已设置了回铃音的联系人时,则确认自身对第二终端已设置了回铃音策略,此时,第一终端根据已设置的回铃音策略播放回铃音。
第一终端根据已设置的回铃音策略播放回铃音包括:
第一终端确定第二终端的回铃音策略;
第一终端根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件;
第一终端接收网络侧信令,以确认与第二终端之间通话是否建立;
当第一终端与第二终端建立通话后,第一终端播放已经读取的回铃音文件。
第一终端通过以下方式确定第二终端的回铃音策略:
第一终端判断自身对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将自身对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。
当所述第一终端确定自身对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,可以判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果判断结果为相同,则将所述群组或第二终端自身的回铃音策略设置为第二终端的回铃音策略。
第一终端通过以下方式确定并读取本次播放的回铃音文件:
第一终端确认所述确定的回铃音策略中,回铃音文件的个数为一个还是多个;
当确认回铃音文件个数为一个时,第一终端从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。
当确认回铃音文件个数为多个时,第一终端确认所述多个回铃音文件的播放策略;
当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置 文件中查找该被叫号码的回铃音播放记录,从而确定本次播放的回铃音文件,并从该回铃音文件的保存地址中查找到该回铃音文件,或将该回铃音文件从本地读出并存入缓存中;当所述被叫号码对应的回铃音播放策略为随机播放时,则随机选定本次播放的回铃音文件,并从该回铃音文件的保存地址中查找到该回铃音文件、或将该回铃音文件从本地读出并存入缓存中。
该回铃音文件通过第一终端的听筒或扬声器播放给第一终端用户。
当第二终端的播放策略为顺序播放时,所述终端还会将第二终端最后一次的播放记录写入回铃音配置文件。
当第一终端确认第二终端不是已设置回铃音策略的终端时,则当第一终端与第二终端呼叫连接建立后,第一终端按照第二终端预设的回铃音策略,向第一终端播放回铃音。
下面通过一个具体示例对本发明实施例提供的回铃音实现方法做详细介绍。
该示例的流程图如图2所示,具体包括以下步骤:
201:终端根据用户指示打开回铃音设置选项;
具体的,这一步骤中,用户操作终端显示界面选择相应设置选项,终端根据用户操作打开相应设置选项;
202:终端根据用户的设置信息进行回铃音设置;
具体的,用户操作终端显示界面,终端根据用户操作过程中的设置信息,针对用户选定的联系人号码设置该号码对应的回铃音策略,并将设置了回铃音策略的号码标记为彩色回铃音号码,以指示该号码为已设置了回铃音策略的号码;或者,终端根据用户指示设置通讯录中的相应群组的回铃音策略,并将该群组标记为彩色回铃群组,以指示该群组中所有的联系人号码为已设置了回铃音策略的联系人号码,而且,该群组中所有联系人 号码均被设置为相同的回铃音策略;
之后,终端根据用户设置生成回铃音配置文件,以建立联系人号码与回铃音文件保存地址的映射关系。
203:终端根据用户指示呼叫通讯录中的联系人;
在具体实现时,通过用户点击终端上的通话键实现。
204:终端判断被叫号码是否为彩色回铃音号码;
具体的,终端对被叫号码进行判断,将被叫号码与回铃音配置文件中的彩色回铃音号码进行匹配,并输出匹配结果;实际实现时,可以采用多种方法进行号码匹配处理;例如,可以采用比较器对被叫号码与回铃音配置文件中的彩色回铃音号码进行异或逻辑运算,并输出匹配结果;若与某回铃音配置文件中的彩色回铃音号码的匹配结果为“0”,则认为被叫号码为彩色回铃音号码;若与所有回铃音配置文件中的彩色回铃音号码的匹配结果都为“1”,则认为被叫号码不是彩色回铃音号码;或者,也可以直接判断被叫号码是否被标记为彩色回铃音号码,若是,则确认被叫号码为彩色回铃音号码,若否,则确认被叫号码不是彩色回铃音号码;
当确认被叫号码为彩色回铃音号码时,转至步骤205执行;当确认被叫号码不为彩色回铃音号码时,转至步骤209执行;
205:终端确定被叫号码的回铃音策略;
具体的,终端判断自身对被叫号码是否单独设置了回铃音策略、或者对被叫号码所在的群组是否设置了回铃音策略,并在判断结果为是时,将自身对被叫号码设置的回铃音策略、或者对被叫号码所在的群组设置的回铃音策略确定为所述被叫号码的回铃音策略;
当所述终端确定自身对被叫号码单独设置了回铃音策略、且对被叫号码所在的群组也设置了回铃音策略时,判断被叫号码所在群组的回铃音策略和被叫号码自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将被叫号码自身的回铃音策略设置为第二终端的回铃音策略。
206:终端查找回铃音文件;
具体的,终端确认步骤205中确定的回铃音策略中,所述被叫号码对应的回铃音文件为一个还是多个;
当所述被叫号码对应的回铃音文件为一个时,则直接从该回铃音文件的保存地址中查找到该回铃音文件,或将该回铃音文件从本地读出并存入缓存中;
当所述被叫号码对应的回铃音文件为多个时,确认被叫号码对应的回铃音播放策略,当所述被叫号码对应的回铃音播放策略为顺序播放时,从回铃音配置文件中查找该被叫号码的回铃音播放记录,从而确定本次播放的回铃音文件,并从该回铃音文件的保存地址中查找到该回铃音文件,或将该回铃音文件从本地读出并存入缓存中;当所述被叫号码对应的回铃音播放策略为随机播放时,则随机选定本次播放的回铃音文件,并从该回铃音文件的保存地址中查找到该回铃音文件,或将该回铃音文件从本地读出并存入缓存中;
207:终端接收网络侧信令,判断通话连接是否建立。
当通话连接建立时,转至步骤208执行;当通话连接没有建立,则继续判断通话连接是否建立;
208:终端播放回铃音文件;
具体的,终端对已经读出或已经存入缓存的回铃音文件进行解码,并播放。
209:按照被叫方的回铃音策略播放回铃音。
实施例二
本发明实施例二提供了一种回铃音实现装置,应用于第一终端,如图3所示,所述装置包括:呼叫控制模块31、设置模块32、音频处理模块33及存储模块34;其中,
所述呼叫控制模块31,配置为向第二终端发起呼叫请求;
所述设置模块32,配置为设置回铃音策略,并在确认对第二终端已设置回铃音策略时,触发音频处理模块33;
所述音频处理模块33,配置为被设置模块32触发时,根据已设置的回铃音策略查找回铃音文件,并执行回铃音播放处理;
所述存储模块34,配置为存储回铃音文件。
所述回铃音策略包括:第二终端对应的回铃音文件;当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。
所述设置模块32,配置为通过以下方式设置联系人的回铃音策略:
设置自身联系人列表中各个联系人的回铃音策略;和/或,以联系人列表中的群组为单位,设置群组对应的回铃音策略。
所述呼叫控制模块31,还配置为接收网络侧信令,以确认第一终端与第二终端之间通话是否建立;并在确认第一终端与第二终端之间已经建立通话时,触发音频处理模块33。
所述音频处理模块33包括:回铃音策略确定子模块、回铃音文件确定子模块和回铃音文件播放子模块;其中,
所述回铃音策略确定子模块,配置为确定第二终端的回铃音策略;
所述回铃音文件确定子模块,配置为根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件;
所述回铃音播放子模块,配置为被呼叫控制模块31触发时,播放已经读取的回铃音文件。
所述回铃音策略确定子模块配置为根据以下方式确定第二终端的回铃音策略:
判断设置模块32对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将设置模 块32对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。
所述回铃音策略确定子模块还配置为根据以下方式确定第二终端的回铃音策略:
当确定设置模块32对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。
所述回铃音文件确定子模块配置为通过以下方式确定并读取本次播放的回铃音文件:
判断所述确定的回铃音策略中,回铃音文件的个数为一个还是多个;
当确认回铃音文件个数为一个时,回铃音文件确定子模块从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。
所述回铃音文件确定子模块还配置为当确认回铃音文件个数为多个时,确认所述多个回铃音文件的播放策略;
当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中;
当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。
图4为本发明实施例提供的又一种回铃音实现装置结构图,该回铃音实现装置在图3的回铃音实现装置结构基础上,增加了:配置文件生成模块35,配置为在设置模块32设置联系人的回铃音策略之后,生成与所述设置相对应的回铃音配置文件;所述回铃音配置文件,保存于存储模块34中,包括:联系人号码及所述联系人对应的回铃音策略、和/或群组及所述群组对应的回铃音策略。
所述配置文件生成模块35,还配置为当第二终端的播放策略为顺序播放时,将该第二终端最后一次的播放记录写入回铃音配置文件。
实施例三
本发明实施例还提供了一种终端,包括上述回铃音实现装置。
在具体实施过程中,上述呼叫控制模块31、设置模块32、音频处理模块33、及配置文件生成模块35可以由终端内的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)来实现;上述存储模块34通过终端中的存储器实现。
本发明实施例提供了一种计算机可读存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行本发明实施例所述的回铃音实现方法。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序 产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。

Claims (16)

  1. 一种回铃音实现方法,所述方法包括:
    第一终端向第二终端发起呼叫请求后,第一终端确认自身对第二终端已设置回铃音策略时,根据已设置的回铃音策略播放回铃音。
  2. 根据权利要求1所述的方法,其中,所述回铃音策略包括:第二终端对应的回铃音文件;
    当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。
  3. 根据权利要求1或2所述的方法,其中,所述第一终端根据已设置的回铃音策略播放回铃音包括:
    第一终端确定第二终端的回铃音策略;
    第一终端根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件;
    第一终端接收网络侧信令,以确认与第二终端之间通话是否建立;
    当第一终端与第二终端建立通话后,第一终端播放已经读取的回铃音文件。
  4. 根据权利要求3所述的方法,其中,第一终端通过以下方式确定第二终端的回铃音策略:
    第一终端判断自身对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将自身对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    当所述第一终端确定自身对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的 回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。
  6. 根据权利要求4或5所述的方法,其中,所述第一终端通过以下方式确定并读取本次播放的回铃音文件:
    确认所述确定的回铃音策略中,回铃音文件的个数为一个还是多个;
    当确认回铃音文件个数为一个时,第一终端从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。
  7. 根据权利要求6所述的方法,其中,当确认回铃音文件个数为多个时,所述方法还包括:
    第一终端确认所述多个回铃音文件的播放策略;
    当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中;
    当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。
  8. 一种回铃音实现装置,应用于第一终端,所述装置包括:呼叫控制模块、设置模块、音频处理模块及存储模块;其中,
    所述呼叫控制模块,配置为向第二终端发起呼叫请求;
    所述设置模块,配置为设置回铃音策略,并在确认对第二终端已设置回铃音策略时,触发音频处理模块;
    所述音频处理模块,配置为被设置模块触发时,根据已设置的回铃 音策略查找回铃音文件,并执行回铃音播放处理;
    所述存储模块,配置为存储回铃音文件。
  9. 根据权利要求8所述的装置,其中,所述回铃音策略包括:第二终端对应的回铃音文件;
    当第二终端对应的回铃音文件个数超过1个时,所述回铃音策略还包括:回铃音播放策略,所述回铃音播放策略,包括:顺序播放和随机播放。
  10. 根据权利要求8或9所述的装置,其中,所述呼叫控制模块,还配置为接收网络侧信令,以确认第一终端与第二终端之间通话是否建立;并在确认第一终端与第二终端之间已经建立通话时,触发音频处理模块。
  11. 根据权利要求10所述的装置,其中,所述音频处理模块包括:回铃音策略确定子模块、回铃音文件确定子模块和回铃音文件播放子模块;其中,
    所述回铃音策略确定子模块,配置为确定第二终端的回铃音策略;
    所述回铃音文件确定子模块,配置为根据所述确定的回铃音策略确定本次播放的回铃音文件,并读取所述回铃音文件;
    所述回铃音播放子模块,配置为被呼叫控制模块触发时,播放已经读取的回铃音文件。
  12. 根据权利要求11所述的装置,其中,所述回铃音策略确定子模块配置为根据以下方式确定第二终端的回铃音策略:
    判断设置模块对第二终端是否单独设置了回铃音策略、或者对第二终端所在的群组是否设置了回铃音策略,并在判断结果为是时,将设置模块对第二终端设置的回铃音策略、或者对第二终端所在的群组设置的回铃音策略确定为所述第二终端的回铃音策略。
  13. 根据权利要求12所述的装置,其中,所述回铃音策略确定子模 块还配置为根据以下方式确定第二终端的回铃音策略:
    当确定设置模块对第二终端单独设置了回铃音策略、且对第二终端所在的群组也设置了回铃音策略时,判断第二终端所在群组的回铃音策略和第二终端自身的回铃音策略是否相同,如果不相同,则根据预先设置的优先级策略将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略;如果相同,则将所述群组的回铃音策略或第二终端自身的回铃音策略设置为第二终端的回铃音策略。
  14. 根据权利要求12或13所述的装置,其中,所述回铃音文件确定子模块配置为通过以下方式确定并读取本次播放的回铃音文件:
    判断所述确定的回铃音策略中,回铃音文件的个数为一个还是多个;
    当确认回铃音文件个数为一个时,回铃音文件确定子模块从所述回铃音文件的保存地址中查找所述回铃音文件、或将所述回铃音文件读出并存入到缓存中。
  15. 根据权利要求14所述的装置,其中,所述回铃音文件确定子模块还配置为当确认回铃音文件个数为多个时,确认所述多个回铃音文件的播放策略;
    当确认所述多个回铃音文件的播放策略为顺序播放时,从回铃音配置文件中查找所述被叫号码的回铃音播放记录,确定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中;
    当所述被叫号码对应的回铃音播放策略为随机播放时,随机选定本次播放的回铃音文件,并从所述回铃音文件的保存地址中查找到所述回铃音文件、或将所述回铃音文件从本地读出并存入缓存中。
  16. 一种计算机可读存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求1-7任一项所述的回铃音实现方法。
PCT/CN2014/091192 2014-09-01 2014-11-14 一种回铃音实现方法、装置和计算机可读存储介质 WO2016033869A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410441668.X 2014-09-01
CN201410441668.XA CN105472575A (zh) 2014-09-01 2014-09-01 一种回铃音实现方法和装置

Publications (1)

Publication Number Publication Date
WO2016033869A1 true WO2016033869A1 (zh) 2016-03-10

Family

ID=55439065

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/091192 WO2016033869A1 (zh) 2014-09-01 2014-11-14 一种回铃音实现方法、装置和计算机可读存储介质

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650256A (zh) * 2019-08-15 2020-01-03 咪咕音乐有限公司 视频彩铃的播放方法、电子设备及计算机可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812449A (zh) * 2005-01-28 2006-08-02 朗迅科技公司 对回铃音的回放特性的改变
CN1859488A (zh) * 2006-01-07 2006-11-08 华为技术有限公司 一种实时选择回铃音的系统及方法
CN101389073A (zh) * 2007-06-21 2009-03-18 华为技术有限公司 实现个性化回铃音的方法和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543231A (zh) * 2003-04-30 2004-11-03 中兴通讯股份有限公司 个性化回铃音业务系统及实现方法
CN1859449A (zh) * 2005-11-29 2006-11-08 华为技术有限公司 通信终端及其主叫时播放回铃音的方法
CN101360281B (zh) * 2008-09-22 2013-01-09 侯万春 向个性化回铃音用户提供频道回铃音的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812449A (zh) * 2005-01-28 2006-08-02 朗迅科技公司 对回铃音的回放特性的改变
CN1859488A (zh) * 2006-01-07 2006-11-08 华为技术有限公司 一种实时选择回铃音的系统及方法
CN101389073A (zh) * 2007-06-21 2009-03-18 华为技术有限公司 实现个性化回铃音的方法和系统

Also Published As

Publication number Publication date
CN105472575A (zh) 2016-04-06

Similar Documents

Publication Publication Date Title
US8588794B2 (en) Devices and methods for creating a snippet from a media file
JP2018517919A (ja) 音声認識方法、音声ウェイクアップ装置、音声認識装置、および端末
JP2005057746A5 (zh)
US9357065B2 (en) System, method and apparatus for transmitting audio signals over a voice channel
WO2017080509A1 (zh) 彩铃业务推送的方法和装置
US20100202604A1 (en) Universal Access to Caller-Specific Ringtones
US20150024722A1 (en) Electronic apparatus and call control method
WO2012065567A1 (zh) 文本信息的转换方法及装置
WO2020063451A1 (zh) 通话留言方法、终端和具有存储功能的装置
US20130156169A1 (en) Method and system for managing multiple simultaneously placed calls
WO2015014174A1 (zh) 实现回铃播放的方法、装置和回铃业务系统
WO2011150885A2 (zh) 语音留言的管理方法和装置
WO2016107104A1 (zh) 一种记录语音通信信息的方法及终端、计算机存储介质
CN104423937B (zh) 一种终端的按键音处理方法、装置和终端
WO2016033869A1 (zh) 一种回铃音实现方法、装置和计算机可读存储介质
WO2012171347A1 (zh) 一种呼叫处理方法、装置及系统
WO2016179961A1 (zh) 移动终端来电处理方法及装置、移动终端、存储介质
TWI630543B (zh) 電子設備及用所述電子設備即時聲音重播的方法
WO2015131576A1 (zh) 一种设置情景模式的方法、装置及移动终端、存储介质
CN101848259A (zh) 一种数字家庭固定电话的语音处理方法及系统
JP6721981B2 (ja) 音声再生装置、音声再生方法及びプログラム
JP2009213027A (ja) コールセンタシステム及びガイダンス音声再生方法
JP7349281B2 (ja) 制御装置および制御装置の制御方法
CN113760219A (zh) 信息处理方法和装置
TWI599208B (zh) 通信通知控制系統及方法

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: 14901047

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: 14901047

Country of ref document: EP

Kind code of ref document: A1