Background technology
As mobile Internet development brings data traffic to grow continuously and fast, consumption of the user in data traffic is more next
It is more.In order to avoid occurring high cost, and in a planned way consume, user expects to know consumption in time.Have at present
The consumption reminding technology of short message mode, but if the flow that can provide the user with the page push mode of more friendly interface is carried
Wake up, then can provide the user with more preferable service.
Page type flow is reminded exactly when user starts online and during online, can be by the data industry of user
Business access, which is redirected to a flow, reminds the page, and newest cost information is shown to user.
Flow reminds the page to include following three kinds:
1st, welcome page.It is redirected to during online " personalized welcome page ":When user starts online, according to certain rule
User's webpage is redirected to welcome page, including the information such as set meal use information, set meal recommendation are provided.
2nd, real-time consumption reminds the page.When user surfs the Net, when flow uses threshold value (such as set meal for having reached prompting
Resources left 10MB either 5MB when) or after user's set meal used, the set of user is notified by page alerting pattern immediately
Meal is used and residual flow, lifts the online experience of user.
3rd, the page is reminded in arrearage.It is redirected to before arrearage is off line " page is supplemented in arrearage with money ".During user's online, work as generation
During arrearage, redirect the user to supplement the page with money in real time, completion can continue online after supplementing with money.
Current flux reminds the page to have two kinds to realize technology.
The first is arrearage redirecting technique.Current 3GPP (3rd Generation PartnershipProject, the
Third generation partnership project) real time billing related specifications support arrearage redirecting technique, i.e., user online during work as hair
During raw arrearage, User Page request is redirected to and supplements the page with money, online can be continued after supplementing with money.Flow was as shown in figure 1, should
Flow comprises the following steps:
Step 101, user initiate HTTP (Hypertext during online
TransferProtocol, HTTP) browse request;
Step 102, gateway device (such as GGSN (Gateway GPRS Support Node, Gateway GPRS Support Node),
P-GW (Packet Data Network Gateway, grouped data network gateway) etc.) send update chargings to charge system
Request, carrying for user use the corresponding RG of business;
After step 103, charge system are reserved to the renewal normal wholesale price of (update) charging message, judge that user can use quota
Less than one burst, then carry last single in Credit Control Answer (Credit Control Answer, CCA) message is returned
Member indicates (Final Unit Indication, FUI) information;
Step 104, charge system are returned to gateway device updates (update) charging response;
Step 105, user continue to surf the Net;
Step 106, last burst quota exhaust;
Step 107, gateway device are sent to charge system updates (update) accounting request, the RSU of carrying
(Requested Service Unit, the business unit of request) is 0;
If Sorry, your ticket has not enough value after step 108, charge system are normally deducted fees, then the business unit without distribution is issued
The CCA message of (Granted Service Unit, GSU);
Step 109, charge system return to update chargings to gateway device and responded;
Step 110, user continue to surf the Net;
Step 111, gateway device, which are redirected to, supplements server with money;
If step 112, user do not complete to supplement with money, the effective time (Validity-Time, VT) of gateway device is fixed
When device time-out;
Step 113, gateway device are sent to charge system terminates (termination) accounting request;
Step 114, charge system return to termination chargings to gateway device and responded;
Second of technology is that WAP (Wireless Application Protocol, WAP) gateway is initiated
Welcome page.WAP gateway is supported to be redirected to the welcome page of operator when user surfs the Net for the first time daily.In welcome page
In the flow and set meal situation of user are reminded.Flow is as shown in Fig. 2 comprise the following steps:
Step 201- steps 202, WAP gateway (WAP Gateway, WAPGW) processing user reach the standard grade request, while to welcome
Page server sends page reorientation request;
Step 203, welcome page server obtain subscriber phone number information, URL (Universal
Resource Locator, original-URL) information, and inquire about the user-defined prompting cycle;
Step 204, welcome page server send out message to charge system, and real-time query user package information, flow are used
Information etc.;
Step 205- steps 207, welcome page server realize the assembling to welcome page, and return to user;
Step 208- steps 209, when user's browsing pages and when clicking on " continuation " button, the event-action trigger request is arrived
Welcome page server;
Step 210, welcome page server process " continuation " button submit event, and renewal has pushed welcome page information;
Step 211- steps 212, welcome page server return to HTTP Status code=302, original-URL
Etc. information to client, client continues the access of parent page according to original-URL information, wherein 302 responses are referred to
The conditional code that main frame is returned when one webpage of browser requirement, expression is turning briefly to another network address.
But existing technology can only realize that arrearage reminds the page and reminds the very simple welcome page of rule, it is impossible to real
The complicated welcome page of rule and real-time consumption is now reminded to remind the page.
There is following defect in existing arrearage redirecting technique:Only support to reset User Page when user balance is used up
To recharging service server, it is impossible to support welcome page and real-time consumption to remind the page.
There is following defect in existing welcome page technology:WAP gateway can not judge to user push the page remind when
Machine, request that all users can only surf the Net for the first time daily is all redirected to welcome page server, and being brought to network need not
The consumption wanted, brings than larger pressure to page server.
The content of the invention
In order to solve the technical problem that can not push page prompting present in prior art in time, the present invention proposes a kind of
The page is reminded in the method and system that flow is reminded, the consumption that can be pushed in real time to user during online, can be selectively
Position user pushes welcome page, reduces network consumption.
One aspect of the present invention provides a kind of method that flow is reminded, and comprises the following steps:
Terminal is surfed the Net, and charge system is reminded according to rule triggering flow, gateway device construction page server address,
And return to terminal;
Terminal access business prompting server address;
The configuration warning page is coin free service;
Gateway device is forwarded to page server and asked, and page server inquires about user balance to charge system and set meal is believed
Breath, charge system returns to remaining sum and package information to page server;
Page server completes to remind the page, is sent to gateway device, and gateway device pushes to terminal and reminds the page.
Another aspect of the present invention provide a kind of flow remind system, including terminal, gateway device, page server and
Charge system, wherein,
Terminal is used to initiate HTTP browse requests, receives page server address, and accession page server address, reception is carried
The awake page;
Gateway device be used to judging user whether online charging user, send accounting request to charge system, carrying is
The corresponding RG of the page is reminded, construction page server address forwards to page server and asked, and reminds page to terminal push
Face;
Page server is used to inquire about user balance and package information to charge system, and generates the prompting page, issues net
Close equipment;
Charge system is used to judge whether that triggering network traffics are reminded, and carries and resets into gateway device return CCA message
To configured information, inform that gateway device redirects operation to terminal, for being reserved to the normal wholesale price of update charging messages,
Update chargings response is returned to gateway device, to remind page allocated quotas, user balance and set are sent to page server
Meal information.
Technical scheme triggers rule due to the prompting of the ordering information according to user and complexity, selectively
Welcome page is pushed for user, or according to the consumption of user, when reaching some conditions, is pushed to user during surfing the Net
Real-time consumption remind the page, do not support the welcome page of regular complexity to remind so as to compensate for existing arrearage redirecting technique
The deficiency that real-time consumption reminds the page is pushed to user with according to consumption, the page weight for realizing that page flow is reminded is improved
The practicality of directional technology, while solving, existing welcome page technology can only online be asked for the first time daily by all users
The problem of being all redirected to welcome page server, alleviates the pressure of network, reduces the investment of equipment.
Embodiment
The embodiment to the present invention is described in detail below in conjunction with the accompanying drawings.
In order to realize goal of the invention, the invention provides two specific embodiments, one is ordering information according to user
And complicated prompting triggering rule, selectively to push welcome page for user;Another according to the consumption of user,
When reaching some conditions, the real-time consumption during online is pushed to user and reminds the page.
Fig. 3 is that the welcome page of the embodiment of the present invention one reminds flow chart.As shown in figure 3, the flow comprises the following steps:
Step 301, user initiate packet data protocol (Packet Data Protocol, PDP) by terminal online and swashed
It is living.
Step 302, gateway device judge that user is online charging user.
Step 303, gateway device initiate initial (initial) accounting request to charge system.
Step 304, charge system carry out subscription authentication, and judge user whether ordering page reminding business and whether the same day
Surf the Net first.
Step 305, if the same day surf the Net first, then charge system carried in the CCA message of return redirection indicate
Information, informs that gateway device needs to redirect user operation.
Step 306, user initiate HTTP browse requests.
Step 307, gateway device judge whether first HTTP browse requests.
Step 308, if it is, the response of gateway device construction 302 returns to terminal, 302 responses include page server
Address.
Step 309, terminal access page server address.
Step 310, gateway device send update accounting requests to charge system, carrying to remind the corresponding meter of the page
Take group (Rating Group, RG), or the configuration warning page is coin free service on gateway device, it is not necessary to charge system
Apply for corresponding quota, jump directly to step 313.
Step 311, charge system are reserved to the normal wholesale price of update charging messages.
Step 312, charge system return to update chargings to gateway device and responded, to remind page distribution suitably to match somebody with somebody
Volume, it is ensured that user, which browses rear gateway device, can report flow.
Step 313, gateway device are forwarded to page server and asked.
Step 314, page server inquire about user balance and package information to charge system.
Step 315, charge system return to remaining sum and package information to page server.
Step 316, page server complete web page packaging, are handed down to gateway device.
Step 317, gateway device push to user terminal and use the page first.
Step 318, gateway device to charge system send update accounting requests, carrying for remind the page it is corresponding
RG, reaches the purpose for notifying charge system to remind user;If step 310 step is used to configure on gateway device and carried
Wake up the mode that the page is coin free service, this step can notify charge system to remind user by the specific field of extension.
While step 319, charge system are reserved to the normal wholesale price of update charging messages, record user has reminded
Cross.
Step 320, charge system return to update chargings to gateway device and responded.
Fig. 4 is that the online process flow page of the embodiment of the present invention two reminds flow chart.As shown in figure 4, the flow includes
Following steps:
User initiates HTTP browse requests during step 401, terminal online.
Step 402, gateway device judge that user is online charging user.
Step 403, gateway device to charge system send update accounting requests, carrying for user using business correspondingly
RG.
After step 404, charge system are reserved to the normal wholesale price of update charging messages, judge user's residual flow across carrying
Awake threshold value, then carry in CCA message is returned and redirect configured information, inform that gateway device needs to redirect user behaviour
Make.
Step 405, charge system return to update chargings to gateway device and responded.
Step 406, gateway device judge return response whether HTTP types.
Step 407, the if it is response of gateway device construction 302 return to terminal, and 302 responses are with including page server
Location.
Step 408, terminal access page server address.
Step 409, gateway device to charge system send update accounting requests, carrying for remind the page it is corresponding
RG;Or the configuration warning page is coin free service on gateway device, it is not necessary to the corresponding quota of charge system application, directly jump
Go to step 412.
Step 410, charge system are reserved to the normal wholesale price of Update charging messages.
Step 411, charge system return to update chargings to gateway device and responded, to remind page distribution suitably to match somebody with somebody
Volume, it is ensured that user, which browses rear gateway device, can report flow.
Step 412, gateway device are forwarded to page server and asked.
Step 413, page server inquire about user balance and package information to charge system.
Step 414, charge system return to remaining sum and package information to page server.
Step 415, welcome page server issue prompting and recommendation information to gateway device.
Step 416, gateway device push the middle prompting page to user.
Step 417, gateway device to charge system send update accounting requests, carrying for remind the page it is corresponding
RG, reaches the purpose for notifying charge system to remind user;If step 411 step is used to configure on gateway device and carried
Wake up the mode that the page is coin free service, this step can notify charge system to remind user by the specific field of extension.
While step 418, charge system are reserved to the normal wholesale price of Update charging messages, record user has reminded
Cross.
Step 419, charge system return to update chargings to gateway device and responded.
Gy between " redirection " configured information described in above-mentioned flow, gateway device and charge system that can be based on 3GPP
Online charging interface is extended or reused existing field, for indicating that gateway device redirects operation and informs that it resets
To URL.
For example shown in table 1, it can increase what is reminded for the page in the PS-Information of CCA message
Deactivate-By-Redirect, is permanent redirect or single redirection for distinguishing.
Table 1
In order to realize above-mentioned flow, the invention also provides a kind of flow system for prompting, Fig. 5 is the embodiment of the present invention three
Flow system for prompting structural representation.As shown in figure 5, the system includes terminal 501, gateway device 502, page server 503
With charge system 504.
Wherein, terminal is used to initiate HTTP browse requests, receives 302 and responds, access service reminds server address, receives
Remind the page.
Gateway device be used to judging user whether online charging user, send accounting request to charge system, carrying is
The corresponding RG of the page is reminded, 302 is constructed and responds, forward and ask to page server, and the prompting page, the gateway are pushed to terminal
Equipment is additionally operable to send update accounting requests to charge system, carrying to remind the corresponding RG of the page, notify charge system
User was reminded, the gateway device is additionally operable to the configuration warning page for coin free service, and the gateway device is additionally operable to pass through
The specific field of extension, notifies charge system to remind user.
Gateway device (such as GGSN, P-GW) is being received after redirection requires, it is necessary to which accurately whether identification user is using
The agreement of retargetable, and whether corresponding client is used, so as to avoid because under customer experience caused by redirecting failure
Drop.Judged using service protocol, client type recognizes user agent (User Agent, UA), content recognition (Content-
) etc. Type means realize above-mentioned functions.
Gateway device supports Diameter diameter credit controls (Diameter CreditControl, DCC) Interface Expanding, if
Charge system has issued redirection page address, then the page request of user is redirected into page server.
Page server is used to inquire about user balance and package information to charge system, and generates the prompting page, issues net
Close equipment.
Page server interacts with charge system according to reminding opportunity dynamic generation flow to remind the page and realizes user data
Real-time query, the page is reminded to user's displaying flow.
Charge system is used to judge whether that triggering network traffics are reminded, and carries and resets into gateway device return CCA message
To configured information, inform that gateway device redirects operation to terminal, for being reserved to the normal wholesale price of update charging messages,
Update chargings response is returned to gateway device, to remind page allocated quotas, user balance and set are sent to page server
Meal information.The charge system is additionally operable to reserved to the normal wholesale price of update charging messages, and record user had reminded, and to net
Close equipment and return to update chargings response.
Charge system needs to carry out real-time, interactive with gateway device, so that the internet behavior of user is perceived, and triggering following
Related Service control.
Charge system supports the judgement of prompting opportunity:Daily first, integrated flow threshold value, the amount of consumption, personalized definition, arrearage
Etc. a variety of condition comprehensive descisions.
Technical scheme triggers rule due to the prompting of the ordering information according to user and complexity, selectively
Welcome page is pushed for user, or according to the consumption of user, when reaching some conditions, is pushed to user during surfing the Net
Real-time consumption remind the page, do not support the welcome page of regular complexity to remind so as to compensate for existing arrearage redirecting technique
The deficiency that real-time consumption reminds the page is pushed to user with according to consumption, the page weight for realizing that page flow is reminded is improved
The practicality of directional technology, while solving, existing welcome page technology can only online be asked for the first time daily by all users
The problem of being all redirected to welcome page server, alleviates the pressure of network, reduces the investment of equipment.
It should be noted that:Above example is only to illustrate rather than limitation, and the present invention is also not limited to above-mentioned
Citing, all technical schemes for not departing from the spirit and scope of the present invention and its improvement, it all should cover the right in the present invention
In claimed range.