A kind of method, system and device of realizing short-message foreward turning
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, system and device of realizing short-message foreward turning.
Background technology
Continuous development along with mobile communication technology, the short-message foreward turning technology extensively is applied, specific implementation comprises a variety of, in the prior art one, when calling terminal A sends note to terminal called B, Call Forwarding Unconditional is set to terminal C on the terminal called B, handling process may further comprise the steps as shown in Figure 1:
Step 101, calling terminal A (B) sends route request information to the attaching position register HLR of terminal called B (Home Location Register, attaching position register), comprises the number of terminal called B in this message;
Step 102, the HLR of terminal called B (B) judges before whether terminal called B contracts changes note, if then HLR (B) sends route response message to calling terminal A, the number of commentaries on classics terminal C before comprising in this message;
Step 103, the HLR (C) that calling terminal A changes terminal C forward sends route request information, changes the number of terminal C before comprising in this message;
Step 104, the HLR (C) of preceding commentaries on classics terminal C sends route response message to calling terminal A, changes the current roaming position of terminal C before comprising in this message;
Step 105, calling terminal A changes terminal C before note is sent to.
In the prior art one, need to transform SMSC (the Short Message Service Center in the existing network, Short Message Service Center) equipment, make SMSC support to be initiated to once more the routing inquiry of transferred number HLR according to the Redirection Information that HLR returns, the transformation amount of whole network is very big, also may impact the existing network business in the process of transforming.
In the prior art two, terminal called B is provided with Call Forwarding Unconditional to terminal C, and calling terminal A sends note to terminal called B, and concrete processing procedure may further comprise the steps as shown in Figure 2:
Step 201, the monitoring signaling equipment in the mobile communications network, short message content and calling and called termination number among monitoring and the extraction mobile network;
Step 202, monitoring signaling equipment is searched terminal called to note transfer service device and whether is provided with short-message foreward turning, if be not provided with, then issues according to normal short message mode, if be provided with, then changes step 203;
Step 203 judges whether terminal called and calling terminal belong to the mobile network of areal, if belong to, then changes step 204, if do not belong to, then changes step 205;
Step 204 sends to terminal C by note transfer service device with note;
Step 205, simulation MSC equipment is initiated inquiry to the HLR of terminal called B, and inquiry terminal called B state if terminal called B is in off-mode, changes step 206; Otherwise, change step 207;
Step 206, simulation MSC equipment is initiated the operation that registering instruction is simulated start to the HLR of terminal B, and to note transfer service device return result;
Step 207 is directly returned the state of terminal called B to note transfer service device, send to terminal C by the inquiry of note transfer service device and with note.
Prior art two need be disposed monitoring signaling equipment, simulation MSC equipment, note transfer service device equipment in existing network, and carries out different processing according to the difference of calling and called ownership place, and the equipment that need dispose is more and processing logic is complicated.
In the prior art three, the short-message foreward turning handling process may further comprise the steps as shown in Figure 3:
Step 301, the terminal to apply note shifts, and will apply for that the application instruction of note transfer sends to the note processing center of telecom operators, and the application instruction comprises the target terminal number of applying for that transfer instruction code and note are transferred at least;
Step 302, the note processing server of note processing center is resolved the application instruction, be stored in the database server of note processing center being transferred the destination number that termination number and note transfer to, and will be transferred termination number and destination number associates;
Step 303, when the note processing center receives the note that need send to certain termination number, at first detect this termination number and whether be provided with the note transfer by the note processing server, if be provided with transfer, then this note is transferred to automatically the destination number of appointment, otherwise, then directly send to this number.
Yet this scheme needs sms center to increase a note transferring data memory module when realizing, is detected and transferring short messages by sms center.Therefore, need improve existing network equipment.
Summary of the invention
The embodiment of the invention provides a kind of method, system and device of realizing short-message foreward turning, need not that existing network equipment is carried out any transformation and can realize short-message foreward turning.
The embodiment of the invention provides a kind of method that realizes short-message foreward turning, may further comprise the steps:
The short-message foreward turning platform is set to the roaming side of terminal called in advance;
Calling terminal sends note to terminal called, and described note is forwarded to described short-message foreward turning platform;
Described short-message foreward turning platform is determined the preceding commentaries on classics terminal of described note by searching the database of storage in advance;
Described short-message foreward turning platform obtains the described preceding roaming position that changes terminal by the HLR inquiry of commentaries on classics terminal before described, and described note is sent to the described preceding terminal of changeing.
The embodiment of the invention provides a kind of system that realizes short-message foreward turning, comprising:
The short-message foreward turning platform is used to receive the synchronous forwarding data of Operator Specific Service support system, sends the analog position updating message to the attaching position register HLR of described terminal called; And after the note that the sms center SMSC that receives described calling terminal sends, change the MSC address on the current roaming ground of terminal before the inquiry, and described note is sent to the described preceding terminal of changeing;
The HLR of terminal called, be used to receive described analog position updating message after, the current roaming position that writes down described terminal called is at described short-message foreward turning platform, and inserts the user data of described terminal called to described short-message foreward turning platform; And after calling terminal sends note, return the terminal called current roaming at described short-message foreward turning platform to the sms center SMSC of described calling terminal.
The embodiment of the invention provides a kind of short-message foreward turning platform, comprising:
Synchronization module is used to receive the synchronous forwarding data of Operator Specific Service support system, sends the analog position updating message to the attaching position register HLR of described terminal called;
Receiver module is used to receive the note that the sms center SMSC of described calling terminal sends;
Enquiry module is connected with described receiver module with described synchronization module respectively, the MSC address of changeing the current roaming ground of terminal before being used to inquire about;
Sending module is connected with described enquiry module, is used for described note is sent to the described preceding terminal of changeing.
The embodiment of the invention provides a kind of attaching position register, comprising:
Receiver module is used to receive described analog position updating message;
Logging modle, with described receiver module, be used to receive described analog position updating message after, the current roaming position that writes down described terminal called is at described short-message foreward turning platform, and inserts the user data of described terminal called to described short-message foreward turning platform;
Sending module is connected with described logging modle, is used for returning the terminal called current roaming at described short-message foreward turning platform to the sms center SMSC of described calling terminal after calling terminal sends note.
Compared with prior art, the present invention has the following advantages:
Among the present invention, the mode of upgrading by independent short-message foreward turning platform simulation position realizes the Call Forwarding Unconditional of note, does not need existing network equipment is improved.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of short-message foreward turning flow chart in the prior art one;
Fig. 2 is a kind of short-message foreward turning flow chart in the prior art two;
Fig. 3 is a kind of short-message foreward turning flow chart in the prior art three;
Fig. 4 is a kind of method flow diagram of realizing short-message foreward turning in the embodiment of the invention;
Fig. 5 changes the signaling process figure that handles before a kind of concrete application scenarios in the embodiment of the invention;
Fig. 6 is a kind of short-message foreward turning platform structure figure in the embodiment of the invention;
Fig. 7 is a kind of attaching position register structure chart in the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is embodiment of the invention part embodiment, rather than whole embodiment.Based on the embodiment in the embodiment of the invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of embodiment of the invention protection.
Among the present invention, the short-message foreward turning platform is set to the roaming side of terminal called in advance, and the note that calling terminal sends to terminal called is sent to the short-message foreward turning platform; By searching the database of storing in advance on it, determine the preceding commentaries on classics terminal of note by the short-message foreward turning platform; Change the roaming position of terminal before the short-message foreward turning platform obtains by the HLR inquiry of changeing terminal forward, change terminal before note is sent to.
The embodiment of the invention provides a kind of method that realizes short-message foreward turning, and this method may further comprise the steps as shown in Figure 4:
Step 401, the short-message foreward turning platform is set to the roaming side of terminal called in advance.Specifically comprise: the Operator Specific Service support system is provided with data sync to described short-message foreward turning platform with short-message foreward turning; Described short-message foreward turning platform sends the analog position updating message to the attaching position register HLR of terminal called; After the HLR of described terminal called received described analog position updating message, the current roaming position that writes down described terminal called was at described short-message foreward turning platform, and inserted the user data of described terminal called to described short-message foreward turning platform.
Step 402, calling terminal sends note to terminal called, and described note is forwarded to described short-message foreward turning platform.Specifically comprise: the sms center SMSC of described calling terminal inquires about the roaming position of described terminal called to the HLR of described terminal called; The HLR of described terminal called returns the terminal called current roaming at the short-message foreward turning platform; The sms center SMSC of described calling terminal sends to described short-message foreward turning platform with described note.
Step 403, described short-message foreward turning platform is determined the preceding commentaries on classics terminal of described note by searching the database of storage in advance.
Step 404, described short-message foreward turning platform obtains the described preceding roaming position that changes terminal by the HLR inquiry of commentaries on classics terminal before described, and described note is sent to the described preceding terminal of changeing.Specifically comprise: described short-message foreward turning platform changes terminal before described HLR sends routing inquiry message; The MSC address that the HLR of commentaries on classics terminal changes the current roaming ground of terminal before described before described short-message foreward turning platform returns.Described short-message foreward turning platform sends to the described preceding roaming MSC that changes terminal with described note; The roaming MSC that changes terminal before described sends to the described preceding terminal of changeing with described note, and sends response message to described short-message foreward turning platform.
Describe the present invention below in conjunction with concrete application scenarios.The user is provided with the Call Forwarding Unconditional of note, and this setting only comes into force under the user has been provided with the prerequisite of unconditioned call connection, can be provided with to the mode of the special service number or the web page by sending note.Suppose to forward terminal C to before certain user is with terminal B, terminal A sends note to terminal B then.The signaling process that commentaries on classics is handled before concrete may further comprise the steps as shown in Figure 5:
Step 501, the Operator Specific Service support system is provided with data sync to the short-message foreward turning platform with short-message foreward turning; Wherein, short-message foreward turning is provided with number that data comprise the short-message foreward turning service identification, change before being provided with, transferred number, the term of validity etc.
Step 502, the short-message foreward turning platform sends analog position updating message Update_Location to the HLR of terminal called B (B); This message comprises short-message foreward turning platform ID.
Step 503, the HLR of terminal called B (B) receives this analog position updating message, and record terminal called B current roaming is at the short-message foreward turning platform, and inserts the user data of terminal B to the short-message foreward turning platform, and user data mainly comprises the MSISDN that parameter is terminal B;
Step 504, the response message Update_Location_Ack that the HLR of terminal called B (B) upgrades to short-message foreward turning platform home position;
Above-mentioned steps 501 is the short-message foreward turning pretreatment process to step 504, is that the short-message foreward turning platform is set to the process of the roaming side of terminal called in advance, is the preparation of real short-message foreward turning.
Step 505, calling terminal A sends note to terminal called B, the sms center SMSC (A) of calling terminal A sends routing inquiry message SRI_FOR_SM to the HLR of terminal called B (B), carry MSISDN (the Mobile Station international ISDN number of terminal called B in this message, Mobile Subscriber International ISDN number), to inquire about the roaming position of terminal called B;
Step 506, the HLR of terminal called B (B) returns routing inquiry response message SRI_FOR_SM_ack to SMSC (A), carries short-message foreward turning platform address in this message, and indication terminal called B current roaming is at this short-message foreward turning platform;
Step 507, the sms center SMSC (A) of calling terminal A sends to the short-message foreward turning platform by MT_Forword_Short_Message with note;
Step 508, short-message foreward turning platform are returned to the sms center SMSC of calling terminal A (A) and are received response message MT_Forword_Short_Message_ack;
Step 509, the short-message foreward turning platform finds that by Query Database terminal called B has arrived preceding commentaries on classics terminal C with short-message foreward turning, the HLR (C) that changes terminal C forward sends routing inquiry message SRI_FOR_SM, changes the MSISDN of terminal C before this message is carried, to change the roaming position of terminal C before inquiring about;
Step 510, the HLR (C) of preceding commentaries on classics terminal C returns routing inquiry response message SRI_FOR_SM_ack to SMS platform, changes the MSC_ID of the roaming place of terminal C before wherein carrying, the current roaming position of preceding commentaries on classics terminal C;
The roaming place MSC (C) that step 511, short-message foreward turning platform are changeed terminal C forward sends MT_Forword_Short_Message;
Step 512, the roaming place MSC (C) of preceding commentaries on classics terminal C changes terminal C before note is sent to, and returns MT_Forword_Short_Message_ack message to the short-message foreward turning platform.
The embodiment of the invention discloses a kind of system that realizes short-message foreward turning, comprising: the short-message foreward turning platform, be used to receive the synchronous forwarding data of Operator Specific Service support system, send the analog position updating message to the attaching position register HLR of described terminal called; And after the note that the sms center SMSC that receives described calling terminal sends, change the MSC address on the current roaming ground of terminal before the inquiry, and described note is sent to the described preceding terminal of changeing;
The HLR of terminal called, be used to receive described analog position updating message after, the current roaming position that writes down described terminal called is at described short-message foreward turning platform, and inserts the user data of described terminal called to described short-message foreward turning platform; And after calling terminal sends note, return the terminal called current roaming at described short-message foreward turning platform to the sms center SMSC of described calling terminal.
The embodiment of the invention discloses a kind of short-message foreward turning platform, as shown in Figure 6, comprising:
Synchronization module 610 is used to receive the synchronous forwarding data of Operator Specific Service support system, sends the analog position updating message to the attaching position register HLR of described terminal called;
Receiver module 620 is used to receive the note that the sms center SMSC of described calling terminal sends;
Enquiry module 630 is connected with receiver module 620 with synchronization module 610 respectively, the MSC address of changeing the current roaming ground of terminal before being used to inquire about; Specifically be used for before described, changeing the HLR transmission routing inquiry message of terminal, receive the described preceding HLR that changes terminal changes the current roaming ground of terminal before described short-message foreward turning platform returns MSC address.
Sending module 640 is connected with enquiry module 630, is used for described note is sent to the described preceding terminal of changeing.Specifically be used for described note is sent to the described preceding roaming MSC that changes terminal, make the described preceding roaming MSC that changes terminal that described note is sent to described preceding commentaries on classics terminal.
The embodiment of the invention discloses a kind of attaching position register, as shown in Figure 7, comprising:
Receiver module 710 is used to receive described analog position updating message;
Logging modle 720, be connected with receiver module 710, after being used to receive described analog position updating message, the current roaming position that writes down described terminal called is at described short-message foreward turning platform, and inserts the user data of described terminal called to described short-message foreward turning platform;
Sending module 730 is connected with logging modle 720, is used for returning the terminal called current roaming at described short-message foreward turning platform to the sms center SMSC of described calling terminal after calling terminal sends note.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.