Summary of the invention
The invention provides a kind of system and method for realizing audible ringing tone service, solved prior art and improved the individual audible ringing sound quality, the tinkle of bells file is increased, emphasis network load, the shortcoming of increase time delay.
A kind of system that realizes audible ringing tone service provided by the invention comprises the tinkle of bells identifier acquisition module, judge module, caller the tinkle of bells playing module, called the tinkle of bells playing module and local data base;
Described the tinkle of bells identifier acquisition module is used to send the tinkle of bells sign of acquisition request callee custom ringtone;
Described judge module is used for judging whether the tinkle of bells sign of callee's custom ringtone exists local data base, if exist, then notifies described caller the tinkle of bells playing module, as not existing, then notifies called the tinkle of bells playing module by caller location switch;
Described caller the tinkle of bells playing module is used for being identified at local data base according to described the tinkle of bells and transfers the corresponding local the tinkle of bells of described the tinkle of bells sign, and plays described local the tinkle of bells to the calling party;
Described called the tinkle of bells playing module is used for transferring the corresponding the tinkle of bells of described the tinkle of bells sign according to the database that described the tinkle of bells is identified at callee's network, and plays described the tinkle of bells to the calling party.
Described the tinkle of bells identifier acquisition module specifically comprises position information acquisition module, path finding module, paging module, paging processing module and the tinkle of bells sign sending module;
Described position information acquisition module is used to obtain callee's current location information;
Described path finding module is used for the current location information according to described callee, seeks called location MSC route;
The paging module is used for sending paging according to described MSC route to the callee;
Described paging processing module is used for after receiving callee's page response, sends Address Complete Message to the tinkle of bells sign sending module;
Described the tinkle of bells sign sending module, be used to receive described Address Complete Message after, the tinkle of bells sign of described callee's custom ringtone is sent to judge module.
Also comprise the response message processing module;
Described response message processing module is used for stopping to play the tinkle of bells according to callee's response message notice caller the tinkle of bells playing module or called the tinkle of bells playing module, and discharges related resource.
Described local data base comprises: the tinkle of bells database, the tinkle of bells vital values storehouse, user subscription information storehouse, the tinkle of bells home banking;
Described the tinkle of bells home banking is used for storing the tinkle of bells of unique identification network and the tinkle of bells of the tinkle of bells copy of this tinkle of bells in local data base identifies;
Described user subscription information storehouse is used for storing the corresponding relation of the tinkle of bells of callee and its customization in the tinkle of bells sign of local cache;
Described the tinkle of bells vital values storehouse is used to store the frequency that non-local cache the tinkle of bells uses in this locality;
Described the tinkle of bells database is used to store the tinkle of bells.
Also comprise business module;
Described business module is used for storing the tinkle of bells into local data base, and access times in the predetermined amount of time is less than the tinkle of bells deletion of pre-determined number.
A kind of method that realizes audible ringing tone service comprises step:
The tinkle of bells sign of A, transmission acquisition request callee custom ringtone;
B, judge whether described the tinkle of bells sign exists in the local data base of calling party's network, as having execution in step C, otherwise execution in step D;
C, calling party wait for when the callee replys that caller the tinkle of bells playing module is identified at according to described the tinkle of bells and transfers the corresponding local the tinkle of bells of described the tinkle of bells sign in the local data base, and plays described local the tinkle of bells to the calling party;
D, calling party wait for when the callee replys, and called the tinkle of bells playing module is identified at according to described the tinkle of bells in the database of callee's network and transfers the corresponding the tinkle of bells of described the tinkle of bells sign, and plays described the tinkle of bells to the calling party.
Described step C specifically comprises step:
The tinkle of bells vital values of C1, the described the tinkle of bells of increase;
C2, caller the tinkle of bells playing module are identified at according to described the tinkle of bells and transfer the corresponding local the tinkle of bells of described the tinkle of bells sign in the local data base, and play described local the tinkle of bells to the calling party.
Described step D specifically comprises step:
D1, the tinkle of bells vital values of the described the tinkle of bells of increase in local data base;
D2, called the tinkle of bells playing module are identified at according to described the tinkle of bells transfers the corresponding the tinkle of bells of described the tinkle of bells sign in the database of callee's network, and plays described the tinkle of bells to the calling party.
Also comprise step after the described step D1:
The tinkle of bells sign of notice caller location switch callee custom ringtone.
Also comprise after the tinkle of bells sign of described notice caller location switch callee custom ringtone:
Switch request called the tinkle of bells playing module in caller location is play the tinkle of bells to the calling party.
Also comprise step before the described step B:
Current location information according to the callee searches out called location switch route.
The step that described current location information according to the callee searches out the route of called location switch specifically comprises step:
Obtain callee's current location information;
Described callee's current location information is sent to caller location switch;
Caller location switch is sought called location switch route according to described callee's current location information.
After the described step D, also comprise step:
E, called location switch are replied according to the callee's, send response message to caller location switch;
F, calling party location switch notify described caller the tinkle of bells playing module or called the tinkle of bells playing module to stop to play the tinkle of bells according to described callee's response message, and discharge related resource.
Also comprise step: the tinkle of bells to local cache manages, and is specially:
Business module stores the tinkle of bells in the local data base into, and access times in the predetermined amount of time is less than the tinkle of bells deletion in the local data base of pre-determined number.
The present invention utilizes the ip intelligent peripherals IP among the existing mobile network to form the interior Customized Ring Back Tone distributing network of mobile network, make the calling party pass through the Customized Ring Back Tone that this distributing network utilizes local I P buffer memory callee customization, when having the tinkle of bells of local cache in the local data base of caller location IP, caller location IP plays local the tinkle of bells to the calling party, reduce the load of network because of the ring-back tone increase of high quality, with the average delay of the tinkle of bells transmission, and the flow of Operation Network.
Embodiment
The present invention is by introducing the personalized ring back tone service system with the content distributing network principle, utilize the ip intelligent peripherals I P among the existing mobile network to form the interior Customized Ring Back Tone distributing network of mobile network, realization is carried out local cache to Customized Ring Back Tone, make when having the tinkle of bells of local cache in the local data base of caller location IP, caller location IP plays local the tinkle of bells to the calling party, thereby when improving the ring-back tone quality, reduce the average delay of offered load and the tinkle of bells transmission.
Content distributing network is a kind of mode that is used to quicken the user capture internet resource on the internet, and in this way, internet resources such as webpage, multimedia file are distributed on the nearer network edge of user, makes the user can these resources of fast access.The content distributing network principle is introduced the personalized ring back tone service system, saved Internet resources.
Further be set forth in the calling party and the callee all is in realization of the present invention under the roaming condition below in conjunction with legend.
Fig. 1 is the annexation schematic diagram of system of the present invention, described system comprises caller location MSC, called location MSC, caller location IP, dialed field IP, dialed field HLR (Home LocationRegister, attaching position register), described caller location IP comprises local data base.
Described called location MSC is used to inquire about callee's current location information, and processing called paging, after receiving callee's page response, Address Complete Message is sent to described caller location MSC, and send response message to described caller location MSC according to replying of callee;
Described dialed field HLR is used for described callee's current location information and CRBT sign are sent to described caller location MSC;
Described dialed field IP is used to store the tinkle of bells ID (the tinkle of bells sign) of callee's custom ringtone and sends described caller location MSC to;
Described caller location MSC is used for seeking called location MSC route according to described callee's current location information, send paging to called, and determine that according to CRBT sign the callee is the personalized ring back tone service user, and the tinkle of bells ID of described callee's custom ringtone sent to described caller location IP, and notify described caller location IP or described dialed field IP to stop to play the tinkle of bells according to described callee's response message;
Whether the ID that described caller location IP is used for searching callee's custom ringtone exists local data base, and makes respective handling; The tinkle of bells ID exists in the local data base as described, and described caller location IP transfers the local the tinkle of bells of described the tinkle of bells ID correspondence according to described the tinkle of bells ID in local data base, and plays described local the tinkle of bells to the calling party; The tinkle of bells ID does not exist in the local data base as described, described caller location IP notice caller location MSC, described caller location MSC sends the tinkle of bells playing request to dialed field IP, described dialed field IP transfers the tinkle of bells of described the tinkle of bells ID correspondence according to described the tinkle of bells ID in the database of dialed field IP, and plays described the tinkle of bells to the calling party.
As shown in Figure 2, it is the structural representation of system of the present invention, specify a kind of system 200 that realizes audible ringing tone service provided by the invention below in conjunction with Fig. 2, comprising: position information acquisition module 201, path finding module 202, the tinkle of bells ID acquisition module 205, paging processing module 203, the tinkle of bells ID sending module 206, judge module 207, caller the tinkle of bells playing module 208, called the tinkle of bells playing module 209, response message processing module 204 and local data base 210;
Described position information acquisition module 201 is used to obtain callee's current location information;
Described path finding module 202 is sought called location MSC route according to described callee's current location information, sends paging to the callee;
Described the tinkle of bells ID acquisition module 205 sends the tinkle of bells ID of acquisition request callee custom ringtone;
Described paging processing module 203 is handled called paging, after receiving callee's page response, send Address Complete Message to the tinkle of bells ID sending module, described Address Complete Message is a response message, be used to notify caller location MSC, indicate the address information that is used to discern the callee and all receive;
After described the tinkle of bells ID sending module 206 receives described Address Complete Message, the tinkle of bells ID of described callee's custom ringtone is sent to judge module;
Whether the tinkle of bells ID that described judge module 207 is searched callee's custom ringtone exists in the local data base 210, and makes respective handling; Described judge module judges according to the user subscription information of callee's custom ringtone whether described the tinkle of bells is the tinkle of bells of local cache, if, the tinkle of bells vital values of the tinkle of bells shown in the increase, and notify described caller the tinkle of bells playing module 208 to play local the tinkle of bells to the calling party; Judge module increases the tinkle of bells life number of described the tinkle of bells in local data base, and the tinkle of bells ID of notice caller location MSC callee's custom ringtone does not exist in the local data base 210, described caller location MSC sends the tinkle of bells playing request to called the tinkle of bells playing module 209, and described called the tinkle of bells playing module 209 is play the tinkle of bells to the calling party;
Described caller the tinkle of bells playing module 208 is transferred the local the tinkle of bells of described the tinkle of bells ID correspondence according to described the tinkle of bells ID in local data base, and plays described local the tinkle of bells to the calling party;
Described called the tinkle of bells playing module 209 is transferred the tinkle of bells of described the tinkle of bells ID correspondence according to described the tinkle of bells ID in the database of callee's network, and plays described the tinkle of bells to the calling party;
Described response message processing module 204 stops to play the tinkle of bells according to callee's response message notice caller the tinkle of bells playing module 208 or called the tinkle of bells playing module 209, and the release related resource, comprise caller location IP and dialed field IP and user's connection resource.
A kind of system that realizes audible ringing tone service provided by the invention also comprises: Customized Ring Back Tone gateway 211 and SP (Service Provider, service provider) 212.
Described SP212 is used for storing the tinkle of bells the local data base 210 of each IP into by described Customized Ring Back Tone gateway 211, and access times in the predetermined amount of time are less than the tinkle of bells deletion of pre-determined number, and pre-determined number can be provided with.
As shown in Figure 3, the IP of caller location described in the system of realization audible ringing tone service provided by the invention comprises local data base, and described local data base comprises: concordance list, the tinkle of bells database, the tinkle of bells vital values storehouse, user subscription information storehouse, the tinkle of bells ID storehouse;
The tinkle of bells in the described the tinkle of bells ID unique identification network and the tinkle of bells copy of this tinkle of bells in local data base; Described the tinkle of bells ID is distributed by SP, and SP distributes a unique ID value for the tinkle of bells that each enters network, and SP can specifically realize that by hash algorithm or other algorithms this implementation method is a prior art, does not do concrete elaboration at this for the tinkle of bells that networks distributes ID;
The corresponding relation of the tinkle of bells ID of the tinkle of bells in local cache of described user subscription information storehouse record callee and its customization;
The frequency that non-local cache the tinkle of bells uses in this locality is write down in described the tinkle of bells vital values storehouse;
Described the tinkle of bells database is the position that the tinkle of bells is stored in local data base, the tinkle of bells of storage local cache;
Described concordance list writes down described the tinkle of bells database, described the tinkle of bells vital values storehouse, described user subscription information storehouse and the described the tinkle of bells ID position at local data base.
As shown in Figure 4, correspondingly, the invention provides a kind of method that realizes audible ringing tone service, may further comprise the steps:
Step S101, calling party initiate to connect to the callee and call out, simultaneously acquisition request callee's current location information; Called location MSC obtains callee's current location information, and by dialed field HLR described callee's current location information is sent to caller location MSC;
When the calling party initiates to connect calling to the callee, caller location MSC sends the routing iinformation request to dialed field HLR, dialed field HLR sends the request of the mobile station roaming number that the callee is provided to called location MSC, called location MSC sends the travelling carriage roaming number of distributing to the callee to dialed field HLR, and dialed field HLR sends callee's travelling carriage roaming number and CRBT sign to caller location MSC;
Step S102, caller location MSC seek called location MSC route according to described callee's current location information, and send paging according to described called location MSC route to the callee;
Caller location MSC seeks called location MSC route according to callee's travelling carriage roaming number, sends paging to the callee;
Step S103, caller location MSC send the tinkle of bells ID of acquisition request callee custom ringtone;
Caller location MSC determines that according to the described CRBT sign that dialed field HLR sends the callee is the personalized ring back tone service user, the tinkle of bells ID that sends the tinkle of bells that obtains callee's customization to dialed field IP asks, and dialed field IP sends the tinkle of bells ID of callee's custom ringtone to caller location MSC;
Step S104, called location MSC handle called paging, and paging is sent to the callee, and the callee responds described paging, and called location MSC sends Address Complete Message to caller location MSC after receiving callee's page response;
After step S105, caller location MSC receive described Address Complete Message, the tinkle of bells ID of described callee's custom ringtone is sent to caller location IP, described Address Complete Message is a response message, be used to notify caller location MSC, indicate the address information that is used to discern the callee and all receive;
Whether the tinkle of bells ID that step S106, caller location IP search callee's custom ringtone exists in the local data base, and as existing, execution in step S107 is not as existing execution in step S108;
Step S107, caller location IP transfer the local the tinkle of bells of described the tinkle of bells ID correspondence according to described the tinkle of bells ID in local data base, and play described local the tinkle of bells to the calling party;
Caller location IP judges according to the user subscription information of callee's custom ringtone whether described the tinkle of bells is the tinkle of bells of local cache, if, the tinkle of bells vital values of the tinkle of bells shown in the increase, and, play local the tinkle of bells to the calling party according to described the tinkle of bells ID transfers described the tinkle of bells ID correspondence in local data base local the tinkle of bells;
Step S108, dialed field IP transfer the tinkle of bells of described the tinkle of bells ID correspondence according to described the tinkle of bells ID in the database of dialed field IP, and play described the tinkle of bells to the calling party;
Caller location IP increases the tinkle of bells life number of described the tinkle of bells in local data base, and the tinkle of bells ID of notice caller location MSC callee's custom ringtone does not exist in the local data base, described caller location MSC sends the tinkle of bells playing request to dialed field IP, described dialed field IP transfers the tinkle of bells of described the tinkle of bells ID correspondence according to described the tinkle of bells ID in the database of dialed field IP, and plays described the tinkle of bells to the calling party;
Step S109, called location MSC send response message to caller location MSC according to replying of callee;
Step S110, calling party location MSC stop to play the tinkle of bells according to described callee's response message notice caller location IP or dialed field IP, and discharge related resource, comprise caller location IP and dialed field IP and user's connection resource.
Local IP, promptly the tinkle of bells of local cache need take resource in the local data base of caller location IP, and therefore local IP need manage the tinkle of bells in the local data base.Described local IP is that relative caller location is determined, whichever IP, when its during as caller location IP, be local IP.
SP passes through the Customized Ring Back Tone gateway stores in the local data base of local IP with the tinkle of bells; Wherein SP can pass through the Customized Ring Back Tone gateway stores in the local data base of local IP with newfangled Customized Ring Back Tone, also can reach pre-determined number to access times in the predetermined amount of time, and there is not the tinkle of bells in the local data base, by the Customized Ring Back Tone gateway stores in the local data base of local IP, described not have the tinkle of bells in the local data base can be the network the tinkle of bells that SP provides, and also can be the tinkle of bells in the database of other IP;
Be less than the tinkle of bells in the local data base of pre-determined number for access times in the predetermined amount of time, SP deletes it by the Customized Ring Back Tone gateway.
The above all is in realization of the present invention under the roaming condition for calling party and callee, it is complicated situation, other situations, as calling party and callee in consolidated network, the calling party only need inquire about callee's customization in local network the tinkle of bells gets final product, and uses system and method provided by the invention to realize that personalized ring back tone service is more simple.
Adopt the system and method for realization audible ringing tone service provided by the invention, all there are the tinkle of bells of callee's customization and the tinkle of bells copy of local cache thereof in the database of caller location IP and the database of dialed field IP, when caller location IP transships, can play the tinkle of bells by dialed field IP, perhaps when caller location IP and dialed field IP transship, can play common the tinkle of bells by caller location IP, ensure the broadcast that occurs the tinkle of bells under the abnormal conditions at network.
The present invention utilizes the ip intelligent peripherals IP among the existing mobile network to form the interior Customized Ring Back Tone distributing network of mobile network, the calling party utilizes the Customized Ring Back Tone of local IP buffer memory callee customization by this distributing network, make when having the tinkle of bells of local cache in the local data base of caller location IP, caller location IP plays local the tinkle of bells copy to the calling party, thereby reduce the load of network because of the ring-back tone increase of high quality, with the average delay of the tinkle of bells transmission, and the flow of Operation Network.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.