
















技术领域technical field
本发明实施例涉及语音呼叫技术领域,具体涉及一种彩铃铃音同步的方法、铃音管理平台及呼叫平台。Embodiments of the present invention relate to the technical field of voice calls, and in particular, to a method for synchronizing CRBT and ringtones, a ringtone management platform, and a calling platform.
背景技术Background technique
彩铃是个性化多彩回铃音的简称,其是指:当一主叫方呼叫一被叫方时,在等待呼叫接通的过程中,向主叫方播放被叫方所订购的铃音,例如:音乐、歌曲、故事情节、人物对话等,的技术。通过向主叫方播放被叫方设定的铃音,可以展现被叫方的独特个性与品位,因此,彩铃受到用户的广泛欢迎。CRBT is the abbreviation of personalized colorful ringback tone, which means that when a calling party calls a called party, the ringtone ordered by the called party is played to the calling party while waiting for the call to be connected. For example: technology for music, songs, storylines, character dialogue, etc. By playing the ring tone set by the called party to the calling party, the unique personality and taste of the called party can be displayed. Therefore, the CRBT is widely welcomed by users.
在实现本发明实施例的过程中,发明人发现:目前,对彩铃铃音的管理主要是由铃音管理平台和呼叫平台执行的,铃音管理平台负责铃音备份,呼叫平台负责在播放铃音,而呼叫平台与铃音管理平台之间是全量同步的,造成呼叫平台所需要存储空间非常大。In the process of implementing the embodiments of the present invention, the inventor found that: at present, the management of CRBT ringtones is mainly performed by the ringtone management platform and the calling platform. The ringtone management platform is responsible for ringtone backup, and the calling platform is responsible for playing the ringtones. The call platform and the ring tone management platform are fully synchronized, resulting in a very large storage space required by the call platform.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本发明实施例提供了一种彩铃铃音同步的方法、铃音管理平台及呼叫平台,克服了上述问题或者至少部分地解决了上述问题。In view of the above problems, embodiments of the present invention provide a method, a ring tone management platform, and a calling platform for CRBT tones synchronization, which overcome the above problems or at least partially solve the above problems.
根据本发明实施例的一个方面,提供了一种彩铃铃音同步的方法,应用于铃音管理平台,所述方法包括:获取已同步至呼叫平台的同步铃音;判断所述同步铃音当前是否存在订购;若没有存在订购,则向所述呼叫平台发送携带所述同步铃音标识的删除命令,以使所述呼叫平台删除自身所存储的所述同步铃音。According to an aspect of the embodiments of the present invention, a method for synchronizing CRBT tones is provided, which is applied to a ringtone management platform. The method includes: acquiring a synchronized ringtone that has been synchronized to a calling platform; Whether there is a subscription; if there is no subscription, send a delete command carrying the synchronous ringtone identifier to the calling platform, so that the calling platform deletes the synchronous ringtone stored by itself.
在一种可选的方式中,所述方法还包括:接收所述呼叫平台在删除所述同步铃音之后返回的删除确认命令;根据所述删除确认命令,将自身存储的所述同步铃音标记为未同步。In an optional manner, the method further includes: receiving a deletion confirmation command returned by the calling platform after deleting the synchronized ringtone; according to the deletion confirmation command, storing the synchronized ringtone stored by itself Mark as unsynced.
在一种可选的方式中,所述方法还包括:接收铃音订购请求;在根据所述铃音订购请求完成订购之后,判断所述铃音订购请求所订购的订购铃音是否同步至所述呼叫平台;若没有同步至所述呼叫平台,则将所述订购铃音同步至所述呼叫平台。In an optional manner, the method further includes: receiving a ringtone order request; after completing the order according to the ringtone order request, judging whether the ordered ringtone ordered by the ringtone order request is synchronized to the desired ringtone The calling platform; if not synchronized to the calling platform, synchronize the subscription ringtone to the calling platform.
在一种可选的方式中,所述判断所述铃音订购请求所订购的订购铃音是否同步至所述呼叫平台,进一步包括:向所述呼叫平台发送铃音查询命令,其中,所述铃音查询命令携带所述订购铃音的标识;当接收到所述呼叫平台根据所述铃音查询命令返回的第一查询应答命令时,确定所述订购铃音已同步至所述呼叫平台,其中,所述第一查询应答命令为呼叫平台在查询到自身存储有所述订购铃音时返回的命令;当接收到所述呼叫平台根据所述铃音查询命令返回的第二查询应答命令时,确定所述订购铃音没同步至所述呼叫平台,其中,所述第二查询应答命令为所述呼叫平台在查询到自身没有存储有所述订购铃音时返回的命令。In an optional manner, the judging whether the ordered ringtone ordered by the ringtone order request is synchronized to the calling platform further includes: sending a ringtone query command to the calling platform, wherein the The ringtone query command carries the identifier of the ordered ringtone; when receiving the first query response command returned by the call platform according to the ringtone query command, it is determined that the ordered ringtone has been synchronized to the call platform, Wherein, the first query response command is a command returned by the call platform when it finds that the ordered ringtone is stored in itself; when receiving a second query response command returned by the call platform according to the ringtone query command , it is determined that the order ring tone is not synchronized to the call platform, wherein the second query response command is a command returned by the call platform when the call platform finds that the order ring tone is not stored in itself.
在一种可选的方式中,所述判断所述铃音订购请求所订购的订购铃音是否同步至所述呼叫平台,进一步包括:判断所述铃音订购请求所订购的订购铃音是否标记为同步;若是,则确定所述订购铃音已同步至所述呼叫平台;若否,则确定所述订购铃音未同步至所述呼叫平台。In an optional manner, judging whether the ringtone ordered by the ringtone order request is synchronized to the call platform further includes: judging whether the ringtone ordered by the ringtone order request is marked If yes, it is determined that the subscription ring tone has been synchronized to the call platform; if not, it is determined that the subscription ring tone has not been synchronized to the call platform.
根据本发明实施例的另一方面,提供了彩铃铃音同步的方法,应用于呼叫平台,方法包括:接收铃音管理平台发送的删除命令,其中,所述删除命令为所述铃音管理平台在确定已同步至呼叫平台的同步铃音不存在订购时发送的命令,所述删除命令携带所述同步铃音的标识;判断自身是否存储有所述同步铃音;若存在,则删除自身所存储的所述同步铃音;在成功删除所述同步铃音后,向所述铃音管理平台返回删除确认命令。According to another aspect of the embodiments of the present invention, a method for synchronizing CRBT tones is provided, which is applied to a calling platform. The method includes: receiving a delete command sent by a ringtone management platform, wherein the delete command is the ringtone management platform. A command sent when it is determined that the synchronized ringtone that has been synchronized to the calling platform does not exist for subscription, and the deletion command carries the identifier of the synchronized ringtone; judges whether the synchronized ringtone is stored in itself; if it exists, delete all the synchronized ringtones. The stored synchronous ringtone; after the synchronous ringtone is successfully deleted, a deletion confirmation command is returned to the ringtone management platform.
在一种可选的方式中,所述方法还包括:若不存在,直接向所述铃音管理平台返回删除确认命令。In an optional manner, the method further includes: if it does not exist, directly returning a deletion confirmation command to the ringtone management platform.
在一种可选的方式中,所述方法还包括:接收所述铃音管理平台发送的铃音查询命令,其中,所述铃音查询命令携带所述订购铃音的标识;根据所述铃音查询命令,查询自身是否存储有所述订购铃音;若存储有,则向所述铃音管理平台第一查询应答命令;若没有存储有,则向所述铃音管理平台第二查询应答命令。In an optional manner, the method further includes: receiving a ringtone query command sent by the ringtone management platform, wherein the ringtone query command carries the identifier of the ordered ringtone; Tone query command, inquire whether the ordered ringtone is stored; if it is stored, the first query answer command is sent to the ringtone management platform; if it is not stored, the second query response command is sent to the ringtone management platform. Order.
在一种可选的方式中,所述方法还包括:监测访问所述呼叫平台上的铃音的访问进程;当存在所述访问进程时,判断所述访问进程是否为合法进程;若为合法进程,则允许所述访问进程访问该铃音;若不为合法进程,则终止所述访问进程,并且发出告警信息。In an optional manner, the method further includes: monitoring an access process accessing the ringtone on the calling platform; when the access process exists, judging whether the access process is a legal process; if it is a legal process process, the access process is allowed to access the ring tone; if it is not a legal process, the access process is terminated and an alarm message is sent.
根据本发明实施例的又一方面,提供了一种铃音管理平台,包括处理器和收发器;所述收发器用于与呼叫平台进行通信;所述处理器用于执行上述的彩铃铃音同步的方法的步骤。According to yet another aspect of the embodiments of the present invention, a ring tone management platform is provided, including a processor and a transceiver; the transceiver is used for communicating with a call platform; the processor is used for executing the above-mentioned CRBT tone synchronization steps of the method.
根据本发明实施例的再一方面,提供了一种呼叫平台,包括处理器和收发器;所述收发器用于与铃音管理平台进行通信;所述处理器用于所述收发器用于与铃音管理平台进行通信;所述处理器用于执行上述的彩铃铃音同步的方法的步骤。According to yet another aspect of the embodiments of the present invention, a call platform is provided, including a processor and a transceiver; the transceiver is used for communicating with a ringtone management platform; the processor is used for the transceiver to communicate with a ringtone The management platform performs communication; the processor is configured to execute the steps of the method for synchronizing the CRBT tone.
根据本发明实施例的还一方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述彩铃铃音同步的方法的步骤。According to another aspect of the embodiments of the present invention, an electronic device is provided, including: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus. The memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the steps of the method for synchronizing the CRBT tones.
根据本发明实施例的又一方面,提供了一种计算机存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令使所述处理器执行上述彩铃铃音同步的方法的步骤。According to another aspect of the embodiments of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes the processor to execute the above-mentioned method for synchronizing CRBT tones. step.
在本发明实施例中,铃音管理平台在确定到同步铃音当前不存在订购时,向呼叫平台发送删除命令,以使呼叫平台删除自身上存储的该同步铃音,从而避免呼叫平台存储有无订购的铃音的情况,实现呼叫平台和铃音管理平台之间按需同步,相比于,呼叫平台与铃音管理平台之间全量同步的方式,本发明实施例中的呼叫平台存储的铃音更少,呼叫平台所耗费的存储空间更少,对存储空间的要求更低。In the embodiment of the present invention, the ringtone management platform sends a delete command to the calling platform when it is determined that there is currently no subscription for the synchronized ringtone, so that the calling platform deletes the synchronized ringtone stored on itself, thereby preventing the calling platform from storing the synchronized ringtone. In the case of no ordered ringtones, on-demand synchronization between the calling platform and the ringtone management platform is realized. Compared with the full synchronization between the calling platform and the ringtone management platform, the calling platform in the embodiment of the present invention stores Fewer ringtones, less storage space consumed by the calling platform, and lower storage space requirements.
上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to understand the technical means of the embodiments of the present invention more clearly, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and The advantages can be more clearly understood, and the following specific embodiments of the present invention are given.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1示出了本发明彩铃铃音同步的方法应用环境的示意图;Fig. 1 shows the schematic diagram of the application environment of the method for CRBT tone synchronization according to the present invention;
图2示出了本发明铃音管理平台实施例的架构图;Fig. 2 shows the architecture diagram of the embodiment of the ring tone management platform of the present invention;
图3示出了本发明呼叫平台实施例的架构图;Fig. 3 shows the architecture diagram of the embodiment of the calling platform of the present invention;
图4示出了本发明铃音管理平台向呼叫平台同步铃音的流程图;Fig. 4 shows the flow chart of the ringtone management platform of the present invention synchronizing the ringtone to the calling platform;
图5示出了本发明判断订购铃音是否为已同步至呼叫平台的一种实现流程图;Fig. 5 shows a kind of realization flow chart of the present invention judging whether the subscription ring tone has been synchronized to the calling platform;
图6示出了本发明判断订购铃音是否为已同步至呼叫平台的另一种实现流程图;Fig. 6 shows another implementation flow chart of the present invention for judging whether the subscription ringtone has been synchronized to the calling platform;
图7示出了本发明删除呼叫平台没有订购的同步铃音的流程图;Fig. 7 shows the flow chart of the present invention to delete the synchronous ringtone that the calling platform does not subscribe to;
图8示出了本发明呼叫平台屏蔽非法访问进程的流程图;Fig. 8 shows the flow chart of the calling platform shielding illegal access process of the present invention;
图9示出了本发明彩铃铃音同步的方法实施例的流程图;FIG. 9 shows a flowchart of an embodiment of a method for synchronizing CRBT tones according to the present invention;
图10示出了本发明彩铃铃音同步的方法另一实施例的流程图;FIG. 10 shows a flowchart of another embodiment of the method for CRBT tone synchronization according to the present invention;
图11示出了本发明彩铃铃音同步的方法又一实施例的流程图;FIG. 11 shows a flowchart of another embodiment of the method for synchronizing CRBT tones according to the present invention;
图12示出了本发明彩铃铃音同步的方法再一实施例的流程图;Fig. 12 shows a flow chart of still another embodiment of the method for synchronizing CRBT tones according to the present invention;
图13示出了本发明彩铃铃音同步的装置实施例的示意图;FIG. 13 shows a schematic diagram of an embodiment of an apparatus for synchronizing CRBT tones according to the present invention;
图14示出了本发明彩铃铃音同步的装置另实施例的示意图;Fig. 14 shows a schematic diagram of another embodiment of the apparatus for synchronizing CRBT tones according to the present invention;
图15示出了本发明铃音管理平台实施例的结构示意图;Figure 15 shows a schematic structural diagram of an embodiment of a ringtone management platform of the present invention;
图16示出了本发明呼叫平台实施例的结构示意图;16 shows a schematic structural diagram of an embodiment of a call platform of the present invention;
图17示出了本发明电子设备实施例的结构示意图。FIG. 17 shows a schematic structural diagram of an embodiment of an electronic device of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the invention to those skilled in the art.
请参阅图1,图1示出了本发明彩铃铃音同步的方法应用环境的示意图,应用环境1包括中央音乐平台10、铃音管理平台11、呼叫平台12和终端设备13。中央音乐平台10与铃音管理平台11通信连接,中央音乐平台10负责接收铃音编辑者上传的铃音,并且把铃音同步传输至铃音管理平台11。铃音管理平台11与呼叫平台12通信连接,铃音管理平台11向呼叫平台12分发铃音。当一终端设备13向另一终端设备13发起呼叫时,在等待接通的过程中,并且当该另一终端设备13订购有铃音时,呼叫平台12向发起呼叫的该一终端设备13播放该另一终端设备13所订购的铃音,实现彩铃功能。Please refer to FIG. 1 . FIG. 1 shows a schematic diagram of an application environment of the method for CRBT tone synchronization according to the present invention. The
对于上述铃音管理平台11,如图2所示,铃音管理平台11可包括配置子系统111、第一存储管理子系统112和第一同步子系统三大子系统。配置子系统111负责向管理员提供配置管理功能,具体包括HTTP(Hyper Text Transfer Protocol,超文本传输协议)HTTP服务模块1111、配置管理模块1112、统计分析模块1113和任务管理模块1114。HTTP服务模块1111用于向管理员提供WEB服务管理功能,包括配置设置、结果查询与展现等。配置管理模块1112用于实现铃音分发机制配置与呼叫平台12接入管理,包括手动定向同步铃音实体文件、呼叫平台文件服务器接入配置、定时任务配置等。统计分析模块1113用于同步任务结果统计分析,包括铃音同步状态统计、铃音订购关系统计等。任务管理模块1114用于管理订购事件触发的同步任务、周期性铃音订购关系清理同步任务等。第一存储管理子系统112用于负责提供铃音实体文件的管理,如读取、写入、更新等,具体的,第一存储管理子系统112包括第一接口适配模块1121、第一数据库1122和第一文件服务器1123。第一接口适配模块1121用于实现底层接口封装,统一对外提供存储铃音实体文件的管理服务,包括读取、写入、更新等。第一数据库1122用于存储铃音属性信息和订购信息。第一文件服务器1123用于存储铃音的实体文件。第一同步子系统113包括第一铃音同步模块1131和第一解析模块1132。第一铃音同步模块负责与呼叫平台12建立FTP(File Transfer Protocol,文件传输协议)连接,实现铃音向呼叫平台12的分发。第一解析模块用于对铃音属性信息进行解析。For the above ring
对于上述呼叫平台12,如图3所示,呼叫平台12包括第二存储管理子系统121和第二同步子系统122。第二存储管理子系统121负责提供铃音实体文件的管理,如读取、写入、更新等,具体的,第二存储管理子系统121包括第二接口适配模块1211、第二数据库1212和第二文件服务器1213。第二接口适配模块1211用于实现底层接口封装,统一对外提供存储铃音实体文件的管理服务,包括读取、写入、更新等。第二数据库1212用于存储铃音属性信息和订购信息。第二文件服务器1213用于存储铃音实体文件。第二同步子系统122包括第二铃音同步模块1221、第二解析模块1222和监控模块1223。第二铃音同步模块1221用于负责与铃音管理平台11建立FTP连接,实现铃音的接收。第二解析模块1222用于对铃音属性信息的解析。监控模块1223用于基于文件系统过滤驱动技术,拦截不合支访问进程访问呼叫平台12上的铃音,实现呼叫平台的铃音的锁定与保护。For the above-mentioned
具体的,请参阅图4,呼叫平台12与铃音管理平台11之间铃音同步的过程包括:Specifically, please refer to FIG. 4 , the process of ringtone synchronization between the
步骤101:铃音管理平台11接收到来自用户的铃音订购请求;Step 101: The
铃音订购请求携带用户请求订购的订购铃音的标识,例如:铃音的名称、铃音的编号等等。The ringtone subscription request carries the identifier of the subscription ringtone requested by the user, such as the name of the ringtone, the number of the ringtone, and so on.
在一些实施例中,为了方便用户选择铃音进行订购,在用户通过终端设备通过短信请求铃音,或者,用户在铃音管理平台11所提供的Web页面上查看可订购的铃音时,可将铃音按类别的形式呈现给用户,以方便用户按类别进行筛选。In some embodiments, in order to facilitate the user to select a ringtone for ordering, when the user requests a ringtone through a short message through a terminal device, or when the user views the ringtone that can be ordered on the Web page provided by the
可以理解的是:在另一些实施例中,铃音管理平台11也可根据用户铃音订购历史数据,分析用户喜爱的铃音,当铃音管理平台11新上传的铃音与用户喜爱的铃音相似时,主动向用户推荐新上传的铃音。It can be understood that: in other embodiments, the
步骤102:铃音管理平台11根据铃音订购请求,并且结合预设铃音订购规范完成所述用户的铃音订购流程;Step 102: The
预设铃音订购规范是指铃音订购的步骤规定,例如:用户在铃音管理平台11的Web页面订购铃音时,第一步向用户展示可订购的铃音,在用户选择好铃音,点击订购按扭时,触发铃音订购请求,第二步请求用户输入手机号码和订购期限,当用户输入手机号码和订购期限之后,第三步记录用户的手机号码、用户所订购的铃音及所订购的期限,第四步将手机号码、用户所订购的铃音及订购期限进行绑定,生成订购信息,完成在用户侧的铃音订购流程。The preset ringtone ordering specification refers to the steps for ordering ringtones. For example, when a user orders a ringtone on the Web page of the
步骤103:在完成铃音订购流程之后,铃音管理平台11判断用户所订购的订购铃音是否已同步至呼叫平台12,若是,执行步骤104,否则,不处理。Step 103: After completing the ringtone ordering process, the
铃音管理平台11只负责铃音管理,呼叫平台12负责在用户被呼叫时向发起呼叫方播放铃音,实现彩铃功能,因此,在铃音管理平台11完成在用户侧的铃音订购流程时,还需要将订购铃音推送至呼叫平台12。The
在一些实施例中,如图5所示,铃音管理平台11判断用户所订购的订购铃音是否已同步至呼叫平台12包括:In some embodiments, as shown in FIG. 5, the ring
步骤1031a:向所述呼叫平台发送铃音查询命令,其中,所述铃音查询命令携带所述订购铃音的标识;
铃音查询命令用于指示呼叫平台查询自身是否存储有该订购铃音。The ringtone query command is used to instruct the calling platform to inquire whether it has the subscription ringtone stored therein.
步骤1032a:当接收到所述呼叫平台根据所述铃音查询命令返回的第一查询应答命令时,确定所述订购铃音已同步至所述呼叫平台,其中,所述第一查询应答命令为呼叫平台在查询到自身存储有所述订购铃音时返回的命令;
步骤1033a:当接收到所述呼叫平台根据所述铃音查询命令返回的第二查询应答命令时,确定所述订购铃音没同步至所述呼叫平台,其中,所述第二查询应答命令为所述呼叫平台在查询到自身没有存储有所述订购铃音时返回的命令。
在另一些实施例中,当铃音管理平台11将一铃音同步至呼叫平台12时,还可以将该铃音标记为已同步,因此,铃音管理平台11还可以根据标记判断订购铃音是否已同步至呼叫平台,具体的,如图6所示,铃音管理平台判断用户所订购的订购铃音是否已同步至呼叫平台,又可以包括:In other embodiments, when the
步骤1031b:判断所述铃音订购请求所订购的订购铃音是否标记为同步,若是,执行1032b,若否,执行步骤1033b;
步骤1032b:确定所述订购铃音已同步至所述呼叫平台;
步骤1033b:确定所述订购铃音未同步至所述呼叫平台。
通过在铃音管理平台11向呼叫平台12同步铃音时,在铃音管理平台11侧对铃音进行同步标记,实现在铃音管理平台11侧即可查询一铃音是否已同步至呼叫平台,查询效率更高。When the
步骤104:铃音管理平台11将所述订购铃音同步至所述呼叫平台12;Step 104: The
当呼叫平台12接收到订购铃音时,存储该订购铃音,后续在有其它用户呼叫该用户时,呼叫平台12可在等待接通的过程中,向其它用户播放该订购铃音,从而实现彩铃功能。When the
可以理解的是:为了使呼叫平台12可以准确地播放用户订购的订购铃音,当呼叫平台12接收到其它用户呼叫该用户的呼叫请求时,呼叫平台12可从铃音管理平台上查询该用户所订购的订购铃音,并且播放该用户所订购的订购铃音;又或者,在管理平台向呼叫平台12同步该用户所订购的订购铃音,将订购铃音的订购信息也同步至呼叫平台12,当呼叫平台12接收到其它用户呼叫该用户的呼叫请求时,可以通过查询订购信息得到该用户所订购的订购铃音。It can be understood that: in order to enable the calling
通过在用户订购铃音时,铃音管理平台11在确认到呼叫平台12没存储有用户请求订购的订购铃音时才向呼叫平台12同步订购铃音,而没有订购的铃音没有同步至呼叫平台12,实现呼叫平台12与铃音管理平台11之间按需同步,避免呼叫平台12出现无订购的铃音,占用呼叫平台12的存储资源。When the user orders ringtones, the
值得说明的是:在用户订购铃音时,铃音管理平台11在确认到呼叫平台12没存储有用户请求订购的订购铃音时才向呼叫平台12同步订购铃音,也可以避免当不同用户同时订购同一铃音时,重复向呼叫平台12推送订购铃音,造成呼叫平台12存储重复的铃音,浪费呼叫平台12的存储空间的情况,例如:用户A订购铃音Q,期限为一年,铃音Q同步至呼叫平台12,在用户A的期限没有到期时,用户B也订购铃音Q,期限为两年,则在用户B订购铃音Q,无需再次向呼叫平台12同步铃音Q,当其它用户呼叫用户B时,直接播放呼叫平台12上存储的铃音Q即可。It is worth noting that: when the user orders ringtones, the
可以理解的是:在用户订购铃音之后,用户也可取消铃音,当用户取消铃音时,该铃音与该用户的订购关系就会解除,又或者,当用户所订购的铃音到期时,则该铃音与用户的订购关系也会解除。为了避免在铃音与用户的订购关系解除时,呼叫平台12上仍然存在该铃音,浪费呼叫平台12的存储资源,因此,铃音管理平台11可以定期扫描,把无订购的铃音从呼叫平台12上删除,以保证呼叫平台12与铃音管理平台11是按需同步的,具体的,请参阅图7,方法包括:It can be understood that after the user subscribes to the ringtone, the user can also cancel the ringtone. When the user cancels the ringtone, the subscription relationship between the ringtone and the user will be cancelled, or, when the ringtone subscribed by the user arrives During the period, the subscription relationship between the ringtone and the user will also be cancelled. In order to avoid that the ringtone still exists on the calling
步骤201:铃音管理平台11获取已同步至呼叫平台12的同步铃音;Step 201: The
同步铃音是指同时存储于呼叫平台12和铃音管理平台11上的铃音。铃音管理平台11可以根据自身存储的铃音,向呼叫平台12发送铃音查询命令,并且根据呼叫平台铃音查询命令进行的应答确定该铃音是否同步铃音。又或者,铃音管理平台11通过查询自身存储的铃音是否存在同步标记,来确定该铃音是否为同步铃音。The synchronous ringtone refers to the ringtone stored on the calling
步骤202:铃音管理平台11判断所述同步铃音当前是否存在订购,若没有存在订购,执行步骤203,否则不处理;Step 202: The
判断所述同步铃音当前是否存在订购可以通过查询铃音管理平台11上存储的订购信息,并且根据用户的订购信息进行判断。又或者,在一铃音给用户订购时,可对该铃音进行订购标识,铃音管理平台11根据订购标识判断该铃音是否给订购;当然,在用户订购铃音时进行订购标识,则在用户取消该铃音的订购或者铃音订购的期限到期时,需要重新将铃音标记为未订购。It is possible to determine whether the synchronous ringtone currently has a subscription, by querying the subscription information stored on the
步骤203:铃音管理平台11向所述呼叫平台12发送携带所述同步铃音标识的删除命令;Step 203: the ring
步骤204:呼叫平台12查询自身是否存储有该同步铃音,若存储有该同步铃音,则执行步骤205,否则,执行步骤206;Step 204: The calling
步骤205:呼叫平台12删除自身存储同步铃音,并且在成功删除同步铃音后,向铃音管理平台11返回删除确认命令;Step 205: The calling
步骤206:若没有存储有,呼叫平台12直接返回删除确认命令;Step 206: If not stored, the calling
步骤207:铃音管理平台11根据所述删除确认命令,将自身存储的该同步铃音标记为未同步。Step 207: The
铃音管理平台11在确定同步铃音当前不存在订购时,向呼叫平台12发送删除命令,以使呼叫平台12删除自身存储不存在订购的铃音,避免呼叫平台12上存储有不存在订购的铃音,占用呼叫平台12的存储资源,实现呼叫平台12与铃音管理平台11之间是接需同步。When the
为了避免因用户的非法操作,损坏呼叫平台12上的铃音,影响铃音的播放,还可在呼叫平台12上设置基于文件系统过滤驱动技术的事件监控机制来避免非法操作,具体的,请参阅图8,包括:In order to prevent the ringtone on the calling
步骤301:监测访问呼叫平台12上的铃音的访问进程;Step 301: Monitor the access process of accessing the ringtone on the calling
步骤302:当存在访问进程时,判断该访问进程是否为合法进程,若是,则执行步骤303,否则,执行步骤304;Step 302: when there is an access process, determine whether the access process is a legitimate process, if so, go to step 303, otherwise, go to step 304;
步骤303:呼叫平台12允许该访问进程访问该铃音;Step 303: The calling
步骤304:呼叫平台12终止该访问进程,并且发出告警信息。Step 304: The calling
在本发明实施例中,呼叫平台12对非法的访问进程进行屏蔽处理,避免非法的访问进程执行非法操作,损坏呼叫平台12上铃音,影响铃音的播放。In the embodiment of the present invention, the calling
本发明提供彩铃铃音同步的方法实施例,该方法应用于上铃音管理平台11中,如图9所示,该方法包括以下步骤:The present invention provides an embodiment of a method for synchronizing CRBT and ringtones. The method is applied to the upper
步骤401:获取已同步至呼叫平台的同步铃音;Step 401: Acquire the synchronized ringtone that has been synchronized to the calling platform;
同步铃音是指铃音管理平台和呼叫平台同时存储有的铃音。通过在铃音管理平台上存储铃音,实现铃音的备份,当呼叫平台上的铃音损坏时,可从铃音管理平台上恢复该铃音到呼叫平台。Synchronized ringtones refer to the ringtones stored on the ringtone management platform and the calling platform at the same time. By storing the ringtone on the ringtone management platform, the backup of the ringtone is realized. When the ringtone on the calling platform is damaged, the ringtone can be restored from the ringtone management platform to the calling platform.
步骤402:判断所述同步铃音当前是否存在订购,若没有存在订购,执行步骤403,否则不处理;Step 402: determine whether the synchronization ringtone is currently subscribed, if there is no subscription, perform
步骤403:向所述呼叫平台发送携带所述同步铃音标识的删除命令,以使所述呼叫平台删除自身所存储的所述同步铃音。Step 403: Send a delete command carrying the synchronous ring tone identifier to the calling platform, so that the calling platform deletes the synchronous ring tone stored by itself.
在本发明实施例中,铃音管理平台在确定到同步铃音当前不存在订购时,向呼叫平台发送删除命令,以使呼叫平台删除自身上存储的该同步铃音,从而避免呼叫平台存储有无订购的铃音的情况,实现呼叫平台和铃音管理平台之间按需同步,相比于,呼叫平台与铃音管理平台之间全量同步的方式,本发明实施例中的呼叫平台存储的铃音更少,呼叫平台所耗费的存储空间更少,对存储空间的要求更低。In the embodiment of the present invention, the ringtone management platform sends a delete command to the calling platform when it is determined that there is currently no subscription for the synchronized ringtone, so that the calling platform deletes the synchronized ringtone stored on itself, thereby preventing the calling platform from storing the synchronized ringtone. In the case of no ordered ringtones, on-demand synchronization between the calling platform and the ringtone management platform is realized. Compared with the full synchronization between the calling platform and the ringtone management platform, the calling platform in the embodiment of the present invention stores Fewer ringtones, less storage space consumed by the calling platform, and lower storage space requirements.
在一些实施例中,为了方便铃音管理平台识别哪些铃音已同步至呼叫平台,哪些铃音没有同步至呼叫平台,可在铃音管理平台侧对已同步至呼叫平台的铃音标记为同步,对未同步至呼叫平台的铃音标记为未同步,则铃音管理平台获取已同步至呼叫平台的同步铃音也可以根据该标记进行获取。当然,在另一些实施例中,铃音管理平台也可以通过向呼叫平台发送铃音查询命令的方式来确定一铃音是否同步铃音。In some embodiments, in order to facilitate the ringtone management platform to identify which ringtones have been synchronized to the calling platform and which ringtones have not been synchronized to the calling platform, the ringtones that have been synchronized to the calling platform can be marked as synchronized on the side of the ringtone management platform , and mark the ringtone that is not synchronized to the calling platform as unsynchronized, the ringtone management platform can also obtain the synchronized ringtone that has been synchronized to the calling platform according to the mark. Of course, in other embodiments, the ringtone management platform can also determine whether a ringtone is a synchronized ringtone by sending a ringtone query command to the calling platform.
需要说明的是:当铃音管理平台在接收到呼叫平台在删除同步铃音之后返回的删除确认命令时,还需要根据所述删除确认命令,将自身存储的所述同步铃音标记为未同步,实现标识的同步更新,从而保证标记的准确性。It should be noted that: when the ringtone management platform receives the deletion confirmation command returned by the calling platform after deleting the synchronization ringtone, it also needs to mark the synchronization ringtone stored by itself as unsynchronized according to the deletion confirmation command. , to realize the synchronous update of the mark, so as to ensure the accuracy of the mark.
请参阅图10,图10示出了本发明彩铃铃音同步的方法另一实施例的流程图,本实施例与其它实施例不同之处在于,方法还包括:Please refer to FIG. 10. FIG. 10 shows a flowchart of another embodiment of the method for synchronizing CRBT tones according to the present invention. The difference between this embodiment and other embodiments is that the method further includes:
步骤404:接收铃音订购请求;Step 404: Receive a ringtone subscription request;
铃音订购请求是用户请求订购铃音的命令。铃音订购请求携带请求订购的订购铃音的标识。A ringtone subscription request is a command for a user to request subscription ringtones. The ringtone subscription request carries the identifier of the subscription ringtone requested to be ordered.
步骤405:在根据所述铃音订购请求完成订购之后,判断所述铃音订购请求所订购的订购铃音是否同步至所述呼叫平台,若没有同步至所述呼叫平台,则执行步骤406,否则不处理;Step 405: After completing the ordering according to the ringtone ordering request, determine whether the ordered ringtone ordered by the ringtone ordering request is synchronized to the calling platform, and if not synchronized to the calling platform, perform
在一些实施例中,步骤405又可以为:向所述呼叫平台发送铃音查询命令,其中,所述铃音查询命令携带所述订购铃音的标识,当接收到所述呼叫平台根据所述铃音查询命令返回的第一查询应答命令时,确定所述订购铃音已同步至所述呼叫平台,其中,所述第一查询应答命令为呼叫平台在查询到自身存储有所述订购铃音时返回的命令,当接收到所述呼叫平台根据所述铃音查询命令返回的第二查询应答命令时,确定所述订购铃音没同步至所述呼叫平台,其中,所述第二查询应答命令为所述呼叫平台在查询到自身没有存储有所述订购铃音时返回的命令。In some embodiments,
在另一些实施例中,若在铃音管理平台侧对铃音进行同步或者未同步标记时,也可以通过查看订购铃音的标记来判断订购铃音是否同步至呼叫平台,具体的,步骤405又可以为:判断所述铃音订购请求所订购的订购铃音是否标记为同步;若是,则确定所述订购铃音已同步至所述呼叫平台;若否,则确定所述订购铃音未同步至所述呼叫平台。In other embodiments, if the ringtone is synchronized or not marked on the ringtone management platform, it can also be judged whether the ordered ringtone is synchronized to the calling platform by checking the mark of the ordered ringtone. Specifically, step 405 It can also be: judging whether the ordered ringtone ordered by the ringtone order request is marked as synchronized; if so, determine that the ordered ringtone has been synchronized to the calling platform; if not, determine that the ordered ringtone has not been Synchronized to the call platform.
步骤406:将所述订购铃音同步至所述呼叫平台;Step 406: Synchronize the order ringtone to the calling platform;
当订购铃音同步呼叫平台之后,呼叫平台存储上该订购铃音,当呼叫平台监测到其它用户呼叫该用户时,即可向其它用户播放该订购铃音,实现彩铃功能。After the subscription ring tone is synchronized to the calling platform, the calling platform stores the subscription ring tone, and when the calling platform detects that other users call the user, the subscription ring tone can be played to other users to realize the color ring tone function.
在本发明实施例中,当用户订购铃音时,铃音管理平台在确认到呼叫平台没存储有用户请求订购的订购铃音时才向呼叫平台同步订购铃音,而没有订购的铃音没有同步至呼叫平台,实现呼叫平台与铃音管理平台之间按需同步,大大降低呼叫平台所需要存储的铃音,从而降低呼叫平台对存储空间的需求。In this embodiment of the present invention, when a user orders a ringtone, the ringtone management platform synchronizes the ordering ringtone to the calling platform when it confirms that the calling platform does not store the ordered ringtone requested by the user, and the ringtone that has not been ordered does not Synchronize to the call platform, realize on-demand synchronization between the call platform and the ringtone management platform, greatly reduce the ringtones that the call platform needs to store, and thus reduce the call platform's demand for storage space.
请参阅图11,图11示出了本发明彩铃铃音同步的方法又一实施例的流程图,该方法应用于上述呼叫平台,方法包括:Please refer to FIG. 11. FIG. 11 shows a flowchart of another embodiment of a method for synchronizing CRBT tones according to the present invention. The method is applied to the above-mentioned calling platform, and the method includes:
步骤501:接收铃音管理平台发送的删除命令,其中,所述删除命令为所述铃音管理平台在确定已同步至呼叫平台的同步铃音不存在订购时发送的命令,所述删除命令携带所述同步铃音的标识;Step 501: Receive a deletion command sent by the ringtone management platform, wherein the deletion command is a command sent by the ringtone management platform when it is determined that there is no subscription to the synchronized ringtone that has been synchronized to the calling platform, and the deletion command carries the identifier of the synchronous ringtone;
步骤502:判断自身是否存储有所述同步铃音,若存在,执行步骤503,否则,执行步骤505;Step 502: Determine whether the synchronization ringtone is stored in itself, if so, go to
步骤503:删除自身所存储的所述同步铃音;Step 503: delete the synchronized ringtone stored by itself;
步骤504:在成功删除所述同步铃音后,向所述铃音管理平台返回删除确认命令;Step 504: After successfully deleting the synchronous ringtone, return a deletion confirmation command to the ringtone management platform;
步骤505:直接向所述铃音管理平台返回删除确认命令。Step 505: Directly return a deletion confirmation command to the ringtone management platform.
通过删除呼叫平台上不存在订购的同步铃音,可以避免呼叫平台存储有无用的铃音,浪费呼叫平台的存储空间的情况。By deleting the subscribed synchronous ringtones that do not exist on the calling platform, the situation that the calling platform stores useless ringtones and wastes the storage space of the calling platform can be avoided.
在一些实施例中,当用户在订购铃音时,铃音管理平台还可向呼叫平台发送铃音查询命令,以确定该用户所请求订购的订购铃音是否已经同步至呼叫平台。具体的,铃音管理平台向呼叫平台发送铃音查询命令,呼叫平台在接收到所述铃音管理平台发送的携带所述订购铃音的标识的铃音查询命令时,可根据所述铃音查询命令,查询自身是否存储有所述订购铃音,若存储有,则向所述铃音管理平台第一查询应答命令,若没有存储有,则向所述铃音管理平台第二查询应答命令。铃音管理平台根据呼叫平台的应答,确定订购铃音是否已同步至呼叫平台,若没有同步,则向呼叫平台发送该订购铃音,呼叫平台接收到该订购铃音,并且存储该订购铃音。In some embodiments, when the user is ordering ringtones, the ringtone management platform can also send a ringtone query command to the calling platform to determine whether the ringtone ordered by the user has been synchronized to the calling platform. Specifically, the ringtone management platform sends a ringtone query command to the calling platform, and when the calling platform receives the ringtone query command that carries the identifier of the ordered ringtone sent by the ringtone management platform, the Inquiry command, inquire whether the order ringtone is stored in itself, if it is stored, then the first query response command is sent to the ringtone management platform, and if it is not stored, the second query response command is sent to the ringtone management platform. . The ringtone management platform determines whether the ordering ringtone has been synchronized to the calling platform according to the response of the calling platform. If not, it sends the ordering ringtone to the calling platform, and the calling platform receives the ordering ringtone and stores the ordering ringtone. .
在本发明实施例中,当呼叫平台上的同步铃音当前不存在订购时,将该同步铃音进行删除,可以避免呼叫平台存储有无用的铃音,浪费呼叫平台的存储空间,实现呼叫平台与铃音管理平台之间按需同步,相对于,呼叫平台与铃音管理平台之间全量同步的方式,本实施例中呼叫平台存储的铃音更少,对于存储空间的要求更低。In the embodiment of the present invention, when there is currently no subscription for the synchronous ringtone on the calling platform, the synchronous ringtone is deleted, which can prevent the calling platform from storing useless ringtones, waste the storage space of the calling platform, and realize the realization of the calling platform. On-demand synchronization with the ringtone management platform, compared to the method of full synchronization between the call platform and the ringtone management platform, the calling platform in this embodiment stores fewer ringtones and requires lower storage space.
请参阅图12,图12示出了本发明彩铃铃音同步的方法再一实施例的流程图,本实施例与其它实施例不同之处在于,方法还包括:Please refer to FIG. 12. FIG. 12 shows a flowchart of another embodiment of the method for synchronizing CRBT tones according to the present invention. The difference between this embodiment and other embodiments is that the method further includes:
步骤506:监测访问呼叫平台上的铃音的访问进程;Step 506: monitor the access process of accessing the ringtone on the calling platform;
步骤507:当存在访问进程时,判断该访问进程是否为合法进程,若是,则执行步骤508,否则,执行步骤509;Step 507: when there is an access process, determine whether the access process is a legitimate process, if so, go to step 508, otherwise, go to step 509;
步骤508:呼叫平台允许该访问进程访问该铃音;Step 508: the calling platform allows the access process to access the ringtone;
步骤509:呼叫平台终止该访问进程,并且发出告警信息。Step 509: The calling platform terminates the access process and sends out alarm information.
在本发明实施例中,通过对呼叫平台上非法的访问进程进行屏蔽处理,可以很好地避免非法的访问进程执行非法操作,损坏呼叫平台上铃音,影响铃音播放的情况。In the embodiment of the present invention, by shielding the illegal access process on the calling platform, the illegal operation of the illegal access process can be well avoided, damaging the ringtone on the calling platform and affecting the playing of the ringtone.
请参阅图13,图13示出了本发明彩铃铃音同步的装置实施例的示意图,彩铃铃音同步的装置60包括获取模块601、第一判断模块602和发送模块603。Referring to FIG. 13 , FIG. 13 shows a schematic diagram of an embodiment of an apparatus for synchronizing CRBT tones according to the present invention. The apparatus 60 for synchronizing CRBT tones includes an acquiring module 601 , a first determining module 602 and a sending module 603 .
获取模块601用于获取已同步至呼叫平台的同步铃音。第一判断模块602用于判断所述同步铃音当前是否存在订购。发送模块603用于若没有存在订购,则向所述呼叫平台发送携带所述同步铃音标识的删除命令,以使所述呼叫平台删除自身所存储的所述同步铃音。The acquiring module 601 is configured to acquire the synchronized ringtones that have been synchronized to the calling platform. The first judging module 602 is used for judging whether the synchronization ringtone is currently subscribed. The sending module 603 is configured to send a delete command carrying the synchronous ring tone identifier to the calling platform if there is no subscription, so that the calling platform deletes the synchronous ring tone stored by itself.
进一步,彩铃铃音同步的装置60还包括第一接收模块604、标记模块605、第二接收模块606、第二判断模块607和同步模块608。第一接收模块604,用于接收所述呼叫平台在删除所述同步铃音之后返回的删除确认命令。标记模块605,用于根据所述删除确认命令,将自身存储的所述同步铃音标记为未同步。Further, the apparatus 60 for synchronizing CRBT tones further includes a first receiving module 604 , a marking module 605 , a second receiving module 606 , a second judging module 607 and a synchronization module 608 . The first receiving module 604 is configured to receive a deletion confirmation command returned by the calling platform after deleting the synchronous ringtone. The marking module 605 is configured to mark the synchronized ringtone stored by itself as unsynchronized according to the deletion confirmation command.
第二接收模块606,用于接收铃音订购请求。第二判断模块607,用于在根据所述铃音订购请求完成订购之后,判断所述铃音订购请求所订购的订购铃音是否同步至所述呼叫平台。同步模块608用于若没有同步至所述呼叫平台,则将所述订购铃音同步至所述呼叫平台。The second receiving module 606 is configured to receive a ringtone subscription request. The second judging module 607 is configured to judge whether the ordered ringtone ordered by the ringtone ordering request is synchronized to the calling platform after completing the ordering according to the ringtone ordering request. The synchronization module 608 is configured to synchronize the subscription ringtone to the call platform if not synchronized to the call platform.
在一些实施例中,第二判断模块607具体用于向所述呼叫平台发送铃音查询命令,其中,所述铃音查询命令携带所述订购铃音的标识;当接收到所述呼叫平台根据所述铃音查询命令返回的第一查询应答命令时,确定所述订购铃音已同步至所述呼叫平台,其中,所述第一查询应答命令为呼叫平台在查询到自身存储有所述订购铃音时返回的命令;当接收到所述呼叫平台根据所述铃音查询命令返回的第二查询应答命令时,确定所述订购铃音没同步至所述呼叫平台,其中,所述第二查询应答命令为所述呼叫平台在查询到自身没有存储有所述订购铃音时返回的命令。In some embodiments, the second judging module 607 is specifically configured to send a ringtone query command to the call platform, wherein the ringtone query command carries the identifier of the ordered ringtone; when receiving the call platform according to When the ring tone query command returns the first query response command, it is determined that the order ring tone has been synchronized to the call platform, wherein the first query response command is that the call platform has queried that the order has been stored in itself. When receiving the second query response command returned by the call platform according to the ring tone query command, it is determined that the order ring tone is not synchronized to the call platform, wherein the second The query response command is a command returned by the call platform when it finds that it does not store the ordered ringtone.
在一些实施例中,第二判断模块607又具体用于判断所述铃音订购请求所订购的订购铃音是否标记为同步;若是,则确定所述订购铃音已同步至所述呼叫平台;若否,则确定所述订购铃音未同步至所述呼叫平台。In some embodiments, the second judging module 607 is specifically configured to judge whether the ordered ringtone ordered by the ringtone order request is marked as synchronized; if so, determine that the ordered ringtone has been synchronized to the calling platform; If not, it is determined that the subscription ringtone is not synchronized to the call platform.
在本发明实施例中,在第一判断模块602判断到同步铃音当前不存在订购时,发送模块603向呼叫平台发送删除命令,以使呼叫平台删除自身上存储的该同步铃音,从而避免呼叫平台存储有无订购的铃音的情况,实现呼叫平台和铃音管理平台之间按需同步,相比于,呼叫平台与铃音管理平台之间全量同步的方式,本发明实施例中的呼叫平台存储的铃音更少,呼叫平台所耗费的存储空间更少,对存储空间的要求更低。In the embodiment of the present invention, when the first judging module 602 judges that there is currently no subscription for the synchronous ringtone, the sending module 603 sends a delete command to the calling platform, so that the calling platform deletes the synchronous ringtone stored on itself, thereby avoiding The calling platform stores the status of whether there are ordered ringtones, and realizes on-demand synchronization between the calling platform and the ringtone management platform. Compared with the full synchronization method between the calling platform and the ringtone management platform, the The calling platform stores fewer ringtones, and the calling platform consumes less storage space and requires less storage space.
请参阅图14,图14示出了本发明彩铃铃音同步的装置另一实施例的示意图,彩铃铃音同步的装置70包括第一接收模块701、第一判断模块702、删除模块703和第一返回模块704。Please refer to FIG. 14. FIG. 14 shows a schematic diagram of another embodiment of the apparatus for synchronizing CRBT tones according to the present invention. The apparatus 70 for synchronizing CRBT tones includes a first receiving module 701, a first judging module 702, a deleting module 703, and a first receiving module 701. A returns to block 704.
第一接收模块701,用于接收铃音管理平台发送的删除命令,其中,所述删除命令为所述铃音管理平台在确定已同步至呼叫平台的同步铃音不存在订购时发送的命令,所述删除命令携带所述同步铃音的标识。第一判断模块702用于判断自身是否存储有所述同步铃音。删除模块703,用于若存在,则删除自身所存储的所述同步铃音。第一返回模块704,用于在成功删除所述同步铃音后,向所述铃音管理平台返回删除确认命令,以及,若不存在,直接向所述铃音管理平台返回删除确认命令。The first receiving module 701 is configured to receive a deletion command sent by the ringtone management platform, wherein the deletion command is a command sent by the ringtone management platform when it is determined that the synchronous ringtone that has been synchronized to the calling platform does not have a subscription, The deletion command carries the identifier of the synchronous ringtone. The first judging module 702 is used for judging whether the synchronization ring tone is stored in itself. The deletion module 703 is configured to delete the synchronized ringtone stored by itself if it exists. The first returning module 704 is configured to return a deletion confirmation command to the ringtone management platform after successfully deleting the synchronized ringtone, and, if it does not exist, directly return a deletion confirmation command to the ringtone management platform.
进一步的,彩铃铃音同步的装置70还包括第二接收模块705、查询模块706、第二返回模块707、监测模块708、第二判断模块709和控制模块710。Further, the apparatus 70 for synchronizing CRBT tones further includes a second receiving module 705 , a query module 706 , a second returning module 707 , a monitoring module 708 , a second judging module 709 and a control module 710 .
第二接收模块705,用于接收所述铃音管理平台发送的铃音查询命令,其中,所述铃音查询命令携带所述订购铃音的标识。查询模块706,用于根据所述铃音查询命令,查询自身是否存储有所述订购铃音。第二返回模块707,用于若存储有,则向所述铃音管理平台第一查询应答命令,若没有存储有,则向所述铃音管理平台第二查询应答命令。The second receiving module 705 is configured to receive a ringtone query command sent by the ringtone management platform, wherein the ringtone query command carries the identifier of the ordered ringtone. The query module 706 is configured to query whether the subscription ringtone is stored in itself according to the ringtone query command. The second return module 707 is configured to first query the ring tone management platform for the answer command if stored, and secondly query the ring tone management platform for the answer command if not stored.
监测模块708,用于监测访问所述呼叫平台上的铃音的访问进程。第二判断模块709,用于当存在所述访问进程时,判断所述访问进程是否为合法进程。控制模块710,用于若为合法进程,则允许所述访问进程访问该铃音,若不为合法进程,则终止所述访问进程,并且发出告警信息。The monitoring module 708 is configured to monitor the access process of accessing the ringtone on the calling platform. The second judging module 709 is configured to judge whether the accessing process is a legal process when the accessing process exists. The control module 710 is configured to allow the access process to access the ring tone if it is a legal process, and terminate the access process if it is not a legal process, and issue an alarm message.
在本发明实施例中,当第一接收模块701接收到删除命令时,删除模块703删除所述删除命令指示的同步铃音,实现当呼叫平台上的同步铃音当前不存在订购时,将该同步铃音进行删除,可以避免呼叫平台存储有无用的铃音,浪费呼叫平台的存储空间,实现呼叫平台与铃音管理平台之间按需同步,相对于,呼叫平台与铃音管理平台之间全量同步的方式,本实施例中呼叫平台存储的铃音更少,对于存储空间的要求更低。In the embodiment of the present invention, when the first receiving module 701 receives the deletion command, the deletion module 703 deletes the synchronous ringtone indicated by the deletion command, so that when there is no subscription for the synchronous ringtone on the calling platform, the Deleting synchronous ringtones can prevent the call platform from storing useless ringtones, waste the storage space of the call platform, and realize on-demand synchronization between the call platform and the ringtone management platform. Compared with the call platform and the ringtone management platform In the method of full synchronization, in this embodiment, the calling platform stores fewer ringtones and requires lower storage space.
本申请实施例提供了一种计算机程序产品,包括可执行指令,当所述可执行指令在计算机上运行时,使得所述计算机可以执行上述任意方法实施例中的彩铃铃音同步的方法。The embodiments of the present application provide a computer program product, including executable instructions, when the executable instructions are run on a computer, the computer can execute the method for synchronizing CRBT tones in any of the above method embodiments.
本发明实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的彩铃铃音同步的方法。An embodiment of the present invention provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the method for synchronizing CRBT in any of the above method embodiments.
请参阅图15,图15示出了本发明铃音管理平台实施例的示意图。铃音管理平台80a包括处理器801a和收发器802a。收发器802a用于与呼叫平台进行通信。处理器801a用于执行上述应用于铃音管理平台侧的彩铃铃音同步的方法实施例中的步骤。Please refer to FIG. 15. FIG. 15 shows a schematic diagram of an embodiment of a ringtone management platform of the present invention. Ringtone management platform 80a includes processor 801a and transceiver 802a. The transceiver 802a is used to communicate with the call platform. The processor 801a is configured to execute the steps in the foregoing method embodiment of the method for synchronizing CRBT and ringtones applied to the side of the ringtone management platform.
请参阅图16,图16示出了本发明呼叫平台实施例的示意图。呼叫平台80b包括处理器801b和收发器802b。收发器802b用于与铃音管理平台进行通信。处理器801b用于执行上述应用于呼叫平台侧的彩铃铃音同步的方法实施例中的步骤。Please refer to FIG. 16. FIG. 16 shows a schematic diagram of an embodiment of a call platform of the present invention. The call platform 80b includes a processor 801b and a transceiver 802b. The transceiver 802b is used to communicate with the ringtone management platform. The processor 801b is configured to execute the steps in the foregoing method embodiment for CRBT tone synchronization applied to the calling platform side.
图17示出了本发明电子设备实施例的结构示意图,本发明具体实施例并不对该电子设备的具体实现做限定。FIG. 17 shows a schematic structural diagram of an embodiment of an electronic device of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
如图17所示,该电子设备可以包括:处理器(processor)902、通信接口(Communications Interface)904、存储器(memory)906、以及通信总线908。As shown in FIG. 17 , the electronic device may include: a processor (processor) 902 , a communication interface (Communications Interface) 904 , a memory (memory) 906 , and a
其中:处理器902、通信接口904、以及存储器906通过通信总线908完成相互间的通信。通信接口904,用于与其它设备比如客户端或其它服务器等的网元通信。处理器902,用于执行程序910,具体可以执行上述用于电子设备的图形绘制方法实施例中的相关步骤。The processor 902 , the
具体地,程序910可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the
处理器902可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。电子设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 902 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the electronic device may be the same type of processors, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器906,用于存放程序910。存储器906可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 906 is used to store the
程序910具体可以用于使得处理器902执行以下操作上述彩铃铃音同步的方法实施例中的步骤。The
在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, embodiments of the present invention are not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that, in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together into a single implementation in order to simplify the invention and to aid in the understanding of one or more of the various aspects of the invention. examples, figures, or descriptions thereof. This disclosure, however, should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, it will be understood by those skilled in the art that although some of the embodiments herein include certain features, but not others, included in other embodiments, that combinations of features of the different embodiments are intended to be within the scope of the present invention And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names. The steps in the above embodiments should not be construed as limitations on the execution order unless otherwise specified.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910380734.XACN111917921B (en) | 2019-05-08 | 2019-05-08 | Method for synchronizing CRBT and ringtone, ringtone management platform and calling platform |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910380734.XACN111917921B (en) | 2019-05-08 | 2019-05-08 | Method for synchronizing CRBT and ringtone, ringtone management platform and calling platform |
| Publication Number | Publication Date |
|---|---|
| CN111917921Atrue CN111917921A (en) | 2020-11-10 |
| CN111917921B CN111917921B (en) | 2021-11-02 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910380734.XAActiveCN111917921B (en) | 2019-05-08 | 2019-05-08 | Method for synchronizing CRBT and ringtone, ringtone management platform and calling platform |
| Country | Link |
|---|---|
| CN (1) | CN111917921B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050278794A1 (en)* | 2004-05-27 | 2005-12-15 | Nokia Corporation | Delivery of non-permanent media files to a mobile station |
| US20060259434A1 (en)* | 2005-02-09 | 2006-11-16 | Vilcauskas Andrew Jr | Ringtone distribution system |
| US20080167968A1 (en)* | 2007-01-07 | 2008-07-10 | Eddy Cue | Creating and Purchasing Ringtones |
| CN101374261A (en)* | 2007-08-22 | 2009-02-25 | 华为技术有限公司 | Method, system and related equipment for realizing ring tone playing |
| CN101600161A (en)* | 2008-06-05 | 2009-12-09 | 华为技术有限公司 | Method, device and system for providing customized ring tone |
| KR20100091743A (en)* | 2009-02-11 | 2010-08-19 | 배성철 | Phone bell sounds providing system and method in mobile communication value-added services |
| US20120309369A1 (en)* | 2009-10-21 | 2012-12-06 | Cellco Partnership D/B/A Verizon Wireless | Enabling a user to purchase a ring back tone |
| CN103297931A (en)* | 2012-02-27 | 2013-09-11 | 中国移动通信集团江苏有限公司 | Polyphonic ringtone realizing method and device |
| CN104717374A (en)* | 2013-12-13 | 2015-06-17 | 中国移动通信集团公司 | Realizing method, equipment and system for number one communication service and multimedia coloring ring back tone service |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050278794A1 (en)* | 2004-05-27 | 2005-12-15 | Nokia Corporation | Delivery of non-permanent media files to a mobile station |
| US20060259434A1 (en)* | 2005-02-09 | 2006-11-16 | Vilcauskas Andrew Jr | Ringtone distribution system |
| US20080167968A1 (en)* | 2007-01-07 | 2008-07-10 | Eddy Cue | Creating and Purchasing Ringtones |
| CN101374261A (en)* | 2007-08-22 | 2009-02-25 | 华为技术有限公司 | Method, system and related equipment for realizing ring tone playing |
| CN101600161A (en)* | 2008-06-05 | 2009-12-09 | 华为技术有限公司 | Method, device and system for providing customized ring tone |
| KR20100091743A (en)* | 2009-02-11 | 2010-08-19 | 배성철 | Phone bell sounds providing system and method in mobile communication value-added services |
| US20120309369A1 (en)* | 2009-10-21 | 2012-12-06 | Cellco Partnership D/B/A Verizon Wireless | Enabling a user to purchase a ring back tone |
| CN103297931A (en)* | 2012-02-27 | 2013-09-11 | 中国移动通信集团江苏有限公司 | Polyphonic ringtone realizing method and device |
| CN104717374A (en)* | 2013-12-13 | 2015-06-17 | 中国移动通信集团公司 | Realizing method, equipment and system for number one communication service and multimedia coloring ring back tone service |
| Publication number | Publication date |
|---|---|
| CN111917921B (en) | 2021-11-02 |
| Publication | Publication Date | Title |
|---|---|---|
| JP4495137B2 (en) | Service broker integration layer to support telecommunications client service requests | |
| US8600363B2 (en) | Synchronization in unified messaging systems | |
| US9602656B2 (en) | Method, apparatus and system for providing caller identification | |
| WO2009073637A2 (en) | Systems and methods for personal information management and contact picture synchronization and distribution | |
| JP4982139B2 (en) | Relay server and information providing system | |
| CN109040300A (en) | The method, apparatus and storage medium of PUSH message | |
| US20200304627A1 (en) | Incoming Voice Calling Method and Terminal | |
| JP2010268178A (en) | Telephone directory management system, and telephone directory management method | |
| JP2008193695A (en) | Communication method and system | |
| CN1972470A (en) | Acquisition and update method for setting information of individualized ring-back tone | |
| EP1780983B1 (en) | Service broker integration layer for supporting telecommunication client service requests | |
| CN107493312B (en) | Service calling method and device | |
| KR100981763B1 (en) | Method and apparatus for configuring caller identification multimedia contents | |
| CN109299048A (en) | The method for handling data and issuing data | |
| CN111917921B (en) | Method for synchronizing CRBT and ringtone, ringtone management platform and calling platform | |
| JP4419858B2 (en) | Voice message transmission system and program | |
| KR100562357B1 (en) | Blog service provision system and blog service provision method | |
| CN116781528A (en) | Dynamic route management method, device, equipment and storage medium | |
| CN109040311A (en) | The push processing method and device of information on services | |
| CN115022053A (en) | Method, apparatus and system for accessing a blockchain network | |
| CN106254493A (en) | The method of promotional content, server, device and system is shown when next/de-electrifying | |
| CN113743630A (en) | Method and device for executing intelligent call reservation | |
| CN107657458A (en) | List acquisition methods and device | |
| KR100597586B1 (en) | How to synchronize data using session management function | |
| JP2009177617A (en) | Communication terminal and server |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |