CN102710864B - Method for playing incoming call ringtone - Google Patents

Method for playing incoming call ringtone Download PDF

Info

Publication number
CN102710864B
CN102710864B CN 201210199010 CN201210199010A CN102710864B CN 102710864 B CN102710864 B CN 102710864B CN 201210199010 CN201210199010 CN 201210199010 CN 201210199010 A CN201210199010 A CN 201210199010A CN 102710864 B CN102710864 B CN 102710864B
Authority
CN
China
Prior art keywords
ringtones
id
contact
client
phone number
Prior art date
Application number
CN 201210199010
Other languages
Chinese (zh)
Other versions
CN102710864A (en
Inventor
于宏涛
逯致中
Original Assignee
重庆广典网络信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 重庆广典网络信息技术有限公司 filed Critical 重庆广典网络信息技术有限公司
Priority to CN 201210199010 priority Critical patent/CN102710864B/en
Priority claimed from PCT/CN2012/001246 external-priority patent/WO2013185266A1/en
Publication of CN102710864A publication Critical patent/CN102710864A/en
Application granted granted Critical
Publication of CN102710864B publication Critical patent/CN102710864B/en

Links

Abstract

本发明提供一种来电铃声播放的方法,各个手机用户通过服务器可以随意设置与自己的手机号码对应的来电铃声,然后服务器集中存储各个手机号码与来电铃声的对应关系;手机客户端可以集中从服务器中下载与其通讯录中各个手机号码对应的来电铃声。 The present invention provides a method of playing ringtones, each mobile phone user can freely set the ringing tone with their mobile phone number corresponding to the server, and the server storing the corresponding relationship between each concentration and the phone number of ringtones; mobile client from the server can be centralized various ringtones download mobile phone number corresponding to their address book. 因此,手机客户端不需要逐一为其通讯录中存储的各个手机号码设置来电铃声,从而简化了使用者的操作。 Accordingly, the mobile client does not need to individually address book stored in their respective mobile phone number provided ringtones, thereby simplifying the operation by the user. 而且,通过这种设置方式,手机客户端的通讯录中,各个联系人对应的来电铃声是由联系人本人设置的,而不是由手机客户端的使用者设置的,这样可以进一步维护联系人的权益,避免手机客户端的使用者随意为联系人设置来电铃声。 Moreover, by this arrangement, the mobile client contacts, each corresponding to the contact of ringtones is set by the contact themselves, rather than by the mobile client user settings, so you can further protect the interests of the contacts, avoid mobile client users are free to set ringtones for contacts.

Description

来电铃声播放的方法 Ringtones playback method

技术领域 FIELD

[0001] 本发明属于通信技术领域,具体涉及一种来电铃声播放的方法。 [0001] The present invention belongs to the field of communication technology, particularly relates to a method for playing ringtones.

背景技术 Background technique

[0002] 随着计算机技术的迅速发展,手机在人们日常使用中已不仅仅局限于打电话的功能,还为人们带来了许多娱乐功能。 [0002] With the rapid development of computer technology, mobile phones in people's daily use has not only limited phone features, but also brought a lot of entertainment for people.

[0003] 现有技术中,为增加手机使用的娱乐性,手机使用者通常为通讯录中存储的各个联系人设置对应的来电铃声,例如:通讯录中存储联系人A和联系人B,若手机使用者为联系人A设置的来电铃声为歌曲A,为联系人B设置的来电铃声为歌曲B,则当接收到联系人A打来的电话时,会收听到歌曲A。 [0003] In the prior art, is increased entertainment Mobile, the mobile phone user is generally provided corresponding to the ringing tone is stored in the address book various contacts, for example: the storage address book contacts A and B contacts, if mobile phone users as ringtones contact a set of songs a, B set as ringtones for contacts B songs, then when a receives a call from a contact, will listen to the song A. 通过这种设置方式,可以通过来电铃声方便的识别出主叫方,同时也增加了手机使用的娱乐性,提高了手机用户的使用体验。 By this arrangement, it is possible to facilitate the ringing tones to identify callers, while also increasing the recreational use of mobile phones, mobile phone users to enhance the experience.

[0004] 但是,在上述过程中,主要存在以下缺陷:由于手机使用者需要逐一为通讯录中存储的各个联系人分别设置来电铃声,因此加大了手机使用者的工作量。 [0004] However, in the above process, mainly the following disadvantages: Since the user needs a mobile phone contact list stored in each are provided one by one as ringtones, thus increasing the workload of the user's mobile phone.

发明内容 SUMMARY

[0005] 针对现有技术存在的缺陷,本发明提供一种来电铃声播放的方法,非常方便为手机通讯录中的各个联系人设置来电铃声,从而简化了手机使用者的操作。 [0005] for the drawbacks of the prior art, the present invention provides a method of playing the ringing tone, a ringing tone is very convenient to set the phone contacts each contact, thus simplifying the operation of the mobile phone users.

[0006] 本发明采用的技术方案如下: [0006] The present invention employs the following technical solutions:

[0007] 本发明提供一种来电铃声播放的方法,包括以下步骤: [0007] The present invention provides a method of playing ringtones, comprising the steps of:

[0008] SI,服务器建立并维护映射关系表和数据库;所述映射关系表用于存储已注册的手机号码与来电铃声ID的对应关系;所述数据库用于存储所述来电铃声ID与来电铃声文件的对应关系;其中,所述来电铃声ID与所述来电铃声文件一一对应; [0008] SI, establish and maintain the server and a database mapping table; the mapping relationship table for storing a correspondence relationship registered phone number and ID of ringtones; a database for storing the ringing tone with the ringing tone ID the correspondence relation file; wherein the ringing tone with the ringing tone document ID one to one;

[0009] S2,客户端设置通讯录,所述通讯录中存储一个以上联系人手机号码; [0009] S2, client settings contacts, the contacts stored in more than one contact phone number;

[0010] S3,当所述客户端注册所述服务器后,所述客户端判断自身是否为首次登录所述服务器;如果判断结果为是,则执行S4-S7 ; [0010] S3, after the client registers the server, the client determines whether it is the first login server; if the determination result is YES, S4-S7 is performed;

[0011] S4,所述客户端自动启动通讯录监测进程; [0011] S4, the address book client automatically start the monitoring process;

[0012] S5,所述通讯录监测进程查找所述服务器的映射关系表,判断所述映射关系表中是否存在与各个所述联系人手机号码对应的联系人来电铃声ID ;如果判断结果为是,则将所述联系人手机号码与所述联系人来电铃声ID的对应关系存储到所述通讯录中,得到新的通讯录; [0012] S5, the monitoring process contacts lookup table mapping the server, determines whether there is a mapping of each of the ID contact ringtones contact phone number corresponding to the table; if the determination result is YES , then the contact phone number corresponding relation with the contact ringtones ID is stored into the address book, to give a new address book;

[0013] 所述通讯录监测进程查找所述客户端的本地存储设备,判断所述本地存储设备中是否存在与所述联系人来电铃声ID对应的联系人来电铃声文件,如果不存在,则从所述服务器的所述数据库中获取与所述联系人来电铃声ID对应的联系人来电铃声文件,并将所述联系人来电铃声ID与所述联系人来电铃声文件的对应关系存储到所述本地存储设备; [0013] The contacts of the monitoring process to find the local storage device of the client, presence or absence of contact with the contacts corresponding to the ID ringtones ringtones file determines the local storage device, if there is, from the said database of said server acquires the ID contact corresponding contact ringtones ringtones file, the corresponding relationship and contact with the contact ringtones ringtones ID file stored in the local storage device;

[0014] S6,当所述客户端接收到一个来电呼叫时,所述客户端从所述来电呼叫中获取主叫方的电话号码;[0015] S7,所述客户端查找所述新的通讯录,判断所述新的通讯录中是否存储有与所述主叫方的电话号码对应的主叫方来电铃声ID ;如果判断结果为是,则获取所述主叫方来电铃声ID,并根据所述主叫方来电铃声ID查找所述本地存储设备,获取与所述主叫方来电铃声ID对应的主叫方来电铃声文件,并直接播放所述主叫方来电铃声文件。 [0014] S6, when the client receives an incoming call, the client acquires the telephone number of the caller from the incoming call; [0015] S7, the communication client to find the new recording, it is determined whether the new address book is stored with the calling party's telephone number corresponding to the ringing tone caller ID; when the determination result is yes, the caller is acquired ID ringing tone, and in accordance with the ringing tone caller ID to find the local storage device, acquiring the calling party ringing tone caller ID corresponding to the ringing tone file, and direct the caller playing the ringing tone file.

[0016] 优选的,SI具体为: [0016] preferably, SI specifically:

[0017] S11,对于已注册所述服务器的注册客户端,所述注册客户端向所述服务器发送访问请求,所述访问请求中携带有特定来电铃声文件以及所述注册客户端的手机号码; [0017] S11, have been registered for the registration of the server client, the client sends a registration request to the access server, the access request carries a specific ringing tone file and the phone number registered client;

[0018] S12,所述服务器查找所述数据库,判断所述数据库中是否已存储所述特定来电铃声文件,如果判断结果为是,则顺次执行S13和S15 ;如果判断结果为否,则顺次执行S14和S15 ; [0018] S12, the server searches the database, the database determines whether the specified file already stored the ringing tone, if the determination result is YES, S13 and S15 are sequentially executed; if the determination result is NO, the cis- execution of S14 and S15;

[0019] S13,所述服务器从所述数据库中获取与所述特定来电铃声文件对应的特定来电铃声ID ; [0019] S13, the server obtains the specific ringtones with specific ringtones ID corresponding to the file from the database;

[0020] S14,所述服务器为所述特定来电铃声文件定义唯一对应的特定来电铃声ID,并向所述数据库中存储所述特定来电铃声文件与所述特定来电铃声ID的对应关系; [0020] S14, the server of the specific ringing tone file to define a unique ID corresponding to a specific ringing tone, and a ringing tone specific corresponding relationship between the file of the specific ringing tone database stored in the ID;

[0021] S15,判断所述映射关系表中是否已存在与所述注册客户端的手机号码对应的原始来电铃声ID ;如果判断结果为否,则向所述映射关系表中增加所述注册客户端的手机号码与所述特定来电铃声ID的对应关系;如果判断结果为是,则进一步判断所述特定来电铃声ID是否与所述原始来电铃声ID相同,如果不相同,则用所述特定来电铃声ID更新所述原始来电铃声ID。 [0021] S15, determines whether the original mapping of the ID registration ringtones client phone number already exists in the corresponding relationship table; if the determination result is NO, then the mapping relationship table to increase the registered clients correspondence between the phone number and ID of the specific ringing tone; If the determination result is yes, further determines whether the specific ID ringtones ringtones the same as the original ID, if not identical, then the ID for the specific ringing tone updating the original ringing tone ID.

[0022] 优选的,SI还包括: [0022] preferably, SI further comprising:

[0023] S21,对于已注册所述服务器的注册客户端,所述服务器判断所述注册客户端是否已发送指定来电铃声文件;如果判断结果为否,则执行S22 ; [0023] S21, have been registered for the registration of the server client, the server side determines whether or not the client has registered the file to send the specified ringing tone; If the determination result is No, S22 is performed;

[0024] S22,为所述注册客户端的手机号码设置系统默认铃声文件以及用于唯一标识所述系统默认铃声文件的系统默认铃声ID,并向所述映射关系表中增加所述注册客户端的手机号码与所述系统默认铃声ID的对应关系;同时,进一步判断所述数据库中是否存储有所述系统默认铃声ID与所述系统默认铃声文件的对应关系,如果判断结果为否,则向所述数据库中增加所述系统默认铃声ID与所述系统默认铃声文件的对应关系。 [0024] S22, for the client's cell phone number to set the default ringtone file the registration system and the system used to uniquely identify the default system ringtone files default ringtone ID, the mapping table to increase the registered clients of the mobile phone number corresponding relationship with the system default ringtone ID; the same time, further determines whether the database is stored in the system default ringtone ID correspondence relationship with the system default ringtone file, if the determination result is NO, then to the increase the default database of the default ringtone ID correspondence relationship ringtone file.

[0025] 优选的,S3中,如果判断结果为否,则所述客户端的通讯录中已存储所述联系人手机号码与所述联系人来电铃声ID的对应关系,则直接执行S6-S7。 [0025] preferably, S3, if the determination result is NO, then the contact phone number stored corresponding relationship between the client address book with the contact of ID ringtones, executed directly S6-S7.

[0026] 优选的,S3中,如果判断结果为否,还包括: [0026] The preferred, S3, if the determination result is NO, further comprising:

[0027] S31,所述服务器获取所述客户端的通讯录中已存储的与所述联系人手机号码对应的联系人来电铃声ID ;以及 [0027] S31, the server acquires ID ringtones contact with the contact phone number corresponding to the client address book stored; and

[0028] S32,所述服务器获取所述映射关系表中已存储的所述联系人手机号码所对应的联系人来电铃声ID;其中,S32中的所述联系人手机号码与S31中的所述联系人手机号码为同一手机号码; [0028] S32, the server obtains the mapping table ID ringtones contacts stored in the phone number corresponding to the contact; wherein the contacts of the phone number and the S31 S32 in contact phone number is the same phone number;

[0029] S33,所述服务器判断S31获取的所述联系人来电铃声ID是否与S32获取的所述联系人来电铃声ID相同,如果判断结果为否,则向所述客户端推送S32获取的所述联系人来电铃声ID ; [0029] S33, S31 acquires the same server determines the ID is acquired ringtones contact with the contact ringtones ID S32, if the determination result is NO, then push the acquired S32 to the client said contact ringtones ID;

[0030] S34,所述客户端接收S32获取的所述联系人来电铃声ID,并用S32获取的所述联系人来电铃声ID更新所述通讯录中存储的相同联系人的联系人来电铃声ID ; [0030] S34, S32 acquires the client receives the ID contact ringtones, with S32 and acquires the contact ringtones ID updating the address book contacts ringtones ID stored in the same contact;

[0031] S35,所述客户端查找所述本地存储设备,判断所述本地存储设备中是否已存储与S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件,如果判断结果为否,则从所述服务器的所述数据库中下载与S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件,并将S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件存储到所述本地存储设备中。 [0031] S35, the client looks up the local storage device, determines whether or not the contact of the ringing tone corresponding to the ID file stored contacts ringtones and S32 the acquired local storage device, if the determination result is NO , from the database server downloading the ringing tone corresponding to the ID contact contacts with the ringing tone file acquired S32, S32 and acquires the ringing tone corresponding to the ID contact contacts file ringtones stored in the local storage device.

[0032] 优选的,S5之后,还包括: [0032] Preferably, after S5, further comprising:

[0033] 所述客户端将所述新的通讯录同步到所述服务器。 [0033] The client contacts the new synchronized to the server.

[0034] 优选的,S5之后,还包括: [0034] Preferably, after S5, further comprising:

[0035] S8,所述通讯录监测进程监测所述新的通讯录的变化情况,当监测到所述新的通讯录中增加新的联系人手机号码时,向所述服务器发送下载来电铃声文件的请求;其中,所述请求中携带有所述新的联系人手机号码; [0035] S8, the address book new monitoring process to monitor changes in the address book when monitoring the new address book to add a new contact phone number, to the server sending the file to download ringtones request; wherein the request carries the new contact phone number;

[0036] S9,所述服务器查找所述映射关系表,判断所述映射关系表中是否存在与所述新的联系人手机号码对应的来电铃声ID ;如果判断结果为是,则获取与所述新的联系人手机号码对应的来电铃声ID ; [0036] S9, the server searches the mapping table, the mapping is determined whether there is a new contact with the phone number of the ringing tone corresponding to the ID relationship table; if the determination result is yes, then obtaining the new contact phone number corresponding ringtones ID;

[0037] S10,所述服务器将与所述新的联系人手机号码对应的来电铃声ID发送给所述客户端; [0037] S10, the server with the new contact phone number corresponding to the ringing tone is sent to the client ID;

[0038] S11,所述客户端存储所述新的联系人手机号码以及与该新的联系人手机号码对应的来电铃声ID的对应关系。 [0038] S11, the client stores the new contact and the correspondence between the phone number corresponding to the new contact with the phone number of ringtones ID.

[0039] 优选的,Sll之后,还包括: [0039] Preferably, after Sll, further comprising:

[0040] S12,所述客户端判断所述本地存储设备中是否存储有与S9获取的所述来电铃声ID对应的来电铃声文件,如果判断结果为否,则执行S13 ; [0040] S12, the client determines whether or not the ringing tone is stored corresponding to the ID ringtones S9 file acquired by the local storage device, if the determination result is No, it proceeds to S13;

[0041] S13,所述客户端从所述服务器中下载与S9获取的所述来电铃声ID对应的来电铃声文件,并将与S9获取的所述来电铃声ID对应的来电铃声文件与S9获取的所述来电铃声ID的对应关系存储到所述本地存储设备中。 [0041] S13, the client from the server and downloading the acquired S9 ringtones ringtones file corresponding to the ID, and acquires the S9 ringtones ringtones corresponding to the ID acquired file S9 the correspondence of ringtones ID stored in said local storage device.

[0042] 优选的,所述新的通讯录中存储联系人姓名、联系人手机号码与联系人来电铃声ID的对应关系;S5之后,还包括: [0042] Preferably, the new address book stored in the contact name, contact phone number and the corresponding relationship between the contacts of ID ringtones; after S5, further comprising:

[0043] S12,所述通讯录监测进程监测所述新的通讯录的变化情况,当监测到所述新的通讯录中存在所述联系人姓名发生变化的情况时,将变化后的新的通讯录同步到所述服务器。 [0043] S12, the contacts of the new monitoring process to monitor changes in the address book, when detecting the presence of the new contact name in the address book changes, changes in the new Contacts to the synchronization server.

[0044] 本发明的有益效果如下: [0044] Advantageous effects of the present invention are as follows:

[0045] 本发明提供的来电铃声播放的方法,各个手机用户通过服务器可以随意设置与自己的手机号码对应的来电铃声,然后服务器集中存储各个手机号码与来电铃声的对应关系;手机客户端可以集中从服务器中下载与其通讯录中各个手机号码对应的来电铃声。 [0045] The method of ringtones played back by the present invention, each mobile phone user can freely set corresponding to their phone number ringing tone through the server, then the server centrally stored correspondences between the mobile phone number and the ringing tone; mobile client can concentrate downloaded from the server and its contacts in various mobile phone number corresponding ringtones. 因此,手机客户端不需要逐一为其通讯录中存储的各个手机号码设置来电铃声,从而简化了使用者的操作。 Accordingly, the mobile client does not need to individually address book stored in their respective mobile phone number provided ringtones, thereby simplifying the operation by the user.

附图说明 BRIEF DESCRIPTION

[0046] 图1为本发明提供的来电铃声播放的方法的流程示意图。 [0046] FIG 1 showing the method of the present invention provides ringing tone playback. 具体实施方式 Detailed ways

[0047] 以下结合附图对本发明提供的来电铃声播放的方法进行详细介绍: [0047] The following detailed description in conjunction with the accompanying drawings ringtones playback method of the present invention provides:

[0048] 如图1所示,本发明提供一种来电铃声播放的方法,包括以下步骤: [0048] As shown in FIG 1, the present invention provides a method of playing ringtones, comprising the steps of:

[0049] SI,服务器建立并维护映射关系表和数据库;所述映射关系表用于存储已注册的手机号码与来电铃声ID的对应关系;所述数据库用于存储所述来电铃声ID与来电铃声文件的对应关系;其中,所述来电铃声ID与所述来电铃声文件一一对应; [0049] SI, establish and maintain the server and a database mapping table; the mapping relationship table for storing a correspondence relationship registered phone number and ID of ringtones; a database for storing the ringing tone with the ringing tone ID the correspondence relation file; wherein the ringing tone with the ringing tone document ID one to one;

[0050] 本步骤中,映射关系表建立和维护的具体方式可以包括S11-S15或S21-S22两种情况,以下对这两种情况分别介绍: [0050] In this step, establishing and maintaining DETAILED mapping relationship table may comprise two cases S11-S15 or S21-S22, were introduced the following two situations:

[0051] 第一种情况:客户端向服务器更新来电铃声的情况,具体包括以下步骤: [0051] The first case: the case of ringtones client updates the server, comprises the steps of:

[0052] S11,对于已注册所述服务器的注册客户端,所述注册客户端向所述服务器发送访问请求,所述访问请求中携带有特定来电铃声文件以及所述注册客户端的手机号码; [0052] S11, have been registered for the registration of the server client, the client sends a registration request to the access server, the access request carries a specific ringing tone file and the phone number registered client;

[0053] S12,所述服务器查找所述数据库,判断所述数据库中是否已存储所述特定来电铃声文件,如果判断结果为是,则顺次执行S13和S15 ;如果判断结果为否,则顺次执行S14和S15 ; [0053] S12, the server searches the database, the database determines whether the specified file already stored the ringing tone, if the determination result is YES, S13 and S15 are sequentially executed; if the determination result is NO, the cis- execution of S14 and S15;

[0054] S 13,所述服务器从所述数据库中获取与所述特定来电铃声文件对应的特定来电铃声ID ; [0054] S 13, the server obtains the specific ringtones with specific ringtones ID corresponding to the file from the database;

[0055] S14,所述服务器为所述特定来电铃声文件定义唯一对应的特定来电铃声ID,并向所述数据库中存储所述特定来电铃声文件与所述特定来电铃声ID的对应关系; [0055] S14, the server of the specific ringing tone file to define a unique ID corresponding to a specific ringing tone, and a ringing tone specific corresponding relationship between the file of the specific ringing tone database stored in the ID;

[0056] S15,判断所述映射关系表中是否已存在与所述注册客户端的手机号码对应的原始来电铃声ID ;如果判断结果为否,则向所述映射关系表中增加所述注册客户端的手机号码与所述特定来电铃声ID的对应关系;如果判断结果为是,则进一步判断所述特定来电铃声ID是否与所述原始来电铃声ID相同,如果不相同,则用所述特定来电铃声ID更新所述原始来电铃声ID。 [0056] S15, determines whether the original mapping of the ID registration ringtones client phone number already exists in the corresponding relationship table; if the determination result is NO, then the mapping relationship table to increase the registered clients correspondence between the phone number and ID of the specific ringing tone; If the determination result is yes, further determines whether the specific ID ringtones ringtones the same as the original ID, if not identical, then the ID for the specific ringing tone updating the original ringing tone ID.

[0057] 第二种情况,服务器向未设定来电铃声的客户端设置默认来电铃声的情况,具体包括以下步骤: [0057] The second case, the server is not set ringtones client default setting of ringtones, includes the following steps:

[0058] S21,对于已注册所述服务器的注册客户端,所述服务器判断所述注册客户端是否已发送指定来电铃声文件;如果判断结果为否,则执行S22 ; [0058] S21, have been registered for the registration of the server client, the server side determines whether or not the client has registered the file to send the specified ringing tone; If the determination result is No, S22 is performed;

[0059] S22,为所述注册客户端的手机号码设置系统默认铃声文件以及用于唯一标识所述系统默认铃声文件的系统默认铃声ID,并向所述映射关系表中增加所述注册客户端的手机号码与所述系统默认铃声ID的对应关系;同时,进一步判断所述数据库中是否存储有所述系统默认铃声ID与所述系统默认铃声文件的对应关系,如果判断结果为否,则向所述数据库中增加所述系统默认铃声ID与所述系统默认铃声文件的对应关系。 [0059] S22, for the client's cell phone number to set the default ringtone file the registration system and the system used to uniquely identify the default system ringtone files default ringtone ID, the mapping table to increase the registered clients of the mobile phone number corresponding relationship with the system default ringtone ID; the same time, further determines whether the database is stored in the system default ringtone ID correspondence relationship with the system default ringtone file, if the determination result is NO, then to the increase the default database of the default ringtone ID correspondence relationship ringtone file.

[0060] 通过上述两种情况,实现了对于注册客户端,一定会存在与其对应的来电铃声文件,来电铃声文件可以为用户指定的来电铃声文件,也可以为系统默认来电铃声文件。 [0060] Through the above two cases, to achieve the registered clients, will present the corresponding file ringtones, ringtones file can be specified for user ringtones file, the file may be the default ringing tone for the system.

[0061] 需要说明的是,本步骤中,服务器建立的映射关系表和数据库是通过来电铃声ID相关联的,该种做法的主要优点在于:由于映射关系表中存储有多个手机号码,实际使用中,常常存在若干个手机号码设定同一个来电铃声文件的情况,所以,如果映射关系表直接存储各个手机号码与来电铃声文件的对应关系,会存在同一个来电铃声文件被存储多次的情况,而由于来电铃声文件较大,所以,会占用较多的存储空间,系统冗余度较大;因此,本发明中,映射关系表只存储电话号码与来电铃声ID的对应关系,而在数据库中存储来电铃声ID与来电铃声文件的对应关系,由于来电铃声ID远小于来电铃声文件,而对于同一个来电铃声文件,其在数据库中只会被存储一次,所以,有效的节省了服务器的存储空间,降低了系统的冗余度。 [0061] Incidentally, in this step, the server establishes a mapping between database tables are ringing tones and associated with the ID, the main advantage of this kind of approach is that: since the mapping relationship table stores a plurality of phone numbers, the actual in use, often there are several phone numbers set to the same case of the ringing tone file, so if a direct mapping relationship table stored correspondence relationship with the respective phone number ringtones file, there will be the same ringing tone file is stored in a plurality of times case, the ringing tone due to the large file, it will take up more storage space, a large redundancy system; therefore, the present invention, only a mapping table storing the corresponding relationship between the telephone number and ID of ringtones, in stores correspondence between the ringing tone and ringing tone file ID in the database, since the ringing tone file ID is much smaller than the ringing tone, and a ringing tone for the same file, which is stored only once in the database, effectively saving server storage space, reducing the redundancy of the system.

[0062] 基于同样的原理,本发明中,在客户端设置的通讯录中存储联系人来电铃声ID与联系人电话号码的对应关系,而与本地存储设备中存储联系人来电铃声ID与联系人来电铃声文件的对应关系,通讯录和本地存储设备也是通过联系人来电铃声ID相关联的。 [0062] Based on the same principle, the present invention, the client contacts provided corresponding relationship storage ringtones contact with the contact phone number ID, and the local storage device, the contact with the contact ID ringtones correspondence, contacts, and the local storage file ringing tone is a ringing tone associated with the ID contacts through.

[0063] S2,客户端设置通讯录,所述通讯录中存储一个以上联系人手机号码; [0063] S2, client settings contacts, the contacts stored in more than one contact phone number;

[0064] 当然,通讯录中除存储联系人手机号码外,也可以同时存储各个联系人手机号码对应的家庭住址、姓名或工作单位等其他信息,本发明对此并不限制。 [0064] Of course, in addition to contacts stored in the address book phone numbers, and other information can each contact phone number corresponding to the home address, name or work units stored at the same time, the present invention is not limited to this.

[0065] S3,当所述客户端注册所述服务器后,所述客户端判断自身是否为首次登录所述服务器;如果判断结果为是,则表明客户端还没有从服务器下载通讯录中各联系人的来电铃声文件,因此执行S4-S7 ;如果判断结果为否,则所述客户端的通讯录中已存储所述联系人手机号码与所述联系人来电铃声ID的对应关系,则直接执行S6-S7。 [0065] S3, when the client registers the server, the client determines whether it is the first time logging in the server; if the result is positive, it indicates that the client has not been downloaded from the server contacts each contact al ringtones file, S4-S7 executed; if the determination result is NO, the stored corresponding relationship between the contact phone number of the client address book with the contact of ID ringtones, executed directly S6 -S7.

[0066] 本步骤中,如果判断结果为否,还包括: [0066] In this step, if the determination result is NO, further comprising:

[0067] S31,所述服务器获取所述客户端的通讯录中已存储的与所述联系人手机号码对应的联系人来电铃声ID ;以及 [0067] S31, the server acquires ID ringtones contact with the contact phone number corresponding to the client address book stored; and

[0068] S32,所述服务器获取所述映射关系表中已存储的所述联系人手机号码所对应的联系人来电铃声ID;其中,S32中的所述联系人手机号码与S31中的所述联系人手机号码为同一手机号码; [0068] S32, the server obtains the mapping table ID ringtones contacts stored in the phone number corresponding to the contact; wherein the contacts of the phone number and the S31 S32 in contact phone number is the same phone number;

[0069] S33,所述服务器判断S31获取的所述联系人来电铃声ID是否与S32获取的所述联系人来电铃声ID相同,如果判断结果为否,则向所述客户端推送S32获取的所述联系人来电铃声ID ; [0069] S33, S31 acquires the same server determines the ID is acquired ringtones contact with the contact ringtones ID S32, if the determination result is NO, then push the acquired S32 to the client said contact ringtones ID;

[0070] S34,所述客户端接收S32获取的所述联系人来电铃声ID,并用S32获取的所述联系人来电铃声ID更新所述通讯录中存储的相同联系人的联系人来电铃声ID ; [0070] S34, S32 acquires the client receives the ID contact ringtones, with S32 and acquires the contact ringtones ID updating the address book contacts ringtones ID stored in the same contact;

[0071] S35,所述客户端查找所述本地存储设备,判断所述本地存储设备中是否已存储与S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件,如果判断结果为否,则从所述服务器的所述数据库中下载与S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件,并将S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件存储到所述本地存储设备中。 [0071] S35, the client looks up the local storage device, determines whether or not the contact of the ringing tone corresponding to the ID file stored contacts ringtones and S32 the acquired local storage device, if the determination result is NO , from the database server downloading the ringing tone corresponding to the ID contact contacts with the ringing tone file acquired S32, S32 and acquires the ringing tone corresponding to the ID contact contacts file ringtones stored in the local storage device.

[0072] 通过这种方式,可以及时对客户端中存储的各个来电铃声进行更新。 [0072], in time for each ringing tone is stored in the client are updated in this way.

[0073] S4,所述客户端自动启动通讯录监测进程; [0073] S4, the address book client automatically start the monitoring process;

[0074] S5,所述通讯录监测进程查找所述服务器的映射关系表,判断所述映射关系表中是否存在与各个所述联系人手机号码对应的联系人来电铃声ID ;如果判断结果为是,则将所述联系人手机号码与所述联系人来电铃声ID的对应关系存储到所述通讯录中,得到新的通讯录; [0074] S5, the monitoring process contacts lookup table mapping the server, determines whether there is a mapping of each of the ID contact ringtones contact phone number corresponding to the table; if the determination result is YES , then the contact phone number corresponding relation with the contact ringtones ID is stored into the address book, to give a new address book;

[0075] 所述通讯录监测进程查找所述客户端的本地存储设备,判断所述本地存储设备中是否存在与所述联系人来电铃声ID对应的联系人来电铃声文件,如果不存在,则从所述服务器的所述数据库中获取与所述联系人来电铃声ID对应的联系人来电铃声文件,并将所述联系人来电铃声ID与所述联系人来电铃声文件的对应关系存储到所述本地存储设备; [0075] The contacts of the monitoring process to find the local storage device of the client, presence or absence of contact with the contacts corresponding to the ID ringtones ringtones file determines the local storage device, if there is, from the said database of said server acquires the ID contact corresponding contact ringtones ringtones file, the corresponding relationship and contact with the contact ringtones ringtones ID file stored in the local storage device;

[0076] 得到的新的通讯录中,存储联系人手机号码与联系人来电铃声ID的对应关系,而且,联系人来电铃声ID是由服务器集中推送的,而不是由客户端手动逐一设置的,从而简化了使用者的操作。 [0076] The obtained new contacts, a contact phone number stored corresponding relationship between the ID contact ringtones, and, by contact ringtones ID centralized server push, rather than one by one manually set by the client, and thereby simplifying the operation by the user. 而且,通过这种设置方式,手机客户端的通讯录中,各个联系人对应的联系人来电铃声ID是由联系人本人设置的,而不是由手机客户端的使用者设置的,这样可以进一步维护联系人的权益,避免手机客户端的使用者随意为联系人设置联系人来电铃声。 Further, by this arrangement, the mobile client contacts, each contact corresponding contact ringtones ID set by the contact I, rather than by the mobile client set by the user, which may further maintain contact rights to prevent users from mobile client are free to set contact ringtones to contacts.

[0077] 当然,为了增加客户端的冗余性,在得到新的通讯录后,客户端也可以将新的通讯录同步到所述服务器中,也同时由服务器存储新的通讯录。 [0077] Of course, in order to increase the redundancy of the client, after obtaining the new contacts, new clients may be synchronized to the address book server, the server also stores the new address book.

[0078] 另外,在得到上述新的通讯录之后,客户端使用者也有可能会进一步修改这个新的通讯录,具体修改方式存在两种: [0078] Further, after obtaining the new address book, the client user may also be further modified the new address book, there are two specific modifications:

[0079] 第一种,新的通讯录中增加新的联系人手机号码; [0079] The first, new contacts add new contact phone number;

[0080] 对于这种情况的处理方式为:S8,所述通讯录监测进程监测所述新的通讯录的变化情况,当监测到所述新的通讯录中增加新的联系人手机号码时,向所述服务器发送下载来电铃声文件的请求;其中,所述请求中携带有所述新的联系人手机号码;S9,所述服务器查找所述映射关系表,判断所述映射关系表中是否存在与所述新的联系人手机号码对应的来电铃声ID ;如果判断结果为是,则获取与所述新的联系人手机号码对应的来电铃声ID ;S10,所述服务器将与所述新的联系人手机号码对应的来电铃声ID发送给所述客户端;S11,所述客户端存储所述新的联系人手机号码以及与该新的联系人手机号码对应的来电铃声ID的对应关系。 [0080] For the treatment of this case is: S8, the address book of the new monitoring process to monitor changes in the address book, when the monitored new contacts added to the new contact phone number, send a request to the server to download ringtones file; wherein the request carries the new contact phone number; S9, the server looks up the mapping table, the mapping table to determine whether there the new contact with the phone number corresponding to the ringing tone ID; when the determination result is YES, obtaining the new contact with the phone number corresponding to the ringing tone ID; S10, a new server will contact the phone number corresponding to the person ringing tone is sent to the client ID; corresponding relation S11, the client stores the new contact with the phone number and new phone number corresponding contacts ID of ringtones. Sll之后,还包括:S12,所述客户端判断所述本地存储设备中是否存储有与S9获取的所述来电铃声ID对应的来电铃声文件,如果判断结果为否,则执行S13 ;S13,所述客户端从所述服务器中下载与S9获取的所述来电铃声ID对应的来电铃声文件,并将与S9获取的所述来电铃声ID对应的来电铃声文件与S9获取的所述来电铃声ID的对应关系存储到所述本地存储设备中。 After the SLL, further comprising: S12, the client determines whether the local storage device is stored corresponding to the ID of the ringing tone with the ringing tone file acquired S9, if the determination result is No, proceed to S13; S13, the said client downloads and S9 acquired from the server ID corresponding to the ringing tone ringing tone file and S9 to acquire the ID corresponding to the ringing tone with the ringing tone file S9 obtain the ID of ringtones the correspondence relationship stored in the local storage device.

[0081] 第二种,新的通讯录中存在联系人姓名发生变化等情况; [0081] Second, there is a new address book contact name changes in circumstances occur such as;

[0082] 对于这种情况的处理方式为:S12,所述通讯录监测进程监测所述新的通讯录的变化情况,当监测到所述新的通讯录中存在所述联系人姓名发生变化的情况时,将变化后的新的通讯录同步到所述服务器。 [0082] For the treatment in this case is: S12, the monitoring process to monitor the contacts on the new changes in the address book, the name of the contact there is a change occurs when said monitored address book in the new when the case, a new address book synchronized after the change to the server.

[0083] S6,当所述客户端接收到一个来电呼叫时,所述客户端从所述来电呼叫中获取主叫方的电话号码; [0083] S6, when the client receives an incoming call, the client acquires the caller's phone number from the incoming call;

[0084] S7,所述客户端查找所述新的通讯录,判断所述新的通讯录中是否存储有与所述主叫方的电话号码对应的主叫方来电铃声ID ;如果判断结果为是,则获取所述主叫方来电铃声ID,并根据所述主叫方来电铃声ID查找所述本地存储设备,获取与所述主叫方来电铃声ID对应的主叫方来电铃声文件,并直接播放所述主叫方来电铃声文件。 [0084] S7, the client list in the new look, determining whether the new address book is stored with the calling party's telephone number corresponding to the ringing tone caller ID; when the determination result is that the caller is acquired ringtones ID, and searching the local storage device according to the ringing tone caller ID, acquires the caller ID corresponding to the ringing tone caller ringtones file, and the calling party directly play a ringing tone file.

[0085] 综上所述,本发明提供的来电铃声播放的方法,各个手机用户通过服务器可以随意设置与自己的手机号码对应的来电铃声,然后服务器集中存储各个手机号码与来电铃声的对应关系;手机客户端可以集中从服务器中下载与其通讯录中各个手机号码对应的来电铃声。 [0085] In summary, the present invention provides a method of ringtones played, each mobile phone user can arbitrarily set the own phone number corresponding to the ringing tone through the server, the server then stores the correspondences between the focus and the phone number of ringtones; mobile client can be downloaded from the centralized server, each with its contacts in the phone number corresponding ringtones. 因此,手机客户端不需要逐一为其通讯录中存储的各个手机号码设置来电铃声,从而简化了使用者的操作。 Accordingly, the mobile client does not need to individually address book stored in their respective mobile phone number provided ringtones, thereby simplifying the operation by the user.

[0086] 而且,通过这种设置方式,手机客户端的通讯录中,各个联系人对应的来电铃声是由联系人本人设置的,而不是由手机客户端的使用者设置的,这样可以进一步维护联系人的权益,避免手机客户端的使用者随意为联系人设置来电铃声。 [0086] Further, by this arrangement, the mobile client contacts, each corresponding to the contact by the contact I ringtones set, not by the mobile client set by the user, which may further maintain contact rights to prevent users from mobile client are free to set ringtones for contacts.

[0087] 以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视本发明的保护范围。 [0087] The above are only preferred embodiments of the present invention, it should be noted that those of ordinary skill in the art, in the present invention without departing from the principles of the premise, can make various improvements and modifications, such modifications and modifications should also depend on the scope of the present invention.

Claims (8)

1.一种来电铃声播放的方法,其特征在于,包括以下步骤: Si,服务器建立并维护映射关系表和数据库;所述映射关系表用于存储已注册的手机号码与来电铃声ID的对应关系;所述数据库用于存储所述来电铃声ID与来电铃声文件的对应关系;其中,所述来电铃声ID与所述来电铃声文件一一对应; S2,客户端设置通讯录,所述通讯录中存储一个以上联系人手机号码; S3,当所述客户端注册所述服务器后,所述客户端判断自身是否为首次登录所述服务器;如果判断结果为是,则执行S4-S7 ; S4,所述客户端自动启动通讯录监测进程; S5,所述通讯录监测进程查找所述服务器的映射关系表,判断所述映射关系表中是否存在与各个所述联系人手机号码对应的联系人来电铃声ID ;如果判断结果为是,则将所述联系人手机号码与所述联系人来电铃声ID的对应关系存储到 1. A method of playing ringtones, characterized by comprising the steps of: Si, to establish and maintain the server and a database mapping table; the mapping relationship table for storing a correspondence relationship registered phone number and ID of ringtones ; a database for storing a correspondence relationship of the ringing tone with the ringing tone file ID; wherein the ringing tone with the ringing tone file ID correspondence; S2, client settings contacts, said contacts store more than one contact phone number; S3, when the client registers the server, the client determines whether it is the first time logging in the server; if the result is positive, the S4-S7 executed; S4, the said client address book automatically start the monitoring process; S5, the monitoring process contacts lookup table mapping the server, determines whether there is a mapping of each of said contact ringtones contact phone number corresponding relationship table ID; if the determination result is yes, then the phone number of the contact with the contact correspondence relationship is stored in the ID ringtones 述通讯录中,得到新的通讯录; 所述通讯录监测进程查找所述客户端的本地存储设备,判断所述本地存储设备中是否存在与所述联系人来电铃声ID对应的联系人来电铃声文件,如果不存在,则从所述服务器的所述数据库中获取与所述联系人来电铃声ID对应的联系人来电铃声文件,并将所述联系人来电铃声ID与所述联系人来电铃声文件的对应关系存储到所述本地存储设备; S6,当所述客户端接收到一个来电呼叫时,所述客户端从所述来电呼叫中获取主叫方的电话号码; S7,所述客户端查找所述新的通讯录,判断所述新的通讯录中是否存储有与所述主叫方的电话号码对应的主叫方来电铃声ID ;如果判断结果为是,则获取所述主叫方来电铃声ID,并根据所述主叫方来电铃声ID查找所述本地存储设备,获取与所述主叫方来电铃声ID对应的主叫方来电铃声文件, He said contacts, to give a new address book; monitoring process to find the address book of the client local storage device, to determine whether the local storage device is present in contact with the corresponding contact ringtones ID file ringtones If not present, from the database server acquires the ID contact corresponding contact ringtones ringtones file, and the contact with the contact ringtones ID file ringtones the correspondence relationship stored in the local storage device; S6, when the client receives an incoming call, the client acquires the telephone number of the caller from the incoming call; S7, the lookup of the client said new contacts, determines whether the calling party is stored with the telephone number of the caller ID of the new ringtones contacts; if the determination result is yes, the caller is acquired ringtones ID, and find the local storage device according to the ringing tone caller ID, acquires the caller ID corresponding to the ringing tone caller ringtones file, 并`接播放所述主叫方来电铃声文件; S5之后,还包括: S8,所述通讯录监测进程监测所述新的通讯录的变化情况,当监测到所述新的通讯录中增加新的联系人手机号码时,向所述服务器发送下载来电铃声文件的请求;其中,所述请求中携带有所述新的联系人手机号码; S9,所述服务器查找所述映射关系表,判断所述映射关系表中是否存在与所述新的联系人手机号码对应的来电铃声ID ;如果判断结果为是,则获取与所述新的联系人手机号码对应的来电铃声ID ; S10,所述服务器将与所述新的联系人手机号码对应的来电铃声ID发送给所述客户端; S11,所述客户端存储所述新的联系人手机号码以及与该新的联系人手机号码对应的来电铃声ID的对应关系。 'And then displays the calling party ringing tone file; after S5, further comprising: S8, the contacts of the new monitoring process to monitor changes in the address book, when the new monitor to add new contacts when the contact phone number, the server sends a request to download ringtones file; wherein, the request carries the new contact phone number; S9, the server searches the mapping table, determines the whether there is a new contact with the phone number corresponding to said ID ringing tone mapping relationship table; if the determination result is yes, obtaining the new contact with the phone number corresponding to the ringing tone ID; S10, the server the new contact with the phone number of the ringing tone corresponding to the ID to the client; S11, the client stores the new contact with the phone number, and contact phone number corresponding to the new ringtones the correspondence relationship ID.
2.根据权利要求1所述的来电铃声播放的方法,其特征在于,SI具体为: S11,对于已注册所述服务器的注册客户端,所述注册客户端向所述服务器发送访问请求,所述访问请求中携带有特定来电铃声文件以及所述注册客户端的手机号码;S12,所述服务器查找所述数据库,判断所述数据库中是否已存储所述特定来电铃声文件,如果判断结果为是,则顺次执行S13和S15 ;如果判断结果为否,则顺次执行S14和S15 ;S13,所述服务器从所述数据库中获取与所述特定来电铃声文件对应的特定来电铃声ID ; S14,所述服务器为所述特定来电铃声文件定义唯一对应的特定来电铃声ID,并向所述数据库中存储所述特定来电铃声文件与所述特定来电铃声ID的对应关系; S15,判断所述映射关系表中是否已存在与所述注册客户端的手机号码对应的原始来电铃声ID ;如果判断结果为否 2. The method of ringtones played according to claim 1, characterized in that, the SI Specifically: S11, the registration for the registered client-server, the client sends registration request to the access server, the said access request specific ringing tone file and the phone number registered client; S12, the server searches the database, the database determines whether the specified file already stored the ringing tone, if the determination result is yes, S13 and S15 are sequentially executed; if the determination result is No, S14 and S15 are executed sequentially; S13, acquires the server ID corresponding to a specific ringing tone with the ringing tone specific files from the database; S14, the said server to said specific ringing tone file to define a unique ID corresponding to a specific ringing tone, stored in the database and the relationship between specific ringing tone file corresponding to the specific ID of the ringing tone; S15, determines the mapping relationship table whether the original ringing tone client ID registered with the corresponding phone number already exists; if the determination result is NO 则向所述映射关系表中增加所述注册客户端的手机号码与所述特定来电铃声ID的对应关系;如果判断结果为是,则进一步判断所述特定来电铃声ID是否与所述原始来电铃声ID相同,如果不相同,则用所述特定来电铃声ID更新所述原始来电铃声ID。 Increase the client phone number registered corresponding relationship between the ID specific to the ringing tone mapping relationship table; if the determination result is yes, further determining whether the specific ID of the original call tone ID ringtones the same, if not identical, with the specific ringtones ringtones ID updating the original ID.
3.根据权利要求1所述的来电铃声播放的方法,其特征在于,SI还包括: S21,对于已注册所述服务器的注册客户端,所述服务器判断所述注册客户端是否已发送指定来电铃声文件;如果判断结果为否,则执行S22 ; S22,为所述注册客户端的手机号码设置系统默认铃声文件以及用于唯一标识所述系统默认铃声文件的系统默认铃声ID,并向所述映射关系表中增加所述注册客户端的手机号码与所述系统默认铃声ID的对应关系;同时,进一步判断所述数据库中是否存储有所述系统默认铃声ID与所述系统默认铃声文件的对应关系,如果判断结果为否,则向所述数据库中增加所述系统默认铃声ID与所述系统默认铃声文件的对应关系。 3. The method of claim play ringtones, characterized in that, the SI further comprising: S21, the registered client-server registered, the registration server determines whether the client has sent a call to the specified ringtone files; if the result is negative, then execution S22; S22, to the client's mobile phone number registered to set default ringtone file system and the system used to uniquely identify the default system ringtone files default ringtone ID, and the mapping table increase the client phone number registered with the system default ringtone ID correspondence relationship; the same time, further determines whether the database is stored in the system default ringtone ID correspondence relationship with the system default ringtone file, If the determination result is NO, the system is increased with the system default ringtone ID default ringtone files corresponding relationship to the database.
4.根据权利要求1所述的来电铃声播放的方法,其特征在于,S3中,如果判断结果为否,则所述客户端的通讯录中已存储所述联系人手机号码与所述联系人来电铃声ID的对应关系,则直接执行S6-S7。 4. The method of ringtones played according to claim 1, characterized in that, S3, if the determination result is NO, then the client contacts stored in the contact with the contact phone number call the corresponding relationship between ID ringtones, executed directly S6-S7.
5.根据权利要求4所述的来电铃声播放的方法,其特征在于,S3中,如果判断结果为否,还包括: S31,所述服务器获取所述客户端的通讯录中已存储的与所述联系人手机号码对应的联系人来电铃声ID ;以及S32,所述服务器获取所述映射关系表中已存储的所述联系人手机号码所对应的联系人来电铃声ID ;其中,S32中的所述联系人手机号码与S31中的所述联系人手机号码为同一手机号码; S33,所述服务器判断S31获取的所述联系人来电铃声ID是否与S32获取的所述联系人来电铃声ID相同,如果判断结果为否,则向所述客户端推送S32获取的所述联系人来电铃声ID ; S34,所述客户端接收S32获取的所述联系人来电铃声ID,并用S32获取的所述联系人来电铃声ID更新所述通讯录中存储的相同联系人的联系人来电铃声ID ; S35,所述客户端查找所述本地存储设备,判断所述本地存 5. The method of ringtones played according to claim 4, characterized in that, S3, if the determination result is NO, further comprising: S31, the server acquires the client address book stored contact phone number corresponding to the ID contact ringtones; and S32, the server retrieves the ID contact ringing tone mapping relationship table stored in the phone number corresponding to the contact; wherein, in the S32 S31 in contact with the mobile phone number of the contact phone number for the same phone number; S33, S31 acquires the same server determines the ID is acquired ringtones contact with the contact ringtones ID S32, if the determination result is NO, the push client to obtain the contact S32 ringtones ID; S34, the client receives the contact ringtones ID acquired S32, S32 and acquires the contact with the incoming contact ID ringtones tones ID updating the address book stored in the same contact; S35, a lookup of the client local storage device, to determine whether the local memory 设备中是否已存储与S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件,如果判断结果为否,则从所述服务器的所述数据库中下载与S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件,并将S32获取的所述联系人来电铃声ID对应的联系人来电铃声文件存储到所述本地存储设备中。 Whether the contact contacts the ringing tone corresponding to the ID file stored ringtones and S32 the acquired apparatus, the contact database if the determination result is NO, the server downloads from the acquired S32 calls corresponding to the ID contact ringtone file ringtones, S32 and stores the acquired ID ringtones contact corresponding contact ringtones file to the local storage device.
6.根据权利要求1所述的来电铃声播放的方法,其特征在于,S5之后,还包括: 所述客户端将所述新的通讯录同步到所述服务器。 6. The method of claim 1 play ringtones claim, wherein, after S5, further comprising: the client to the new address book synchronized to the server.
7.根据权利要求1所述的来电铃声显示的方法,其特征在于,Sll之后,还包括:S12,所述客户端判断所述本地存储设备中是否存储有与S9获取的所述来电铃声ID对应的来电铃声文件,如果判断结果为否,则执行S13 ; S13,所述客户端从所述服务器中下载与S9获取的所述来电铃声ID对应的来电铃声文件,并将与S9获取的所述来电铃声ID对应的来电铃声文件与S9获取的所述来电铃声ID的对应关系存储到所述本地存储设备中。 7. The method of claim ringtones displayed, wherein, after Sll, further comprising: S12, the client determines whether the local storage device is stored with the acquired S9 ID ringtones ringtones corresponding file, if the determination result is No, proceed to S13; S13, the client download ID corresponding to the ringing tone with the ringing tone file S9 acquired from the server, and acquires the S9 corresponding relationship between the ID of the ringing tone corresponding to said ID ringtones ringtones S9 and stores the acquired file to the local storage device.
8.根据权利要求1所述的来电铃声播放的方法,其特征在于,所述新的通讯录中存储联系人姓名、联系人手机号码与联系人来电铃声ID的对应关系;S5之后,还包括: S12,所述通讯录监测进程监测所述新的通讯录的变化情况,当监测到所述新的通讯录中存在所述联系人姓名发生变化的情况`时,将变化后的新的通讯录同步到所述服务器。 8. The method of ringtones played according to claim 1, wherein said new address book stored in the contact name, contact phone number corresponding relationship between the ID of the contact ringtones; after S5, further comprising : S12, the address book of the new monitoring process to monitor changes in the address book when monitoring the presence of the contact name to the new address book changes', the new communications after the change to record the synchronization server.
CN 201210199010 2012-06-15 2012-06-15 Method for playing incoming call ringtone CN102710864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210199010 CN102710864B (en) 2012-06-15 2012-06-15 Method for playing incoming call ringtone

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201210199010 CN102710864B (en) 2012-06-15 2012-06-15 Method for playing incoming call ringtone
PCT/CN2012/001246 WO2013185266A1 (en) 2012-06-15 2012-09-06 Caller identification playing method

Publications (2)

Publication Number Publication Date
CN102710864A CN102710864A (en) 2012-10-03
CN102710864B true CN102710864B (en) 2013-10-23

Family

ID=46903407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210199010 CN102710864B (en) 2012-06-15 2012-06-15 Method for playing incoming call ringtone

Country Status (1)

Country Link
CN (1) CN102710864B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067603A (en) * 2013-01-17 2013-04-24 广东欧珀移动通信有限公司 Set method and mobile terminal of ring tone
TWI561050B (en) * 2013-11-19 2016-12-01 Chunghwa Telecom Co Ltd
CN104243711A (en) * 2014-09-24 2014-12-24 深圳市中兴移动通信有限公司 Method and device for adding ringtones and mobile terminal
CN105812316B (en) * 2014-12-29 2019-08-02 北京奇虎科技有限公司 Communications access accesses reminding method and mobile communication terminal
CN105813030A (en) * 2014-12-29 2016-07-27 北京奇虎科技有限公司 Communication access prompting method and mobile communication terminal
CN104917883A (en) * 2015-05-18 2015-09-16 努比亚技术有限公司 Method and device for calling ringtone file
CN105245738A (en) * 2015-09-21 2016-01-13 上海斐讯数据通信技术有限公司 Method and system for customizing ring tone

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700713A (en) 2005-06-22 2005-11-23 北京邮电大学 Method and system for implementing download of multimedia ringing tone by a mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100651388B1 (en) * 2004-11-25 2006-11-29 삼성전자주식회사 Method for setting receiving tone in wireless terminal
KR20070035883A (en) * 2005-09-28 2007-04-02 박민 System for setting call connection sound in communication network and method thereof
CN101527901A (en) * 2008-03-03 2009-09-09 岩 张 Method for mobile phone online address book
CN102148893A (en) * 2010-02-09 2011-08-10 北京数字天域科技有限责任公司 Method for setting calling ring of mobile phone

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700713A (en) 2005-06-22 2005-11-23 北京邮电大学 Method and system for implementing download of multimedia ringing tone by a mobile terminal

Also Published As

Publication number Publication date
CN102710864A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN101507211B (en) Client controlled dynamic call forwarding
CN101959321B (en) Scene mode switching method based on mobile phone WIFI and mobile phone
US7729487B2 (en) Custom ringtones for wireline telephones
CN1678005B (en) Apparatus, system and method for sharing a single physical address by multiple virtual telephones
US7283833B2 (en) Push to talk system
US7940908B2 (en) Sharing profile data between telecommunication devices
BRPI0613848A2 (en) method for establishing communication between a first device and a second device, system for establishing communication between a first device and a second device, signaling system and apparatus for communication over a network
US7986716B2 (en) Data transfer during a call without simultaneous data capabilities
FI20050036A0 (en) A method and system for establishing a conference call
JP5908528B2 (en) Method and apparatus for providing message aging using voicemail
US20090113005A1 (en) Systems and methods for controlling pre-communications interactions
CN101510908A (en) Method and apparatus for implementing terminal calling firewall
CN101340460B (en) Information sharing and searching method, system, mobile terminal and server
US8755794B2 (en) System and method of sharing information between wireless devices
CN1989779B (en) Method and system for associating subscriber identity information
CN102917113A (en) Centralized Bluetooth device pairing
JP2005080298A (en) System and method for enhanced computer telephony integration and interaction
JP3974089B2 (en) Sound information provision system
CN101631311A (en) Profile service for sharing rights-enabled mobile profiles
CN101807944A (en) Mobile terminal and data sharing method thereof
US8478355B2 (en) System and method for playing a ringtone on a communication device
CN103457905A (en) Data synchronizing method, data synchronizing system and data synchronizing device
JP2003527786A (en) Distributed communications network comprising one or more telephony devices having a program function
CN101951432A (en) Method, device and mobile terminal for adding contact information into address book
CN103546445A (en) Multimedia sharing system and method based on wifi network

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CF01