Embodiment
In following each embodiment, calling and called can be landline telephone or portable terminal.
Embodiment one, and a kind of method that realizes CRBT control referring to Fig. 1, comprises the steps:
101,, judge the polyphonic ringtone playing pattern according to the call request that receives from caller.
The method of judging the polyphonic ringtone playing pattern comprises:
Called number is carried in call request;
When called number does not carry CRBT prefix constantly, judge that the polyphonic ringtone playing pattern is default polyphonic ringtone playing pattern; Perhaps
When called number carries the first CRBT prefix, judge that the polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern; Perhaps,
When called number carries the second CRBT prefix, judge that the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern; Perhaps,
When called number carries the 3rd CRBT prefix, judge that the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern; Perhaps,
When called number carries the 4th CRBT prefix, judge that the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern.
The first CRBT prefix, the second CRBT prefix, the 3rd CRBT prefix, the 4th CRBT prefix are different CRBT playback controlling features sign indicating numbers, and different with other professional condition codes, for example.Different with the condition code of videoconference or the like.The value of the first CRBT prefix, the second CRBT prefix, the 3rd CRBT prefix, the 4th CRBT prefix can define voluntarily, in the present embodiment, defining the first CRBT prefix is that * * 66600#, the second CRBT prefix are that * * 66601#, the 3rd CRBT prefix are that * * 66610#, the 4th CRBT prefix are * * 66611#.
The situation that called number does not carry CRBT prefix comprises: called number does not carry prefix, perhaps, called number has carried prefix, but any one is all inconsistent in this prefix and the first CRBT prefix, the second CRBT prefix, the 3rd CRBT prefix and the 4th CRBT prefix.
Default polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern or the second polyphonic ringtone playing pattern or the 3rd polyphonic ringtone playing pattern or the 4th polyphonic ringtone playing pattern or " shut " mode", " shut " mode" represents not provide CRBT, promptly neither provide CRBT, also not to the called CRBT that provides to caller.
The polyphonic ringtone playing pattern comprises the CRBT service provided to the calling party server to the calling and/or called coloring ring back tone playing, and/or the CRBT service provided to the called party server is to called and/or caller coloring ring back tone playing.The first polyphonic ringtone playing pattern, the second polyphonic ringtone playing pattern, the 3rd polyphonic ringtone playing pattern, the 4th polyphonic ringtone playing pattern are represented different play mode respectively, the default polyphonic ringtone playing modal representation first polyphonic ringtone playing pattern, the second polyphonic ringtone playing pattern, the 3rd polyphonic ringtone playing pattern, wherein a kind of polyphonic ringtone playing pattern of the 4th polyphonic ringtone playing pattern.The play mode that the first polyphonic ringtone playing pattern, the second polyphonic ringtone playing pattern, the 3rd polyphonic ringtone playing pattern, the 4th polyphonic ringtone playing pattern are represented respectively can define voluntarily.In the present embodiment, the first polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to the caller coloring ring back tone playing, the CRBT service provided to the called party server is to called coloring ring back tone playing, the second polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to the caller coloring ring back tone playing, the CRBT service provided to the calling party server is to called coloring ring back tone playing, the 3rd polyphonic ringtone playing modal representation CRBT service provided to the called party server is to the caller coloring ring back tone playing, the CRBT service provided to the called party server is to called coloring ring back tone playing, the 4th polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to called coloring ring back tone playing, the CRBT service provided to the called party server is to the caller coloring ring back tone playing, the default polyphonic ringtone playing modal representation first polyphonic ringtone playing pattern.
When the polyphonic ringtone playing pattern is the default polyphonic ringtone playing pattern or the first polyphonic ringtone playing pattern, change execution in step 102 over to; Perhaps, when the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern, change execution in step 103 over to; Perhaps, when the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern, change execution in step 104 over to; Perhaps, when the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern, change execution in step 105 over to.
102, set up passage between CRBT service provided to the calling party server and the caller, this passage is used for the CRBT service provided to the calling party server to the caller coloring ring back tone playing; Set up the CRBT service provided to the called party server and called between passage, this passage is used for the CRBT service provided to the called party server to called coloring ring back tone playing.Withdraw from the CRBT control flow.
The process of setting up passage comprises:
Communication link between foundation and the caller;
Set up and called between communication link;
First communication link between foundation and the CRBT service provided to the calling party server;
Second communication link between foundation and the CRBT service provided to the called party server;
Will and caller between communication link and first communication link overlap joint, form the passage between CRBT service provided to the calling party server and the caller; Will and called between communication link and second communication link overlap joint, form the CRBT service provided to the called party server and called between passage.
103, set up passage between CRBT service provided to the calling party server and the caller, this passage is used for the CRBT service provided to the calling party server to the caller coloring ring back tone playing; Set up the CRBT service provided to the calling party server and called between passage, this passage is used for the CRBT service provided to the calling party server to called coloring ring back tone playing.Withdraw from the CRBT control flow.
The process of setting up passage comprises:
Communication link between foundation and the caller;
Set up and called between communication link;
First communication link between foundation and the CRBT service provided to the calling party server;
Will and caller between communication link and first communication link overlap joint, form the passage between CRBT service provided to the calling party server and the caller; Will and called between communication link and first communication link overlap joint, form the CRBT service provided to the calling party server and called between passage.
104, set up passage between CRBT service provided to the called party server and the caller, this passage is used for the CRBT service provided to the called party server to the caller coloring ring back tone playing; Set up the CRBT service provided to the called party server and called between passage, this passage is used for the CRBT service provided to the called party server to called coloring ring back tone playing.Withdraw from the CRBT control flow.
The process of setting up passage comprises:
Communication link between foundation and the caller;
Set up and called between communication link;
Second communication link between foundation and the CRBT service provided to the called party server;
Will and caller between communication link and second communication link overlap joint, form the passage between CRBT service provided to the called party server and the caller; Will and called between communication link and second communication link overlap joint, form the CRBT service provided to the called party server and called between passage.
105, set up the CRBT service provided to the calling party server and called between passage, this passage is used for the CRBT service provided to the calling party server to called coloring ring back tone playing; Set up the passage between CRBT service provided to the called party server and the caller, this passage is used for the CRBT service provided to the called party server to the caller coloring ring back tone playing.Withdraw from the CRBT control flow.
The process of setting up passage comprises:
Communication link between foundation and the caller;
Set up and called between communication link;
First communication link between foundation and the CRBT service provided to the calling party server;
Second communication link between foundation and the CRBT service provided to the called party server;
Will and called between communication link and first communication link overlap joint, form the CRBT service provided to the calling party server and called between passage; Will and caller between communication link and second communication link overlap joint, form the passage between CRBT service provided to the called party server and the caller.
According to call request, judge the polyphonic ringtone playing pattern, according to the polyphonic ringtone playing pattern, the CRBT of playing and calling or called custom-made, when caller and called when all having customized CRBT, avoid the conflict of caller and called custom-made color ring, make that the application of CRBT and control are more flexible, improve the practicality and the reliability of Ring Back Tone service.
In the present embodiment, CRBT service provided to the calling party server and/or CRBT service provided to the called party server by passage to the calling and/or called coloring ring back tone playing, terminal called and/or calling terminal need not to download CRBT like this, have saved the time of downloading CRBT, have also saved the channel resource of downloading CRBT.Because by the passage coloring ring back tone playing, CRBT can not be subjected to the restriction of mobile phone type, brand, thereby has enlarged the range of application of CRBT, CRBT customization and application flexibility have been improved.
Before step 101, also comprise called step, and caller is to the step of CRBT service provided to the calling party server custom CRBT to CRBT service provided to the called party server custom CRBT.
Calledly can distinguish the caller of calling by the different CRBT of customization, so the step of called custom-made color ring can comprise: the caller that called correspondence is different customizes different CRBT respectively to color ring server.Like this, called hear CRBT after, distinguish the caller of calling, can determine whether off-hook is replied according to the situation of oneself.
Caller also can be by the CRBT of customized personal, allows calledly can distinguish oneself.Like this, called hear CRBT after, distinguish the caller of calling, can determine whether off-hook is replied according to the situation of oneself.
Embodiment two, embodiment one realized the method for CRBT control is applied on the switch, in the present embodiment, and a caller and a called shared switch.
In the present embodiment, it is that * * 66600#, the second CRBT prefix are that * * 66601#, the 3rd CRBT prefix are that * * 66610#, the 4th CRBT prefix are * * 66611# that switch is provided with the first CRBT prefix, and other service feature sign indicating numbers that carry in the first CRBT prefix, the second CRBT prefix, the 3rd CRBT prefix or the 4th CRBT prefix and the called number are inconsistent.
When called number does not carry CRBT prefix constantly, judge that the polyphonic ringtone playing pattern is default polyphonic ringtone playing pattern; When called number carries the first CRBT prefix, judge that the polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern; When called number carries the second CRBT prefix, judge that the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern; When called number carries the 3rd CRBT prefix, judge that the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern; When called number carries the 4th CRBT prefix, judge that the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern.
In the present embodiment, the first polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to the caller coloring ring back tone playing, the CRBT service provided to the called party server is to called coloring ring back tone playing, the second polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to the caller coloring ring back tone playing, the CRBT service provided to the calling party server is to called coloring ring back tone playing, the 3rd polyphonic ringtone playing modal representation CRBT service provided to the called party server is to the caller coloring ring back tone playing, the CRBT service provided to the called party server is to called coloring ring back tone playing, the 4th polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to called coloring ring back tone playing, the CRBT service provided to the called party server is to the caller coloring ring back tone playing, default polyphonic ringtone playing modal representation the 3rd polyphonic ringtone playing pattern.
Calling subscriber's dial mode is CRBT prefix+called number.
Referring to Fig. 2, present embodiment realizes that the method for CRBT control comprises:
201, caller changes execution in step 202 over to the switch request of making a call.
202, switch is judged called state according to this call request; If find calledly to satisfy that other are pre-conditioned, then foundation and caller respectively, the communication link between called change execution in step 203 over to; Otherwise withdraw from the CRBT control flow.
Setting up in the communication link process with called, switch issues special signaling to called, this special signaling be used to indicate called playing device is communicated to and switch between communication link, and suppress local ring.
In the present embodiment, pre-conditionedly can be: called be in busy, but the called calling transfer of having preset; Perhaps, the called free time; Perhaps, called be in busy, but calledly preset Call Waiting or the like.
The content of calling request can comprise following five kinds of scenes:
Called number is dialed in scene one, caller when being 28970867 phone, want to hear the CRBT of oneself customization, and the CRBT of wanting to play called custom-made then needs add before called number to dial the first CRBT prefix, as dials * * 66600#28970867 to the called subscriber.
Called number is dialed in scene two, caller when being 28970867 phone, want to hear the CRBT of oneself customization, and want to play the CRBT that oneself customizes and give the called subscriber, then need before called number, add to dial the second CRBT prefix, as dial * * 66601#28970867.
Called number is dialed in scene three, caller when being 28970867 phone, want to hear the CRBT of called custom-made, and the CRBT of wanting to play called custom-made then needs add before called number to dial the 3rd CRBT prefix, as dials * * 66610#28970867 to the called subscriber.
Called number is dialed in scene four, caller when being 28970867 phone, want to hear the CRBT of called custom-made, and want to play the CRBT that oneself customizes and give the called subscriber, then need before called number, add to dial the 4th CRBT prefix, as dial * * 66611#28970867.
Called number is dialed in scene five, caller when being 28970867 phone, to the polyphonic ringtone playing no requirement (NR), then directly dials called number 28970867.
203, switch is judged the polyphonic ringtone playing pattern according to the called number in this call request, then directly obtains corresponding color tinkling of pieces of jade play mode if carried color tinkling of pieces of jade prefix; If do not carry prefix or prefix is different from color tinkling of pieces of jade prefix, then default color tinkling of pieces of jade play mode is provided as color tinkling of pieces of jade play mode.
If the situation of scene one is satisfied in call request, judge that then the polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern; If the situation of scene two is satisfied in call request, judge that then the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern; If the situation of scene three is satisfied in call request, judge that then the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern; If the situation of scene four is satisfied in call request, judge that then the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern; If the situation of scene five is satisfied in call request, judge that then the polyphonic ringtone playing pattern is default polyphonic ringtone playing pattern.
When the polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern, change execution in step 204 over to; Perhaps, when the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern, change execution in step 212 over to; Perhaps, when the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern, change execution in step 216 over to; Perhaps, when the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern, change execution in step 220 over to.
204, switch sends first service request to the CRBT service provided to the calling party server, sets up first communication link of switch to the CRBT service provided to the calling party server, changes execution in step 205 over to.
205, the CRBT service provided to the calling party server returns first response message to switch, changes execution in step 206 over to.
206, switch will and caller between communication link and and the CRBT service provided to the calling party server between first communication link overlap joint, form the passage between CRBT service provided to the calling party server and the caller, change execution in step 207 over to.
207, the CRBT service provided to the calling party server by and caller between passage to the caller coloring ring back tone playing, withdraw from the CRBT control flow.
208, switch sends second service request to the CRBT service provided to the called party server, sets up the second communication link of switch to the CRBT service provided to the called party server, changes execution in step 209 over to.
209, the CRBT service provided to the called party server returns second response message to switch, changes execution in step 210 over to.
210, switch will and called between communication link and and the CRBT service provided to the called party server between second communication link overlap joint, form the CRBT service provided to the called party server and called between passage, change execution in step 211 over to.
211, the CRBT service provided to the called party server by and called between passage to called coloring ring back tone playing, withdraw from the CRBT control flow.
Step 204 to step 207 can be carried out to step 211 in step 208, also can carry out simultaneously with step 208 to step 211.
212, switch sends first service request to the CRBT service provided to the calling party server, sets up first communication link of switch to the CRBT service provided to the calling party server, changes execution in step 213 over to.
213, the CRBT service provided to the calling party server returns first response message to switch, changes execution in step 214 over to.
214, switch respectively will and caller, the communication link between called and and the CRBT service provided to the calling party server between first communication link overlap joint, form the passage between CRBT service provided to the calling party server and the caller, form the CRBT service provided to the calling party server and called between passage, change execution in step 215 over to.
215, the CRBT service provided to the calling party server by and caller between passage to the caller coloring ring back tone playing, the CRBT service provided to the calling party server channels and called between passage to called coloring ring back tone playing, withdraw from the CRBT control flow.
Passage between CRBT service provided to the calling party server and the caller and CRBT service provided to the calling party server channels have at the switch place with passage between called intersects, but is not communicated with.
216, switch sends second service request to the CRBT service provided to the called party server, sets up the second communication link of switch to the CRBT service provided to the called party server, changes execution in step 217 over to.
217, the CRBT service provided to the called party server returns second response message to switch, changes execution in step 218 over to.
218, switch respectively will and caller, the communication link between called and and the CRBT service provided to the called party server between second communication link overlap joint, form the passage between CRBT service provided to the called party server and the caller, form the CRBT service provided to the called party server and called between passage, change execution in step 219 over to.
Can set up a second communication link, can also set up two second communication links, the method of setting up two second communication links comprises: in step 216, switch sends twice second service requests to the CRBT service provided to the called party server, set up two strip exchangers to the second communication link between the CRBT service provided to the called party server, accordingly, in the step 217, the CRBT service provided to the called party server returns twice second response messages to switch.In the step 218, switch will and caller between communication link and second communication link overlap joint wherein, will and called between communication link overlap with another second communication link.
219, the CRBT service provided to the called party server by and caller between passage to the caller coloring ring back tone playing, the CRBT service provided to the called party server channels and called between passage to called coloring ring back tone playing, withdraw from the CRBT control flow.
Passage between CRBT service provided to the called party server and the caller and CRBT service provided to the called party server channels have at the switch place with passage between called intersects, but is not communicated with
220, switch sends first service request to the CRBT service provided to the calling party server, sets up first communication link of switch to the CRBT service provided to the calling party server, changes execution in step 221 over to.
221, the CRBT service provided to the calling party server returns first response message to switch, changes execution in step 222 over to.
222, switch will and called between communication link and and the CRBT service provided to the calling party server between first communication link overlap joint, form the CRBT service provided to the calling party server and called between passage, change execution in step 223 over to.
223, the CRBT service provided to the calling party server by and called between passage to called coloring ring back tone playing, withdraw from the CRBT control flow.
224, switch sends second service request to the CRBT service provided to the called party server, sets up the second communication link of switch to the CRBT service provided to the called party server, changes execution in step 225 over to.
225, the CRBT service provided to the called party server returns second response message to switch, changes execution in step 226 over to.
226, switch will and caller between communication link and and the CRBT service provided to the called party server between second communication link overlap joint, form the passage between CRBT service provided to the called party server and the caller, change execution in step 227 over to.
227, the CRBT service provided to the called party server by and caller between passage to the caller coloring ring back tone playing, withdraw from the CRBT control flow.
Step 220 to step 223 can be carried out to step 227 in step 224, also can carry out simultaneously with step 224 to step 227.
In the present embodiment, interface between switch and CRBT service provided to the calling party server or the CRBT service provided to the called party server uses integrated digital service network User Part (Integrated Services Digital Network User Part, ISUP) agreement, first service request and second service request can be initial address message in the present embodiment, and first response message and second response message can be Address Complete Message respectively.
Present embodiment suppresses called local ring, can be so that do not disturb during called coloring ring back tone playing.Suppress called local ring, can adopt following several mode:
Mode one, switch set up with called between communication link the time, as if called be landline telephone, then switch carries out the suppressed ringing setting; If called is portable terminal, then switch carries the suppressed ringing cell to the called channel assignment message that issues, Signal cell as the Assignment Request message in the cdma system portable terminal called flow is set to " Alerting Off ", notify called inhibition local ring, and called playing device is communicated to and switch between communication link on.
Mode two, switch and called between communication link set up successfully after, before the passage overlap joint between called and CRBT service provided to the calling party server or the CRBT service provided to the called party server forms, if called be landline telephone, then switch carries out the suppressed ringing setting; If called be portable terminal, then switch instructs to the called suppressed ringing that issues, and notifies called inhibition local ring, and called playing device is communicated to and switch between communication link on.
Mode three, after passage between called and CRBT service provided to the calling party server or CRBT service provided to the called party server overlap joint forms, if called be landline telephone, then switch carries out the suppressed ringing setting; If called is portable terminal, then switch instructs to the called suppressed ringing that issues, and notifies called inhibition local ring, and playing device is communicated on first passage or the second channel.
Embodiment three, the method that embodiment one is realized CRBT control is applied on the switch, and in the present embodiment, switch comprises caller switch and called switch, communicate by called switch and CRBT service provided to the calling party server or CRBT service provided to the called party server, realize Ring Back Tone service; Communicate by caller switch and CRBT service provided to the calling party server or CRBT service provided to the called party server, realize that the mode of Ring Back Tone service is identical with the mode principle of present embodiment.
In the present embodiment, it is that * * 66600#, the second CRBT prefix are that * * 66601#, the 3rd CRBT prefix are that * * 66610#, the 4th CRBT prefix are * * 66611# that switch is provided with the first CRBT prefix, and other service feature sign indicating numbers that carry in the first CRBT prefix, the second CRBT prefix, the 3rd CRBT prefix or the 4th CRBT prefix and the called number are inconsistent.
When called number does not carry CRBT prefix constantly, judge that the polyphonic ringtone playing pattern is default polyphonic ringtone playing pattern; When called number carries the first CRBT prefix, judge that the polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern; When called number carries the second CRBT prefix, judge that the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern; When called number carries the 3rd CRBT prefix, judge that the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern; When called number carries the 4th CRBT prefix, judge that the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern.
In the present embodiment, the first polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to the caller coloring ring back tone playing, the CRBT service provided to the called party server is to called coloring ring back tone playing, the second polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to the caller coloring ring back tone playing, the CRBT service provided to the calling party server is to called coloring ring back tone playing, the 3rd polyphonic ringtone playing modal representation CRBT service provided to the called party server is to the caller coloring ring back tone playing, the CRBT service provided to the called party server is to called coloring ring back tone playing, the 4th polyphonic ringtone playing modal representation CRBT service provided to the calling party server is to called coloring ring back tone playing, the CRBT service provided to the called party server is to the caller coloring ring back tone playing, the default polyphonic ringtone playing modal representation first polyphonic ringtone playing pattern.
Calling subscriber's dial mode is CRBT prefix+called number.
Referring to Fig. 3, present embodiment realizes that the method for CRBT control comprises:
301, caller changes execution in step 302 over to the request of making a call of caller switch.
The content of calling request can comprise following five kinds of scenes:
Called number is dialed in scene one, caller when being 28970867 phone, want to hear the CRBT of oneself customization, and the CRBT of wanting to play called custom-made then needs add before called number to dial the first CRBT prefix, as dials * * 66600#28970867 to the called subscriber.
Called number is dialed in scene two, caller when being 28970867 phone, want to hear the CRBT of oneself customization, and want to play the CRBT that oneself customizes and give the called subscriber, then need before called number, add to dial the second CRBT prefix, as dial * * 66601#28970867.
Called number is dialed in scene three, caller when being 28970867 phone, want to hear the CRBT of called custom-made, and the CRBT of wanting to play called custom-made then needs add before called number to dial the 3rd CRBT prefix, as dials * * 66610#28970867 to the called subscriber.
Called number is dialed in scene four, caller when being 28970867 phone, want to hear the CRBT of called custom-made, and want to play the CRBT that oneself customizes and give the called subscriber, then need before called number, add to dial the 4th CRBT prefix, as dial * * 66611#28970867.
Called number is dialed in scene five, caller when being 28970867 phone, to the polyphonic ringtone playing no requirement (NR), then directly dials called number 28970867.
302, the caller switch is according to this call request, set up and caller between communication link, send initial address message to the called switch of correspondence, request set up with called switch between be connected, change execution in step 303 over to.
303, called switch is judged called state, calledly satisfy that other are pre-conditioned if find, then called switch is according to initial address message, communication link between foundation and the caller switch, return Address Complete Message for the caller switch, finish the communication link of setting up between called switch and the caller; And foundation and called between communication link, change execution in step 304 over to; Otherwise withdraw from the CRBT control flow.
In the present embodiment, pre-conditionedly can be: called be in busy, but the called calling transfer of having preset; Perhaps, the called free time; Perhaps, called be in busy, but calledly preset Call Waiting or the like.
Setting up in the communication link process with called, called switch issues special signaling to called, this special signaling be used to indicate called playing device is communicated to and called switch between communication link, and suppress local ring.
304, whether called switch carries prefix according to called number in the initial address message, what perhaps, carry is that the first CRBT prefix, the second CRBT prefix, the 3rd CRBT prefix or the 4th CRBT prefix judge that the polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern, the second polyphonic ringtone playing pattern, the 3rd polyphonic ringtone playing pattern or the 4th polyphonic ringtone playing pattern.
If the situation of scene one is satisfied in call request, judge that then the polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern; If the situation of scene two is satisfied in call request, judge that then the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern; If the situation of scene three is satisfied in call request, judge that then the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern; If the situation of scene four is satisfied in call request, judge that then the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern; If the situation of scene five is satisfied in call request, judge that then the polyphonic ringtone playing pattern is default polyphonic ringtone playing pattern.
When the polyphonic ringtone playing pattern is the default polyphonic ringtone playing pattern or the first polyphonic ringtone playing pattern, change execution in step 305 over to; Perhaps, when the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern, change execution in step 313 over to; Perhaps, when the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern, change execution in step 317 over to; Perhaps, when the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern, change execution in step 331 over to.
In the present embodiment, communicate, therefore, in initial address message, carry the called number in the call request by called switch and CRBT service provided to the calling party server or CRBT service provided to the called party server.When caller switch and CRBT service provided to the calling party server or CRBT service provided to the called party server communicate, then need not in initial address message, to carry the called number in the call request, directly judge the polyphonic ringtone playing pattern by the caller switch according to call request.
305, called switch sends first service request to the CRBT service provided to the calling party server, sets up first communication link of called switch to the CRBT service provided to the calling party server, changes execution in step 306 over to.
306, the CRBT service provided to the calling party server returns first response message for called switch, changes execution in step 307 over to.
307, called switch will and caller between communication link and and the CRBT service provided to the calling party server between first communication link overlap joint, form the passage between CRBT service provided to the calling party server and the caller, change execution in step 308 over to.
308, the CRBT service provided to the calling party server by and caller between passage to the caller coloring ring back tone playing, withdraw from the CRBT control flow.
309, called switch sends second service request to the CRBT service provided to the called party server, sets up the second communication link of called switch to the CRBT service provided to the called party server, changes execution in step 310 over to.
310, the CRBT service provided to the called party server returns second response message for called switch, changes execution in step 311 over to.
311, called switch will and called between communication link and and the CRBT service provided to the called party server between second communication link overlap joint, form the CRBT service provided to the called party server and called between passage, change execution in step 312 over to.
312, the CRBT service provided to the called party server by and called between passage to called coloring ring back tone playing, withdraw from the CRBT control flow.
Step 305 to step 308 can be carried out to step 312 in step 309, also can carry out simultaneously with step 309 to step 312.
313, called switch sends first service request to the CRBT service provided to the calling party server, sets up first communication link of called switch to the CRBT service provided to the calling party server, changes execution in step 314 over to.
314, the CRBT service provided to the calling party server returns first response message for called switch, changes execution in step 315 over to.
315, called switch respectively will and caller, the communication link between called and and the CRBT service provided to the calling party server between first communication link overlap joint, form the passage between CRBT service provided to the calling party server and the caller, form the CRBT service provided to the calling party server and called between passage, change execution in step 316 over to.
316, the CRBT service provided to the calling party server by and caller between passage to the caller coloring ring back tone playing, the CRBT service provided to the calling party server channels and called between passage to called coloring ring back tone playing, withdraw from the CRBT control flow.
Passage between CRBT service provided to the calling party server and the caller and CRBT service provided to the calling party server channels have at called switch place with passage between called intersects, but is not communicated with.
317, called switch sends second service request to the CRBT service provided to the called party server, sets up the second communication link of called switch to the CRBT service provided to the calling party server, changes execution in step 318 over to.
318, the CRBT service provided to the called party server returns second response message for called switch, changes execution in step 319 over to.
319, called switch respectively will and caller, the communication link between called and and the CRBT service provided to the called party server between second communication link overlap joint, form the passage between CRBT service provided to the called party server and the caller, form the CRBT service provided to the called party server and called between passage, change execution in step 320 over to.
320, the CRBT service provided to the called party server by and caller between passage to the caller coloring ring back tone playing, the CRBT service provided to the called party server channels and called between passage to called coloring ring back tone playing, withdraw from the CRBT control flow.
Passage between CRBT service provided to the called party server and the caller and CRBT service provided to the called party server channels have at called switch place with passage between called intersects, but is not communicated with
321, called switch sends first service request to the CRBT service provided to the calling party server, sets up first communication link of called switch to the CRBT service provided to the calling party server, changes execution in step 322 over to.
322, the CRBT service provided to the calling party server returns first response message for called switch, changes execution in step 323 over to.
323, called switch will and called between communication link and and the CRBT service provided to the calling party server between first communication link overlap joint, form the CRBT service provided to the calling party server and called between passage, change execution in step 324 over to.
324, the CRBT service provided to the calling party server by and called between passage to called coloring ring back tone playing, withdraw from the CRBT control flow.
325, called switch sends second service request to the CRBT service provided to the called party server, sets up the second communication link of called switch to the CRBT service provided to the called party server, changes execution in step 326 over to.
326, the CRBT service provided to the called party server returns second response message for called switch, changes execution in step 327 over to.
327, called switch will and caller between communication link and and the CRBT service provided to the called party server between second communication link overlap joint, form the passage between CRBT service provided to the called party server and the caller, change execution in step 328 over to.
328, the CRBT service provided to the called party server by and caller between passage to the caller coloring ring back tone playing, withdraw from the CRBT control flow.
Step 321 to step 324 can be carried out to step 328 in step 325, also can carry out simultaneously with step 325 to step 328.
In the present embodiment, interface between called switch and CRBT service provided to the calling party server or the CRBT service provided to the called party server uses integrated digital service network User Part (Integrated Services Digital Network UserPart, ISUP) agreement, interface between called switch and the caller switch also uses ISDN User Part, first service request and second service request can be initial address message in the present embodiment, and first response message and second response message can be Address Complete Message respectively.
Present embodiment suppresses called local ring, can be so that do not disturb during called coloring ring back tone playing.Suppress called local ring, can adopt following several mode:
Mode one, called switch set up with called between communication link the time, as if called be landline telephone, then called switch carries out the suppressed ringing setting; If called is portable terminal, then called switch carries the suppressed ringing cell to the called channel assignment message that issues, Signal cell as the Assignment Request message in the cdma system portable terminal called flow is set to " Alerting Off ", notify called inhibition local ring, and called playing device is communicated to and called switch between communication link on.
Mode two, called switch and called between communication link set up successfully after, before the passage overlap joint between called and CRBT service provided to the calling party server or the CRBT service provided to the called party server forms, if called be landline telephone, then called switch carries out the suppressed ringing setting; If called be portable terminal, then called switch instructs to the called suppressed ringing that issues, and notifies called inhibition local ring, and called playing device is communicated to and called switch between communication link on.
Mode three, after passage between called and CRBT service provided to the calling party server or CRBT service provided to the called party server overlap joint forms, if called be landline telephone, then called switch carries out the suppressed ringing setting; If called is portable terminal, then called switch instructs to the called suppressed ringing that issues, and notifies called inhibition local ring, and playing device is communicated on first passage or the second channel.
Embodiment also provides a kind of switch, referring to Fig. 4, comprising:
Judging unit 401 is used for judging the polyphonic ringtone playing pattern according to the call request that receives from caller that called number is carried in call request;
Channel unit 402 is used for according to the polyphonic ringtone playing pattern, set up respectively color ring server and caller and called between passage, passage is used for color ring server to caller and called coloring ring back tone playing.
According to call request, judge the polyphonic ringtone playing pattern, according to the polyphonic ringtone playing pattern, the CRBT of playing and calling or called custom-made, when caller and called when all having customized CRBT, avoid the conflict of caller and called custom-made color ring, make that the application of CRBT and control are more flexible, improve the practicality and the reliability of Ring Back Tone service.
In the embodiment of the invention, CRBT service provided to the calling party server and/or CRBT service provided to the called party server by passage to the calling and/or called coloring ring back tone playing, terminal called and/or calling terminal need not to download CRBT like this, have saved the time of downloading CRBT, have also saved the channel resource of downloading CRBT.Because by the passage coloring ring back tone playing, CRBT can not be subjected to the restriction of mobile phone type, brand, thereby has enlarged the range of application of CRBT, CRBT customization and application flexibility have been improved.
Wherein, judging unit can comprise:
First analyzes subelement, is used for when called number does not carry CRBT prefix, judges that the polyphonic ringtone playing pattern is default polyphonic ringtone playing pattern; Perhaps
Second analyzes subelement, is used for when called number carries the first CRBT prefix, judges that the polyphonic ringtone playing pattern is the first polyphonic ringtone playing pattern; Perhaps,
The 3rd analyzes subelement, is used for when called number carries the second CRBT prefix, judges that the polyphonic ringtone playing pattern is the second polyphonic ringtone playing pattern; Perhaps,
The 4th analyzes subelement, is used for when called number carries the 3rd CRBT prefix, judges that the polyphonic ringtone playing pattern is the 3rd polyphonic ringtone playing pattern; Perhaps,
The 5th analyzes subelement, is used for carrying the 4th CRBT prefix when called number, judges that the polyphonic ringtone playing pattern is the 4th polyphonic ringtone playing pattern.
Channel unit can comprise:
The first link subelement, be used to set up and caller between communication link;
The second link subelement, be used to set up and called between communication link;
The 3rd link subelement, be used to set up and color ring server between communication link;
The overlap joint subelement, be used for the communication link that the communication link and the 3rd link subelement of the foundation of the first link subelement are set up is overlapped, communication link overlap joint with the communication link and the 3rd link subelement of the foundation of the second link subelement are set up forms corresponding passage.
When color ring server is the CRBT service provided to the calling party server,
This switch can also comprise:
Command unit is used for to called transmission signaling, indicate called playing device is communicated to and the CRBT service between passage on and suppress local ring.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential hardware platform, can certainly all implement, but the former is better execution mode under a lot of situation by hardware.Based on such understanding, all or part of can the embodying that technical scheme of the present invention contributes to background technology with the form of software product, this computer software product can be stored in the storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.