CN102905241A - USSD (Unstructured Supplementary Service Data) server, HLR (Home Location Register) server, and call forwarding method based on USSD - Google Patents

USSD (Unstructured Supplementary Service Data) server, HLR (Home Location Register) server, and call forwarding method based on USSD Download PDF

Info

Publication number
CN102905241A
CN102905241A CN2012103897306A CN201210389730A CN102905241A CN 102905241 A CN102905241 A CN 102905241A CN 2012103897306 A CN2012103897306 A CN 2012103897306A CN 201210389730 A CN201210389730 A CN 201210389730A CN 102905241 A CN102905241 A CN 102905241A
Authority
CN
China
Prior art keywords
terminal
call transfer
ussd
server
control command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103897306A
Other languages
Chinese (zh)
Other versions
CN102905241B (en
Inventor
夏淑贤
吴家宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunshan chuangzhihui Intellectual Property Operation Co.,Ltd.
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201210389730.6A priority Critical patent/CN102905241B/en
Publication of CN102905241A publication Critical patent/CN102905241A/en
Priority to PCT/CN2013/080027 priority patent/WO2013185681A1/en
Application granted granted Critical
Publication of CN102905241B publication Critical patent/CN102905241B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/54Arrangements for diverting calls for one subscriber to another predetermined subscriber
    • H04M3/548Arrangements for diverting calls for one subscriber to another predetermined subscriber with remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Abstract

The invention provides a USSD (Unstructured Supplementary Service Data) server, an HLR (Home Location Register) server, and a call forwarding method based on USSD, wherein the USSD server comprises a first receiving module, an analyzing module, an instruction generating module and a first transmitting module, wherein the first receiving module is used for receiving USSD instruction word strings transmitted by a first terminal via a mobile switching center, a USSD gateway or a USSD center in sequence; the analyzing module is used for analyzing the USSD instruction word strings so as to get an analytic result; the instruction generating module is used, when the analytic result indicates that all the USSD instruction word strings are legal, for generating a call forwarding control instruction according to the USSD instruction word strings; and the first transmitting module is used for transmitting the call forwarding control instruction to the HLR server. By adopting the USSD server, the HLR server, and the call forwarding method based on USSD disclosed by the invention, a user can use a current terminal to control a terminal which is temporarily not in hand to start or to close a call forwarding function.

Description

A kind of USSD server, HLR server and based on the call transfer method of USSD
Technical field
The present invention relates to the communications field, relate in particular to a kind of USSD server, HLR server and based on the call transfer method of USSD.
Background technology
Along with popularizing of mobile phone, mobile phone of staff almost, interpersonal contact nearly all is by mobile phone, if the cellphone subscriber can't answer or when being reluctant to receive calls, can open the call transfer function.Traditional call transfer technology is that mobile phone must be with oneself, could open or close call transfer by corresponding menu, in case because of some situation mobile phone not at one's side, such as hand-set from stolen or mobile phone forget and be in, the call transfer function just can't realize.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of USSD server, HLR server and based on the call transfer method of USSD, can allow the user use that current terminal control is temporary transient does not open or close the call transfer function in terminal on hand.
For achieving the above object, the embodiment of the invention provides a kind of USSD server, comprising:
The first receiver module is used for receiving the USSD instruction word string that first terminal sends through mobile switching centre, unstructured supplementary data traffic USSD gateway or USSD center successively;
Parsing module is used for described USSD instruction word string is resolved, and obtains analysis result;
The instruction generation module is used for indicating described USSD instruction word string whole when legal at described analysis result, concatenates into the call transfer control command according to described USSD command word;
The first sending module, be used for described call transfer control command is sent to a HLR server, so that described HLR server identifies the call transfer state of described the second terminal according to described call transfer control command, and according to the call transfer state of described the second terminal of sign the conversation of calling out described the second terminal is processed.
Wherein, preferably, described USSD instruction word string comprises at least: the identification field of call transfer mode control word section, the second terminal and the authentication field of the second terminal;
Described call transfer control command comprises described first terminal sign, described the second terminal iidentification and call transfer state information.
Wherein, preferably, described parsing module comprises:
The first acquisition module is used for obtaining described call transfer mode control word section;
The first judge module is used for judging whether described call transfer mode control word section is legal, obtains the first judged result;
The second acquisition module is used for obtaining the identification field of described the second terminal when described the first judged result indicates described call transfer control field legal;
The second judge module, the legitimacy for the identification field of judging described the second terminal obtains the second judged result;
The 3rd acquisition module when legal for the identification field of indicating described the second terminal in described the second judged result, obtains the authentication field of described the second terminal;
The 3rd judge module is used for judging the legitimacy of the authentication field of described the second terminal according to a terminal iidentification that prestores and the corresponding relation of a terminal authentication field, obtains one the 3rd judged result;
When described the 3rd judged result indicates the authentication field of described the second terminal legal, return the first successful result;
Described instruction generation module specifically is used for when described the 3rd judged result indicates the authentication field of described the second terminal legal, determine call transfer state information, described the second terminal iidentification according to the identification field of described call transfer mode control word section, described the second terminal respectively, and confirm that the first terminal that sends described USSD instruction word string identifies, described first terminal sign, the second terminal iidentification and call transfer state information are generated described call transfer control command.
Wherein, preferably, described USSD server also comprises:
The second sending module, be used for described analysis result is formed the first message, described SMS platform sends to SMS platform by described USSD gateway or USSD center, described mobile switching centre successively, so that can send to described the first message described first terminal and/or described the second terminal.
Wherein, preferably, described call transfer state information is: open or close call transfer.
For achieving the above object, the embodiment of the invention also provides a kind of HLR server, comprising:
The second receiver module is used for receiving the call transfer control command that the USSD server sends; Described call transfer control command comprises first terminal sign, the second terminal iidentification and call transfer state information;
Identification module is for the call transfer state that identifies described the second terminal according to described call transfer control command;
Processing module is used for according to the call transfer state of described the second terminal that identifies the conversation of calling out described the second terminal being processed.
Wherein, preferably, described identification module is specially a flag bit is set, according to described call transfer state control command so that flag bit set or zero clearing identify the call transfer state of described the second terminal, wherein:
Described call transfer information is that flag bit set is also pointed to described first terminal when opening call transfer;
Described call transfer information when closing call transfer, the flag bit zero clearing.
Wherein, preferably, described processing module specifically comprises:
The 4th judge module is used for when receiving the call request of calling out described the second terminal, judges the whether set of flag bit of described the second terminal, obtains one the 4th judged result;
Process submodule, be used for when described the 4th judged result is indicated the set of flag bit of described the second terminal, the call request of calling out described the second terminal is carried out call transfer according to the sensing of flag bit process, do not process otherwise do not carry out call transfer.
For achieving the above object, the embodiment of the invention also provides a kind of call transfer method based on USSD, is used for a USSD server, comprising:
Receive the USSD instruction word string that first terminal sends through mobile switching centre, unstructured supplementary data traffic USSD gateway or USSD center successively;
Described USSD instruction word string is resolved, obtain analysis result;
Indicate described USSD instruction word string whole when legal at described analysis result, concatenate into the call transfer control command according to described USSD command word;
Described call transfer control command is sent to a HLR server, so that described HLR server identifies the call transfer state of described the second terminal according to described call transfer control command, and according to the call transfer state of described the second terminal of sign the conversation of calling out described the second terminal is processed.
Wherein, preferably, described USSD instruction word string comprises at least: the identification field of call transfer mode control word section, the second terminal and the authentication field of the second terminal;
Described call transfer control command comprises described first terminal sign, described the second terminal iidentification and call transfer state information.
Wherein, preferably, described described USSD instruction word string is resolved, obtains an analysis result and specifically comprise:
Obtain described call transfer mode control word section;
Judge whether described call transfer mode control word section is legal, obtains the first judged result;
When described the first judged result indicates described call transfer control field legal, obtain the identification field of described the second terminal;
Judge the legitimacy of the identification field of described the second terminal, obtain the second judged result;
When the identification field of indicating described the second terminal in described the second judged result is legal, obtain the authentication field of described the second terminal;
According to the corresponding relation of a terminal iidentification that prestores and a terminal authentication field, judge the legitimacy of the authentication field of described the second terminal, obtain one the 3rd judged result;
When described the 3rd judged result indicates the authentication field of described the second terminal legal, return the first successful result;
Describedly indicate described USSD instruction word string whole when legal at described analysis result, concatenating into the call transfer control command according to described USSD command word is specially when described the 3rd judged result indicates the authentication field of described the second terminal legal, respectively according to described call transfer mode control word section, the identification field of described the second terminal is determined the call transfer state information, described the second terminal iidentification, and confirm that the first terminal that sends described USSD instruction word string identifies, with described first terminal sign, the second terminal iidentification and call transfer state information generate described call transfer control command.
Wherein, preferably, said method also comprises:
Described analysis result is formed the first message, described SMS platform sends to SMS platform by described USSD gateway or USSD center, described mobile switching centre successively, so that can send to described the first message described first terminal and/or described the second terminal.
Wherein, preferably, described call transfer state information is: open or close call transfer.
For achieving the above object, the embodiment of the invention also provides a kind of call transfer method based on USSD, is used for a HLR server, comprising:
Receive the call transfer control command that the USSD server sends; Described call transfer control command comprises first terminal sign, the second terminal iidentification and call transfer state information;
Identify the call transfer state of described the second terminal according to described call transfer control command;
Call transfer state according to described the second terminal that identifies is processed the conversation of calling out described the second terminal.
Wherein, preferably, the described call transfer state that identifies described the second terminal according to described call transfer control command is specially a flag bit is set, according to described call transfer state control command so that flag bit set or zero clearing identify the call transfer state of described the second terminal, wherein:
Described call transfer information is that flag bit set is also pointed to described first terminal when opening call transfer;
Described call transfer information when closing call transfer, the flag bit zero clearing.
Wherein, preferably, the call transfer state of described described the second terminal according to identifying is processed specifically the conversation of calling out described the second terminal and is comprised:
When receiving the call request of calling out described the second terminal, judge the whether set of flag bit of described the second terminal, obtain one the 4th judged result;
When described the 4th judged result is indicated the set of flag bit of described the second terminal, the call request of calling out described the second terminal is carried out call transfer according to the sensing of flag bit process, do not process otherwise do not carry out call transfer.
The embodiment of the invention has following beneficial effect:
In the embodiment of the invention, the user can use current terminal control temporarily not open or close the call transfer function in terminal on hand;
In the embodiment of the invention, do not change original telecom operation framework, only need operator voluntarily USSD server of framework or and the third party service provider cooperation just can realize this value-added service;
The embodiment of the invention can prevent illegal user to open the call transfer of terminal in the unwitting situation of terminal use, and eavesdropping terminal call information has been guaranteed to avoid by illegal one's share of expenses for a joint undertaking utilization carrying out the fail safe of call transfer when arranging;
In the embodiment of the invention, one temporarily after terminal has not been opened the call transfer function by other-end on hand, can be after obtaining described terminal, by the respective menu cancellation call transfer function of lane terminal.
Description of drawings
Fig. 1 is the structural representation of a kind of USSD server in the embodiment of the invention;
Fig. 2 is the structural representation of a kind of HLR server in the embodiment of the invention;
Fig. 3 is a kind of schematic flow sheet based on the call transfer method of USSD for a USSD server in the embodiment of the invention;
Fig. 4 is a kind of schematic flow sheet based on the call transfer method of USSD for a HLR server in the embodiment of the invention;
Fig. 5 is the schematic flow sheet of USSD server parses one USSD instruction word string in the embodiment of the invention;
Fig. 6 is the schematic flow sheet of a kind of call transfer function of closing a terminal in the embodiment of the invention.
Embodiment
For technical problem, technical scheme and advantage that the embodiment of the invention will be solved is clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
At present, USSD(Unstructured Supplementary Service Data, unstructured supplementary data traffic) is the data interaction conversational mode of developing on GSM short-message system basis, has than the higher transmission rate of Short Message Service and stronger interactivity.USSD technology current application scope is very wide, and also comparative maturity is the main technology that adopts in the embodiment of the invention.
The embodiment of the invention provides a kind of USSD server, as shown in Figure 1, comprising:
The first receiver module is used for receiving the USSD instruction word string that first terminal sends through mobile switching centre, unstructured supplementary data traffic USSD gateway or USSD center successively;
Parsing module is used for described USSD instruction word string is resolved, and obtains analysis result;
The instruction generation module is used for indicating described USSD instruction word string whole when legal at described analysis result, concatenates into the call transfer control command according to described USSD command word;
The first sending module, be used for described call transfer control command is sent to a HLR server, so that described HLR server identifies the call transfer state of described the second terminal according to described call transfer control command, and according to the call transfer state of described the second terminal of sign the conversation of calling out described the second terminal is processed.
First terminal sends a USSD instruction word string to a mobile switching centre, and described mobile switching centre sends to described USSD server by a USSD gateway or USSD center with described USSD instruction word string, is received by described the first receiver module;
Then by described parsing module the described USSD instruction word string that receives is resolved, obtain the analysis result of described USSD instruction word string legitimacy;
Described instruction generation module is only in the whole call transfer control commands that generate when legal of described USSD instruction word string;
Described the first sending module sends to a HLR server with described call transfer control command, so that described HLR server identifies the call transfer state of described the second terminal according to described call transfer control command, and according to the call transfer state of described the second terminal of sign the conversation of calling out described the second terminal is processed.
The embodiment of the invention provides described USSD server, can make things convenient for user's remote control call transfer when mobile phone is lost or omitted, so that the terminal use not can with the contact of interrupting the good friend, simultaneously do not change original telecom operation framework, only need operator voluntarily USSD server of framework or and the third party service provider cooperation just can realize this value-added service.
Wherein, described USSD instruction word string comprises at least: the identification field of call transfer mode control word section, the second terminal and the authentication field of the second terminal;
Described call transfer control command comprises described first terminal sign, described the second terminal iidentification and call transfer state information.
Corresponding, when described USSD instruction word string legitimacy is resolved, should judge successively the legitimacy of the authentication field of the identification field of described call transfer mode control word section, the second terminal and the second terminal, namely described parsing module comprises:
The first acquisition module is used for obtaining described call transfer mode control word section;
The first judge module is used for judging whether described call transfer mode control word section is legal, obtains the first judged result;
The second acquisition module is used for obtaining the identification field of described the second terminal when described the first judged result indicates described call transfer control field legal;
The second judge module, the legitimacy for the identification field of judging described the second terminal obtains the second judged result;
The 3rd acquisition module when legal for the identification field of indicating described the second terminal in described the second judged result, obtains the authentication field of described the second terminal;
The 3rd judge module is used for judging the legitimacy of the authentication field of described the second terminal according to a terminal iidentification that prestores and the corresponding relation of a terminal authentication field, obtains one the 3rd judged result;
When described the 3rd judged result indicates the authentication field of described the second terminal legal, return the first successful result;
Described instruction generation module specifically is used for when described the 3rd judged result indicates the authentication field of described the second terminal legal, determine call transfer state information, described the second terminal iidentification according to the identification field of described call transfer mode control word section, described the second terminal respectively, and confirm that the first terminal that sends described USSD instruction word string identifies, described first terminal sign, the second terminal iidentification and call transfer state information are generated described call transfer control command.
The USSD server that the embodiment of the invention provides, judge at first whether described call transfer mode control word section belongs to the function word string of opening call transfer, be whether described call transfer mode control word section is legal, if the illegal identification field of just no longer obtaining described the second terminal is directly returned the first failure result;
When described call transfer mode control word section is legal, obtain the identification field of described the second terminal, and the legitimacy of judgement identification field, if the illegal authentication field of just no longer obtaining described the second terminal, directly return the second failure result, the identification field here can be the number of described the second terminal, or the information that other can described the second terminal of unique identification;
When the identification field of described the second terminal is legal, obtain the authentication field of described the second terminal, and the legitimacy of judgement authentication field, return the first successful result when legal, return the 3rd failure result when illegal, described USSD server will realize that this service needed has the authorization data storehouse to support, what preserved the database the inside is the corresponding relation of terminal iidentification and terminal authentication field, the authentication field here can be the service password of terminal, generally relies on AUC AUC to judge;
Described instruction generation module only when the 3rd judged result indicates the authentication field of described the second terminal legal, is concatenated into a call transfer control command according to described USSD command word.
The failure in above-mentioned any step all can cause this operation failure, described USSD server is by the legitimacy of the authentication field of judgement the second terminal, prevent illegal user in the unwitting situation of terminal use, to open the call transfer of terminal, eavesdropping terminal call information, guaranteed carrying out the fail safe of call transfer when arranging, avoided by illegal one's share of expenses for a joint undertaking utilization.
Simultaneously, in order to prevent Denial of Service attack, described USSD server can also be arranged on the number of times that in a period of time same terminal iidentification is operated, be that a same terminal iidentification can not repeatedly be operated within a period of time, automatically refuse to provide service for it above described USSD server behind the stipulated number.
For example: the user of terminal A continuously sends the USSD instruction for pernicious purpose, and attempt cracks the service password of terminal B or makes USSD server excess load to paralysis, so the automatic denial of service of server after terminal A transmission surpasses 3 times.
After obtaining analysis result, should in time inform the terminal use, so that the user confirms whether the USSD instruction word string that sends is successful by described USSD server parses, if unsuccessfully should inform user's failure cause, therefore, described USSD server can also comprise:
The second sending module, be used for described analysis result is formed the first message, described SMS platform sends to SMS platform by described USSD gateway or USSD center, described mobile switching centre successively, so that can send to described the first message described first terminal and/or described the second terminal.
Described USSD server forms the first message with analysis result, send to described mobile switching centre by described USSD gateway or USSD center, send to a SMS platform by described mobile switching centre, described SMS platform returns analysis result to described first terminal and/or the second terminal, wherein, when analysis result indicates described USSD instruction word string illegal, return corresponding failure result to described first terminal, make things convenient for the first terminal user to confirm failure cause, can not inform second terminal for saving Internet resources this moment; When returning analysis result and indicate described USSD instruction word string legal, the first successful result is sent to described first terminal, inform simultaneously described the second terminal, short message content can be " when described first terminal has opened the call transfer function of described the second terminal; please in time close this service ", the notice user's communication shifts successfully, when getting access to the second terminal again, the user of the second terminal can know also that the second terminal is by backstage unlatching call transfer, and can check whether user's oneself operation, this can be known by note, because send to the number that must contain first terminal in the note of the second terminal, can judge whether to input lawful acts by this number user, if user's service password is stolen, the user can know that according to this note the stolen and mobile phone communication of cellular service password is ravesdropping, can the backward tracing disabled user.
Above-mentioned call transfer state information can for opening or close call transfer, determine to open or close call transfer by the call transfer mode control word section in the described USSD instruction word string.
The described USSD server of the embodiment of the invention refers to the service provider, can be by operator's this server of framework voluntarily, in order to resolve the USSD command character, also can be provided by the third party, third party service provider can be reached an agreement with Virtual network operator, rent its database and network, this database will provide the checking of target mobile phones number and user's service password, just can provide corresponding service after information is correct.
The embodiment of the invention also provides a kind of HLR server, as shown in Figure 2, comprising:
The second receiver module is used for receiving the call transfer control command that the USSD server sends; Described call transfer control command comprises first terminal sign, the second terminal iidentification and call transfer state information
Identification module is for the call transfer state that identifies described the second terminal according to described call transfer control command;
Processing module is used for according to the call transfer state of described the second terminal that identifies the conversation of calling out described the second terminal being processed.
The call transfer control command that described identification module receives according to described the second receiver module identifies the call transfer state of described the second terminal, and described processing module is processed the conversation of calling out described the second terminal according to the call transfer state of described second terminal of sign.
Wherein, preferably, described identification module is specially a flag bit is set, according to described call transfer state control command so that flag bit set or zero clearing identify the call transfer state of described the second terminal, wherein:
Described call transfer information is that flag bit set is also pointed to described first terminal when opening call transfer;
Described call transfer information when closing call transfer, the flag bit zero clearing.
By in described HLR server, a flag bit being set, come marking terminal whether to open or close call transfer, flag bit set markers will the second terminal has been opened the call transfer service, indicates during the flag bit zero clearing that the second terminal closes call transfer.
Wherein, preferably, described processing module specifically comprises:
The 4th judge module is used for when receiving the call request of calling out described the second terminal, judges the whether set of flag bit of described the second terminal, obtains one the 4th judged result;
Process submodule, be used for when described the 4th judged result is indicated the set of flag bit of described the second terminal, the call request of calling out described the second terminal is carried out call transfer according to the sensing of flag bit process, do not process otherwise do not carry out call transfer.
Described HLR server is when receiving the conversation of calling out described the second terminal, can judge the whether set of flag bit of described the second terminal, the call request of calling out described the second terminal can be carried out call transfer according to the sensing of flag bit during set and process, namely carry out call transfer, transfer to first terminal; During the flag bit zero clearing, do not need to carry out call transfer and process, just realized opening or closing by first terminal the call transfer function of the second terminal this moment, namely realize when mobile phone not at one's side the time, by another mobile phone realization call transfer function.
General call transfer is divided into all conversations of transfer, shift when calling forward on busy with the ring unanswered, what the HLR server wanted that the backstage opens in the embodiment of the invention is to shift all conversations, the call transfer of other situations can't normally realize call transfer such as calling forward on busy, shift during the ring unanswered also to a kind of illusion of contact person, the user of upper second terminal that can't in time contact shifts all conversations so the HLR Server Default in the embodiment of the invention is opened.
Open the call transfer function and can be realized that by said process two kinds of implementations are arranged when closing the call transfer function of the second terminal:
<mode one〉user of the second terminal gets access to the second terminal, check that SMS notification recognizes that the second terminal opened the call transfer function, the user can enter setup menu this moment, enter the conversation setup menu of the inside, there is the menu of cancellation call transfer the inside, by this menu again, the user can cancel the call transfer function of the second terminal, the at this moment flag bit P zero clearing in the HLR server, the phone of all the second terminals can not be transferred, and call recovery is normal;
<mode two〉if the second terminal use does not obtain the second terminal, still still want to close the call transfer service of the second terminal, need to send USSD and order to realize this moment by the first terminal that the user gets access to.The similar process of this process and unlatching, different is after the USSD server is analyzed the USSD word string, can be with the flag bit zero clearing in the HLR server, the phone of calling out the second terminal this moment recovers proper communication.
The embodiment of the invention also provides a kind of call transfer method based on USSD, is used for a USSD server, as shown in Figure 3, comprising:
Step 31 receives the USSD instruction word string that first terminal sends through mobile switching centre, unstructured supplementary data traffic USSD gateway or USSD center successively;
Step 32 is resolved described USSD instruction word string, obtains analysis result;
Step 33 indicates described USSD instruction word string whole when legal at described analysis result, concatenates into the call transfer control command according to described USSD command word;
Step 34, described call transfer control command is sent to a HLR server, so that described HLR server identifies the call transfer state of described the second terminal according to described call transfer control command, and according to the call transfer state of described the second terminal of sign the conversation of calling out described the second terminal is processed.
Wherein, described USSD instruction word string comprises at least: the identification field of call transfer mode control word section, the second terminal and the authentication field of the second terminal;
Described call transfer control command comprises described first terminal sign, described the second terminal iidentification and call transfer state information.
Wherein, preferably, step 32 can be specially:
Step 321 is obtained described call transfer mode control word section;
Step 322 judges whether described call transfer mode control word section is legal, obtains one first judged result, if the legal step 323 that enters, otherwise would enter step 324;
Step 323 is obtained the identification field of described the second terminal;
Step 324 is returned one first failure result;
Step 325 is judged the legitimacy of the identification field of described the second terminal to obtain one second judged result, if the legal step 326 that enters, otherwise would enter step 327;
Step 326 is obtained the authentication field of described the second terminal;
Step 327 is returned one second failure result;
Step 328 according to the corresponding relation of a terminal iidentification that prestores and a terminal authentication field, is judged the legitimacy of the authentication field of described the second terminal, obtains one the 3rd judged result, if the legal step 329 that enters, otherwise would enter step 3210;
Step 329 is returned one first successful result;
Step 3210 is returned one the 3rd failure result.
Wherein step 33 is specifically when described the 3rd judged result indicates the authentication field of described the second terminal legal, determine call transfer state information, described the second terminal iidentification according to the identification field of described call transfer mode control word section, described the second terminal respectively, and confirm that the first terminal that sends described USSD instruction word string identifies, described first terminal sign, the second terminal iidentification and call transfer state information are generated described call transfer control command.
Wherein, preferably, said method also comprises:
Step 35, described analysis result is formed the first message, described SMS platform sends to SMS platform by described USSD gateway or USSD center, described mobile switching centre successively, so that can send to described the first message described first terminal and/or described the second terminal.
Wherein, preferably, in the said method, described call transfer state information is: open or close call transfer.
The embodiment of the invention also provides a kind of call transfer method based on USSD, is used for a HLR server, as shown in Figure 4, comprising:
Step 41 receives the call transfer control command that the USSD server sends; Described call transfer control command comprises first terminal sign, the second terminal iidentification and call transfer state information;
Step 42 identifies the call transfer state of described the second terminal according to described call transfer control command;
Step 43 is processed the conversation of calling out described the second terminal according to the call transfer state of described the second terminal that identifies.
Wherein, preferably, step 42 can be specially:
One flag bit is set, according to described call transfer state control command so that flag bit set or zero clearing identify the call transfer state of described the second terminal, wherein:
Described call transfer information is that flag bit set is also pointed to described first terminal when opening call transfer;
Described call transfer information when closing call transfer, the flag bit zero clearing.
Wherein, preferably, step 43 specifically comprises:
Step 431 when receiving the call request of calling out described the second terminal, is judged the whether set of flag bit of described the second terminal, obtains one the 4th judged result;
Step 432 when described the 4th judged result is indicated the set of flag bit of described the second terminal, is carried out call transfer with the call request of calling out described the second terminal according to the sensing of flag bit and is processed, and does not process otherwise do not carry out call transfer.
Below in conjunction with the actual said process that specifies, as shown in Figure 5.
The mobile phone A that the user gets access to sends a USSD word string by mobile phone A, and wherein, this word string is: * 123+15751563375+06490#;
USSD word string Analysis server starts corresponding routine analyzer and from left to right analyzes this word string, at first read front four * 123, judge whether front four belong to the function word string of opening call transfer, return to the USSD gateway if read the failure of kinetic energy word string then send failure command;
As otherwise continue down to read 11 phone number, the 15751563375th, the number of mobile phone B judges whether it is legal phone number;
If phone number is legal, analyzer will continue down to read the cellular service password, the 06490th, and user's service password of mobile phone B, this time the validity judgement of service password will rely on AUC AUC to judge;
If unanimously then continue to read word string, can continue down reading character otherwise send the correct words analyzer of SMS notification mobile phone A operation failure password, read #, this time just analyze and successfully be through with, otherwise the failure in any step all can cause this operation failure.
In order to prevent Denial of Service attack, a same number can not repeatedly be operated in a period of time, such as mobile phone A is in pernicious purpose, continuously send the USSD instruction, attempt cracks the service password of mobile phone B or makes USSD server excess load to paralysis, so server was refused Analysis Service automatically after mobile phone A sent and surpasses 3 times, SMS platform can be sent short messages and be told the user to send above 3 times, please tries after a while again.
In said process, local side receives this USSD word string, and this USSD word string is sent to the USSD server;
The USSD server is analyzed this word string, carries out validity checking, and the situation that may occur is processed;
After resolve finishing analysis result is sent to the USSD gateway, the USSD gateway is sent to mobile services switching centre MSC with the result, and the SMS platform by with it link is with mobile phone A and the mobile phone B of operating result note announcement;
If the call transfer function is opened in request, then with the register P set of HLR register, the phone of calling handset B will be transferred mobile phone A this moment;
Close this type of call transfer function, dual mode arranged:
<mode one〉as shown in Figure 6, the user gets access to mobile phone B, check that SMS notification recognizes that mobile phone B opened the call transfer function, the user can enter setup menu this moment, enters the conversation setup menu of the inside again, there is the menu of cancellation call transfer the inside, by this menu, the user can cancel the call transfer function of mobile phone B, at this moment the flag bit P zero clearing in the HLR server, the phone of all-calls B can not be transferred to mobile phone A, and call recovery is normal;
<mode two〉if the user does not obtain mobile phone B, still still think the call transfer service of closing hand phone B, need to send USSD and order to realize this moment by the mobile phone A that the user gets access to.The similar process of this process and unlatching, different is after the USSD server is analyzed the USSD word string, can be with the flag bit zero clearing in the HLR server, this moment, the phone of calling handset B recovered proper communication, the SMS platform transmit operation is mobile phone A and the mobile phone B of note announcement as a result, so far the call transfer function will be closed, and realizes that with this mobile phone A comes the call transfer of remote closing mobile phone B by USSD.
The embodiment of the invention can realize the demand that the user is badly in need of the most with the cost of minimum, and mobile phone is lost or do not forgotten so that user's communication contacts can be interrupted.
The above is 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 principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1. a USSD server is characterized in that, comprising:
The first receiver module is used for receiving the USSD instruction word string that first terminal sends through mobile switching centre, unstructured supplementary data traffic USSD gateway or USSD center successively;
Parsing module is used for described USSD instruction word string is resolved, and obtains analysis result;
The instruction generation module is used for indicating described USSD instruction word string whole when legal at described analysis result, concatenates into the call transfer control command according to described USSD command word;
The first sending module, be used for described call transfer control command is sent to a HLR server, so that described HLR server identifies the call transfer state of described the second terminal according to described call transfer control command, and according to the call transfer state of described the second terminal of sign the conversation of calling out described the second terminal is processed.
2. USSD server according to claim 1 is characterized in that, described USSD instruction word string comprises at least: the identification field of call transfer mode control word section, the second terminal and the authentication field of the second terminal;
Described call transfer control command comprises described first terminal sign, described the second terminal iidentification and call transfer state information.
3. USSD server as claimed in claim 2 is characterized in that, described parsing module comprises:
The first acquisition module is used for obtaining described call transfer mode control word section;
The first judge module is used for judging whether described call transfer mode control word section is legal, obtains the first judged result;
The second acquisition module is used for obtaining the identification field of described the second terminal when described the first judged result indicates described call transfer control field legal;
The second judge module, the legitimacy for the identification field of judging described the second terminal obtains the second judged result;
The 3rd acquisition module when legal for the identification field of indicating described the second terminal in described the second judged result, obtains the authentication field of described the second terminal;
The 3rd judge module is used for judging the legitimacy of the authentication field of described the second terminal according to a terminal iidentification that prestores and the corresponding relation of a terminal authentication field, obtains one the 3rd judged result;
When described the 3rd judged result indicates the authentication field of described the second terminal legal, return the first successful result;
Described instruction generation module specifically is used for when described the 3rd judged result indicates the authentication field of described the second terminal legal, determine call transfer state information, described the second terminal iidentification according to the identification field of described call transfer mode control word section, described the second terminal respectively, and confirm that the first terminal that sends described USSD instruction word string identifies, described first terminal sign, the second terminal iidentification and call transfer state information are generated described call transfer control command.
4. USSD server as claimed in claim 1 is characterized in that, also comprises:
The second sending module, be used for described analysis result is formed the first message, described SMS platform sends to SMS platform by described USSD gateway or USSD center, described mobile switching centre successively, so that can send to described the first message described first terminal and/or described the second terminal.
5. USSD server as claimed in claim 2 is characterized in that, described call transfer state information is: open or close call transfer.
6. a HLR server is characterized in that, comprising:
The second receiver module is used for receiving the call transfer control command that the USSD server sends; Described call transfer control command comprises first terminal sign, the second terminal iidentification and call transfer state information;
Identification module is for the call transfer state that identifies the second terminal according to described call transfer control command;
Processing module is used for according to the call transfer state of described the second terminal that identifies the conversation of calling out described the second terminal being processed.
7. HLR server as claimed in claim 6 is characterized in that, described identification module is specially a flag bit is set, according to described call transfer state control command so that flag bit set or zero clearing identify the call transfer state of described the second terminal, wherein:
Described call transfer information is that flag bit set is also pointed to described first terminal when opening call transfer;
Described call transfer information when closing call transfer, the flag bit zero clearing.
8. HLR server as claimed in claim 7 is characterized in that, described processing module specifically comprises:
The 4th judge module is used for when receiving the call request of calling out described the second terminal, judges the whether set of flag bit of described the second terminal, obtains one the 4th judged result;
Process submodule, be used for when described the 4th judged result is indicated the set of flag bit of described the second terminal, the call request of calling out described the second terminal is carried out call transfer according to the sensing of flag bit process, do not process otherwise do not carry out call transfer.
9. the call transfer method based on USSD is used for a USSD server, it is characterized in that, comprising:
Receive the USSD instruction word string that first terminal sends through mobile switching centre, unstructured supplementary data traffic USSD gateway or USSD center successively;
Described USSD instruction word string is resolved, obtain analysis result;
Indicate described USSD instruction word string whole when legal at described analysis result, concatenate into the call transfer control command according to described USSD command word;
Described call transfer control command is sent to a HLR server, so that described HLR server identifies the call transfer state of described the second terminal according to described call transfer control command, and according to the call transfer state of described the second terminal of sign the conversation of calling out described the second terminal is processed.
10. the call transfer method based on USSD according to claim 9 is characterized in that,
Described USSD instruction word string comprises at least: the identification field of call transfer mode control word section, the second terminal and the authentication field of the second terminal;
Described call transfer control command comprises described first terminal sign, described the second terminal iidentification and call transfer state information.
11. the call transfer method based on USSD as claimed in claim 10 is characterized in that, described described USSD instruction word string is resolved, and obtains analysis result and specifically comprises:
Obtain described call transfer mode control word section;
Judge whether described call transfer mode control word section is legal, obtains the first judged result;
When described the first judged result indicates described call transfer control field legal, obtain the identification field of described the second terminal;
Judge the legitimacy of the identification field of described the second terminal, obtain the second judged result;
When the identification field of indicating described the second terminal in described the second judged result is legal, obtain the authentication field of described the second terminal;
According to the corresponding relation of a terminal iidentification that prestores and a terminal authentication field, judge the legitimacy of the authentication field of described the second terminal, obtain one the 3rd judged result;
When described the 3rd judged result indicates the authentication field of described the second terminal legal, return the first successful result;
Describedly indicate described USSD instruction word string whole when legal at described analysis result, concatenating into the call transfer control command according to described USSD command word is specially when described the 3rd judged result indicates the authentication field of described the second terminal legal, respectively according to described call transfer mode control word section, the identification field of described the second terminal is determined the call transfer state information, described the second terminal iidentification, and confirm that the first terminal that sends described USSD instruction word string identifies, with described first terminal sign, the second terminal iidentification and call transfer state information generate described call transfer control command.
12. the call transfer method based on USSD as claimed in claim 9 is characterized in that, also comprises:
Described analysis result is formed the first message, described SMS platform sends to SMS platform by described USSD gateway or USSD center, described mobile switching centre successively, so that can send to described the first message described first terminal and/or described the second terminal.
13. USSD server as claimed in claim 10 is characterized in that, described call transfer state information is: open or close call transfer.
14. the call transfer method based on USSD is used for a HLR server, it is characterized in that, comprising:
Receive the call transfer control command that the USSD server sends; Described call transfer control command comprises first terminal sign, the second terminal iidentification and call transfer state information;
Identify the call transfer state of the second terminal according to described call transfer control command;
Call transfer state according to described the second terminal that identifies is processed the conversation of calling out described the second terminal.
15. the call transfer method based on USSD as claimed in claim 14, it is characterized in that, the described call transfer state that identifies described the second terminal according to described call transfer control command is specially a flag bit is set, according to described call transfer state control command so that flag bit set or zero clearing identify the call transfer state of described the second terminal, wherein:
Described call transfer information is that flag bit set is also pointed to described first terminal when opening call transfer;
Described call transfer information when closing call transfer, the flag bit zero clearing.
16. the call transfer method based on USSD as claimed in claim 15 is characterized in that, the call transfer state of described described the second terminal according to identifying is processed specifically the conversation of calling out described the second terminal and is comprised:
When receiving the call request of calling out described the second terminal, judge the whether set of flag bit of described the second terminal, obtain one the 4th judged result;
When described the 4th judged result is indicated the set of flag bit of described the second terminal, the call request of calling out described the second terminal is carried out call transfer according to the sensing of flag bit process, do not process otherwise do not carry out call transfer.
CN201210389730.6A 2012-10-15 2012-10-15 A kind of USSD server, HLR server and the call transfer method based on USSD Active CN102905241B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210389730.6A CN102905241B (en) 2012-10-15 2012-10-15 A kind of USSD server, HLR server and the call transfer method based on USSD
PCT/CN2013/080027 WO2013185681A1 (en) 2012-10-15 2013-07-24 Ussd server, hlr server, and call transfer method based on ussd

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210389730.6A CN102905241B (en) 2012-10-15 2012-10-15 A kind of USSD server, HLR server and the call transfer method based on USSD

Publications (2)

Publication Number Publication Date
CN102905241A true CN102905241A (en) 2013-01-30
CN102905241B CN102905241B (en) 2015-12-16

Family

ID=47577238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210389730.6A Active CN102905241B (en) 2012-10-15 2012-10-15 A kind of USSD server, HLR server and the call transfer method based on USSD

Country Status (2)

Country Link
CN (1) CN102905241B (en)
WO (1) WO2013185681A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013185681A1 (en) * 2012-10-15 2013-12-19 中兴通讯股份有限公司 Ussd server, hlr server, and call transfer method based on ussd
CN104125550A (en) * 2014-06-23 2014-10-29 小米科技有限责任公司 Communication forwarding method, terminal, server and system
CN106488421A (en) * 2015-08-28 2017-03-08 中国移动通信集团公司 A kind of evade the method and apparatus that invalid transferred number is set by mistake
WO2017173967A1 (en) * 2016-04-06 2017-10-12 中兴通讯股份有限公司 Redirection method, service provider, unstructured supplementary service data center, and system
CN109151743A (en) * 2017-06-13 2019-01-04 中兴通讯股份有限公司 A kind of method, apparatus and system of call forwarding

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1228898A (en) * 1996-06-24 1999-09-15 艾利森公司 Validating forward-to-number within mobile telecommunications system
CN1406043A (en) * 2002-10-10 2003-03-26 中国电信集团广东省电信公司 Method for network system of telecommunication operation trader to provide calling transfer for users of other telecommunication network
US6925162B1 (en) * 1999-09-16 2005-08-02 Mci, Inc. Method and system for negotiated call forwarding
CN102665185A (en) * 2012-05-11 2012-09-12 华为技术有限公司 Method, device and system for opening call forwarding service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3682767B2 (en) * 2000-12-20 2005-08-10 株式会社エヌ・ティ・ティ・ドコモ Transfer control system, transfer control method, and transfer control terminal
CN102905241B (en) * 2012-10-15 2015-12-16 中兴通讯股份有限公司 A kind of USSD server, HLR server and the call transfer method based on USSD

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1228898A (en) * 1996-06-24 1999-09-15 艾利森公司 Validating forward-to-number within mobile telecommunications system
US6925162B1 (en) * 1999-09-16 2005-08-02 Mci, Inc. Method and system for negotiated call forwarding
CN1406043A (en) * 2002-10-10 2003-03-26 中国电信集团广东省电信公司 Method for network system of telecommunication operation trader to provide calling transfer for users of other telecommunication network
CN102665185A (en) * 2012-05-11 2012-09-12 华为技术有限公司 Method, device and system for opening call forwarding service

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013185681A1 (en) * 2012-10-15 2013-12-19 中兴通讯股份有限公司 Ussd server, hlr server, and call transfer method based on ussd
CN104125550A (en) * 2014-06-23 2014-10-29 小米科技有限责任公司 Communication forwarding method, terminal, server and system
CN104125550B (en) * 2014-06-23 2018-11-30 小米科技有限责任公司 Communication transfer method, terminal, server and system
CN106488421A (en) * 2015-08-28 2017-03-08 中国移动通信集团公司 A kind of evade the method and apparatus that invalid transferred number is set by mistake
CN106488421B (en) * 2015-08-28 2020-02-14 中国移动通信集团公司 Method and device for avoiding mistakenly setting invalid forward-shifting number
WO2017173967A1 (en) * 2016-04-06 2017-10-12 中兴通讯股份有限公司 Redirection method, service provider, unstructured supplementary service data center, and system
CN107277864A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 Reorientation method, service provider, unstructured supplementary data traffic center and system
CN109151743A (en) * 2017-06-13 2019-01-04 中兴通讯股份有限公司 A kind of method, apparatus and system of call forwarding

Also Published As

Publication number Publication date
CN102905241B (en) 2015-12-16
WO2013185681A1 (en) 2013-12-19

Similar Documents

Publication Publication Date Title
US7773550B2 (en) Peer-to-peer mobile data transfer method and device
CN105915517A (en) Realization method for voice verification code service
US20020098856A1 (en) Method and apparatus for sending out short messages from a mobile terminal in a mobile radio network
CN102905241B (en) A kind of USSD server, HLR server and the call transfer method based on USSD
CN105307158A (en) Identity verification method of mobile phone number of communication terminal
CN107979821B (en) Method and device for processing illegal No.7 signaling
KR100469609B1 (en) Apparatus and method of wire-wireless unfinished call caller information offering service
KR20070096162A (en) Spam call blocking service system and method
CN107333266A (en) Caller ID verification method and caller ID checking system
KR101024281B1 (en) Method and system breaking spam calling
CN100512501C (en) Information notification method, system and device for mobile intelligent subscriber during international roaming
CN107343278B (en) Method for implementing number verification service through voice call
KR101069059B1 (en) method for verifying counsel using verification code
KR101468431B1 (en) Mobile Communication System for Intercepting Spam-Call and Control Method thereof
KR101016650B1 (en) Method and device for controlling for data service offer
KR101051021B1 (en) Incoming call history providing method and system
CN102821370A (en) Method and system for reporting suspicious numbers based on intelligent network
CN1956559B (en) System and method of sending and receiving short message of double-mode phone
KR101493066B1 (en) Method for Processing Program for Location Based Service
KR101470018B1 (en) System and method for improving call process of roaming terminal
KR101717779B1 (en) Method for Selective Providing Message based on Location
KR101712151B1 (en) Method for Selective Providing Message based on Location
KR101493071B1 (en) Method for Providing Selective Location Based Service
KR101564682B1 (en) Method for Selective Displaying Message based on Location
KR20060057814A (en) Confirmation system for caller information and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: Room 705, 7 / F, room 9, 1699, Zuchongzhi South Road, Kunshan City, Suzhou City, Jiangsu Province

Patentee after: Kunshan chuangzhihui Intellectual Property Operation Co.,Ltd.

Address before: 518057 Ministry of justice, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Patentee before: ZTE Corp.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 215300 rooms 107 and 108, area C, 55 Xiaxi street, Kunshan Development Zone, Suzhou City, Jiangsu Province

Patentee after: Kunshan chuangzhihui Intellectual Property Operation Co.,Ltd.

Address before: Room 705, 7 / F, room 9, 1699, Zuchongzhi South Road, Kunshan City, Suzhou City, Jiangsu Province

Patentee before: Kunshan chuangzhihui Intellectual Property Operation Co.,Ltd.