CN105992277A - Traffic guiding method, device and communication device - Google Patents
Traffic guiding method, device and communication device Download PDFInfo
- Publication number
- CN105992277A CN105992277A CN201510056536.XA CN201510056536A CN105992277A CN 105992277 A CN105992277 A CN 105992277A CN 201510056536 A CN201510056536 A CN 201510056536A CN 105992277 A CN105992277 A CN 105992277A
- Authority
- CN
- China
- Prior art keywords
- address
- user
- flow
- agent address
- type
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a traffic guiding method, a traffic guiding device and a communication device. The traffic guiding method includes the following steps that: when the traffic of a user reaches a GGSN (gateway GPRS support node), whether the user sets a proxy address is judged; if the user sets the proxy address, whether the proxy address is a first preset address is judged; if the proxy address is the first preset address, the traffic of the user is guided to a WAP gateway; if the proxy address is not the first preset address, the type of the proxy address is judged; if the type of the proxy address is the type of a public network address, the traffic of the user is guided to a server corresponding to the proxy address; and if the type proxy address is the type of a private network address, the traffic of the user is guided to the WAP gateway. With the method adopted, verification and correction of the proxy address of the user can be realized, the user, who sets a wrong proxy address, can still normally surf the Internet; APN fusion can be authentically realized at the GGSN size without totally relying on terminal settings; the perception of the user can be enhanced; and complaints due to the terminal settings can be decreased.
Description
Technical field
The present invention relates to moving communicating field, the method, device and the communication that particularly relate to the guiding of a kind of flow set
Standby.
Background technology
GGSN (Gateway GPRS Support Node) is Gateway GPRS Support Node, has been mainly gateway
Action function.The PDP activation request that GGSN is responsible for initiating terminal responds, for terminal distribution operation
Business private network IP address, sets up packet data protocol PDP session, carries out effusion meter in PDP session
Take and terminal data bag forwards, until user initiates PDP deexcitation request.
It is many that WAP (Wireless Application Protocol) gateway follows WAP Forum definition technically
Media information business (MMS) specification, to support multimedia messaging service, MMS.MMS is set up by WAP gateway
User agent and the data access channel of MMS Relay Server, thus support the transmission of multimedia messages, connect
Receipts, notice etc. operate.For the connection of MMS user agent Yu WAP gateway, then use WAP stack real
Carrying on different networks platform now.For applying for MMS, use WSP (WSP)
Transmission data.
CMNET, CMWAP are the titles of the access point that surfing Internet with cell phone uses.CMWAP uses HTTP
Agency agreement and WAP gateway agreement can have access to Internet, CMNET and then be applicable to institute's protocols having,
It is also the ICP/IP protocol of standard.
The flow of existing scheme guides and is mainly following three points:
1, user setup agent address, whole flows of user are directed to by core net GGSN by detection
Proxy server i.e. WAP gateway, WAP gateway processes all flows of user as agency.
2, user is not provided with agent address but needs to access free platform service, and GGSN passes through content detection
Complete to be conducted directly to by flow after Subscriber Number inserts own platform.
3, user be not provided with agent address access non-own platform service, GGSN by detection after by this portion
Shunt volume is conducted directly to the Internet.
Current APN (access point) merges transformation and largely solves user's indulging in the internet, but still
Existing defects: i.e. when user setup agent address its flow of mistake arrived GGSN rear flank can be by acquiescence
Route is directed to the Internet, and owing to the agent address of mistake is unreachable, therefore the surfing flow of user is dropped,
Can cause following impact:
1, user mobile phone has signal but cannot connect network, affects user and surfs the Net perception.
2, user mobile phone generation surfing flow causes and deducts fees, and causes customer complaint.
Therefore, current APN integration program the most thoroughly solves to cause due to user terminal offering question
User cannot indulging in the internet.Needs improve.
Summary of the invention
In order to overcome in prior art when user setup its flow of agent address of mistake to arrive GGSN rear flank
The Internet can be directed to by default route, owing to the agent address of mistake is unreachable, the therefore online of user
The technical problem that flow is dropped, the invention provides method, device and communication apparatus that a kind of flow guides.
In order to solve above-mentioned technical problem, the present invention adopts the following technical scheme that
The invention provides a kind of method that flow guides, including:
When customer flow arrives general GPRS support node GGSN, it is judged that whether user
Agent address is set;
If user setup agent address, then judge whether described agent address is the first preset address;
If described agent address is the first preset address, then described customer flow is directed to WAP gateway;
If described agent address is not described first preset address, then judge the type of described agent address;If
The type of described agent address is the type of public network address, then described customer flow is directed to described in vicariously
The server that location is corresponding;If the type of described agent address is the type of private net address, then described user is flowed
Amount is directed to WAP gateway.
Furthermore, it is understood that in the method for described flow guiding, customer flow arrives general packet radio service
During gateway support node GGSN, it is judged that after whether user arranges agent address, described method also includes:
If user is not provided with agent address, customer flow is introduced own platform or Internet.
Furthermore, it is understood that in the method for described flow guiding, if user is not provided with agent address, will use
Family flow introduce own platform or Internet particularly as follows:
If user is not provided with agent address, carry out uniform resource locator URL address detected, if this is unified
Resource localizer URL address includes own business, then after being inserted by subscriber phone number, and introduced by flow
To own platform;Otherwise, customer flow is introduced directly into Internet.
Furthermore, it is understood that in the method for described flow guiding, described first preset address is a wireless Internet access
The IP address of parameter.
Present invention also offers the device that a kind of flow guides, including:
First detection module, supports node GGSN for arriving general GPRS at customer flow
Time, it is judged that whether user arranges agent address;
Second detection module, if for user setup agent address, then judges that whether described agent address is the
One preset address;
First processing module, if being the first preset address for described agent address, then by described customer flow
It is directed to WAP gateway;If described agent address is not described first preset address, then described in judgement vicariously
The type of location;If the type of described agent address is the type of public network address, then described customer flow is guided
To the server that described agent address is corresponding;If the type of described agent address is the type of private net address, then
Described customer flow is directed to WAP gateway.
Furthermore, it is understood that in the device of described flow guiding, also include:
Second processing module, if being not provided with agent address for user, introduces own platform by customer flow
Or Internet.
Furthermore, it is understood that in the device that guides of described flow, the second processing module specifically for:
If user is not provided with agent address, carry out uniform resource locator URL address detected, if this is unified
Resource localizer URL address includes own business, then after being inserted by subscriber phone number, and introduced by flow
To own platform;Otherwise, customer flow is introduced directly into Internet.
Furthermore, it is understood that in the device of described flow guiding, described first preset address is a wireless Internet access
The IP address of parameter.
Present invention also offers a kind of communication apparatus, the device guided including the flow described in as above any one.
The invention has the beneficial effects as follows: the method for the present invention increases the verification to user agent address and error correction merit
Can, even if being provided with, to solve user, the problem that the agent address of mistake can also normally be surfed the Net, at GGSN
Side really realizes APN and merges and be independent of terminal completely and arrange, and intelligent carries out service distributing, preferably carries
Rise user's perception, reduce terminal and the complaint of reason is set.The method is closely by mending the software of existing network GGSN
Fourth upgrading can realize, and does not change existing network structure, easily realizes, and remarkable benefit.
Accompanying drawing explanation
Fig. 1 represents the cardinal principle step of the method that flow guides in the embodiment of the present invention;
Fig. 2 represents the detailed step of the method that flow guides in the embodiment of the present invention;
Fig. 3 shows the pie graph of the device that flow guides in the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing and specifically real
Execute example to describe the present invention.
With reference to shown in Fig. 1, the invention provides a kind of method that flow guides, including step 100, with
When family flow arrives general GPRS support node GGSN, it is judged that whether user arranges agency
Address;Step 200, if user setup agent address, then judges whether described agent address is the first default ground
Location;Step 300, if described agent address is the first preset address, is then directed to WAP by described customer flow
Gateway;If described agent address is not described first preset address, then judge the type of described agent address;
If the type of described agent address is the type of public network address, then described customer flow is directed to described agency
The server that address is corresponding;If the type of described agent address is the type of private net address, then by described user
Flow is directed to WAP gateway.
Specifically, in the cardinal principle step of the method for the present invention, when customer flow arrives GGSN,
Carry out IP address detected, it is judged that whether user arranges agent address;If user setup agent address, then
Agent address is detected, it is judged that the agent address of user setup is the first preset address;If no
It is the first preset address, the agent address of user setup mistake is described.To this setting mistake vicariously
Location carries out error correction: if the agent address of this setting is public network agency, customer flow is directed to Internet, if
The agent address of this setting is private net address, and customer flow is directed to WAP gateway.Even if solving user to set
Put the problem that can also normally surf the Net of agent address of mistake, really realize in GGSN side APN merge and
Being independent of terminal completely to arrange, intelligent carries out service distributing, preferably promotes user's perception, reduces terminal
The complaint of reason is set.
When customer flow arrives general GPRS support node GGSN, it is judged that whether user sets
After putting agent address, if user is not provided with agent address, customer flow is introduced own platform or
Internet.This step is not provided with the situation of agent address for user.
If user is not provided with agent address, customer flow is introduced own platform or Internet particularly as follows:
If user is not provided with agent address, carry out uniform resource locator URL address detected, if this is unified
Resource localizer URL address includes own business, then after being inserted by subscriber phone number, and introduced by flow
To own platform;Otherwise, customer flow is introduced Internet.
The address of described first preset address is 10.0.0.172.
Having twined shown in Fig. 2, the specific implementation process of this method is as follows.
1, after customer flow arrives GGSN, 3 layers of detection are first carried out to judge whether user is provided with agency
Address, if user is not provided with acting on behalf of, proceed 7 layers of detection customer flow is directed to own platform or
Person Internet.
2, when user setup after agent address, need to carry out agent address verification, if user is vicariously
Location is 10.0.0.172, then flow is directed to WAP gateway and processes.
If 3 user agent addresses are the addresses of non-10.0.0.172, need to do further address verification, as
Fruit is public network agency, then flow is directed to Internet.
If the agency of 4 users is the private net address of non-10.0.0.172, then by the agent address error correction of user
For 10.0.0.172, and customer flow is directed to WAP gateway.
This enhancement mode scheme is improved on the basis of original APN integration program, when customer flow arrives
The agent address of user can be verified after GGSN, and to the private network of the mistake of user setup vicariously
Location carries out error correction, after customer flow is directed to WAP gateway.2, after agent address error correction, user
Even if the agent address being provided with mistake can also normally be surfed the Net, improve the online sense of user largely
Know, evaded terminal and the situation that mistake causes user to surf the Net is set.
On the basis of original APN integration program, GGSN side user is carried out 3 layers detection during to
The agent address that family is arranged carries out verifying and error correction, even if being provided with the agent address of mistake to solve user
The problem that can also normally surf the Net, really realizes APN and merges and be independent of terminal completely and arrange in GGSN side,
Intelligent carries out service distributing, preferably promotes user's perception, reduces terminal and arranges the complaint of reason.
Shown in reference Fig. 3, corresponding said method, present invention also offers the device that a kind of flow guides, bag
Include: first detection module 1, support node for arriving general GPRS at customer flow
During GGSN, it is judged that whether user arranges agent address;Second detection module 2, if acting on behalf of for user setup
Address, then judge whether described agent address is the first preset address;First processing module 3, if for described
Agent address is the first preset address, then described customer flow is directed to WAP gateway;If described vicariously
Location is not described first preset address, then judge the type of described agent address;If the class of described agent address
Type is the type of public network address, then described customer flow is directed to the server that described agent address is corresponding;
If the type of described agent address is the type of private net address, then described customer flow is directed to WAP gateway.
The device that above-mentioned flow guides also includes:
Second processing module, if being not provided with agent address for user, introduces own platform by customer flow
Or Internet.
Second processing module specifically for: if user is not provided with agent address, carry out uniform resource locator
URL address detected, if this uniform resource locator URL address includes own business, then by user mobile phone number
After code inserts, and flow is incorporated into own platform;Otherwise, customer flow is introduced directly into Internet.
The address of the first preset address is 10.0.0.172.
In the embodiment of the present invention, module can realize with software, in order to is performed by various types of processors.
For example, the executable code module of a mark can include one or more physics of computer instruction
Or logical block, for example, it can be built as object, process or function.
When module can utilize software to realize, it is contemplated that the level of existing hardware technique, it is possible to soft
The module that part realizes, in the case of not considering cost, those skilled in the art can build the hard of correspondence
Part circuit realizes the function of correspondence, and described hardware circuit includes ultra-large integrated (VLSI) electricity of routine
Road or gate array and the existing quasiconductor of such as logic chip, transistor etc or other is discrete
Element.Module can also use programmable hardware device, and such as field programmable gate array, programmable array are patrolled
Collect, programmable logic device etc. realizes.
Present invention also offers a kind of communication apparatus, the device guided including the flow described in as above any one.
It should be noted that the device that this flow guides is to include the device that the flow of above-mentioned communication apparatus guides,
The implementation of above-mentioned communication apparatus embodiment is equally applicable in the embodiment of the device that this flow guides, also
Identical technique effect can be reached, do not repeat them here.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the art
For Yuan, some improvements and modifications can also be made under without departing from principle premise of the present invention, these
Improvements and modifications are the most within the scope of the present invention.
Claims (9)
1. the method that a flow guides, it is characterised in that including:
When customer flow arrives general GPRS support node GGSN, it is judged that whether user
Agent address is set;
If user setup agent address, then judge whether described agent address is the first preset address;
If described agent address is the first preset address, then described customer flow is directed to WAP gateway;
If described agent address is not described first preset address, then judge the type of described agent address;If
The type of described agent address is the type of public network address, then described customer flow is directed to described in vicariously
The server that location is corresponding;If the type of described agent address is the type of private net address, then described user is flowed
Amount is directed to WAP gateway.
2. the method that flow as claimed in claim 1 guides, it is characterised in that customer flow arrives general point
When group wireless service gateway supports node GGSN, it is judged that after whether user arranges agent address, described side
Method also includes:
If user is not provided with agent address, customer flow is introduced own platform or Internet.
3. the method that flow as claimed in claim 2 guides, it is characterised in that if user is not provided with agency
Address, customer flow is introduced own platform or Internet particularly as follows:
If user is not provided with agent address, carry out uniform resource locator URL address detected, if this is unified
Resource localizer URL address includes own business, then after being inserted by subscriber phone number, and introduced by flow
To own platform;Otherwise, customer flow is introduced directly into Internet.
4. the method that flow as claimed in claim 1 guides, it is characterised in that described first preset address is
The IP address of one wireless Internet access parameter.
5. the device that a flow guides, it is characterised in that including:
First detection module, supports node GGSN for arriving general GPRS at customer flow
Time, it is judged that whether user arranges agent address;
Second detection module, if for user setup agent address, then judges that whether described agent address is the
One preset address;
First processing module, if being the first preset address for described agent address, then by described customer flow
It is directed to WAP gateway;If described agent address is not described first preset address, then described in judgement vicariously
The type of location;If the type of described agent address is the type of public network address, then described customer flow is guided
To the server that described agent address is corresponding;If the type of described agent address is the type of private net address, then
Described customer flow is directed to WAP gateway.
6. the device that flow as claimed in claim 5 guides, it is characterised in that also include:
Second processing module, if being not provided with agent address for user, introduces own platform by customer flow
Or Internet.
7. the device that flow as claimed in claim 6 guides, it is characterised in that the second processing module is specifically used
In:
If user is not provided with agent address, carry out uniform resource locator URL address detected, if this is unified
Resource localizer URL address includes own business, then after being inserted by subscriber phone number, and introduced by flow
To own platform;Otherwise, customer flow is introduced directly into Internet.
8. the device that flow as claimed in claim 5 guides, it is characterised in that described first preset address is
The IP address of one wireless Internet access parameter.
9. a communication apparatus, it is characterised in that include the stream as described in any one in claim 5 to 8
The device that amount guides.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510056536.XA CN105992277B (en) | 2015-02-03 | 2015-02-03 | A kind of method, apparatus and communication apparatus of flow guidance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510056536.XA CN105992277B (en) | 2015-02-03 | 2015-02-03 | A kind of method, apparatus and communication apparatus of flow guidance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105992277A true CN105992277A (en) | 2016-10-05 |
CN105992277B CN105992277B (en) | 2019-07-05 |
Family
ID=57035684
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510056536.XA Active CN105992277B (en) | 2015-02-03 | 2015-02-03 | A kind of method, apparatus and communication apparatus of flow guidance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105992277B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132330A (en) * | 2007-09-29 | 2008-02-27 | 中兴通讯股份有限公司 | User access system and method for mobile virtual special network |
CN101765218A (en) * | 2009-12-23 | 2010-06-30 | 华为技术有限公司 | Data transmitting method and relevant device and system |
CN103139205A (en) * | 2013-01-30 | 2013-06-05 | 华为技术有限公司 | Message processing method, device and network server |
-
2015
- 2015-02-03 CN CN201510056536.XA patent/CN105992277B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101132330A (en) * | 2007-09-29 | 2008-02-27 | 中兴通讯股份有限公司 | User access system and method for mobile virtual special network |
CN101765218A (en) * | 2009-12-23 | 2010-06-30 | 华为技术有限公司 | Data transmitting method and relevant device and system |
CN103139205A (en) * | 2013-01-30 | 2013-06-05 | 华为技术有限公司 | Message processing method, device and network server |
Also Published As
Publication number | Publication date |
---|---|
CN105992277B (en) | 2019-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9609492B2 (en) | Method and system for dynamically creating tunnels suitable for metering and managing usage data for applications and services | |
KR101296048B1 (en) | Online charging architecture in lte/epc communication networks | |
CN104412628B (en) | A kind of method, apparatus and computer-readable medium that application service is provided in telecommunication network | |
WO2017161834A1 (en) | E-sim card-based operator selection method, device and mobile terminal | |
US10291751B2 (en) | Dynamic in-band service control mechanism in mobile network | |
TW200947945A (en) | Online charging for roaming users in a proxy online charging system of a visited network | |
CN106302391A (en) | A kind of enciphered data transmission method and proxy server | |
CN112312391B (en) | Authentication method, system and related equipment | |
CN109151901B (en) | Service quality guarantee method and device | |
CN105634849A (en) | Dial measuring method and apparatus for data traffic unified payment services | |
CN102497379A (en) | Network access method, system and equipment | |
CN106211137A (en) | A kind of mobile network's ability opening method and SCEF, mobile network system | |
CN104253787A (en) | Service authentication method and system | |
CN103888307A (en) | Method, user side board card and broadband access gateway used for optimizing deep packet detection | |
CN104301880B (en) | A kind of data service charge on traffic accuracy detection method for the network mobile communication systems of CDMA 2000 | |
US20070195801A1 (en) | Context-based processing of data flows | |
CN104205887B (en) | Charging method, access network equipment and gateway | |
CN104640158B (en) | Terminal occupies Internet resources calculation method, device and Internet resources calculation server | |
CN105992277A (en) | Traffic guiding method, device and communication device | |
CN103563419B (en) | The security association of universal guiding structure type is realized for the terminal in mobile telecom network | |
EP2737658A1 (en) | Client interface script based user communication in a mobile network | |
CN106817392A (en) | A kind of data processing method and system | |
CN105357445B (en) | A kind of Internet of things system | |
CN104732384A (en) | Processing method and system for application software online payment | |
CN103686719A (en) | Method and system for determining bearer control policy |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |