Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State problem for carry out network login method, distribution proxy server and system.
According to one aspect of the present invention, a kind of method for carrying out network login is provided, is applied on mobile terminal, it should
Method includes:
The mobile terminal judges that the current free that the mobile terminal has is remaining before response to network log-in instruction
Whether flow is greater than predetermined amount;
If so, the mobile terminal, which is sent by the network of mobile communication carrier to proxy server, is used for logging in network
Login network request, include the communication identifier of the mobile terminal in the login network request, the communication identifier has
Flow permission is exempted from online;
The mobile terminal is received the proxy server by the network of mobile communication carrier and is stepped on based on the network
The login result data that record request is obtained from Resource Server;
Wherein, the data transmission during above-mentioned logging in network, which is marked with, exempts from flow identifier, and the mobile terminal passes through generation
The all or part of data traffic generated in reason server log network development process exempts from flow based on described by Mobile Network Operator
Mark is included in specified services quotient.
Optionally, the current free residual flow for judging that the mobile terminal has whether be greater than predetermined amount it
Before, the method also includes:
The mobile terminal inquires the free residual flow to the distribution server by the network of mobile communication carrier;
Or
The mobile terminal is obtained with flow spent by the proxy server communication, flow based on the consuming with
The free total flow that the mobile terminal has obtains the free residual flow.
Optionally, the method also includes:
In the login result statistics indicate that when logining successfully, network that the mobile terminal passes through mobile communication carrier
The data access request for accessing network is sent to the proxy server, includes the communication in the data access request
Mark;
The mobile terminal is received the proxy server by the network of mobile communication carrier and is asked based on data access
It asks from the Resource Server and obtains requested date.
Optionally, before the login network request for sending logging in network to proxy server, the method is also wrapped
It includes:
The agency that the acquisition for mobile terminal the distribution server is distributed by the access game server process takes
Business device, the IP address of the proxy server are preset IP address, and the preset IP address exempts from flow identifier to be described;Or
The pre- bidding that proxy server described in the acquisition for mobile terminal is distributed by the access game server process
Label, carry the default label, the default label is institute when carrying out data transmission during the access game server
It states and exempts from flow identifier.
Optionally, before the login network request for sending logging in network to proxy server, the method is also wrapped
It includes:
The communication identifier of the mobile terminal and authentication information are sent to the distribution server by the mobile terminal, with
Make the distribution server the communication identifier for verifying the mobile terminal have it is described exempt from flow permission after, be the login
Network and access network development process distributes the proxy server after logining successfully.
Optionally, before the login network request for sending logging in network to proxy server, the method is also wrapped
It includes:
The mobile terminal receives the interim verification information that the distribution server is mobile terminal distribution, wherein
The interim verification information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, be the shifting
Dynamic terminal distribution;
The login network request that logging in network is sent to proxy server, specifically:
The mobile terminal sends the login network request for carrying the interim verification information to the proxy server, with
The proxy server is set to verify the legitimacy of the login network request based on the interim verification information.
Optionally, all or part of data flow that the mobile terminal passes through generation during proxy server logging in network
Amount is exempted from flow identifier based on described in by Mobile Network Operator and is included in specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken;Alternatively,
Certain amount of data traffic is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken.
Optionally, the predetermined amount specifically: need of the current resource page to be logged in of the mobile terminal to flow
Minimum fixed amount needed for the amount of asking or logging in network.
Optionally, the current free residual flow for judging that the mobile terminal has whether be greater than predetermined amount it
Afterwards, the method also includes:
If the current free residual flow that the mobile terminal has is not more than predetermined amount, the mobile terminal leads to mobile
Believe that the carrier server of operator sends the login network request, to pass through the carrier server logging in network.
Optionally, the current free residual flow for judging that the mobile terminal has whether be greater than predetermined amount it
Afterwards, the method also includes:
If the current free residual flow that the mobile terminal has is not more than predetermined amount, generates and show for prompting to use
Family increases the prompt information of free residual flow.
According to another aspect of the present invention, providing a kind of mobile terminal includes:
Judgment module, for before response to network log-in instruction, judging that the current free that the mobile terminal has is surplus
Whether residual current amount is greater than predetermined amount;
First sending module, for when the judgment module is judged as YES, by the network of mobile communication carrier to
Proxy server sends the login network request for being used for logging in network, includes the mobile terminal in the login network request
Communication identifier, the communication identifier have online and exempt from flow permission;
First obtains module, receives the proxy server for the network by mobile communication carrier and is based on the net
The login result data that network logging request is obtained from Resource Server;
Wherein, the data transmission during above-mentioned logging in network, which is marked with, exempts from flow identifier, and the mobile terminal passes through generation
The all or part of data traffic generated in reason server log network development process exempts from flow based on described by Mobile Network Operator
Mark is included in specified services quotient.
Optionally, the mobile terminal further include:
Control module, it is default for whether being greater than in the current free residual flow for judging that the mobile terminal has
Before amount, the free residual flow is inquired to the distribution server by the network of mobile communication carrier;Or
It obtains with flow spent by the proxy server communication, flow and the mobile terminal based on the consuming
The free total flow having obtains the free residual flow.
Optionally, the mobile terminal further include:
Second sending module, for, statistics indicate that when logining successfully, passing through mobile communication carrier in the login result
Network send the data access request for accessing network to the proxy server, include institute in the data access request
State communication identifier;
Second obtains module, receives the proxy server for the network by mobile communication carrier and is visited based on data
Ask that request obtains requested date from the Resource Server.
Optionally, the mobile terminal further include:
Third obtains module, for obtaining before the login network request for sending logging in network to proxy server
The proxy server for taking the distribution server to be distributed by the access game server process, the IP of the proxy server
Address is preset IP address, and the preset IP address exempts from flow identifier to be described;Or
The default label that the proxy server is distributed by the access game server process is obtained, in the access
The default label is carried when carrying out data transmission during game server, the default label exempts from flow identifier to be described.
Optionally, the mobile terminal further include:
Third sending module, for inciting somebody to action before the login network request for sending logging in network to proxy server
The communication identifier and authentication information of the mobile terminal are sent to the distribution server, so that the distribution server is being verified
The communication identifier of the mobile terminal have it is described exempt from flow permission after, access net for the logging in network and after logining successfully
Network process distributes the proxy server.
Optionally, the mobile terminal further include:
First receiving module, for connecing before the login network request for sending logging in network to proxy server
Receive the interim verification information that the distribution server is mobile terminal distribution, wherein the interim verification information is by described
It is described when exempting from flow permission that the distribution server determines that the mobile terminal has, and distributes for the mobile terminal;
Second sending module, is specifically used for:
The login network request for carrying the interim verification information is sent to the proxy server, so that the agency takes
Business device verifies the legitimacy of the login network request based on the interim verification information.
Optionally, all or part of data flow that the mobile terminal passes through generation during proxy server logging in network
Amount is exempted from flow identifier based on described in by Mobile Network Operator and is included in specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken;Alternatively,
Certain amount of data traffic is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken.
Optionally, the predetermined amount specifically: need of the current resource page to be logged in of the mobile terminal to flow
Minimum fixed amount needed for the amount of asking or logging in network.
Optionally, the mobile terminal further include:
4th sending module, for whether being greater than in the current free residual flow for judging that the mobile terminal has
After predetermined amount, if the current free residual flow that the mobile terminal has is not more than predetermined amount, to mobile communication carrier
Carrier server send the login network request, to pass through the carrier server logging in network.
Optionally, the mobile terminal further include:
First generation module, for whether being greater than in the current free residual flow for judging that the mobile terminal has
After predetermined amount, if the current free residual flow that the mobile terminal has is generated and is shown for mentioning no more than predetermined amount
Show that user increases the prompt information of free residual flow.
According to another aspect of the present invention, a kind of method for carrying out network login for controlling mobile terminal is provided, it should
Include:
The distribution server is received by the network of mobile communication carrier for inquiring the current free residue of mobile terminal
The query information of flow information;
The distribution server responds the query information, by the network of mobile communication carrier to described in mobile terminal transmission
The free residual flow information that mobile terminal currently has, so that the mobile terminal is true based on the free residual flow information
Recognize whether can by it is described exempt from flow in a manner of by proxy server logging in network;
Wherein, the data transmission during the logging in network, which is marked with, exempts from flow identifier, and the mobile terminal logs in net
The all or part of data traffic generated during network exempts from flow identifier based on described in by Mobile Network Operator and is included in finger
Determine in service provider.
Optionally, this method further include:
The distribution server receives communication identifier and the authentication for the mobile terminal that the mobile terminal is sent
Information;
The distribution server verifies the logical of the mobile terminal based on the communication identifier and the authentication information
Letter, which identifies whether to have, exempts from flow permission;
The distribution server the communication identifier for determining the mobile terminal have it is described exempt from flow permission when, be described
Mobile terminal distributes the proxy server.
Optionally, the distribution server has in the communication identifier for determining the mobile terminal described exempts from flow permission
When, the proxy server is distributed for the mobile terminal, is specifically included:
The communication identifier that the distribution server obtains the mobile terminal uses the charging mode of the specified services quotient
Carry out the free residual flow information of charging;
The distribution server judges the free residual flow of the mobile terminal based on the free residual flow information
Whether predetermined amount is greater than;
The distribution server distributes institute when the free residual flow is greater than the predetermined amount, for the mobile terminal
State proxy server.
Optionally, the predetermined amount specifically: need of the current resource page to be logged in of the mobile terminal to flow
Minimum fixed amount needed for the amount of asking or logging in network.
Optionally, the distribution server judges the free surplus of the mobile terminal based on the free residual flow information
Whether residual current amount is greater than after predetermined amount, the method also includes:
If the free residual flow that the mobile terminal has is not more than predetermined amount, Xiang Suoshu mobile terminal, which is sent, to be used
Increase the first prompt information of free residual flow in prompt user, and/or, Xiang Suoshu mobile terminal is sent for prompting user
The current free residual flow deficiency is please mentioned by the second of the carrier server logging in network of mobile communication carrier
Show information.
Optionally, after distributing the proxy server for the mobile terminal, the method also includes:
Proxy server receives the net for logging in network that mobile terminal is sent by the network of mobile communication carrier
Network logging request, includes the communication identifier of the mobile terminal in the login network request, and the communication identifier has online
Exempt from flow permission;
The proxy server obtains corresponding according to the login network request from the mobile terminal from Resource Server
Login result data, and by the login result data by the network transmission of mobile communication carrier to it is described it is mobile eventually
End.
Optionally, this method further include:
The distribution server generates interim verification information, and the interim verification information is sent to the mobile terminal
And the proxy server;
The login network request for receiving the mobile terminal, specifically: the proxy server receives the movement
The login network request of the carrying communication identifier, the interim verification information that terminal is sent;
Described to obtain corresponding login result data from Resource Server, specifically include: the proxy server is passing through
When the interim verification information verifying data access request is legal, the login result number is obtained from the Resource Server
According to.
Optionally, all or part of data traffic of the generation during the mobile terminal logging in network is by mobile network
Operator exempts from flow identifier based on described in and is included in specified services quotient, specifically:
The data traffic of the special ratios generated during the mobile terminal logging in network is counted into the specified services
In data traffic spent by quotient;Alternatively,
The certain amount of data traffic generated during the mobile terminal logging in network is counted into the specified services
In data traffic spent by quotient.
Optionally, before the login network request for receiving mobile terminal, the method also includes: agency's clothes
Device be engaged in the default label of mobile terminal transmission, is carried when carrying out data transmission during the logging in network described default
Label, the default label exempt from flow identifier to be described;Alternatively,
The IP address of the proxy server of preset IP address exempts from flow identifier described in being, the proxy server is for receiving
The login network request.
Optionally, all or part of data traffic of the generation during the mobile terminal logging in network is by mobile network
Operator exempts from flow identifier based on described in and is included in specified services quotient, specifically:
When in data during determining the mobile terminal logging in network including the default label, by the shifting
Data traffic during dynamic terminal logging in network is completely or partially included in the data traffic of specified services quotient consumption;Or
Data during the mobile terminal logging in network are transferred through the proxy server of the preset IP address, will
The data traffic for flowing through the preset IP address is completely or partially included in the data traffic of the specified services quotient consumption.
Optionally, the method also includes: the proxy server according to preset measurement period statistics it is described it is mobile eventually
The spent data traffic information in end, knows that the mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, the method also includes:
Data traffic information spent by the mobile terminal is sent to the distribution server by the proxy server;
The distribution server determines the mobile terminal tool based on data traffic information spent by the mobile terminal
The standby newest free residual flow information for exempting from flow permission.
According to another aspect of the present invention, a kind of the distribution server is provided, comprising:
Second receiving module, for the network reception by mobile communication carrier, for inquiring, mobile terminal is current to exempt from
Take the query information of residual flow information;
5th sending module, for responding the query information, by the network of mobile communication carrier to mobile terminal
The free residual flow information that the mobile terminal currently has is sent, so that the mobile terminal is based on the free residual stream
Amount validation of information whether can by it is described exempt from flow in a manner of by proxy server logging in network;
Wherein, the data transmission during the logging in network, which is marked with, exempts from flow identifier, and the mobile terminal logs in net
The all or part of data traffic generated during network exempts from flow identifier based on described in by Mobile Network Operator and is included in finger
Determine in service provider.
Optionally, further includes:
Third receiving module, communication identifier and identity for receiving the mobile terminal that the mobile terminal is sent are tested
Demonstrate,prove information;
Authentication module, for verifying the communication of the mobile terminal based on the communication identifier and the authentication information
It identifies whether to have and exempts from flow permission;
Distribution module, for determine the communication identifier of the mobile terminal have it is described exempt from flow permission when, be described
Mobile terminal distributes the proxy server.
Optionally, the distribution module, specifically includes:
Acquiring unit, for obtain the communication identifier of the mobile terminal using the specified services quotient charging mode into
The free residual flow information of row charging;
Judging unit, for judging that the free residual flow of the mobile terminal is based on the free residual flow information
It is no to be greater than predetermined amount;
Allocation unit, for distributing institute for the mobile terminal when the free residual flow is greater than the predetermined amount
State proxy server.
Optionally, the predetermined amount specifically:
Needed for current demand or logging in network of the resource page to be logged in flow of the mobile terminal most
Small fixed amount.
Optionally, the distribution server further include:
6th sending module judges the movement for being based on the free residual flow information in the distribution server
Whether the free residual flow of terminal is greater than after predetermined amount, if the free residual flow that the mobile terminal has is little
In predetermined amount, Xiang Suoshu mobile terminal is sent for prompting user to increase the first prompt information of free residual flow, and/or,
The free residual flow deficiency sent to the mobile terminal for prompting user current please pass through mobile communication carrier
Carrier server logging in network the second prompt information.
According to another aspect of the present invention, a kind of network login system is provided, comprising:
The distribution server;
Proxy server specifically includes:
4th receiving module is used to log in net for receiving mobile terminal by what the network of mobile communication carrier was sent
The login network request of network includes the communication identifier of the mobile terminal in the login network request, the communication identifier tool
Flow permission is exempted from standby online;
4th obtains module, for being obtained from Resource Server according to the login network request from the mobile terminal
Corresponding login result data, and the login result data are passed through into the network transmission of mobile communication carrier to the shifting
Dynamic terminal.
Optionally, the distribution server further include:
Second generation module is sent to the movement for generating interim verification information, and by the interim verification information
Terminal and the proxy server;
4th receiving module, is specifically used for: receiving the carrying communication identifier that the mobile terminal sends, described
The login network request of interim verification information;
Described 4th obtains module, is specifically used for: verifying the data access request by the interim verification information
When legal, the login result data are obtained from the Resource Server.
Optionally, all or part of data traffic of the generation during the mobile terminal logging in network is by mobile network
Operator exempts from flow identifier based on described in and is included in specified services quotient, specifically:
The data traffic of the special ratios generated during the mobile terminal logging in network is counted into the specified services
In data traffic spent by quotient;Alternatively,
The certain amount of data traffic generated during the mobile terminal logging in network is counted into the specified services
In data traffic spent by quotient.
Optionally, the proxy server further include:
7th sending module, for it is described receive mobile terminal login network request before, Xiang Suoshu mobile terminal
Default label is sent, the default label, the default label are carried when carrying out data transmission during the logging in network
Exempt from flow identifier to be described;Alternatively,
The IP address of the proxy server of preset IP address exempts from flow identifier described in being, the proxy server is for receiving
The login network request.
Optionally, all or part of data traffic of the generation during the mobile terminal logging in network is by mobile network
Operator exempts from flow identifier based on described in and is included in specified services quotient, specifically:
When in data during determining the mobile terminal logging in network including the default label, by the shifting
Data traffic during dynamic terminal logging in network is completely or partially included in the data traffic of specified services quotient consumption;Or
Data during the mobile terminal logging in network are transferred through the proxy server of the preset IP address, will
The data traffic for flowing through the preset IP address is completely or partially included in the data traffic of the specified services quotient consumption.
Optionally, the proxy server further include:
Know module, for according to preset measurement period count the mobile terminal spent by data traffic information,
Know that the mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, the proxy server further include:
8th sending module, for data traffic information spent by the mobile terminal to be sent to the distribution server;
The distribution server further include:
Determining module, for determining the mobile terminal tool based on data traffic information spent by the mobile terminal
The standby newest free residual flow information for exempting from flow permission.
The method according to the present invention for carrying out network login, the distribution server are received for inquiring current free of mobile terminal
The query information of residual flow information, and respond query information and shifting is sent to mobile terminal by the network of mobile communication carrier
The free residual flow information that dynamic terminal currently has, so that whether mobile terminal is based on free residual flow validation of information and can
In order to avoid the mode of flow passes through proxy server logging in network;Wherein, the data transmission during logging in network, which is marked with, exempts to flow
Amount mark, all or part of data traffic that mobile terminal logging in network generates in the process are based on exempting to flow by Mobile Network Operator
Amount mark is included in specified services quotient, and the flow that can reduce mobile terminal logging in network thus expends, and is thus solved
The technical issues of needing to expend mobile terminal a large amount of data traffic when mobile terminal logging in network in the prior art, achieves and subtracts
The beneficial effect that few mobile terminal flow expends.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of methods and mobile terminal for carrying out network login, to solve the prior art
The technical issues of needing to expend mobile terminal a large amount of data traffic when mobile terminal logging in network.
The exchange method that network login is carried out for mobile terminal that the embodiment of the present invention is introduced, as shown in Figure 1, for should
The interaction figure of method, equipment involved in this method includes: mobile terminal, the distribution server, proxy server and resource service
Device, wherein mobile terminal is for example are as follows: mobile phone, tablet computer etc., the user of mobile terminal are terminal user;Distribution clothes
Business device is mainly used for providing authentication, selection proxy server for mobile terminal;Proxy server is mainly used for having
The mobile terminal that flow permission is exempted from online provides network access service;Resource Server is usually provided by internet content provider,
Rich and varied Web content is provided for terminal user for the Internet resources using internet, such as: video, webpage, picture
Etc..
Referring to FIG. 1, this is used for the exchange method that mobile terminal carries out network login, comprising the following steps:
Step S101: the distribution server is received current for inquiring mobile terminal by the network of mobile communication carrier
The query information of free residual flow information;
Step S102: the distribution server responds query information, is sent out by the network of mobile communication carrier to mobile terminal
The free residual flow information that mobile terminal currently has is sent, so that whether mobile terminal is based on free residual flow validation of information
Can so as not to flow mode pass through proxy server logging in network;
Wherein, the data transmission during logging in network, which is marked with, exempts from flow identifier, during mobile terminal logging in network
All or part of data traffic of generation is based on exempting from flow identifier and being included in specified services quotient by Mobile Network Operator.
Wherein, as a kind of optional embodiment, mobile terminal be based on free residual flow validation of information can in order to avoid
After the mode of flow passes through proxy server logging in network, pass through the proxy server logging in network of the distribution server distribution.It is logical
Cross the process of proxy server logging in network referring to FIG. 2, the following steps are included:
Step S210: proxy server receives mobile terminal and is used to log in by what the network of mobile communication carrier was sent
The login network request of network, includes the communication identifier of mobile terminal in login network request, and communication identifier has online and exempts to flow
Measure permission;
Step S220: proxy server obtains phase according to the login network request from mobile terminal, from Resource Server
The login result data answered;
Step S230: login result data are transmitted to mobile whole by proxy server by the network of mobile communication carrier
End.
Certainly, after logging in network success, mobile terminal can also access network by proxy server, be taken by agency
The process of business device access network is identical as the process of logging in network, comprising: proxy server receives mobile terminal and led to by mobile
Believe the data access request of the network access network of operator, includes the communication identifier of mobile terminal in data access request, lead to
Beacon knowledge has online and exempts from flow permission;Proxy server is according to the data access request from mobile terminal, from resource service
Device obtains corresponding requested date and requested date is transmitted to mobile terminal.
Wherein, as a kind of optional embodiment, before proxy server receives login network request, mobile terminal is needed
It is determined as it and proxy server of network access service is provided, wherein mobile terminal can be directly communicated mark and send
The distribution server, judges whether the communication identifier has by the distribution server and exempts from flow permission, determines its tool in the distribution server
It is not otherwise mobile terminal assignment agent server for when exempting from flow permission, being mobile terminal assignment agent server.
And the communication identifier of mobile terminal is falsely used in order to prevent, improves the safety of network access, as a kind of optional
Embodiment, determine the process of proxy server with continued reference to FIG. 2, the following steps are included:
Step S201: the communication identifier and authentication information of the distribution server reception mobile terminal;
Step S202: communication identifier and authentication information verifying communication identifier of the distribution server based on mobile terminal are
It is no have exempt from flow permission;
Step S203: the distribution server determine communication identifier have exempt from flow permission when, be mobile terminal assignment agent
Server.
For example, before step S201, mobile terminal can by first pass through in advance registration etc. in a manner of the distribution server bind
The communication identifier of mobile terminal, such as: mobile terminal can exempt from traffic service, the distribution server to the distribution server application first
After receiving the application of mobile terminal, according to some prerequisites (such as: initiate this application software whether be make a reservation for it is soft
Part, the mobile terminal whether used predetermined software, the communication identifier whether specified services quotient registration etc.) determine whether to
Flow permission is exempted from the communication identifier distribution of the mobile terminal, if the distribution server, which is determined, exempts from flow power to mobile terminal distribution
Limit, then the distribution server can send a UserKey (user password) to mobile terminal and be used as authentication information;Further
, the distribution server can then give communication identifier to guarantee that the communication identifier of mobile terminal is not falsely used by other users first
An identifying code is sent, after the user of mobile terminal successfully fills in the identifying code, just gives mobile terminal distribution authentication letter
Breath;In addition, usually there is flow restriction when the logging in network process for mobile terminal provides and exempts from stream service, which refers to
Be for distributing particular flow rate in every section of predetermined time of the mobile terminal, if mobile terminal is accumulated during logging in network
The total flow used without departing from the particular flow rate, then its meet exempt from traffic requirement in the case where, to its distribution exempt from flow power
Limit, and if mobile terminal used total flow during logging in network is more than particular flow rate, do not exempt to flow to its distribution
Permission is measured, such as;It can be with the free flow of a month distribution 30M, the free flow of 50M etc. for mobile terminal.
If mobile terminal needs logging in network in turn, such as: detect that the user of mobile terminal starts the behaviour of browser
Make, then the communication identifier of oneself and authentication information can be sent to the distribution server by mobile terminal.
In step S202, the authentication information for the communication identifier that the distribution server judgement receives is led to this prestored
Whether the authentication information that beacon is known matches, and if matching, illustrates that corresponding mobile terminal has and exempts from flow permission,
Otherwise illustrate that corresponding mobile terminal does not have and exempt from flow permission.
In step S203, since the flow permission of exempting from that the distribution server is mobile terminal distribution has flow restriction, for this point
Hair server is after determining that mobile terminal has and exempts from flow permission, it is also necessary to judge that its residual flow is greater than predetermined amount,
Mobile terminal assignment agent server is just given when being greater than this predetermined amount, treatment process is specifically includes the following steps: distribution
Server obtains the free residual flow information that communication identifier carries out charging using the charging mode of specified services quotient;Based on free
Residual flow information judges whether the free residual flow of communication identifier is greater than predetermined amount;It is greater than predetermined amount in free residual flow
When, it is mobile terminal assignment agent server.
Under normal conditions, one of the effect of the distribution server is exactly to count the free residual flow information of communication identifier.Its
In, it is current to the demand of flow, such as user that predetermined amount is specifically as follows the current resource page to be logged in of mobile terminal
The demand of the resource page to be logged in " downloading application program " to flow is 20M, then predetermined amount is then 20M;Alternatively, default
Amount is minimum fixed amount needed for logging in network, such as predetermined amount are as follows: 0M, 1M, 512K etc., if free residual flow is greater than
If predetermined amount, then illustrating under normal conditions, this, which exempts from stream residual flow, can satisfy the login of this network, so can be to its point
With proxy server;Conversely, if free residual flow illustrates under normal conditions, the free residue no more than if predetermined amount
It is impossible to meet the access of this network for flow, so do not give its assignment agent server.
When free residual flow is not more than predetermined amount, the distribution server can be sent to mobile terminal for prompting user
Increase the first prompt information of free residual flow, such as first prompt information can be for " distinguished user, you is free surplus
Remaining underfed please increase your free residual flow ";In addition, the distribution server can also be sent to mobile terminal for mentioning
Show the current free residual flow deficiency of user please by the second of the carrier server logging in network of mobile communication carrier
Prompt information, such as second prompt information can be for " distinguished user, your free residual flow is insufficient, please pass through movement
The carrier server logging in network of common carrier ".
Wherein, the distribution server can be selected when giving mobile terminal assignment agent server from multiple proxy servers
It selects the proxy server nearest apart from mobile terminal physical position and distributes to that mobile terminal, also to can choose network load most light
The proxy server that proxy server distributes to mobile terminal or selects network delay minimum distributes to mobile terminal etc.
Deng, or comprehensively considered using at least two strategies in above-mentioned multiple distribution policies to select, the distribution server is used
Which kind of mode is mobile terminal assignment agent server, and the embodiment of the present invention no longer itemizes, and with no restriction.
Wherein, as a kind of optional embodiment, if mobile terminal, which has, exempts from flow permission, the distribution server can be with
Interim verification information (token) is generated for this network access procedure of mobile terminal.In order to guarantee that subsequent movement terminal can
It is connected to proxy server, the distribution server needs some data being sent to proxy server, is set forth below four kinds therein
Data are introduced, and certainly, in the specific implementation process, are not limited to following four situation.1. the distribution server is by mobile terminal
Communication identifier be sent to proxy server;2. the distribution server sends the communication identifier of mobile terminal, interim verification information
To proxy server;3. the communication identifier of mobile terminal, free residual flow information are sent to agency service by the distribution server
Device;4. the communication identifier of mobile terminal, free residual flow information, interim verification information are sent to agency's clothes by the distribution server
Business device.Certainly, when free residual flow information is actively sent to mobile terminal by the distribution server, mobile terminal is in response net
It can judge whether the free residual flow of its own is greater than based on newest free residual flow information before network log-in instruction
Predetermined amount, and then determine whether in order to avoid the mode of flow is by proxy server logging in network.If the distribution server will not be free
When residual flow information is sent to mobile terminal or newest free residual flow information is not sent to mobile terminal, mobile terminal
Currently free can be inquired to the distribution server by the network of mobile communication carrier before response to network log-in instruction
Residual flow;Alternatively, flow spent by acquisition mobile terminal and all proxy server communications (such as the flow using itself
Statistical function counts the flow of the consuming), the free total flow that flow and mobile terminal based on the consuming have obtains current
Free residual flow, i.e., current free residual flow=free total flow-consuming flow.
In addition, the address information of proxy server is also required to be supplied to mobile terminal, wherein the address of proxy server is believed
Breath can be sent directly to mobile terminal by the distribution server;It can also be by proxy server in the communication for receiving mobile terminal
After mark, mobile terminal is sent it to by the communication identifier of mobile terminal.Step S204 as shown in Figure 2, for by dividing
The process for the mobile terminal that the address information of proxy server is sent to by hair server.
After completing above-mentioned preparation, in step S210, if the distribution server in step S201~S203 simultaneously
Interim verification information is not distributed for this network access procedure, then mobile terminal will directly carry the network for exempting from flow identifier and log in
Request is sent to proxy server;If the distribution server is assigned in step S201~S203 for this network access procedure
Interim verification information, then mobile terminal will flow identifier be exempted from carrying, the login network request of interim verification information is sent to agency
Server.
Wherein, exempt from flow identifier can for it is a variety of it is various forms of exempt from flow identifier, be set forth below it is therein two kinds progress
It introduces, certainly, in the specific implementation process, is not limited to following two situation.
1. proxy server is after receiving the communication identifier of mobile terminal of the distribution server transmission and is receiving
Before the login network request that mobile terminal is sent, default label is sent to mobile terminal, in mobile terminal logging in network process
In default label is carried when carrying out data transmission, default label is to exempt from flow identifier.
2. the distribution server is that the IP address of the proxy server of mobile terminal distribution is preset IP address, preset IP address
As this exempts from flow identifier.
In step S220, proxy server can be just straight after the login network request for receiving mobile terminal transmission
It connects from Resource Server and obtains corresponding login result data, and sent not to proxy server before based on the distribution server
Same information, proxy server can also first carry out some verification process, and three kinds of verification process therein are set forth below and are introduced,
Certainly, in the specific implementation process, it is not limited to following three kinds of situations.
1. the data that the distribution server is sent to proxy server include that the communication identifier of mobile terminal and interim verifying are believed
Breath, in this case, the login network request that mobile terminal is sent also can include interim verification information, then proxy server exists
When legal by interim verification information verifying login network request, login result data are obtained from Resource Server.Wherein, it acts on behalf of
Server matches the interim verification information that mobile terminal is sent and the interim verification information that the distribution server is sent, if
With success, then illustrate that the login network request is legal, otherwise illustrates that the login network request is illegal.Through the above scheme
It can guarantee the safety of this network access procedure.
2. the distribution server be sent to proxy server data include mobile terminal communication identifier and free residual stream
Information is measured, then proxy server is primarily based on free residual flow information judgement movement after receiving login network request
Whether the newest free residual flow of terminal is greater than predetermined amount;When newest free residual flow information is greater than predetermined amount, from money
Source server obtains login result data, and if newest free residual flow information is not more than predetermined amount, it informs mobile whole
End, allow mobile terminal by other access path access Resource Server (such as: login network request is directly sent to resource
Server).Through the above scheme, specified services quotient can be made to provide the free data flow of specific quantity to mobile terminal.
Wherein, judged that the free residual flow of mobile terminal was big before assignment agent server due to the distribution server
In predetermined amount, because proxy server when receiving login network request for the first time, does not need to judge newest free residual stream
Whether amount (namely free residual flow of the distribution server transmission) is greater than predetermined amount;But it directly counts the access of this network and asks
The data traffic of consuming is sought, it is then subtracted into the data traffic from the free residual flow that the distribution server is sent, then may be used
To obtain newest free data flow;It can be by judging whether newest free data flow is greater than predetermined amount come really in subsequent
It is fixed whether login network request to be sent to Resource Server.
In addition, proxy server can also the data traffic letter according to spent by preset measurement period statistics mobile terminal
Breath, knows that mobile terminal has the newest free residual flow information for exempting from flow permission.
For example, preset measurement period is for example are as follows: preset statistics time interval, preset statistics time interval example
Timer can be set in for example 30s, 50s, 1min etc., proxy server, and every prefixed time interval just obtains its statistics
Mobile terminal data traffic spent in current time interval, and mobile terminal is obtained most based on the data flux statistics
New free residual flow information.
Preset measurement period in another example are as follows: preset statistics flow, preset statistics flow are 512k, 1M etc., generation
Reason server can be monitored data traffic spent by the mobile terminal, every to expend preset statistics flow, then basis
The preset statistics flow determines the newest free residual flow information of mobile terminal.
Through the above scheme, it can guarantee the newest residual flow information for obtaining mobile terminal in time.
Certainly, proxy server, can also after measurement period counts data traffic information spent by mobile terminal
To be sent to the distribution server, the newest free residual flow information of mobile terminal is counted by the distribution server.
Wherein, it after the distribution server obtains data traffic information spent by mobile terminal, can also be sent to move
Dynamic terminal is informed in mobile terminal enquiry;Or the distribution server is in the newest free residue for determining mobile terminal
After flow information, mobile terminal can also be sent it to, so enable mobile terminal to present flow rate service condition into
And a understanding, then select preferable network access policies.Or it is informed in mobile terminal enquiry.
3. the data that the distribution server is sent to proxy server include the communication identifier of mobile terminal, free residual flow
Information and interim verification information, in this case, then proxy server is stepped on verifying this network by interim verification information
Record requests legal and newest free residual flow information to be greater than predetermined amount, obtains login result data using Resource Server.It is logical
The safety of this network access procedure can either be guaranteed by crossing the program, and can guarantee that specified services quotient only mentions to mobile terminal
For the free flow of predetermined amount.
In step S230, the data during mobile terminal logging in network include upstream data and downlink data, wherein on
Row data are the data (namely login network request) that Resource Server is sent to by mobile terminal, and downlink data is by providing
Source server is sent to the data (namely login result data and requested date) of mobile terminal, wherein upstream data is under
The data traffic of at least one of row data data is counted into the data traffic of given server consumption.Same reason is moved
It also include upstream data and downlink data during dynamic terminal access network, the data traffic of wherein at least one data is counted into
In the data traffic of given server consumption.
For example, including to exempt from flow identifier in the login network request that mobile terminal is sent, corresponding to login network request
Data traffic is based on exempting from flow identifier being included in specified services quotient;Another example is: carrying the login network request quilt for exempting from flow identifier
It is sent to after Resource Server, it also can be comprising exempting from flow identifier, and then login result number in the login result data returned
According to data traffic by based on exempt from flow identifier be included in given server consume data traffic in.
In the specific implementation process, it can be counted by the gateway being set between mobile mobile terminal and proxy server
Data traffic in network access procedure.
For the case where flow identifier is default IP is exempted from, corresponding gateway (or the charge system being connected with corresponding network) exists
After the login network request for receiving mobile terminal transmission, the IP of next node corresponding to the login network request is judged
Whether it is default IP, if it is default IP, its data traffic is included in the data traffic of specified services quotient, corresponding gateway (or
The charge system that person is connected with corresponding network) after the login result data for receiving proxy server transmission, judge the generation
Whether the IP for managing server is to preset IP its data traffic is included in the data traffic of specified services quotient if it is default IP;
It is in the case where presetting label for flow identifier is exempted from, corresponding gateway (or the charge system being connected with corresponding network) is receiving
After the login network request (or the login result data for receiving proxy server transmission) sent to mobile terminal, just sentence
Break whether comprising default label in the login network request (or login result data), if comprising presetting label, by it
Data traffic is included in the data traffic of specified services quotient.
In the specific implementation process, the partial data stream that mobile terminal passes through generation during proxy server logging in network
Amount is based on exempting from flow identifier and being included in specified services quotient by Mobile Network Operator, be may exist a variety of situations, is arranged below
It lifts three kinds therein to be introduced, certainly, in the specific implementation process, is not limited to following three kinds of situations.
The first, the data traffic of special ratios is counted into specified services quotient during mobile terminal logging in network.
For example, special ratios are for example are as follows: 50%, 70% etc., wherein have during mobile terminal logging in network
It is standby when exempting from flow permission (such as: data transmission, which carries, exempts from flow identifier), corresponding gateway (or the charging being connected with corresponding network
System) its special ratios is included in specified services quotient, and remaining ratio is included in the communication identifier, and such as: assuming that this net
Mobile terminal expends the flow of 10M, special ratios altogether in network access process are as follows: and 50%, then charge system is in charging, by 5M's
Flow is included in specified services quotient, and the flow of remaining 5M is included in the communication identifier of the mobile terminal.Certainly, above data is only
As an example, it is not intended as limiting.
Second, certain amount of data traffic is counted into specified services quotient during mobile terminal logging in network.
For example, specific quantity is for example are as follows: 10M, 20M etc., wherein have during mobile terminal logging in network
When exempting from flow permission, corresponding gateway (or the charge system being connected with corresponding network) terminates it in this logging in network process
Afterwards, whether the data traffic for judging this logging in network process is more than the specific quantity, if being not above, will be owned
Data traffic be all included in specified services quotient;If it exceeds will then be not above the data traffic of part if specific quantity
It is included in specified services quotient, overage is included in the communication identifier of the mobile terminal.
The third, the data traffic of specific content is counted into specified services quotient during mobile terminal logging in network.
For example, specific content is for example are as follows: text, picture etc., wherein have during mobile terminal logging in network
For when exempting from flow permission, corresponding gateway (or the charge system being connected with corresponding network) obtains what logging in network process was transmitted
Data, then determine the data such as text, picture from the data that logging in network process is transmitted, and by its corresponding data flow
Meter enters in specified services quotient;And it is directed to other kinds of content, and such as: its corresponding data traffic is then included in shifting by video
In the communication identifier of dynamic terminal.
It as a kind of possible implementation, is included in specified services quotient, comprising: the expense for generating corresponding data flow
It is calculated as the expense of the account consumption of specified services quotient.
For example, since corresponding data flow has been included in specified services quotient, and mobile communication carrier will not be directed to
Primary network access process carries out repetition charging, so corresponding data traffic will not be counted into the mark of the mobile terminal, because
, in mobile communication carrier's charging, the expense that can be generated is calculated as the expense of the account consumption of specified services quotient for this, thus
It charges to specified services quotient.
As a kind of optional embodiment, with continued reference to FIG. 2, method further include:
Step S240: the network login whether proxy server judgement receives mobile terminal within a preset period of time is asked
It asks;
Step S250: it if being not received by the login network request of mobile terminal within a preset period of time, prompts to move
Dynamic terminal has dropped out login.
For example, preset time period is for example are as follows: 10min, 30min, 40min etc., if proxy server is default
Do not received in period mobile terminal transmission login network request, then illustrate mobile terminal this time logging in network process
Through terminating, so can produce a corresponding prompt information.Further, proxy server generate the prompt information it
Afterwards, which can also be sent to the distribution server.
In this case, if the distribution server is that this network logon process distributed interim verification information before
Words, then the distribution server nullifies interim verification information based on the prompt information that proxy server is sent, in addition, proxy server
Nullify interim verification information.With this solution, it can guarantee that the interim verification information distributed can only be accessed as this network
The verification information of process, next interim verification information network access or need generation new, to improve the peace of network access
Quan Xing.
Certainly, proxy server receives login network request within a preset period of time and has fed back login result data,
So proxy server further judges to have fed back in the preset time period after login result data whether receive mobile terminal
Data access request, if not provided, same prompting mobile terminal has dropped out login.
As a kind of optional embodiment, if proxy server prompting mobile terminal has dropped out login, please continue to refer to
Fig. 2, method further include:
Step S260: proxy server by the starting surf time of mobile terminal, terminate the number of surf time and consumption
The distribution server is sent to according to flow information;
Step S270: the distribution server remains the free of mobile terminal based on the data traffic information that proxy server is sent
Residual current amount is counted.
For example, proxy server can send information as shown in Table 1 to the distribution server:
Table 1
Initial time |
End time |
The data traffic information of consumption |
2015-4-15 14:23 |
2015-4-15 14:44 |
1.6M |
Assuming that the distribution server is total free data flow of mobile terminal distribution are as follows: 30M, and the mobile terminal exists
20M flow has been consumed before the access of this network, then can determine that the mobile terminal was accessed by this network
Free residual flow after journey are as follows: 10M-1.6M=8.4M.Certainly, above data flow is not intended as just citing
Limitation.
The distribution server and proxy server that the embodiment of the present invention is introduced can be completely independent for two physical locations
Server;Or two different function modules of same server, with no restriction to this embodiment of the present invention.
Based on, for carrying out the exchange method of network login, the embodiment of the present invention provides one provided by the embodiment of the present invention
Method of the kind for carrying out network login, this method are applied to proxy server and the distribution server, this method comprises:
The distribution server is received by the network of mobile communication carrier for inquiring the current free residue of mobile terminal
The query information of flow information;
The distribution server responds query information, sends mobile terminal to mobile terminal by the network of mobile communication carrier
The free residual flow information currently having so that mobile terminal be based on free residual flow validation of information whether can so as not to stream
The mode of amount passes through proxy server logging in network;
Wherein, the data transmission during logging in network, which is marked with, exempts from flow identifier, during mobile terminal logging in network
All or part of data traffic of generation is based on exempting from flow identifier and being included in specified services quotient by Mobile Network Operator.
It optionally, should before receiving the query information for inquiring the current free residual flow information of mobile terminal
Method further include: the distribution server receives the communication identifier and authentication information for the mobile terminal that mobile terminal is sent;Distribution
Server exempts from flow permission based on whether the communication identifier of communication identifier and authentication information verifying mobile terminal has;Distribution
Server the communication identifier for determining mobile terminal have exempt from flow permission when, be mobile terminal assignment agent server.
Optionally, the distribution server the communication identifier for determining mobile terminal have exempt from flow permission when, be mobile terminal
Assignment agent server, specifically includes: the communication identifier that the distribution server obtains mobile terminal uses the charging of specified services quotient
Mode carries out the free residual flow information of charging;The distribution server judges exempting from for mobile terminal based on free residual flow information
Whether expense residual flow is greater than predetermined amount;The distribution server is distributed when free residual flow is greater than predetermined amount for mobile terminal
Proxy server.
Optionally, predetermined amount specifically: the current resource page to be logged in of mobile terminal to the demand of flow, or
Minimum fixed amount needed for logging in network.
Optionally, the distribution server judges whether the free residual flow of mobile terminal is big based on free residual flow information
After predetermined amount, method further include:
If the free residual flow that mobile terminal has is not more than predetermined amount, send to mobile terminal for prompting user to increase
Add the first prompt information of free residual flow, and/or, the free residual stream for prompting user current is sent to mobile terminal
Amount deficiency please passes through the second prompt information of the carrier server logging in network of mobile communication carrier.
Optionally, after for mobile terminal assignment agent server, this method further include:
Proxy server receives the net for logging in network that mobile terminal is sent by the network of mobile communication carrier
Network logging request, includes the communication identifier of mobile terminal in login network request, and communication identifier has online and exempts from flow permission;
Proxy server obtains corresponding log in from Resource Server and ties according to the login network request from mobile terminal
Fruit data, and login result data are passed through into the network transmission of mobile communication carrier to mobile terminal.
Optionally, the distribution server is after the communication identifier for determining mobile terminal has and exempts from flow permission, and this method is also
Include:
The distribution server generates interim verification information, and interim verification information is sent to mobile terminal and agency service
Device;
The login network request of mobile terminal is received, specifically: it is logical that proxy server receives the carrying that mobile terminal is sent
Beacon knows, the login network request of interim verification information;
Obtain corresponding login result data from Resource Server, specifically include: proxy server is by temporarily verifying
When Information Authentication data access request is legal, login result data are obtained from Resource Server.
Optionally, all or part of data traffic of the generation during mobile terminal logging in network is runed by mobile network
Quotient is based on exempting from flow identifier and being included in specified services quotient, specifically:
The data traffic of the special ratios generated during mobile terminal logging in network is counted into spent by specified services quotient
Data traffic in;Alternatively,
The certain amount of data traffic generated during mobile terminal logging in network is counted into spent by specified services quotient
Data traffic in.
Optionally, before the login network request for receiving mobile terminal, method further include: proxy server is whole to movement
End sends default label, and default label is carried when carrying out data transmission during logging in network, and default label is to exempt from flux scale
Know;Alternatively,
The IP address of the proxy server of preset IP address is to exempt from flow identifier, and proxy server is for receiving network login
Request.
Optionally, all or part of data traffic of the generation during mobile terminal logging in network is runed by mobile network
Quotient is based on exempting from flow identifier and being included in specified services quotient, specifically:
When in data during determining mobile terminal logging in network comprising default label, mobile terminal is logged in into net
Data traffic during network is completely or partially included in the data traffic of specified services quotient consumption;Or
Data during mobile terminal logging in network are transferred through the proxy server of preset IP address, default by flowing through
The data traffic of IP address is completely or partially included in the data traffic of specified services quotient consumption.
Optionally, method further include: proxy server number according to spent by preset measurement period statistics mobile terminal
According to flow information, know that mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, method further include: data traffic information spent by mobile terminal is sent to distribution by proxy server
Server;The distribution server is determined that mobile terminal has and is exempted from flow permission based on data traffic information spent by mobile terminal
Newest free residual flow information.
Based on, for carrying out the exchange method of network login, the embodiment of the present invention also provides provided by the embodiment of the present invention
Method of the another kind for carrying out network login, this method are applied to mobile terminal, referring to FIG. 3, this method comprises:
S301: mobile terminal judges the current free residual stream that mobile terminal has before response to network log-in instruction
Whether amount is greater than predetermined amount;
S302: if so, mobile terminal is sent to proxy server for logging in net by the network of mobile communication carrier
The login network request of network, includes the communication identifier of mobile terminal in login network request, and communication identifier has online and exempts from flow
Permission;
S303: mobile terminal by the network Receiving Agent server of mobile communication carrier be based on login network request from
The login result data that Resource Server obtains;
Wherein, the data transmission during above-mentioned logging in network, which is marked with, exempts from flow identifier, and mobile terminal passes through agency's clothes
Business device logging in network during generate all or part of data traffic by Mobile Network Operator be based on exempt from flow identifier by its
It is included in specified services quotient.
Optionally, before S301 judges whether the current free residual flow that mobile terminal has is greater than predetermined amount, side
Method further include:
Mobile terminal inquires free residual flow to the distribution server by the network of mobile communication carrier;Or
Mobile terminal acquisition and flow spent by proxy server communication, are had based on the flow of consuming with mobile terminal
Free total flow obtain free residual flow.
Optionally, after S303, method further include:
In login result statistics indicate that when logining successfully, mobile terminal is taken by the network of mobile communication carrier to agency
Business device sends the data access request for accessing network, includes communication identifier in data access request;
Mobile terminal is based on data access request from resource by the network Receiving Agent server of mobile communication carrier
Server obtains requested date.
Optionally, before the login network request for sending logging in network to proxy server, method further include:
The proxy server that acquisition for mobile terminal the distribution server is distributed for access game server process, agency service
The IP address of device is preset IP address, and preset IP address is to exempt from flow identifier;Or
The default label that acquisition for mobile terminal proxy server is distributed for access game server process, in access game
Default label is carried when carrying out data transmission in server process, default label is to exempt from flow identifier.
Optionally, before the login network request for sending logging in network to proxy server, method further include:
The communication identifier of mobile terminal and authentication information are sent to the distribution server by mobile terminal, so that distribution takes
Business device accesses network after the communication identifier of verifying mobile terminal has and exempts from flow permission, for logging in network and after logining successfully
Process assignment agent server.
Optionally, before S302 sends the login network request of logging in network to proxy server, method further include:
Mobile terminal receives the interim verification information that the distribution server is mobile terminal distribution, wherein interim verification information
By the distribution server determine mobile terminal have exempt from flow permission when, for mobile terminal distribute;
The login network request of logging in network is sent to proxy server, specifically:
Mobile terminal sends the login network request for carrying interim verification information to proxy server, so that proxy server
Legitimacy based on interim verification information verifying login network request.
Optionally, mobile terminal by all or part of data traffic for generating during proxy server logging in network by
Mobile Network Operator is based on exempting from flow identifier and being included in specified services quotient, specifically:
The data traffic of special ratios is counted into data spent by specified services quotient during mobile terminal logging in network
In flow;Alternatively,
Certain amount of data traffic is counted into data spent by specified services quotient during mobile terminal logging in network
In flow.
Optionally, predetermined amount specifically: the current resource page to be logged in of mobile terminal to the demand of flow, or
Minimum fixed amount needed for logging in network.
Optionally, after judging whether current free residual flow that mobile terminal has is greater than predetermined amount, method is also
If including: the current free residual flow that has of mobile terminal no more than predetermined amount, mobile terminal is to mobile communication carrier
Carrier server sends login network request, to pass through carrier server logging in network.
Optionally, after judging whether current free residual flow that mobile terminal has is greater than predetermined amount, method is also
If including: the current free residual flow that has of mobile terminal no more than predetermined amount, generates and show for prompting user to increase
The prompt information of free residual flow.
Based on, for carrying out the exchange method of network login, the embodiment of the present invention also provides provided by the embodiment of the present invention
Another mobile terminal, referring to FIG. 4, the mobile terminal includes:
Judgment module 401, for judging the current free that the mobile terminal has before response to network log-in instruction
Whether residual flow is greater than predetermined amount;
First sending module 402, for passing through mobile communication carrier when the judgment module 401 is judged as YES
Network sends the login network request for being used for logging in network to proxy server, includes the movement in the login network request
The communication identifier of terminal, the communication identifier have online and exempt from flow permission;
First obtains module 403, receives the proxy server for the network by mobile communication carrier and is based on institute
State the login result data that login network request is obtained from Resource Server;
Wherein, the data transmission during above-mentioned logging in network, which is marked with, exempts from flow identifier, and the mobile terminal passes through generation
The all or part of data traffic generated in reason server log network development process exempts from flow based on described by Mobile Network Operator
Mark is included in specified services quotient.
Optionally, the mobile terminal further include:
Control module, it is default for whether being greater than in the current free residual flow for judging that the mobile terminal has
Before amount, the free residual flow is inquired to the distribution server by the network of mobile communication carrier;Or
It obtains with flow spent by the proxy server communication, flow and the mobile terminal based on the consuming
The free total flow having obtains the free residual flow.
Optionally, the mobile terminal further include:
Second sending module, for, statistics indicate that when logining successfully, passing through mobile communication carrier in the login result
Network send the data access request for accessing network to the proxy server, include institute in the data access request
State communication identifier;
Second obtains module, receives the proxy server for the network by mobile communication carrier and is visited based on data
Ask that request obtains requested date from the Resource Server.
Optionally, the mobile terminal further include:
Third obtains module, for obtaining before the login network request for sending logging in network to proxy server
The proxy server for taking the distribution server to be distributed by the access game server process, the IP of the proxy server
Address is preset IP address, and the preset IP address exempts from flow identifier to be described;Or
The default label that the proxy server is distributed by the access game server process is obtained, in the access
The default label is carried when carrying out data transmission during game server, the default label exempts from flow identifier to be described.
Optionally, the mobile terminal further include:
Third sending module, for inciting somebody to action before the login network request for sending logging in network to proxy server
The communication identifier and authentication information of the mobile terminal are sent to the distribution server, so that the distribution server is being verified
The communication identifier of the mobile terminal have it is described exempt from flow permission after, access net for the logging in network and after logining successfully
Network process distributes the proxy server.
Optionally, the mobile terminal further include:
First receiving module, for connecing before the login network request for sending logging in network to proxy server
Receive the interim verification information that the distribution server is mobile terminal distribution, wherein the interim verification information is by described
It is described when exempting from flow permission that the distribution server determines that the mobile terminal has, and distributes for the mobile terminal;
Second sending module, is specifically used for:
The login network request for carrying the interim verification information is sent to the proxy server, so that the agency takes
Business device verifies the legitimacy of the login network request based on the interim verification information.
Optionally, all or part of data flow that the mobile terminal passes through generation during proxy server logging in network
Amount is exempted from flow identifier based on described in by Mobile Network Operator and is included in specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken;Alternatively,
Certain amount of data traffic is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken.
Optionally, the predetermined amount specifically: need of the current resource page to be logged in of the mobile terminal to flow
Minimum fixed amount needed for the amount of asking or logging in network.
Optionally, the mobile terminal further include:
4th sending module, for whether being greater than in the current free residual flow for judging that the mobile terminal has
After predetermined amount, if the current free residual flow that the mobile terminal has is not more than predetermined amount, to mobile communication carrier
Carrier server send the login network request, to pass through the carrier server logging in network.
Optionally, the mobile terminal further include:
First generation module, for whether being greater than in the current free residual flow for judging that the mobile terminal has
After predetermined amount, if the current free residual flow that the mobile terminal has is generated and is shown for mentioning no more than predetermined amount
Show that user increases the prompt information of free residual flow.
Based on, for carrying out the exchange method of network login, the embodiment of the present invention also provides provided by the embodiment of the present invention
Another the distribution server, referring to FIG. 5, the distribution server includes:
Second receiving module 501 receives current for inquiring mobile terminal for the network by mobile communication carrier
Free residual flow information query information;
5th sending module 502, it is whole to movement by the network of mobile communication carrier for responding the query information
End sends the free residual flow information that the mobile terminal currently has, so that the mobile terminal is based on the free residue
Flow information be confirmed whether can by it is described exempt from flow in a manner of by proxy server logging in network;
Wherein, the data transmission during the logging in network, which is marked with, exempts from flow identifier, and the mobile terminal logs in net
The all or part of data traffic generated during network exempts from flow identifier based on described in by Mobile Network Operator and is included in finger
Determine in service provider.
Optionally, further includes:
Third receiving module, communication identifier and identity for receiving the mobile terminal that the mobile terminal is sent are tested
Demonstrate,prove information;
Authentication module, for verifying the communication of the mobile terminal based on the communication identifier and the authentication information
It identifies whether to have and exempts from flow permission;
Distribution module, for determine the communication identifier of the mobile terminal have it is described exempt from flow permission when, be described
Mobile terminal distributes the proxy server.
Optionally, the distribution module, specifically includes:
Acquiring unit, for obtain the communication identifier of the mobile terminal using the specified services quotient charging mode into
The free residual flow information of row charging;
Judging unit, for judging that the free residual flow of the mobile terminal is based on the free residual flow information
It is no to be greater than predetermined amount;
Allocation unit, for distributing institute for the mobile terminal when the free residual flow is greater than the predetermined amount
State proxy server.
Optionally, the predetermined amount specifically:
Needed for current demand or logging in network of the resource page to be logged in flow of the mobile terminal most
Small fixed amount.
Optionally, the distribution server further include:
6th sending module judges the movement for being based on the free residual flow information in the distribution server
Whether the free residual flow of terminal is greater than after predetermined amount, if the free residual flow that the mobile terminal has is little
In predetermined amount, Xiang Suoshu mobile terminal is sent for prompting user to increase the first prompt information of free residual flow, and/or,
The free residual flow deficiency sent to the mobile terminal for prompting user current please pass through mobile communication carrier
Carrier server logging in network the second prompt information.
Based on, for carrying out the exchange method of network login, the embodiment of the present invention also provides provided by the embodiment of the present invention
The system that another kind is logged in for network, referring to FIG. 6, the system includes:
The distribution server 500;
Proxy server 600, specifically includes:
4th receiving module is used to log in net for receiving mobile terminal by what the network of mobile communication carrier was sent
The login network request of network includes the communication identifier of the mobile terminal in the login network request, the communication identifier tool
Flow permission is exempted from standby online;
4th obtains module, for being obtained from Resource Server according to the login network request from the mobile terminal
Corresponding login result data, and the login result data are passed through into the network transmission of mobile communication carrier to the shifting
Dynamic terminal.
Optionally, the distribution server further include:
Second generation module is sent to the movement for generating interim verification information, and by the interim verification information
Terminal and the proxy server;
4th receiving module, is specifically used for: receiving the carrying communication identifier that the mobile terminal sends, described
The login network request of interim verification information;
Described 4th obtains module, is specifically used for: verifying the data access request by the interim verification information
When legal, the login result data are obtained from the Resource Server.
Optionally, all or part of data traffic of the generation during the mobile terminal logging in network is by mobile network
Operator exempts from flow identifier based on described in and is included in specified services quotient, specifically:
The data traffic of the special ratios generated during the mobile terminal logging in network is counted into the specified services
In data traffic spent by quotient;Alternatively,
The certain amount of data traffic generated during the mobile terminal logging in network is counted into the specified services
In data traffic spent by quotient.
Optionally, the proxy server further include:
7th sending module, for it is described receive mobile terminal login network request before, Xiang Suoshu mobile terminal
Default label is sent, the default label, the default label are carried when carrying out data transmission during the logging in network
Exempt from flow identifier to be described;Alternatively,
The IP address of the proxy server of preset IP address exempts from flow identifier described in being, the proxy server is for receiving
The login network request.
Optionally, all or part of data traffic of the generation during the mobile terminal logging in network is by mobile network
Operator exempts from flow identifier based on described in and is included in specified services quotient, specifically:
When in data during determining the mobile terminal logging in network including the default label, by the shifting
Data traffic during dynamic terminal logging in network is completely or partially included in the data traffic of specified services quotient consumption;Or
Data during the mobile terminal logging in network are transferred through the proxy server of the preset IP address, will
The data traffic for flowing through the preset IP address is completely or partially included in the data traffic of the specified services quotient consumption.
Optionally, the proxy server further include:
Know module, for according to preset measurement period count the mobile terminal spent by data traffic information,
Know that the mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, the proxy server further include:
8th sending module, for data traffic information spent by the mobile terminal to be sent to the distribution server;
The distribution server further include:
Determining module, for determining the mobile terminal tool based on data traffic information spent by the mobile terminal
The standby newest free residual flow information for exempting from flow permission.
One or more technical solutions in the embodiment of the present application, at least may be implemented following technical effect:
The query information for inquiring the current free residual flow information of mobile terminal is received by the distribution server, and is rung
Query information is answered to send the free residual stream that mobile terminal currently has to mobile terminal by the network of mobile communication carrier
Information is measured, so that whether mobile terminal can be in order to avoid the mode of flow passes through agency service based on free residual flow validation of information
Device logging in network;Wherein, the data transmission during logging in network, which is marked with, exempts from flow identifier, mobile terminal logging in network process
All or part of data traffic of middle generation is based on exempting from flow identifier and being included in specified services quotient by Mobile Network Operator,
The flow that mobile terminal logging in network can be reduced thus expends, when thus solving mobile terminal logging in network in the prior art
The technical issues of needing to expend mobile terminal a large amount of data traffic achieves and reduces the beneficial effect that mobile terminal flow expends
Fruit.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize the distribution server according to an embodiment of the present invention, proxy server
In some or all components some or all functions.The present invention is also implemented as described herein for executing
Some or all device or device programs (for example, computer program and computer program product) of method.In this way
Realization program of the invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape
Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of method for carrying out network login are applied on mobile terminal, comprising:
The mobile terminal judges that the current free that the mobile terminal has is remaining before response to network log-in instruction
Whether flow is greater than predetermined amount;
If so, the mobile terminal, which is sent by the network of mobile communication carrier to proxy server, is used for logging in network
Login network request, include the communication identifier of the mobile terminal in the login network request, the communication identifier has
Flow permission is exempted from online;
The mobile terminal is received the proxy server by the network of mobile communication carrier and is stepped on based on the network
The login result data that record request is obtained from Resource Server;
Wherein, the data transmission during above-mentioned logging in network, which is marked with, exempts from flow identifier, and the mobile terminal passes through generation
The all or part of data traffic generated in reason server log network development process exempts from flow based on described by Mobile Network Operator
Mark is included in specified services quotient.
A2, method according to a1, which is characterized in that surplus in the current free that the judgement mobile terminal has
Whether residual current amount is greater than before predetermined amount, the method also includes:
The mobile terminal inquires the free residual flow to the distribution server by the network of mobile communication carrier;
Or
The mobile terminal is obtained with flow spent by the proxy server communication, flow based on the consuming with
The free total flow that the mobile terminal has obtains the free residual flow.
A3, method according to a1, which is characterized in that the method also includes:
In the login result statistics indicate that when logining successfully, network that the mobile terminal passes through mobile communication carrier
The data access request for accessing network is sent to the proxy server, includes the communication in the data access request
Mark;
The mobile terminal is received the proxy server by the network of mobile communication carrier and is asked based on data access
It asks from the Resource Server and obtains requested date.
A4, method according to a1, which is characterized in that stepped in the network for sending logging in network to proxy server
Before record request, the method also includes:
The agency that the acquisition for mobile terminal the distribution server is distributed by the access game server process takes
Business device, the IP address of the proxy server are preset IP address, and the preset IP address exempts from flow identifier to be described;Or
The pre- bidding that proxy server described in the acquisition for mobile terminal is distributed by the access game server process
Label, carry the default label, the default label is institute when carrying out data transmission during the access game server
It states and exempts from flow identifier.
A5, according to any method of A1~A4, which is characterized in that send logging in network to proxy server described
Login network request before, the method also includes:
The communication identifier of the mobile terminal and authentication information are sent to the distribution server by the mobile terminal, with
Make the distribution server the communication identifier for verifying the mobile terminal have it is described exempt from flow permission after, be the login
Network and access network development process distributes the proxy server after logining successfully.
A6, method according to a5, which is characterized in that stepped in the network for sending logging in network to proxy server
Before record request, the method also includes:
The mobile terminal receives the interim verification information that the distribution server is mobile terminal distribution, wherein
The interim verification information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, be the shifting
Dynamic terminal distribution;
The login network request that logging in network is sent to proxy server, specifically:
The mobile terminal sends the login network request for carrying the interim verification information to the proxy server, with
The proxy server is set to verify the legitimacy of the login network request based on the interim verification information.
A7, according to any method of A1~A4, which is characterized in that the mobile terminal passes through proxy server login
The all or part of data traffic generated in network development process is exempted from flow identifier based on described in by Mobile Network Operator and is included in
In specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken;Alternatively,
Certain amount of data traffic is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken.
A8, according to any method of A1~A4, which is characterized in that the predetermined amount specifically: the mobile terminal
Minimum fixed amount needed for current demand or logging in network of the resource page to be logged in flow.
A9, according to any method of A1~A4, which is characterized in that work as what the judgement mobile terminal had
Whether preceding free residual flow is greater than after predetermined amount, the method also includes:
If the current free residual flow that the mobile terminal has is not more than predetermined amount, the mobile terminal leads to mobile
Believe that the carrier server of operator sends the login network request, to pass through the carrier server logging in network.
A10, according to any method of A1~A4, which is characterized in that have in the judgement mobile terminal
Whether current free residual flow is greater than after predetermined amount, the method also includes:
If the current free residual flow that the mobile terminal has is not more than predetermined amount, generates and show for prompting to use
Family increases the prompt information of free residual flow.
B11, a kind of mobile terminal, comprising:
Judgment module, for before response to network log-in instruction, judging that the current free that the mobile terminal has is surplus
Whether residual current amount is greater than predetermined amount;
First sending module, for when the judgment module is judged as YES, by the network of mobile communication carrier to
Proxy server sends the login network request for being used for logging in network, includes the mobile terminal in the login network request
Communication identifier, the communication identifier have online and exempt from flow permission;
First obtains module, receives the proxy server for the network by mobile communication carrier and is based on the net
The login result data that network logging request is obtained from Resource Server;
Wherein, the data transmission during above-mentioned logging in network, which is marked with, exempts from flow identifier, and the mobile terminal passes through generation
The all or part of data traffic generated in reason server log network development process exempts from flow based on described by Mobile Network Operator
Mark is included in specified services quotient.
B12, the mobile terminal according to B11, which is characterized in that the mobile terminal further include:
Control module, it is default for whether being greater than in the current free residual flow for judging that the mobile terminal has
Before amount, the free residual flow is inquired to the distribution server by the network of mobile communication carrier;Or
It obtains with flow spent by the proxy server communication, flow and the mobile terminal based on the consuming
The free total flow having obtains the free residual flow.
B13, the mobile terminal according to B11, which is characterized in that the mobile terminal further include:
Second sending module, for, statistics indicate that when logining successfully, passing through mobile communication carrier in the login result
Network send the data access request for accessing network to the proxy server, include institute in the data access request
State communication identifier;
Second obtains module, receives the proxy server for the network by mobile communication carrier and is visited based on data
Ask that request obtains requested date from the Resource Server.
B14, the mobile terminal according to B11, which is characterized in that the mobile terminal further include:
Third obtains module, for obtaining before the login network request for sending logging in network to proxy server
The proxy server for taking the distribution server to be distributed by the access game server process, the IP of the proxy server
Address is preset IP address, and the preset IP address exempts from flow identifier to be described;Or
The default label that the proxy server is distributed by the access game server process is obtained, in the access
The default label is carried when carrying out data transmission during game server, the default label exempts from flow identifier to be described.
B15, according to any mobile terminal of B11~B14, which is characterized in that the mobile terminal further include:
Third sending module, for inciting somebody to action before the login network request for sending logging in network to proxy server
The communication identifier and authentication information of the mobile terminal are sent to the distribution server, so that the distribution server is being verified
The communication identifier of the mobile terminal have it is described exempt from flow permission after, access net for the logging in network and after logining successfully
Network process distributes the proxy server.
B16, the mobile terminal according to B15, which is characterized in that the mobile terminal further include:
First receiving module, for connecing before the login network request for sending logging in network to proxy server
Receive the interim verification information that the distribution server is mobile terminal distribution, wherein the interim verification information is by described
It is described when exempting from flow permission that the distribution server determines that the mobile terminal has, and distributes for the mobile terminal;
Second sending module, is specifically used for:
The login network request for carrying the interim verification information is sent to the proxy server, so that the agency takes
Business device verifies the legitimacy of the login network request based on the interim verification information.
B17, according to any mobile terminal of B11~B14, which is characterized in that the mobile terminal passes through agency's clothes
The all or part of data traffic generated during business device logging in network exempts from flow identifier based on described by Mobile Network Operator
It is included in specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken;Alternatively,
Certain amount of data traffic is counted into the specified services quotient and is consumed during the mobile terminal logging in network
In the data traffic taken.
B18, according to any mobile terminal of B11~B14, which is characterized in that the predetermined amount specifically: the shifting
Minimum fixed amount needed for dynamic current demand or logging in network of the resource page to be logged in flow of terminal.
B19, according to any mobile terminal of B11~B14, which is characterized in that the mobile terminal further include:
4th sending module, for whether being greater than in the current free residual flow for judging that the mobile terminal has
After predetermined amount, if the current free residual flow that the mobile terminal has is not more than predetermined amount, to mobile communication carrier
Carrier server send the login network request, to pass through the carrier server logging in network.
B20, according to any mobile terminal of B11~B14, which is characterized in that the mobile terminal further include:
First generation module, for whether being greater than in the current free residual flow for judging that the mobile terminal has
After predetermined amount, if the current free residual flow that the mobile terminal has is generated and is shown for mentioning no more than predetermined amount
Show that user increases the prompt information of free residual flow.