CN103220372B - Data service access method and system - Google Patents
Data service access method and system Download PDFInfo
- Publication number
- CN103220372B CN103220372B CN201210018012.8A CN201210018012A CN103220372B CN 103220372 B CN103220372 B CN 103220372B CN 201210018012 A CN201210018012 A CN 201210018012A CN 103220372 B CN103220372 B CN 103220372B
- Authority
- CN
- China
- Prior art keywords
- address
- proxy server
- server
- domain name
- business
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses data service access method and system.Method includes: increase intelligent DNS in the gprs networks, and intelligent DNS preserves needs proxy server to carry out the business domain name of agency's process, records the IP address of proxy server simultaneously;GGSN receives the PDP context activation request message that UE sends, and returns to the IP address of intelligent DNS to UE;UE initiates to carry the DNS query request of website to be visited domain name to intelligent DNS, intelligent DNS finds that this domain name is the business domain name needing proxy server to carry out agency's process, return to the IP address of proxy server to UE, UE initiates to carry the service request of described URL to proxy server;If proxy server finds to need self to carry out agency's process according to the purpose site information in this request, then carry out agency's process, be disposed and send this service request to purpose Website server.The present invention effectively reduces the flow between processing pressure and GGSN and the proxy server of proxy server.
Description
Technical field
The present invention relates to data service technical field, be specifically related to data service access method and system.
Background technology
In mobile data network, generally marked by APN (APN, Access Point Name)
Knowing different business domains, terminal, by the way of configuration of APN determines access mobile data services, is runed
Business separates different data communication service networks by APN.By APN mechanism, operator can depend on
According to business and the needs of networking, specific APN implements Service control, route and pipeline competence for added value
As: Subscriber Number insertion, user identity identification, the conversion of public and private net address and ALG, content meter
Take, Web page is adaptive and content caching acceleration etc..
Fig. 1 is existing APN treatment mechanism schematic diagram, as it is shown in figure 1, APN treatment mechanism is:
1. terminal sends data channel and sets up request;2.~3. Serving GPRS Support Node (SGSN, Serving
GPRS Support Node) receive this request, check whether the APN in request belongs to homing position and post
In storage (HLR, Home Location Register), the signing APN of user, if so, performs follow-up
Step;~5. 4. SGSN is routed to Gateway GPRS Support Node (GGSN, Gateway according to APN
GPRS Support Node) GGSN:SGSN is from domain name system (DNS, Domain Name System)
Middle GGSN address corresponding for inquiry APN, go forward side by side walking along the street by;6. GGSN is routed to refer to according to APN
Determine network, and realize content charging function: GGSN and route requests to corresponding network according to APN,
Such as WAP (WAP, Wireless Application Protocol), NET, for appointment
APN carries out content charging.
In order to more preferably meet own business and cooperative business development need, operator generally set up WAP,
The APN that two the whole networks of NET are general, wherein WAP APN is positioned to carry for own business and cooperative business
For accessing, access adaptive and value-added service, and NET APN lays particular emphasis on transparent the Internet (Internet)
Data access.
In order to support to carry out own business and cooperative business on WAP APN, it is provided that two kinds of business are visited
Ask mechanism: respectively: 1. WAP proxy mode;2. socket (Socket) direct mode operation.Fig. 2 is
Existing WAP APN treatment mechanism schematic diagram, as in figure 2 it is shown, wherein:
Mode is 1.: WAP proxy mode.By the HTML (Hypertext Markup Language) of WAP gateway (HTTP,
Hyper-Text Transfer Protocol) agent functionality, it is provided that to own business, third party's business
HTTP flow proxy access, and whether insert in HTTP access process according to set strategy decision
The calling mobile terminal number of user, terminal type information (UA Profile);Which is supported all of
HTTP accesses, including own business, cooperative business and third party's business;
Mode is 2.: Socket direct mode operation.By opening white list machine on the fire wall of WAP gateway
System, destination address, port are positioned at the flow in this list directly can access public network ground after fire wall maps
Location;Which supports that the non-HTTP of credit accesses, including own business, cooperative business.
Existing network realize mobile terminal number insert scheme be: mobile terminal packet data protocol (PDP,
Packet Data Protocol) establishment stage, GGSN obtain IP address and mobile subscriber is comprehensive
Service digital network/public switch telephone network code (MSISDN, Mobile Subscriber International
ISDN/PSTN Number) corresponding relation, and it is corresponding that this corresponding relation is pushed to this GGSN
WAP gateway;WAP gateway preserves the corresponding relation of MSISDN Yu the IP address of user;Work as user
When initiating HTTP access request, after WAP gateway receives user's HTTP packet, according to this packet
Source IP address, inquiry local data base in preserve IP address corresponding with Mobile Subscriber International ISDN Number close
System, obtains the MSISDN of this user, and the MSISDN of user inserts the spy of HTTP data packet head
In different field, then being forwarded by this HTTP packet, therefore business platform is receiving the HTTP of user
After packet, user MSISDN can be obtained by resolving the specific fields in data packet head, thus realize
Identification and authentication to user identity.
The flow value-added service implemented based on WAP APN causes carrier network complexity, dilatation cost
The problems such as height.It addition, distinguish different business domains by APN, different business domains provides difference
The prior art of competence for added value on professional ability support, business routing mechanism, there are the following problems:
One, higher threshold is had to limit to user: for concrete data service, due to business networking and should
With authentication requirement, it is necessary to use general packet radio service (GPRS, General Packet Radio
Service) user is authenticated, now by the subscriber identity information that network provides, it is desirable to user is in terminal
Upper correct configuration of APN parameter, can correct access service platform.
Two, mobile terminal is proposed higher requirement: along with the intellectuality of mobile terminal, multitask is
Through becoming the basic function of new model terminal, the mobile service of support is more and more abundanter, in order to ensure multiple answering
Use with normal, be necessary for supporting that many APN are concurrent, but major part intelligent terminal's platform (such as: Android,
IPhone etc.) the most do not support that many APN are concurrent.
Three, business experience is had large effect: user do not support concurrent for many APN terminal (such as:
Android, iPhone, Windows Mobile etc.) upper when using multiple business, owing to not supporting APN
Concurrently, the APN that frequently can lead to be switched to the application of running background is disconnected, and asks there being real time access
The application such as business (such as: instant message, file download) cause bigger Consumer's Experience to affect.
Four, the network planning and flow operation to operator impact: operator is on different APN
Thering is provided different competence for added value, the business experience gap that user obtains when using different APN is big, thus
Cause the complaint substantial amounts of arranged to APN, APN is concurrent, APN uses, charge on traffic is relevant, right
The network planning of operator, flow operation cause obstacle.
Therefore, existing GPRS network route and APN mechanism have hindered sending out of mobile Internet business
Exhibition.
Summary of the invention
The present invention provides data service access method and system, to reduce processing pressure and the generation of proxy server
Processing pressure between reason server and GGSN.
The technical scheme is that and be achieved in that:
A kind of data service access method, increases intelligence domain name in general packet radio service GPRS network
System DNS, intelligent DNS preserves needs proxy server to carry out the business domain name of agency's process, records generation simultaneously
The IP address of reason server, the method includes:
GGSN receives the packet data protocol PDP context activation request message that user equipment (UE) is sent,
Distribute IP address for UE, and return to the IP address of intelligent DNS to UE;
The uniform resource position mark URL of the website to be visited that UE inputs according to user, sends out to intelligent DNS
Acting the DNS query request carrying website to be visited domain name, intelligent DNS finds that this domain name is for need to act on behalf of clothes
Business device carries out the business domain name of agency's process, then return to the IP address of proxy server to UE, UE to
Proxy server initiates to carry the service request of described URL;
Proxy server receives described service request, if finding need according to the purpose site information in this request
Want self to carry out agency's process, then carry out agency's process, be disposed to send to purpose Website server and be somebody's turn to do
Service request.
Described proxy server is: WAP WAP gateway.
Described proxy server carries out agency's process and includes: obtains subscriber identity information, is believed by user identity
Breath inserts in this service request;
Or including: obtain the attribution server of user.
Described UE carries the laggard of the DNS query request of website to be visited domain name to intelligent DNS initiation
One step includes:
If intelligent DNS finds that this domain name is to be not required to proxy server to carry out the business domain name of agency's process, then
To the IP address of purpose data service server corresponding to this domain name of the DNS query of the Internet, to UE
Return the DNS query response message carrying this IP address, after UE receives this message, directly to this number
Service request is sent according to service server.
Described UE farther includes after the service request of described URL is carried in proxy server initiation:
Proxy server receives this service request, if the purpose site information found in this request is not located at certainly
In the transmission User Identity white list of body configuration, then to the territory of this URL of DNS query of the Internet
The IP address of the purpose data service server that name is corresponding, returns the business carrying this IP address to UE
Redirect message, after UE receives this business redirection message, directly send out to this data service server
Send service request.
Described GGSN farther includes before receiving the PDP context activation request message that UE sends:
SGSN receives this PDP context activation request message, checks in the PDP activation parameter of this message
The setting of APN, if APN is not provided with or arranges mistake, then APN is set to correct APN,
This PDP context activation request message is transmitted to GGSN.
Described GGSN is to farther include after UE distributes IP address:
The IP address of UE, subscriber identity information, roaming position are registered to user profile registration by GGSN
Server;
Described proxy server obtains subscriber identity information: proxy server is according to the source IP of service request
Address inquires the subscriber identity information of correspondence to user profile registrar;
Described proxy server obtains the attribution server of user: proxy server is according to service request
Source IP address inquires subscriber identity information or roaming position, the root of correspondence to user profile registrar
According to User Identity or roaming position, simultaneously according to the domain name of the purpose website in service request, to
Enum DNS query is to the attribution server of user, in order to this service request is sent to this home service
Device.
Described business is based on transmission control protocol TCP carrying, the industry of use text-type control protocol
Business.
A kind of data service accesses system, including:
Intelligent DNS: preserve and need proxy server to carry out the business domain name of agency's process, record agency simultaneously
The IP address of server;Receive the DNS query request carrying website to be visited domain name that UE sends,
If finding, this domain name is the business domain name needing proxy server to carry out agency's process, then return agency to UE
The IP address of server, in order to UE to this proxy server initiating business request;
GGSN: receive the PDP context activation request message that UE sends, distribute IP address for UE,
And the IP address of intelligent DNS is returned to UE;
Proxy server: receive the described service request that UE sends, if according to the purpose net in this request
INFORMATION DISCOVERY of standing needs self to carry out agency's process, then carry out agency's process, be disposed to purpose website
Server sends this service request.
Described intelligent DNS is further used for, and carries website to be visited domain name when receive that UE sends
After DNS query request, if finding, this domain name is to be not required to proxy server to carry out the business domains of agency's process
Name, then to the IP address of purpose data service server corresponding to this domain name of the DNS query of the Internet,
The DNS query response message carrying this IP address is returned, in order to UE is without agency service to UE
Device directly sends service request to this data service server.
Described proxy server is further used for, after receiving the described service request that UE sends, if
Find that the purpose site information in this request is not located at the transmission User Identity white list of self configuration
In, then to the IP of purpose data service server corresponding to the domain name of this URL of DNS query of the Internet
Address, returns the business redirection message carrying this IP address, in order to UE is without agency's clothes to UE
Business device directly sends service request to this data service server.
Described system farther includes: SGSN, and the described PDP Context sent for receiving UE swashs
Live request message, check the setting of APN in the PDP activation parameter of this message, if APN is not provided with
Or mistake is set, then APN is set to correct APN, this PDP context activation request message is turned
Issue GGSN.
Described GGSN is further used for, after for UE distribution IP address, by the IP address of UE and
Subscriber identity information is registered to user profile registrar;
And described proxy server is further used for, when according to the purpose site information in described service request
Find that needs carry out agency when processing, according to the source IP address of described service request to user profile registration clothes
Business device inquires the subscriber identity information of correspondence, is inserted in this service request by this subscriber identity information;
Or it is further used for, when finding that needs are carried out according to the purpose site information in described service request
When agency processes, inquire correspondence according to the source IP address of service request to user profile registrar
Subscriber identity information or roaming position, according to User Identity or roaming position, simultaneously please according to business
The domain name of the purpose website in asking, to the attribution server of Enum DNS query to user, in order to should
Service request is sent to this attribution server.
A kind of intelligent DNS, is positioned in GPRS network, including:
First module: preserve and need proxy server to carry out the business domain name of agency's process, record agency simultaneously
The IP address of server;
Second module: receive the DNS query request carrying website to be visited domain name that UE sends, if to
First module polls is the business domain name needing proxy server to carry out agency's process to this domain name, then to UE
Return to the IP address of proxy server, in order to UE is to proxy server initiating business request.
Described second module is further used for, and carries website to be visited domain name when receive that UE sends
After DNS query request, if not inquiring this domain name for needing proxy server to carry out agency to the first module
The business domain name of reason, then to purpose data service server corresponding to this domain name of the DNS query of the Internet
IP address, returns to UE and carries the DNS query response message of this IP address, in order to UE without
Proxy server directly sends service request to this data service server.
A kind of GGSN, including:
Three module: receive the PDP context activation request message that UE sends, for UE distribution IP ground
Location, and the IP address of intelligent DNS is returned to UE;
4th module: receiving the service request that UE sends, the purpose IP address of this request is generation if finding
The IP address of reason server, then send the request to proxy server;Otherwise, this request is directly sent out
Give purpose data service server.
Described three module is further used for, after being assigned with IP address for UE, by the IP address of UE
It is registered to user profile registrar, in order to WAP gateway is according to the IP of UE with subscriber identity information
Address lookup subscriber identity information or roaming position.
A kind of proxy server, including:
5th module: receive the service request that UE sends, if according to the purpose site information in this request
Finding to need self to carry out agency's process, then obtain subscriber identity information, being inserted by subscriber identity information should
In service request, send this service request to purpose Website server;Or obtain subscriber identity information or
Roaming position, according to subscriber identity information or roaming position, simultaneously according to the purpose website in service request
Domain name, to the attribution server of ENUM DNS query to user, send out to the attribution server of user
Give this service request.
Described 5th module is further used for, after receiving the described service request that UE sends, if sending out
During now the purpose site information in this request is not located at the transmission User Identity white list of self configuration,
Then to the IP ground of purpose data service server corresponding to the domain name of this URL of DNS query of the Internet
Location, returns the business redirection message carrying this IP address, in order to UE is without agency service to UE
Device directly sends service request to this data service server.
A kind of SGSN, including:
6th module: receive the PDP context activation request message that UE sends, check the PDP of this message
The setting of the APN in activation parameter, if APN is not provided with or arranges mistake, is then just set to APN
Really APN, is transmitted to GGSN by this PDP context activation request message.
Compared with prior art, in the present invention, the business that only proxy server will be needed to carry out agency's process
Ask to send through GGSN to give proxy server, carry out the industry of agency's process without proxy server
Business request has all been transmitted directly to purpose data service server without proxy server, thus reduces generation
The processing pressure of reason server, reduces the flow between GGSN and proxy server, reduces business
Transmit cost;And without the IP address of Configuration Agent server on UE.
It addition, in the embodiment of the present invention, by the APN error correction of SGSN so that user does not exists
In terminal during correct configuration of APN, or, terminal is not supported when many APN are concurrent, remains to successfully carry out
Agency processes, and improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is existing APN treatment mechanism schematic diagram;
Fig. 2 is existing WAP APN treatment mechanism schematic diagram;
The data service access method flow chart that Fig. 3 provides for the embodiment of the present invention;
The message flow schematic diagram of the data service access method that Fig. 4 provides for the embodiment of the present invention one;
Fig. 5 accesses the composition schematic diagram of system for the data service that the embodiment of the present invention provides;
The composition schematic diagram of the intelligent DNS that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
The data service access method flow chart that Fig. 3 provides for the embodiment of the present invention, as it is shown on figure 3, its
Specifically comprise the following steps that
Step 300: at general packet radio service (GPRS, General Packet Radio Service)
Increasing intelligent DNS in network, intelligent DNS preserves the business domains needing proxy server to carry out agency's process
Name, records the IP address of proxy server simultaneously.
Here it is possible to the differently configured proxy server of business domain name being different.
Step 301:GGSN receives on the PDP that subscriber equipment (UE, User Equipment) is sent
Context activation request message, distributes IP address for UE, and returns to the IP address of intelligent DNS to UE.
The URL of the website to be visited that step 302:UE inputs according to user (URL,
Uniform Resource Locator), initiate to carry the DNS of website to be visited domain name to intelligent DNS
Inquiry request.
Step 303: intelligent DNS finds that website domain to be visited is entitled needs proxy server to carry out agency's process
Business domain name, then to UE return proxy server IP address.
Step 304:UE initiates to carry the service request of the URL of website to be visited to proxy server.
Step 305: proxy server receives this service request, if believing according to the purpose website in this request
Breath finds to need self to carry out agency's process, then carry out agency's process, be disposed to purpose website service
Device sends this service request.
Wherein, the business that embodiment illustrated in fig. 3 is mentioned for based on transmission control protocol (TCP,
Transmission Control Protocol) carry, use text-type control protocol business, such as:
HTTP business, real-time streaming protocol (RTSP, Real Time Streaming Protocol) business.
Wherein, proxy server can be WAP gateway, and the agency that proxy server is carried out processes permissible
It is to obtain and insert User Identity, the attribution server etc. of acquisition user.
The message flow schematic diagram of the data service access method that Fig. 4 provides for the embodiment of the present invention one, this
It is to obtain and insert User Identity, such as Fig. 4 institute that the agency that in embodiment, proxy server is carried out processes
Showing, it specifically comprises the following steps that
Step 400: at general packet radio service (GPRS, General Packet Radio Service)
Network increases intelligent DNS, intelligent DNS configures dns database, needs WAP generation for preservation
The domain name of reason, configures A simultaneously on intelligent DNS and records data, for recording the IP of WAP gateway
Address.
Step 401: subscriber equipment (UE, User Equipment) data cube computation based on self is arranged,
PDP context activation request message is sent to network side.
Here, data cube computation arranges the setting i.e. accessing GPRS network.
Step 402:SGSN receives this PDP context activation request message, checks the PDP of this message
The setting of the APN in activation parameter, if APN is not provided with or arranges mistake, then will according to pre-defined rule
APN is set to correct APN.
SGSN can be previously according to user type, terminal type etc., for different types of user, difference
The terminal of type arranges different APN, be i.e. pre-configured with user type mark, terminal type identification etc. with
The corresponding relation of APN.When receiving PDP context activation request message, if finding in this message
It is not provided with APN, or, find that the APN in this message is not legal AP N, then according to user type
Mark, terminal type identification etc. inquire about the APN of correspondence in being pre-configured with, and arrange this within the message and look into
Ask the APN arrived, or the APN in this message is replaced with the APN inquired.
This PDP context activation request message is transmitted to GGSN by step 403:SGSN.
Step 404:GGSN receives this PDP context activation request message, distributes IP address for UE,
And send access request message to user profile registrar, such as: for CMWAP APN to WAP
Gateway sends remote customer dialing authentication system (RADIUS, Remote Authentication Dial In
User Service) message, this message includes the IP address of UE, the roaming position of UE, user identity
Identify such as: mobile terminal number, GGSN mark etc..
Step 405: user profile registrar receives this access request message, first through Access Control
Module according in this message GGSN identify GGSN is authenticated, certification by rear according to this message
In the User Identity of UE and IP address the data in data base are checked, update, specifically
Operation is: inquire about the User Identity of UE in this message and IP address whether in data base, if
It is, according to User Identity and the IP address more new database of this UE, if it is not, then by this UE's
Data base is inserted as new record list item in User Identity and IP address;Return with backward GGSN
The access response message of instruction network connection.
Step 406~407:GGSN receive this access response message, return PDP through SGSN to UE
Context activation success response message, is included as the IP address of this UE distribution, intelligence in this response message
Dns address.So far UE has had been provided with the condition of accessing data service server.
Step 408: user opens an application on UE or inputs website to be visited in a browser
URL (URL, Uniform Resource Locator).
Step 409:UE, according to user URL to be visited, obtains the domain name of website to be visited, and to
The intelligent DNS that in step 407, GGSN returns initiates to carry the DNS query request message of this domain name.
Step 410~411: intelligent DNS receives this DNS query request message, inquires about the domain name of self
Data base, if the domain name found in this message is the domain name needing to carry out WAP agency, then joins at self
In the A record data put, find the IP address of WAP gateway, return DNS query to UE and ring
Answering message, this message carries the IP address of the i.e. WAP gateway of domain name mapping result.
When domain name during intelligent DNS does not finds this message in the dns database of self, if intelligent
At the DNS of Internet, the purpose data service server that this domain name is corresponding has been obtained before DNS
IP address, then intelligent DNS can retain the IP ground of this domain name and this data service server in the buffer
The corresponding relation of location, therefore, now intelligent DNS can inquire about this domain name the most in the buffer, if inquiring,
Then can directly obtain the IP address of purpose data service server;Otherwise, then to the DNS of Internet
Initiate domain name recursive query request message.Intelligent DNS inquires the IP ground of purpose data service server
During location, can return DNS query response message to UE, this message carries purpose data service server
IP address, after UE receives this IP address, initiates HTTP request message to this IP address.
Step 412:UE receives this DNS query response message, by the WAP gateway in this message
IP address is as the destination address of HTTP request message, and fills out in the host part of the URL of message
Enter the domain name of data service server, send this HTTP request message to WAP gateway.
The URL of the website to be visited of user's input in the URL of HTTP request message i.e. step 408,
The domain name i.e. step 409 of the data service server in the host part of the URL of HTTP request message
In the domain name of website to be visited.
Step 413:SGSN receives this HTTP request message, transmits the message to GGSN, GGSN
Receive this message, find the IP address that destination address is WAP gateway of this message, then this message is sent out
Give WAP gateway.
Not being the HTTP request message of WAP gateway for destination address, GGSN will not be by this message
It is sent to WAP gateway, but is sent directly to destination server;Equally, for non-HTTP message,
GGSN also can be sent directly to destination server.
Step 414:WAP gateway receives this HTTP request message, inquires about website to be visited in this message
Whether information is positioned in the white list transmitting User Identity, if so, to user profile registrar
Sending subscriber identity information inquiry request message, this message carries the source IP address of HTTP request message i.e.
The IP address of UE.
Here, site information to be visited can be the URL of website to be visited, or, work as HTTP request
When the Host of message is partly the domain name of website to be visited, site information to be visited here can be to wait to visit
Ask the domain name of website, when the IP address that Host part is website to be visited of HTTP request message,
Here site information to be visited can be the IP address of website to be visited.
What step 415:WAP gateway reception user profile registrar returned carries UE user identity
The subscriber identity information query response message of mark, according to predetermined WAP proxy policies in HTTP request
Message is inserted User Identity.
Here, predetermined WAP proxy policies can be same as the prior art.
User Identity can be the MSISDN etc. of UE, it is also possible to be to act on behalf of according to predetermined WAP
Other after strategy conversion represents.
Step 416:WAP gateway is as proxy server, to the Host part of HTTP request message
Pointed destination address sends this HTTP request message.
In this step, WAP gateway first has to the DNS query HTTP request message to Internet
The IP address that domain name in Host part is corresponding, this IP address be for the purpose of the IP of data service server
Address, after inquiring, sends this HTTP request message to this IP address.
Step 417~418: data service server receives this HTTP request message, is confirming this message
On the premise of WAP gateway, confirm user identity according to the User Identity in message, then
Obtain business tine, business tine is put in http response message and be sent to WAP gateway.
Here, confirm that this HTTP request message may is that from WAP gateway and trust WAP gateway
IP address or established secure transmission tunnel with WAP gateway, etc..
Step 419:WAP gateway receives this http response message, according to predetermined policy, is confirmed whether
Need to process such as to http response message: compression or protocol adaptation, if desired, then carry out corresponding
Process.
Step 420:WAP gateway forwards this http response message to UE.
When proxy server such as: agency that WAP gateway is carried out processes the attribution server being to obtain user
Time, handling process now is as follows with the difference of flow process shown in Fig. 4:
Step 415 changes to: WAP gateway receives the UE that carries of user profile registrar return and uses
After the subscriber identity information query response message of family identity, according to this User Identity and HTTP
The domain name of the website to be visited in request, to the attribution server of ENUM DNS query to user.
Or, the subscriber identity information query response message in this step can carry the unrestrained of UE further
Trip position, WAP gateway according to the domain name of the website to be visited in the roaming position of UE and HTTP request,
Attribution server to ENUM DNS query to user.
Meanwhile, step 416 changes to: WAP gateway is as proxy server, to the home service of user
Device sends this HTTP request message.
Meanwhile, the data service server in step 417~418 is: the attribution server of user.
From implementing shown in Fig. 4 it can be seen that when user initiates an Operational Visit, UE can be first to intelligence
Whether the domain name of energy DNS query website to be visited is the domain name needing to carry out WAP agency, the most directly
Connect the IP address that the destination address of HTTP request message is extended this as WAP gateway, and please at HTTP
Ask message URL host part in fill in the domain name of purpose data service server;Otherwise, by HTTP
The destination address of request message extends this as the domain name of purpose data service server, so that: only need to
The HTTP request of WAP agency to be carried out sends through GGSN and gives WAP gateway, without entering
HTTP request and the non-HTTP request of row WAP agency have all been transmitted directly to mesh without WAP gateway
Data service server, thus reduce the processing pressure of WAP gateway, reduce GGSN with
Flow between WAP gateway, the business that reduces transmits cost.
Fig. 5 accesses the composition schematic diagram of system for the data service that the embodiment of the present invention provides, such as Fig. 5 institute
Showing, it specifically includes that UE51, SGSN52, GGSN53, intelligent DNS 54, user profile are registered
Server 55, proxy server 56, data service server 57, wherein:
UE51: data cube computation based on self is arranged, and sends PDP context activation request to network side
Message;When user opens an application or have input the URL of website to be visited in a browser, obtain
Take the domain name of website to be visited, and initiate to carry the DNS query request of this domain name to intelligent DNS 54 and disappear
Breath, receives the DNS query response message that intelligent DNS 54 returns, by the proxy server in this message
IP address as the destination address of HTTP request message, and in the host part of the URL of message
Insert the domain name of website to be visited, send this HTTP request message to proxy server 56.
SGSN52: receive the PDP context activation request message that UE51 sends, check this message
The setting of the APN in PDP activation parameter, if APN is not provided with or arranges mistake, then according to pre-set pattern
Then APN is set to correct APN, this PDP context activation request message is transmitted to GGSN53;
Receive the HTTP request message that UE51 sends, transmit the message to GGSN53.
GGSN53: receive SGSN52 and forward the PDP context activation from UE51 come to ask to disappear
Breath, distributes IP address for UE, and sends access request message to user profile registrar 55,
This message includes the IP address of UE, the roaming position of UE, User Identity such as: mobile terminal number
Code, GGSN mark etc., receive the access of the instruction network connection that user profile registrar 55 returns
Response message, returns PDP context activation success response message, this response through SGSN52 to UE51
Message is included as the IP address of this UE51 distribution, the IP address of intelligent DNS 54;Receive SGSN52
Forward the HTTP request message of coming, if finding the IP address that destination address is proxy server of this message,
Then transmit the message to proxy server 56.
Intelligent DNS 54: be configured with dns database, needs proxy server to carry out agency's process for preservation
Business domain name, be configured with A simultaneously and record data, for recording the IP address of proxy server;Connect
Receiving the DNS query request message that UE51 sends, inquiring about the dns database of self, if finding this message
In domain name be the domain name needing proxy server to carry out agency's process, then self configuration A record number
According to, find the IP address of proxy server 56, return DNS query response message to UE51,
This message carries the domain name mapping result i.e. IP address of proxy server 56.
Intelligent DNS 54 is further used for, and carries website to be visited domain name when receive that UE51 sends
After DNS query request message, if finding, this domain name is to be not required to proxy server to carry out the business of agency's process
Domain name, then to the IP address of purpose data service server corresponding to this domain name of the DNS query of the Internet,
The DNS query response message carrying this IP address is returned, in order to UE51 is without agency to UE51
Server directly sends HTTP request message to this data service server.
User profile registrar 55: receive the access request message that GGSN53 sends, disappear according to this
GGSN is authenticated by the GGSN mark in breath, and certification is by the rear use according to the UE in this message
Data in data base are checked, update by family identity and IP address, with backward GGSN53
Return the access response message of instruction network connection;The subscriber identity information that Receiving Agent server 56 is sent
Inquiry request message, inquires about the User Identity that the IP address of UE in this message is corresponding, by this use
Family identity is carried and is returned to proxy server 56 in subscriber identity information query response message.
Proxy server 56: receive GGSN53 and forward the HTTP request message of coming, inquire about in this message
Whether site information to be visited is positioned in the white list transmitting User Identity, if so, to user profile
Registrar 55 sends subscriber identity information inquiry request message, and this message carries HTTP request message
The IP address of the i.e. UE of source IP address, receive that user profile registrar 55 returns carries UE
The subscriber identity information query response message of User Identity, carries out agency according to predetermined proxy policies
Reason, is disposed as proxy server, and sending to the data service server of HTTP request message should
HTTP request message;Receive the http response message that data service server 57 is sent, to UE51
Forward this message.
Proxy server 56 is further used for, and forwards the HTTP request come to disappear when receiving GGSN53
During breath, if the site information to be visited found in this message is not located at the transmission user identity mark of self configuration
Know in white list, then to the purpose data service clothes that the domain name of this URL of DNS query of the Internet is corresponding
The IP address of business device, returns the HTTP redirection message carrying this IP address, in order to UE51 to UE51
Directly HTTP request message is sent to this data service server without proxy server 56.
Data service server 57: the HTTP request message that Receiving Agent server 56 is sent, really
Recognize this message from the premise of proxy server 56, confirm user according to the User Identity in message
Identity, then obtains business tine, business tine is put into and is sent to agency's clothes in http response message
Business device 56.
The composition signal of the intelligent DNS being positioned in GPRS network that Fig. 6 provides for the embodiment of the present invention
Figure, as shown in Figure 6, it specifically includes that the first module 541 and the second module 542, wherein:
First module 541: preserve the business domain name needing proxy server to carry out agency's process, record simultaneously
The IP address of proxy server.
Second module 542: receive the DNS query request carrying website to be visited domain name that UE51 sends
To the first module 541, message, inquires about whether this domain name is the business needing proxy server to carry out agency's process
Domain name, if so, returns the DNS query response message of the IP address carrying proxy server to UE51,
So that UE51 initiates HTTP request to proxy server 56;Otherwise, to the DNS query of Internet
The IP address that this domain name is corresponding, carries this IP address and returns to UE51 at DNS query response message.
The composition of GGSN that the embodiment of the present invention given below provides, its specifically include that three module and
4th module, wherein:
Three module: receive SGSN52 and forward the PDP context activation from UE51 come to ask to disappear
Breath, distributes IP address for UE, and sends access request message to user profile registrar 55,
This message includes the IP address of UE, the roaming position of UE, User Identity such as: mobile terminal number
Code, GGSN mark etc., receive the access of the instruction network connection that user profile registrar 55 returns
Response message, returns PDP context activation success response message, this response through SGSN52 to UE51
Message is included as the IP address of this UE51 distribution, the IP address of intelligent DNS 54.
4th module: receive SGSN52 and forward the HTTP request message of coming, if finding the mesh of this message
The IP address that address is proxy server, then transmit the message to proxy server 56;Otherwise,
Destination server is directly sent the message to without proxy server.
The composition of the proxy server that the embodiment of the present invention given below provides, this proxy server mainly wraps
Include: the 5th module, forward, for receiving GGSN53, the HTTP request message from UE51 of coming,
If finding to need proxy server to carry out agency's process, then according to the purpose site information in this request message
Source IP address according to this message obtains the subscriber identity information of correspondence from user profile registrar 55,
Carry out agency's process according to predetermined policy, be disposed to send to purpose data service server 57 and be somebody's turn to do
HTTP request message.
The composition of the SGSN that the embodiment of the present invention given below provides, this SGSN specifically includes that the 6th
Module, for receiving the PDP context activation request message that UE51 sends, checks the PDP of this message
The setting of the APN in activation parameter, if APN is not provided with or arranges mistake, is then just set to APN
Really APN, is transmitted to GGSN53 by this PDP context activation request message.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in
Within the scope of protection of the invention.
Claims (11)
1. a data service access method, it is characterised in that in general packet radio service GPRS
Increasing intelligence domain name system DNS in network, intelligent DNS preserves needs proxy server to carry out agency's process
Business domain name, record the IP address of proxy server simultaneously, the method includes:
GGSN receives the packet data protocol PDP context activation request message that user equipment (UE) is sent,
Distribute IP address for UE, and return to the IP address of intelligent DNS to UE;
The uniform resource position mark URL of the website to be visited that UE inputs according to user, sends out to intelligent DNS
Act the DNS query request carrying website to be visited domain name, if intelligent DNS finds this website domain to be visited
The entitled business domain name needing proxy server to carry out agency's process, then return the IP of proxy server to UE
Address, UE initiates to carry the service request of described URL to proxy server, and proxy server receives institute
State service request, if finding to need self to carry out agency according to the purpose site information in this service request
Reason, then carry out agency's process, be disposed and send this service request to purpose Website server;If it is intelligent
DNS finds that the entitled proxy server that is not required to of this website domain to be visited carries out the business domain name of agency's process, then
To the IP ground of purpose data service server corresponding to this website to be visited domain name of the DNS query of the Internet
Location, returns the DNS query response message of the IP address carrying this purpose data service server to UE,
After UE receives this DNS query response message, directly send service request to this data service server;
Described proxy server is: WAP WAP gateway.
Method the most according to claim 1, it is characterised in that described proxy server is acted on behalf of
Process includes: obtains subscriber identity information, is inserted by subscriber identity information in this service request;
Or including: obtain the attribution server of user.
Method the most according to claim 1, it is characterised in that described UE sends out to proxy server
Farther include after acting the service request carrying described URL:
Proxy server receives this service request, if the non-position of purpose site information found in this service request
In the transmission User Identity white list of self configuration, then to this URL of the DNS query of the Internet
The IP address of purpose data service server corresponding to domain name, return to UE and carry this purpose data industry
The business of the IP address of business server redirects message, after UE receives this business redirection message, directly
Connect and send service request to this data service server.
Method the most according to claim 1, it is characterised in that described GGSN receives UE and sends out
Farther include before the PDP context activation request message come:
SGSN receives this PDP context activation request message, checks that the request of this PDP context activation disappears
The setting of the APN in the PDP activation parameter of breath, if APN is not provided with or arranges mistake, then by APN
It is set to correct APN, this PDP context activation request message is transmitted to GGSN.
Method the most according to claim 1, it is characterised in that described GGSN is UE distribution
IP farther includes after address:
The IP address of UE, subscriber identity information, roaming position are registered to user profile registration by GGSN
Server;
Described proxy server obtains subscriber identity information: proxy server is according to the source IP of service request
Address inquires the subscriber identity information of correspondence to user profile registrar;
Described proxy server obtains the attribution server of user: proxy server is according to service request
Source IP address inquires subscriber identity information or roaming position, the root of correspondence to user profile registrar
According to User Identity or roaming position, simultaneously according to the domain name of the purpose website in service request, to
E.164 number is to the mapping Enum DNS query of Uniform Resource Identifier to the attribution server of user,
So that this service request is sent to this attribution server.
6. according to the arbitrary described method of claim 1 to 5, it is characterised in that described business be based on
Transmission control protocol TCP carrying, the business of use text-type control protocol.
7. a data service accesses system, it is characterised in that including:
Intelligent DNS: preserve and need proxy server to carry out the business domain name of agency's process, record agency simultaneously
The IP address of server;Receive the DNS query request carrying website to be visited domain name that UE sends,
If finding the entitled business domain name needing proxy server to carry out agency's process of this website domain to be visited, then to UE
Return to the IP address of proxy server, in order to UE is to this proxy server initiating business request, this business
The Uniform Resource Identifier URL of website to be visited is carried in request, if finding, this website domain to be visited is entitled not
Proxy server is needed to carry out the business domain name of agency's process, then to this net to be visited of the DNS query of the Internet
The IP address of the purpose data service server that domain name of standing is corresponding, returns to UE and carries this purpose data industry
The DNS query response message of the IP address of business server, in order to UE is direct without proxy server
Service request is sent to this data service server;
GGSN: receive the PDP context activation request message that UE sends, distribute IP address for UE,
And the IP address of intelligent DNS is returned to UE;
Proxy server: receive the described service request that UE sends, if according to the mesh in this service request
Site information find need self carry out agency's process, then carry out agency's process, be disposed to purpose
Website server sends this service request;
Described proxy server is: WAP WAP gateway.
System the most according to claim 7, it is characterised in that described proxy server is used further
In, after receiving the described service request that UE sends, if the purpose website found in this service request
Information is not located in the transmission User Identity white list of self configuration, then to the DNS query of the Internet
The IP address of the purpose data service server that the domain name of the URL of described website to be visited is corresponding, to UE
Return carry this purpose data service server IP address business redirect message, in order to UE without
Cross proxy server and directly send service request to this data service server.
System the most according to claim 7, it is characterised in that described system farther includes:
SGSN, for receiving the described PDP context activation request message that UE sends, checks on this PDP
The setting of the APN in the PDP activation parameter of context activation request message, if APN is not provided with or arranges
Mistake, then be set to correct APN by APN, this PDP context activation request message is transmitted to
GGSN。
System the most according to claim 7, it is characterised in that described GGSN is further used for,
After for UE distribution IP address, IP address and the subscriber identity information of UE are registered to user profile note
Volume server;
And described proxy server is further used for, when according to the purpose site information in described service request
Find that needs carry out agency when processing, according to the source IP address of described service request to user profile registration clothes
Business device inquires the subscriber identity information of correspondence, is inserted in this service request by this subscriber identity information;
Or it is further used for, when finding that needs are carried out according to the purpose site information in described service request
When agency processes, inquire correspondence according to the source IP address of service request to user profile registrar
Subscriber identity information or roaming position, according to User Identity or roaming position, simultaneously please according to business
The domain name of the purpose website in asking, to the mapping Enum DNS of E.164 number to Uniform Resource Identifier
Inquire the attribution server of user, in order to this service request is sent to this attribution server.
11. 1 kinds of intelligent DNS, are positioned in GPRS network, it is characterised in that including:
First module: preserve and need proxy server to carry out the business domain name of agency's process, record agency simultaneously
The IP address of server;
Second module: receive the DNS query request carrying website to be visited domain name that UE sends, if to
First module polls is to the entitled business domains needing proxy server to carry out agency's process of this website domain to be visited
Name, then return to the IP address of proxy server to UE, in order to UE initiates business to proxy server please
Asking, if not inquiring to the first module, this website domain to be visited is entitled needs proxy server to carry out agency's process
Business domain name, then to purpose data service server corresponding to this domain name of the DNS query of the Internet
IP address, returns the DNS query response of the IP address carrying this purpose data service server to UE
Message, in order to UE directly sends service request to this data service server without proxy server,
Described proxy server is: WAP WAP gateway.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210018012.8A CN103220372B (en) | 2012-01-19 | 2012-01-19 | Data service access method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210018012.8A CN103220372B (en) | 2012-01-19 | 2012-01-19 | Data service access method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103220372A CN103220372A (en) | 2013-07-24 |
CN103220372B true CN103220372B (en) | 2016-08-10 |
Family
ID=48817823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210018012.8A Active CN103220372B (en) | 2012-01-19 | 2012-01-19 | Data service access method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103220372B (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102684974B (en) * | 2011-03-10 | 2015-04-22 | 中国移动通信集团公司 | Routing method, routing device and routing system for service access |
CN104023092B (en) * | 2014-04-29 | 2017-09-26 | 中国联合网络通信集团有限公司 | A kind of method and system for realizing orientation flow bag |
CN103929508A (en) * | 2014-05-04 | 2014-07-16 | 上海大亚科技有限公司 | System and method for achieving binding of services and domain name resolution servers |
CN104580192B (en) * | 2014-12-31 | 2018-09-07 | 网宿科技股份有限公司 | The treating method and apparatus of the network access request of application program |
CN106034166B (en) * | 2015-03-19 | 2020-03-10 | 中兴通讯股份有限公司 | Network parameter configuration method and device of local area network |
WO2016179816A1 (en) * | 2015-05-13 | 2016-11-17 | 华为技术有限公司 | Domain name system accessing method and device |
CN105208598B (en) * | 2015-08-18 | 2019-03-12 | 中国联合网络通信集团有限公司 | A kind of method for network access and device |
CN105959248B (en) * | 2015-08-26 | 2019-06-07 | 杭州迪普科技股份有限公司 | The method and device of message access control |
CN105491110B (en) * | 2015-11-23 | 2018-06-29 | 北京天地互连信息技术有限公司 | Root server extended method and network based on HTTP or HTTPS |
CN106850866B (en) * | 2015-12-04 | 2020-03-31 | 中国移动通信集团江苏有限公司 | Method and system for determining DNS data |
CN107548051A (en) * | 2016-06-29 | 2018-01-05 | 中兴通讯股份有限公司 | Method for processing business, network application function entity and generic authentication architecture system |
CN108156210B (en) * | 2016-12-06 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Target resource acquisition method and device |
CN108616963B (en) * | 2016-12-31 | 2020-10-27 | 中国移动通信集团吉林有限公司 | Method for accessing terminal to network and mobile communication network |
CN108574604B (en) * | 2017-03-07 | 2020-09-29 | 北京京东尚科信息技术有限公司 | Test method and device |
CN107241310B (en) * | 2017-05-04 | 2020-11-06 | 北京潘达互娱科技有限公司 | Client identity verification method and device |
CN109660459B (en) * | 2017-10-10 | 2021-12-07 | 中国移动通信集团广东有限公司 | Physical gateway and method for multiplexing IP address |
CN108011944B (en) * | 2017-11-30 | 2020-12-22 | 北京酷我科技有限公司 | Method for reducing http request failure on Android |
CN108418852B (en) * | 2018-01-15 | 2021-02-19 | 五八同城信息技术有限公司 | Access control method, proxy server, and storage medium |
CN108494860B (en) * | 2018-03-28 | 2021-08-27 | 百度在线网络技术(北京)有限公司 | WEB access system, WEB access method and device for client |
CN108848049A (en) * | 2018-04-18 | 2018-11-20 | 山石网科通信技术有限公司 | Proxy Method and device, the storage medium and processor of domain name analysis system |
CN110457944B (en) * | 2019-08-02 | 2023-08-25 | 爱友智信息科技(苏州)有限公司 | Data sharing method and system |
CN112104744B (en) * | 2020-03-30 | 2022-09-09 | 厦门网宿有限公司 | Traffic proxy method, server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064936A (en) * | 2006-04-28 | 2007-10-31 | 华为技术有限公司 | Method and system for accessing home zone of roaming users |
CN101631133A (en) * | 2008-07-15 | 2010-01-20 | 华为技术有限公司 | Domain name analyzing system, equipment and method |
CN101959250A (en) * | 2010-11-04 | 2011-01-26 | 广州瀚信通信科技股份有限公司 | Guidable terminal access method and network device for mobile communication system |
CN103220371A (en) * | 2012-01-18 | 2013-07-24 | 中国移动通信集团公司 | Method and system for conducting content adaptation |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100569801B1 (en) * | 2002-12-23 | 2006-04-10 | 한국전자통신연구원 | A General Packet Radio ServiceGPRS system with multi Gateway GPRS Supporting NodeGGSN and A method of selecting GGSN |
-
2012
- 2012-01-19 CN CN201210018012.8A patent/CN103220372B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064936A (en) * | 2006-04-28 | 2007-10-31 | 华为技术有限公司 | Method and system for accessing home zone of roaming users |
CN101631133A (en) * | 2008-07-15 | 2010-01-20 | 华为技术有限公司 | Domain name analyzing system, equipment and method |
CN101959250A (en) * | 2010-11-04 | 2011-01-26 | 广州瀚信通信科技股份有限公司 | Guidable terminal access method and network device for mobile communication system |
CN103220371A (en) * | 2012-01-18 | 2013-07-24 | 中国移动通信集团公司 | Method and system for conducting content adaptation |
Also Published As
Publication number | Publication date |
---|---|
CN103220372A (en) | 2013-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103220372B (en) | Data service access method and system | |
CN101395932B (en) | Access terminal for communicating packets using a home anchored bearer path or a visited anchored bearer path | |
JP6671752B2 (en) | Network slice selection method and apparatus | |
US9402175B2 (en) | Selection of roaming gateway | |
CN102577457B (en) | Mobile terminated communication method and relevant apparatus | |
RU2010136944A (en) | MULTIPLE REGISTRATION OF MOBILE IP AND PCC INTERACTION | |
KR100469718B1 (en) | Method for transferring data form a server of virtual private network to mobile node | |
JP2005209194A (en) | User profile service | |
CN101330740A (en) | Method for selecting gateway in wireless network | |
CN102695236B (en) | A kind of data routing method and system | |
CN107135499A (en) | Data transmission method, the network equipment and terminal | |
EP2491732B1 (en) | Wireless access point | |
KR20110039564A (en) | Communication control system, communication system and communication control method | |
US20060153120A1 (en) | Method, apparatus, and system for implementing proxy accounting for a home agent | |
CN109510906B (en) | Method, device, system and storage medium for realizing internet access service | |
CN100461958C (en) | Mobile communication access system and method | |
JP2004166226A (en) | Method and system for controlling online access from terminal user to content service | |
CN106470252B (en) | The method and communication terminal of application program inquiry IP address | |
CN102625420B (en) | Method for network access and system | |
CN101132603A (en) | Method and system for implementing user position locating in core network | |
CN103619005B (en) | Method and system for obtaining cell phone number of 3G network user | |
US20180048655A1 (en) | Access Network Determination | |
EP3046312A1 (en) | Method and device for processing identification information | |
WO2005122617A1 (en) | Apparatuses and method to provide a network-requested pdp context activation procedure | |
WO2015096168A1 (en) | Method for achieving one-card multi-number roaming service |
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 |