Background technology
Present GPRS (General Packet Radio Service, GPRS) PDP of network requests (Packet Data Protocol, packet data protocol) the context activation request can only be handled normal GPRS and get routing procedure, the user has polytype terminal in the prior art, wherein the part terminal is not supported for the PDP activation of network initiation, even the user has the terminal of network enabled side activating, the PDP business that network side is initiated also differs successful surely.In addition, if terminal closedown or certain reason terminal that the user uses are unreachable, also can't obtain the PDP business.
At GSM (Global System for Mobile Communications, global system for mobile communications) and UMTS (Universal Mobile Telecommunications System, universal mobile telecommunications system) in the network, the PDP activation process that network side is initiated may further comprise the steps:
(1), GGSN (Gateway GPRS Supporting Node, Gateway GPRS Support Node) receives the PDP activation request of network side;
(2), GGSN arrives HLR (HomeLocation Register by Send Routing Information for GPRS message, attaching position register) obtains called GPRS user position information, if the SGSN under this called GPRS user is arranged among the HLR, then this SGSN address is returned, if not then return failure; If return success then carry out (3) and follow-up flow process, return and fail then that flow process finishes;
(3), GGSN sends PDU Notification Request message to SGSN (Serving GPRS Supporting Node, Serving GPRS Support Node), carries called GPRS user's IMSI number in this message; And receive the PDU Notification Response message that SGSN returns;
(4), SGSN sends request PDP context activation message to this called GPRS user;
(5), GGSN and called GPRS user carry out pdp context activation.
In the PDP activation process that above-mentioned network side is initiated, HLR returns success, and carries out network side and activates, and the handling process of failing may appear in activation, may further comprise the steps:
(1), SGSN sends PDU Notification Response message to GGSN;
(2), SGSN sends PDU Notification Reject Request message to GGSN, and receives the PDU Notification Reject Response message that GGSN returns;
(3), HLR receives the Send Routing Info for GPRS message that GGSN sends, and returns Send Routing Info for GPRS Ack message to GGSN; The address information that whether has called GPRS user with definite HLR at this moment;
(4), GGSN sends failure reporting to HLR, and HLR may write down the unreachable sign of user that MS GPRS Detached (called user terminal is unreachable) causes, and returns failure reporting to GGSN and confirm.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
In the prior art, when the called subscriber wishes not online at GPRS for a long time, promptly in HLR, be in purge (shut down for a long time or do not have user profile etc.) state, when forwarding other terminal to before need GPRS activating service with network side, perhaps because called user terminal is limited in one's ability, wish to forward other terminal to before the GPRS activating service that network side initiates, then prior art can't realize.
Summary of the invention
The invention provides the processing method, system and the equipment that change before a kind of GPRS of realization, with according to changeing gprs service before called subscriber's demand.
For achieving the above object, the embodiment of the invention provides the processing method of changeing before a kind of GPRS of realization, comprising:
Attaching position register is provided with user's GPRS Redirection Information, sends to described attaching position register and obtains route request information;
What receive that described attaching position register returns obtains route response message, carries the GPRS Redirection Information of called GPRS user's correspondence in the described response message;
According to described GPRS Redirection Information described called GPRS user is carried out preceding commentaries on classics.
The embodiment of the invention provides a kind of preceding treatment system of changeing of GPRS GPRS that realizes, comprising:
Attaching position register is used to store the GPRS Redirection Information of setting and called GPRS user's corresponding relation, and receive that GGSN sends obtain route request information the time, by obtaining route response message the GPRS Redirection Information is returned to GGSN;
GGSN, be used for obtaining route request information to the attaching position register transmission, what receive that described attaching position register returns obtains route response message, carry the GPRS Redirection Information of called GPRS user's correspondence in the described response message, described called GPRS user is carried out preceding commentaries on classics according to described GPRS Redirection Information.
The embodiment of the invention provides a kind of attaching position register, comprising:
Memory cell is used to store the GPRS Redirection Information of setting and called GPRS user's corresponding relation;
Receiving element is used to receive the route request information of obtaining that GGSN sends;
Transmitting element is used for obtaining route response message to described GGSN transmission, carries the GPRS Redirection Information in the described response message and returns.
The embodiment of the invention provides a kind of Gateway GPRS Support Node GGSN, comprising:
Request transmitting unit is used for obtaining route request information to the attaching position register transmission;
The response receiving element is used to receive that described attaching position register returns obtains route response message, carries the GPRS Redirection Information of called GPRS user's correspondence in the described response message;
The preceding unit that changes is used for according to described GPRS Redirection Information described called GPRS user being carried out preceding commentaries on classics.
Compared with prior art, there is following advantage at least in the present 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 only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of preceding processing method of changeing of GPRS GPRS that realizes, as shown in Figure 1, comprising:
Step 101 is obtained route request information to the attaching position register transmission;
Step 102, what receive that described attaching position register returns obtains route response message, carries the GPRS Redirection Information of called GPRS user's correspondence in the described response message;
Step 103 is carried out preceding commentaries on classics according to described GPRS Redirection Information to described called GPRS user.
The embodiment of the invention provides the processing method of changeing before a kind of GPRS of realization, as shown in Figure 2, may further comprise the steps:
Step 201 is provided with user's GPRS Redirection Information at HLR, and this Redirection Information can adopt multiple mode to be provided with, and below illustrates:
(1) is provided with by the business hall;
(2) terminal of using by the user adopts supplementary service registration GPRS transferred number;
Below 1234556 be transferred number, 99 is the gprs service sign indicating number;
Change before registering unconditional GPRS: * 21*1234556*99#; Change before removing to register unconditional GPRS: ##21*1234556*99#;
Change before registering unreachable GPRS: * 62*1234556*99#; Change before removing to register unreachable GPRS: ##62*1234556*99#;
(3) terminal of using by the user adopts USSD (Unstructured Supplementary ServiceData, unstructured supplementary data traffic) operation setting GPRS transferred number;
Below 1234556 be transferred number, 138 and 139 are for example USSD service code configuration;
Before being set, changes unconditional GPRS: * 138*1234556#; Change before cancelling unconditional GPRS: ##138*1234556#;
Before being set, changes unreachable GPRS: * 139*1234556#; Change before cancelling unreachable GPRS: ##139*1234556#;
(4) terminal of using by the user is changeed the address before adopting USSD operation setting GPRS;
Below 010001017233 be preceding commentaries on classics address (expression IP address 10.1.17.233), 138 and 139 is the USSD service code;
Before being set, changes unconditional GPRS: * 138*010001017233#; Change before cancelling unconditional GPRS: ##138#;
Before being set, changes unreachable GPRS: * 139*010001017233#; Change before cancelling unreachable GPRS: ##139#;
(5) by short message the preceding GPRS of commentaries on classics address is set, promptly pass through according to certain form the GPRS Redirection Information, such as " * 138*1234556# ", send to the special service number of short message service center, handle by this special number corresponding server, make amendment to HLR by the BOSS system then;
Wherein, the GPRS Redirection Information that is provided with at HLR can be the IP address of called subscriber's Mobile Subscriber International ISDN Number or other gateway devices, also is not limited thereto certainly.Current commentaries on classics message is mobile subscriber's Mobile Subscriber International ISDN Number, then before forwards the affiliated attaching position register of Mobile Subscriber International ISDN Number to; Current commentaries on classics message is gateway device IP address, then before forwards the gateway device of this IP address correspondence to.
Step 202, when the user who is provided with the GPRS Redirection Information did the GPRS network side activating, HLR can return the GPRS Redirection Information when GGSN gets route;
Expansion GPRS gets route response message, dual mode is arranged: (1) increases the GPRS Redirection Information in the extended field extensionContainer that obtains route response message SendRoutingInfoForGprsRes, optional parameters as following being numbered " [3] ", carry out expanded definition inside, increase the GPRS Redirection Information; (2) in obtaining route response message SendRoutingInfoForGprsRes, increase the spreading parameter of a parametric description GPRS Redirection Information, as be numbered the optional parameters of " [4] ", directly define the GPRS Redirection Information.
Wherein, the program language of first kind of mode is as follows:
SendRoutingInfoForGprsRes::=SEQUENCE{
sgsn-Address [0]GSN-Address,
ggsn-Address [1]GSN-Address?OPTIONAL,
mobileNotReachableReason[2] AbsentSubscriberDiagnosticSMOPTIONAL,
extensionContainer [3]ExtensionContainer?OPTIONAL,
...}
Wherein, the program language of the second way is as follows:
SendRoutingInfoForGprsRes::=SEQUENCE{
sgsn-Address [0]GSN-Address,
ggsn-Address [1]GSN-Address?OPTIONAL,
mobileNotReachableReason[2] AbsentSubscriberDiagnosticSMOPTIONAL,
extensionContainer [3]ExtensionContainer?OPTIONAL,
gprsforwardingData [4]GprsForwardingData?OPTIONAL,
...}
Wherein, the optional parameters particular content that is numbered " [4] " is as follows:
GprsForwardingData::=CHOICE{
forwardedToNumber[0]ISDN-AddressString
externalAddress[1]ExternalAddress
} // be provided with Gprs Redirection Information comprises optional transferred number or preceding commentaries on classics address;
ExternalAddress::=OCTET STRING (SIZE (1..16)) // preceding commentaries on classics address format
--Octets?are?coded?according?to?TS?GSM?09.60
--The?possible?size?values?are:
--1-7?octets?X.25?address?type
--4?octets?IPv4?address?type
--16?octets?Ipv6?address?type
Step 203, GGSN carries out preceding commentaries on classics according to described GPRS Redirection Information to described called GPRS user.
If Redirection Information is another one mobile subscriber's a Mobile Subscriber International ISDN Number, then before forward the affiliated HLR of this Mobile Subscriber International ISDN Number to; If Redirection Information is the IP address of other gateway devices, then before forward the gateway device of this IP address correspondence to.
In the embodiment of the invention, if the Redirection Information that is provided with among the HLR is another one mobile subscriber's a Mobile Subscriber International ISDN Number, this user's Mobile Subscriber International ISDN Number belongs to another HLR, and then handling process may further comprise the steps as shown in Figure 3:
Step 301, the PDP that GGSN receives network side activates request;
Step 302, GGSN obtains called GPRS user position information by Send Routing Information for GPRS message to HLR, HLR returns the GPRS Redirection Information to GGSN by Send Routing Information for GPRSAck message, and the called subscriber who changes before this is positioned at another HLR;
Step 303, GGSN obtains the IMSI (corresponding relation of store M SISDN and called GPRS user IMSI number in HLR can obtain called GPRS user IMSI number according to this relation and transferred number MSISDN) of transferred number MSISDN correspondence to another HLR; Wherein obtain manner can adopt flow processs such as SENDIMSI operation in the existing MAP flow process or SendRoutingInfoForSMS;
Step 304, GGSN obtains called GPRS user position information by Send Routing Information for GPRS message to another HLR, promptly obtains called GPRS user and belongs to which SGSN; And receive the Send Routing Information for GPRSAck message that another HLR returns;
Step 305, GGSN sends PDU Notification Request message to SGSN (Serving GPRS Supporting Node, Serving GPRS Support Node), carries called GPRS user's IMSI number in this message; And receive the PDU Notification Response message that SGSN returns;
Step 306, SGSN sends request PDP context activation message to this called GPRS user;
Step 307, GGSN and called GPRS user carry out pdp context activation.
In the embodiment of the invention, if what be provided with among the HLR is IP address (such as the address of this IP address for certain permanent plant of user, as notebook), then handling process may further comprise the steps as shown in Figure 4:
Step 401, the PDP that GGSN receives network side activates request;
Step 402, GGSN obtains the positional information of called equipment to HLR by Send Routing Information for GPRS message, HLR returns the GPRS Redirection Information to GGSN by Send Routing Information for GPRS Ack message, the IP address of corresponding other GGSN of this GPRS Redirection Information or the IP address of other gateway devices;
Step 403, the GGSN basis should be initiated business to other GGSN or other gateway devices in preceding IP address of changeing again, such as delivery email, propelling movement electronic document, propelling movement download song etc.
The embodiment of the invention provides the treatment system of changeing before a kind of GPRS of realization, as shown in Figure 5, comprises attaching position register 510 and GGSN520.Attaching position register 510 is used to store the GPRS Redirection Information of setting and called GPRS user's corresponding relation, and receive that GGSN520 sends obtain route request information the time, by obtaining route response message the GPRS Redirection Information is returned to GGSN520; GGSN520, be used for obtaining route request information to attaching position register 510 transmissions, what receive that attaching position register 510 returns obtains route response message, carry the GPRS Redirection Information of called GPRS user's correspondence in the response message, called GPRS user is carried out preceding commentaries on classics according to the GPRS Redirection Information.
The embodiment of the invention provides a kind of attaching position register, as shown in Figure 6, comprising: receiving element 610 is used to receive the route request information of obtaining that GGSN sends; Transmitting element 620 is used for obtaining route response message to the GGSN transmission, carries the GPRS Redirection Information in the response message and returns.
Optionally, this attaching position register also comprises:
Memory cell 630 is used to store the GPRS Redirection Information of setting and called GPRS user's corresponding relation.
The embodiment of the invention provides a kind of GGSN, as shown in Figure 7, comprising: request transmitting unit 710 is used for obtaining route request information to the attaching position register transmission; Response receiving element 720 is used to receive that attaching position register returns obtains route response message, carries the GPRS Redirection Information of called GPRS user's correspondence in the response message; The preceding unit 730 that changes is used for according to the GPRS Redirection Information called GPRS user being carried out preceding commentaries on classics.
Wherein, response receiving element 720 specifically is used for increasing the GPRS Redirection Information at the extended field extensionContainer that obtains route response message; Or the spreading parameter of GPRS Redirection Information increase to be described in obtaining route response message.
The wherein preceding unit 730 that changes, specifically being used for working as described preceding commentaries on classics message is another one mobile subscriber's Mobile Subscriber International ISDN Number, then before forwards the affiliated attaching position register of Mobile Subscriber International ISDN Number to; Current commentaries on classics message is other gateway devices IP address, then before forwards the gateway device of this IP address correspondence to.
In the embodiment of the invention, can solve the user because terminal capability or unreachable etc. former thereby can't obtain the problem of the gprs service that network side provides, under at present more and more Packet Services, the terminal use has multiple GPRS terminal, comprise the GPRS data card that is applicable to notebook computer, if the user wishes that the business that network side activates all sends on the notebook computer, then effect has just been brought into play in commentaries on classics before the GPRS, brings better experience to the user.
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 based on such understanding by the mode that software adds necessary general hardware platform, 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 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 each embodiment of the present invention.
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.