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 the network access authority control method and mobile terminal for mobile terminal of problem.
According to one aspect of the present invention, a kind of network access authority control method is provided, comprising:
The distribution server receives the communication identifier that mobile terminal is sent by the network of mobile communication carrier and identity is tested
Demonstrate,prove information;
The distribution server is based on the communication identifier and whether the authentication information judges the communication identifier
Have and exempts from flow permission;
The distribution server determine the communication identifier have it is described exempt from flow permission when, be the mobile terminal
Distribution for the mobile terminal in order to avoid flow mode accesses the proxy server of network, it is described to exempt from the movement under flow mode
All or part of data traffic of terminal access network is included in number spent by specified services quotient by the mobile communication carrier
According in flow.
Optionally, it is described the distribution server determine the communication identifier have it is described exempt from flow permission when, be
The mobile terminal distribution, in order to avoid flow mode accesses the proxy server of network, is specifically included for the mobile terminal:
The distribution server obtains the communication identifier and carries out charging using the charging mode of the specified services quotient
Free residual flow information;
The distribution server judges the free residual flow of the communication identifier 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 method also includes:
The distribution server receives the letter of data traffic spent by the mobile terminal that the proxy server is sent
Breath, the data traffic information are counted by the proxy server according to preset measurement period;
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.
Optionally, after the proxy server prompts the mobile terminal to have dropped out login, the distribution server note
Sell the interim verification information.
Optionally, the partial data flow of the mobile terminal network visiting is included in specified by the mobile communication carrier
In data traffic spent by service provider, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
Optionally, described for mobile terminal distribution for the mobile terminal in order to avoid flow mode accesses network
After proxy server, the method also includes:
The proxy server receives the mobile terminal and accesses network by the network of the mobile communication carrier
Data access request includes the communication identifier of the mobile terminal in the data access request, on the communication identifier has
Net exempts from flow permission;
The proxy server obtains corresponding according to the data access request from mobile terminal from Resource Server
Requested date, and by the requested date by the network transmission of the mobile communication carrier to it is described it is mobile eventually
End;
Wherein, the data transmission during above-mentioned mobile terminal network visiting, which is marked with, exempts from flow identifier, described mobile whole
End accesses all or part of data traffic generated in network development process by mobile communication carrier's base by proxy server
It is included in specified services quotient in the flow identifier of exempting from.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server
Amount is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient, comprising:
It include to exempt from flow identifier in the data access request that the mobile terminal is sent, corresponding to the data access request
Data traffic exempted from flow identifier based on described and be included in the specified services quotient;And/or
The data traffic of the requested date is exempted from flow identifier based on described in and is included in the specified services quotient.
Optionally, the mobile terminal is received in the proxy server to visit by the network of the mobile communication carrier
Before the data access request for asking network, the method also includes: the proxy server sends to the mobile terminal and presets
Label carries the default label, the default label when carrying out data transmission during the mobile terminal network visiting
Exempt from flow identifier to be described;Alternatively,
The IP address of the proxy server is preset IP address, and the preset IP address exempts from flow identifier to be described.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server
Amount is exempted from flow identifier based on described in by the mobile communication carrier and is included in specified services quotient, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting
All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, stream
All or part of data traffic through the preset IP address is included in the specified services quotient by the mobile communication carrier.
Optionally, the method also includes:
Whether the proxy server judgement receives any data access of the mobile terminal within a preset period of time
Request;And
If being not received by any data access request of the mobile terminal within a preset period of time, described in prompt
Mobile terminal has dropped out login.
Optionally, if the proxy server prompts the mobile terminal to have dropped out login, further include:
The proxy server by the starting surf time of the mobile terminal, terminate the data of surf time and consumption
Flow information is sent to the distribution server;
The distribution server exempts from the mobile terminal based on the data traffic information that the proxy server is sent
Expense residual flow is counted.
Optionally, further includes:
The distribution server generates interim verification information, and the interim verification information is sent to the mobile terminal
And the proxy server;
The proxy server receives the mobile terminal and accesses network by the network of the mobile communication carrier
Data access request, specifically: the proxy server receives the carrying communication identifier that the mobile terminal is sent to, institute
State the data access request of interim verification information;
Described to obtain corresponding requested date from Resource Server, specifically include: the proxy server is passing through
State interim verification information verify the data access request it is legal when, obtain the requested date from the Resource Server.
Optionally, described for mobile terminal distribution for the mobile terminal in order to avoid flow mode accesses network
After proxy server, the method also includes:
The free residual flow information is sent to the proxy server by the distribution server;
Described to obtain corresponding requested date from Resource Server, specifically include: the proxy server is receiving
After the data access request, the newest free residual stream of the mobile terminal is judged based on the free residual flow information
Whether amount is greater than predetermined amount;When the newest free residual flow information is greater than the predetermined amount, from the Resource Server
Obtain the requested date.
According to another aspect of the present invention, a kind of the distribution server of network access authority control is provided, comprising:
First receiving module, the communication identifier sent by the network of mobile communication carrier for receiving mobile terminal and
Authentication information;
First judgment module, for judging that the communication identifier is based on the communication identifier and the authentication information
It is no have exempt from flow permission;
Distribution module, for the distribution server determine the communication identifier have it is described exempt from flow permission when,
Be mobile terminal distribution for the mobile terminal in order to avoid flow mode accesses the proxy server of network, it is described to exempt from flow
All or part of data traffic of the mobile terminal network visiting is included in specified clothes by the mobile communication carrier under mode
It is engaged in data traffic spent by quotient.
Optionally, the distribution module, specifically includes:
First acquisition unit carries out charging using the charging mode of the specified services quotient for obtaining the communication identifier
Free residual flow information;
Judging unit, for judging that the free residual flow of the communication identifier 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 distribution server further include:
Second receiving module, for receiving data traffic spent by the mobile terminal that the proxy server is sent
Information, the data traffic information are counted by the proxy server according to preset measurement period;
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.
Optionally, the distribution server further include:
Cancellation module, for after proxy server prompts the mobile terminal to have dropped out login, the distribution server
Nullify the interim verification information.
Optionally, the partial data flow of the mobile terminal network visiting is included in specified by the mobile communication carrier
In data traffic spent by service provider, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
According to a further aspect of the invention, a kind of network access system is provided, comprising:
The distribution server that any embodiment of the present invention is introduced;
Proxy server, the proxy server include: third receiving module, pass through institute for receiving the mobile terminal
The data access request of the network access network of mobile communication carrier is stated, includes described mobile whole in the data access request
The communication identifier at end, the communication identifier have online and exempt from flow permission;
First obtains module, for being obtained from Resource Server according to the data access request from mobile terminal
Corresponding requested date, and the requested date is passed through into the network transmission of the mobile communication carrier to the shifting
Dynamic terminal;
Wherein, the data transmission during above-mentioned mobile terminal network visiting, which is marked with, exempts from flow identifier, described mobile whole
End accesses all or part of data traffic generated in network development process by mobile communication carrier's base by proxy server
It is included in specified services quotient in the flow identifier of exempting from.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server
Amount is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient, comprising:
It include to exempt from flow identifier in the data access request that the mobile terminal is sent, corresponding to the data access request
Data traffic exempted from flow identifier based on described and be included in the specified services quotient;And/or
The data traffic of the requested date is exempted from flow identifier based on described in and is included in the specified services quotient.
Optionally, the proxy server further include: the first sending module, for sending pre- bidding to the mobile terminal
Label, carry the default label, the default label is when carrying out data transmission during the mobile terminal network visiting
It is described to exempt from flow identifier;Alternatively,
The IP address of the proxy server is preset IP address, and the preset IP address exempts from flow identifier to be described.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server
Amount is exempted from flow identifier based on described in by the mobile communication carrier and is included in specified services quotient, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting
All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, stream
All or part of data traffic through the preset IP address is included in the specified services quotient by the mobile communication carrier.
Optionally, the proxy server further include:
Second judgment module, for judging that any data for whether receiving the mobile terminal within a preset period of time is visited
Ask request;And
Cue module, if any data access for being not received by the mobile terminal within a preset period of time is asked
It asks, then the mobile terminal is prompted to have dropped out login.
Optionally, the proxy server further include:
Second sending module will be described if prompting the mobile terminal to have dropped out login for the proxy server
Starting surf time of mobile terminal terminates the surf time and the data traffic information of consumption is sent to the distribution server;
The distribution server further includes statistical module, the data traffic letter for being sent based on the proxy server
Breath counts the free residual flow of the mobile terminal.
Optionally, the distribution server, further includes: generation module faces for generating interim verification information, and by described
When verification information be sent to the mobile terminal and the proxy server;
The third receiving module, specifically for receiving the carrying communication identifier, the institute that the mobile terminal is sent to
State the data access request of interim verification information;
Described first obtains module, is specifically used for the proxy server by described in the interim verification information verifying
When data access request is legal, the requested date is obtained from the Resource Server.
Optionally, the distribution server further include: third sending module, for being mobile terminal distribution for described
After mobile terminal is in order to avoid flow mode accesses the proxy server of network, the free residual flow information is sent to described
Proxy server;
Described first obtains module, specifically for freely being remained after receiving the data access request based on described
Remaining flow information judges whether the newest free residual flow of the mobile terminal is greater than predetermined amount;In the newest free residue
When flow information is greater than the predetermined amount, the requested date is obtained from the Resource Server.
It optionally, further include any the introduced mobile terminal of the present invention.
According to a further aspect of the invention, a kind of network access authority control method for mobile terminal is provided, comprising:
Communication identifier and the authentication of mobile terminal are sent to the distribution server by the network of mobile communication carrier
Information is exempted to flow so that the distribution server determines that the communication identifier has based on the communication identifier and authentication information
When measuring permission, for mobile terminal distribution for the mobile terminal in order to avoid flow mode accesses the proxy server of network;
Exempt to access network in a manner of flow by described by the proxy server, it is described exempt under flow mode it is described it is mobile eventually
All or part of data traffic of end access network is included in data spent by specified services quotient by the mobile communication carrier
In flow.
Optionally, the partial data flow of the mobile terminal network visiting is included in specified by the mobile communication carrier
In data traffic spent by service provider, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
Optionally, described to exempt to access network in a manner of flow by described by the proxy server, it specifically includes:
It is asked by the network of the mobile communication carrier to the data access that the proxy server sends access network
It asks, includes the communication identifier of the mobile terminal in the data access request, the communication identifier has online and exempts from flow power
Limit;
By the network of the mobile communication carrier receive the proxy server based on the data access request from
The requested date that Resource Server obtains;
Wherein, the data transmission in above-mentioned access network development process, 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 access network development process exempts from flow based on described by mobile communication carrier
Mark is included in specified services quotient.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server
Amount is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient, comprising:
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request
Corresponding data traffic is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the requested date is exempted from flow identifier based on described in and is included in the specified services quotient.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server
Amount is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting
All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, stream
All or part of data traffic through the preset IP address is included in the specified services quotient by the mobile communication carrier.
Optionally, access network is sent to the proxy server in the network by the mobile communication carrier
Data access request before, the method also includes:
The default label that the proxy server is distributed by the access network development process is obtained, in the access network mistake
The default label is carried when carrying out data transmission in journey, the default label exempts from flow identifier to be described;Alternatively,
The IP address of the proxy server is preset IP address, and the preset IP address exempts from flow identifier to be described.
Optionally, the method also includes:
In the access network development process, obtains the mobile terminal and have the newest free residual flow for exempting from flow permission
Information, the newest free residual flow information are that the free residue of charging is carried out using the charging mode of the specified services quotient
Flow information.
Optionally, access network is sent to the proxy server in the network by the mobile communication carrier
Data access request before, the method also includes:
Receive the interim verification information that the distribution server is mobile terminal distribution, wherein the interim verifying
Information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, distributed for the mobile terminal;
The network by the mobile communication carrier is visited to the data that the proxy server sends access network
Ask request, specifically:
By the network of the mobile communication carrier to the proxy server comprising carrying the interim verification information
Data access request so that the proxy server verifies the conjunction of the data access request based on the interim verification information
Method.
According to a further aspect of the invention, a kind of mobile terminal is provided, comprising:
4th sending module sends the logical of mobile terminal to the distribution server for the network by mobile communication carrier
Beacon knows and authentication information, so that the distribution server is based on described in the communication identifier and authentication information determination
Communication identifier has when exempting from flow permission, is mobile terminal distribution for the mobile terminal in order to avoid flow mode accesses net
The proxy server of network;
Access modules, it is described to exempt from flow side for exempting to access network in a manner of flow by described by the proxy server
All or part of data traffic of the mobile terminal network visiting is included in specified services by the mobile communication carrier under formula
In data traffic spent by quotient.
Optionally, the partial data flow of the mobile terminal network visiting is included in specified by the mobile communication carrier
In data traffic spent by service provider, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
Optionally, the access modules, specifically include:
Transmission unit sends access network to the proxy server for the network by the mobile communication carrier
Data access request, include the communication identifier of the mobile terminal in the data access request, the communication identifier has
Flow permission is exempted from online;
Receiving unit receives the proxy server for the network by the mobile communication carrier and is based on the number
The requested date obtained according to access request from Resource Server;
Wherein, the data transmission in above-mentioned access network development process, 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 access network development process exempts from flow based on described by mobile communication carrier
Mark is included in specified services quotient.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server
Amount is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient, comprising:
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request
Corresponding data traffic is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the requested date is exempted from flow identifier based on described in and is included in the specified services quotient.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server
Amount is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting
All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, stream
All or part of data traffic through the preset IP address is included in the specified services quotient by the mobile communication carrier.
Optionally, the mobile terminal further include:
Acquiring unit, for sending access net to the proxy server in the network by the mobile communication carrier
Before the data access request of network, the default label that the proxy server is distributed by the access network development process is obtained,
The default label is carried when carrying out data transmission in the access network development process, the default label exempts from flux scale to be described
Know;Alternatively,
The IP address of the proxy server is preset IP address, and the preset IP address exempts from flow identifier to be described.
Optionally, the mobile terminal further include:
Second obtains module, in the access network development process, obtains the mobile terminal and has and exempt from flow permission
Newest free residual flow information, the newest free residual flow information is the charging mode using the specified services quotient
Carry out the free residual flow information of charging.
Optionally, the mobile terminal further include:
5th sending module is visited for sending in the network by the mobile communication carrier to the proxy server
Before the data access request for asking network, the interim verification information that the distribution server is mobile terminal distribution is received,
Wherein, the interim verification information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, be
The mobile terminal distribution;
The transmission unit includes to the proxy server specifically for the network by the mobile communication carrier
The data access request of the interim verification information is carried, so that the proxy server is based on the interim verification information verifying
The legitimacy of the data access request.
Network access authority control method according to the present invention for mobile terminal, passes through the net of mobile communication carrier
Network sends the communication identifier and authentication information of mobile terminal to the distribution server, so that the distribution server is based on communication identifier
With authentication information determine communication identifier have exempt from flow permission when, for mobile terminal distribution for mobile terminal in order to avoid flow
Mode accesses the proxy server of network;By proxy server in order to avoid flow mode accesses network, exempt to move under flow mode
All or part of data traffic of terminal access network is included in data flow spent by specified services quotient by mobile communication carrier
In amount.That is, data spent by specified services quotient can be expended in whole or in part in mobile terminal network visiting
Flow, and the data traffic of consumption mobile terminal is not needed partly or completely, it thus alleviates and accesses network in the prior art
When the technical issues of needing to expend the flow of mobile terminal, reached the data traffic expended when reducing mobile terminal network visiting
Technical effect;Thereby, it is possible to significantly improve the enthusiasm of customer access network, to be conducive to the Web content on internet
Wide-scale distribution;
Also, it is in the above scheme, true by the communication identifier and authentication information of mobile terminal in the distribution server
Determine after mobile terminal has and exempt from flow permission, be just mobile terminal distribution for mobile terminal in order to avoid flow mode accesses network
Proxy server, so as to prevent the user of immobile terminal from falsely using the free flow of mobile terminal;
Also, in embodiments of the present invention, the distribution server is greater than pre- in the free residual flow for determining communication identifier
If being just mobile terminal assignment agent server, so as to be supplied to the free number of mobile terminal to specified services quotient when amount
It is accurately controlled according to flow;
Also, in embodiments of the present invention, when proxy server prompting mobile terminal has dropped out login, the distribution server
Interim verification information is nullified, so as to guarantee that an interim verification information is only able to use in once access network development process, from
And it can further prevent the user of immobile terminal from falsely using the free flow of mobile terminal.
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 network access authority control methods and mobile terminal for mobile terminal, use
The technical issues of needing to expend mobile terminal a large amount of data traffic when mobile terminal network visiting to solve the prior art.
The embodiment of the present invention provides a kind of exchange method of network access authority control, as shown in Figure 1, being the friendship of this method
Mutually scheme, equipment involved in this method includes: mobile terminal, the distribution server, proxy server and Resource Server, wherein
Mobile terminal is for example are as follows: mobile phone, tablet computer etc., the user of mobile terminal are terminal user;The distribution server is main
For providing authentication, selection proxy server for mobile terminal;Proxy server is mainly used for having online and exempting to flow
The mobile terminal for measuring permission provides network access service;Resource Server is usually provided by internet content provider, for utilizing
The Internet resources of internet provide rich and varied Web content for terminal user, such as: video, webpage, picture etc..
Referring to FIG. 1, the exchange method of network access authority control, comprising the following steps:
Step S101: the distribution server receives the communication identifier that mobile terminal is sent by the network of mobile communication carrier
And authentication information;
Step S102: the distribution server is based on communication identifier and authentication information judges whether communication identifier has and exempts to flow
Measure permission;
Step S103: the distribution server determine communication identifier have exempt from flow permission when, for mobile terminal distribution use
In mobile terminal in order to avoid flow mode accesses the proxy server of network, exempt from the whole of mobile terminal network visiting under flow mode
Or partial data flow is included in data traffic spent by specified services quotient by mobile communication carrier.
For example, before step S101, mobile terminal can be tied up in the distribution server in a manner of registration etc. by first passing through in advance
Determine the communication identifier of mobile terminal, such as: mobile terminal can exempt from traffic service, distribution service to the distribution server application first
Device after receiving the application of mobile terminal, according to some prerequisites (such as: whether the software for initiating this application is predetermined
Whether whether software, the mobile terminal have used predetermined software, the communication identifier in specified services quotient registration etc.) determine whether
Exempt from flow permission to the communication identifier distribution of the mobile terminal, if the distribution server, which is determined, exempts from flow to mobile terminal distribution
Permission, 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, the distribution server the access network development process for mobile terminal provide exempt from stream service when, can there is no stream
Amount limitation, there may also be flow restrictions, wherein there is no flow restrictions to refer to regardless of the mobile terminal is in access network mistake
Accumulation uses how many flow in journey, exempts to its offer to exempt from flow permission as long as stream requires as long as meeting, such as: the distribution server can be with
For certain mobile terminals terminal iidentification (such as: particular vendors production mobile terminal, use certain types of operating system
Mobile terminal etc.) setting VIP identity, and then the terminal iidentification that is supplied to these mobile terminals is endless exempts to flow;And for non-
VIP user may exist flow restriction, and there are flow restrictions to refer to for distribution spy in every section of predetermined time of the mobile terminal
Constant flow, if mobile terminal accumulates the total flow used without departing from the particular flow rate, at it in access network development process
Meet in the case where exempting from stream requirement, exempts from flow permission to its distribution, and if mobile terminal is used in access network development process
Total flow be more than particular flow rate, then do not exempt from flow permission to its distribution, such as;It can be distributed for mobile terminal with one month
The free flow of 30M, the free flow of 50M etc..
In an alternative embodiment, if the distribution server distributes to the free flow of mobile terminal, there are Flow Limits
System, then the user of mobile terminal can also obtain the data traffic of the distribution server reward by some activities, such as: pass through shifting
Dynamic terminal clicks pre-determined advertisement, click predetermined webpage, the predetermined APP of downloading etc., and in this case, the distribution server can increase
The data traffic of mobile terminal distribution is added as, such as: 30M, 40M etc..
If mobile terminal needs to access 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 S102, 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 S103, if the flow permission of exempting from that the distribution server is mobile terminal distribution does not have flow restriction, divide
Hair server can directly be its assignment agent server after determining that mobile terminal has and exempts from flow permission;And if
The distribution server is that the flow permission of exempting from of mobile terminal distribution has flow restriction, then the distribution server is determining mobile terminal tool
It is standby exempt from flow permission after, it is also necessary to judge its residual flow whether more than one threshold value, just give shifting when being more than this threshold value
Dynamic terminal distribution proxy server, treatment process is specifically includes the following steps: the distribution server acquisition communication identifier uses and refers to
The charging mode for determining service provider carries out the free residual flow information of charging;Communication identifier is judged based on free residual flow information
Free residual flow whether be greater than predetermined amount (threshold value of such as front);When free residual flow is greater than predetermined amount, for movement
Terminal distribution proxy server.
Under normal conditions, one of the effect of the distribution server is exactly to count the free residual flow information of communication identifier, in advance
If amount is for example are as follows: 0M, 1M, 512K etc. illustrate under normal conditions, to be somebody's turn to do if free residual flow is greater than predetermined amount
Exempting from stream residual flow can satisfy the access of this network, so its assignment agent server can be given;And if free residual stream
Amount then illustrates under normal conditions that it is impossible to meet the access of this network for the free residual flow no more than if predetermined amount, so
Do not give its assignment agent server.
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, there is no flow restriction in the flow permission of exempting from for mobile terminal distribution
In the case where, if mobile terminal, which has, exempts from flow permission, interim verification information (token) use is can be generated in the distribution server
In this access network development process of mobile terminal;Or there are flow restrictions in the flow permission of exempting from for mobile terminal distribution
In the case where, if mobile terminal has the free residual flow for exempting from flow permission and mobile terminal greater than predetermined amount, distribute
Interim verification information also can be generated in server.
In addition, the distribution server is needed some numbers in order to guarantee that subsequent movement terminal can be connected to proxy server
According to proxy server is sent to, four kinds of data therein are set forth below and are introduced, it is certainly, in the specific implementation process, unlimited
In following four situation.1. the communication identifier of mobile terminal is sent to proxy server by the distribution server;2. the distribution server
The communication identifier of mobile terminal, interim verification information are sent to proxy server;3. the distribution server is led to mobile terminal
Beacon is known, free residual flow is sent to proxy server;4. the distribution server is by the communication identifier of mobile terminal, free remaining
Flow, interim verification information are sent to proxy server.
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 S104 as shown in Figure 1, for by dividing
The process for the mobile terminal that the address information of proxy server is sent to by hair server.
It can be established between mobile terminal, proxy server and Resource Server based on above step and exempt from circulation road.
As a kind of optional implementation, with continued reference to FIG. 1, the exchange method is further comprising the steps of:
Step S110: proxy server receives the data that mobile terminal accesses network by the network of mobile communication carrier
Access request, includes the communication identifier of mobile terminal in data access request, and communication identifier has online and exempts from flow permission;
Step S120: proxy server obtains phase according to the data access request from mobile terminal, from Resource Server
The requested date answered;
Step S130: requested date is transmitted to mobile whole by proxy server by the network of mobile communication carrier
End;
Wherein, the data transmission during above-mentioned mobile terminal network visiting, which is marked with, exempts from flow identifier, and mobile terminal is logical
The all or part of data traffic generated in proxy server access network development process is crossed to be based on exempting from flow by mobile communication carrier
Mark is included in specified services quotient.
In step S110, if the distribution server is not this access network development process distribution in step S101~S103
Interim verification information, then data access request is directly sent to proxy server by mobile terminal;If the distribution server is in step
It is assigned interim verification information for this access network development process in rapid S101~S103, then mobile terminal will carry interim verifying letter
The data access request of breath is sent to proxy server.In step S120, proxy server can receive mobile terminal hair
After the data access request sent, corresponding requested date directly just is obtained from Resource Server, and is based on the distribution server
The different information sent before to proxy server, proxy server can also first carry out some verification process, it are set forth below
In three kinds of verification process be introduced, certainly, in the specific implementation process, be 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 data access request that mobile terminal is sent also can include interim verification information, then proxy server exists
When legal by interim verification information verify data access request, requested date is obtained from Resource Server.Wherein, agency's clothes
Business device matches the interim verification information that mobile terminal is sent and the interim verification information that the distribution server is sent, if matching
If success, then illustrates that the data access request is legal, otherwise illustrate that the data access request is illegal.Through the above scheme can
Enough guarantee the safety of this access network development process.
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 data access 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 requested date, and if newest free residual flow information is not more than predetermined amount, inform mobile terminal,
Allow mobile terminal by other access path access Resource Server (such as: directly by data access request be sent to resource clothes
Business device).Through the above scheme, specified services quotient can be made to provide the free data flow of specific quantity to mobile terminal.
Wherein, if judging that the free residual flow of mobile terminal was greater than predetermined amount in the distribution server, clothes are acted on behalf of
Device be engaged in when receiving data access request for the first time, does not need to judge newest free residual flow (namely the distribution server hair
The free residual flow sent) whether it is greater than predetermined amount;But the data traffic of this network access request consuming is directly counted, so
It is subtracted into the data traffic from the free residual flow that the distribution server is sent afterwards, then available newest free data stream
Amount;It can be determined whether by judging whether newest free data flow is greater than predetermined amount by data access request in subsequent
It is 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 verifying the visit of this data by interim verification information
It asks and legal and newest free residual flow information is requested to be greater than predetermined amount, requested date is obtained using Resource Server.Pass through
The program can either guarantee the safety of this access network development process, and can guarantee that specified services quotient only provides to mobile terminal
The free flow of predetermined amount.In step S130, the data during mobile terminal network visiting include upstream data and lower line number
According to wherein upstream data is the data (namely data access request) for being sent to Resource Server by mobile terminal, lower line number
According to the data (namely requested date) i.e. to be sent to mobile terminal by Resource Server, wherein upstream data and lower line number
According at least one of data data traffic be counted into specified services quotient consumption data traffic in.
Wherein, it is provided if specified services quotient for mobile terminal if upstream data exempts from stream, mobile terminal takes to agency
It is also carried in the data access request that business device is sent and exempts from flow identifier, data traffic corresponding to data access request is based on
Exempt from flow identifier to be included in specified services quotient;And if specified services quotient is provided for mobile terminal if downlink data exempts from stream,
Requested date, which can carry, exempts from flow identifier (such as: by proxy server plus exempting from flow identifier), and then requested date
Data traffic can be based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier.
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 data access request that mobile terminal is sent, default label is sent to mobile terminal, in mobile terminal network visiting 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 the specific implementation process, it can be accessed by the gateway statistics being set between mobile terminal and proxy server
Data traffic in network development process.
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 data access request for receiving mobile terminal transmission, the IP of next node corresponding to the data access 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 requested date for receiving proxy server transmission, judge the agency
Whether the IP of server is to preset IP its data traffic is included in the data traffic of specified services quotient if it is default IP;Needle
It is in the case where presetting label to flow identifier is exempted from, corresponding gateway (or the charge system being connected with corresponding network) is receiving
After the data access request (or the requested date for receiving proxy server transmission) that mobile terminal is sent, it is judged as this
Whether comprising default label in data access request (or requested date), if comprising presetting label, by its data flow
Meter enters the data traffic of specified services quotient.
In the specific implementation process, the total data flow during mobile terminal network visiting is counted into specified services quotient
It refers in this access network development process, data traffic of mobile communication carrier during determining mobile terminal accessing
Later, its whole is included in specified services quotient.
And mobile terminal accesses the partial data flow generated in network development process by proxy server and is transported by mobile communication
Battalion quotient is based on exempting from flow identifier and being included in specified services quotient, may exist a variety of situations, be set forth below three kinds therein into
Row is introduced, and 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 network visiting.
For example, special ratios are for example are as follows: 50%, 70% etc., wherein have during mobile terminal network visiting
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 is visited
Ask that mobile terminal in network development process expends the flow of 10M, special ratios altogether are as follows: 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 network visiting.
For example, specific quantity is for example are as follows: 10M, 20M etc., wherein have during mobile terminal network visiting
When exempting from flow permission, corresponding gateway (or the charge system being connected with corresponding network) terminates it in this access network development process
Afterwards, whether the data traffic for judging this access network development 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 network visiting.
For example, specific content is for example are as follows: text, picture etc., wherein have during mobile terminal network visiting
For when exempting from flow permission, corresponding gateway (or the charge system being connected with corresponding network) obtains what access network development process was transmitted
Data, then determine the data such as text, picture from the data transmitted of access network development process, 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 access network development 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. 1, method further include:
Step S140: whether proxy server judgement receives any data access of mobile terminal within a preset period of time
Request;
Step S150: it if being not received by any data access request of mobile terminal within a preset period of time, mentions
Show that mobile 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
The arbitrary data access request that mobile terminal transmission is not received in period, then illustrate mobile terminal this visit network mistake
Journey is over, so can produce a corresponding prompt information.Further, proxy server is generating the prompt information
Later, which can also be sent to the distribution server.
In this case, if the distribution server is that this access network development 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 as this access 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.
As a kind of optional embodiment, if proxy server prompting mobile terminal has dropped out login, please continue to refer to
Fig. 1, method further include:
Step S160: 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 S170: 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 the mobile terminal can be determined by this access network mistake
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 the exchange method of the control of network access authority provided by the embodiment of the present invention, the embodiment of the present invention is also provided
A kind of network access authority control method, referring to FIG. 2, including:
Step S201: the distribution server receives the communication identifier that mobile terminal is sent by the network of mobile communication carrier
And authentication information;
Step S202: the distribution server is based on communication identifier and authentication information judges whether communication identifier has and exempts to flow
Measure permission;
Step S203: the distribution server determine communication identifier have exempt from flow permission when, for mobile terminal distribution use
In mobile terminal in order to avoid flow mode accesses the proxy server of network, exempt from the whole of mobile terminal network visiting under flow mode
Or partial data flow is included in data traffic spent by specified services quotient by mobile communication carrier.
Optionally, the distribution server determine communication identifier have exempt from flow permission when, for mobile terminal distribution be used for
Mobile terminal specifically includes in order to avoid flow mode accesses the proxy server of network: the distribution server obtains communication identifier and uses
The charging mode of specified services quotient carries out the free residual flow information of charging;The distribution server is based on free residual flow information
Judge whether the free residual flow of communication identifier is greater than predetermined amount;The distribution server is greater than predetermined amount in free residual flow
When, it is mobile terminal assignment agent server.
Optionally, method further include: data spent by the mobile terminal that the distribution server Receiving Agent server is sent
Flow information, data traffic information are counted by proxy server according to preset measurement period;The distribution server is based on mobile whole
The spent data traffic information in end, determines that mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, after proxy server prompting mobile terminal has dropped out login, the distribution server nullifies interim verifying letter
Breath.
Optionally, the partial data flow of mobile terminal network visiting is included in specified services quotient institute by mobile communication carrier
In the data traffic of consuming, specifically: the data traffic of special ratios is counted into specified clothes during mobile terminal network visiting
It is engaged in quotient;Or certain amount of data traffic is counted into specified services quotient during mobile terminal network visiting;Or it is mobile whole
The data traffic of specific content is counted into specified services quotient in end access network development process.
Optionally, be mobile terminal distribution for mobile terminal in case flow mode access network proxy server it
Afterwards, method further include: proxy server receives mobile terminal and visited by the data that the network of mobile communication carrier accesses network
It asks request, includes the communication identifier of mobile terminal in data access request, communication identifier has online and exempts from flow permission;Agency's clothes
Device be engaged according to the data access request from mobile terminal, from the corresponding requested date of Resource Server acquisition, and will be by
Request data passes through the network transmission of mobile communication carrier to mobile terminal;Wherein, above-mentioned mobile terminal network visiting process
In data transmission be marked with and exempt from flow identifier, mobile terminal by the whole that is generated in proxy server access network development process or
Partial data flow is based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by
Mobile communication carrier is based on exempting from flow identifier and being included in specified services quotient, comprising: the data access that mobile terminal is sent
Comprising exempting from flow identifier in request, data traffic corresponding to data access request is based on exempting from flow identifier being included in specified services
Shang Zhong;And/or the data traffic of requested date is based on exempting from flow identifier being included in specified services quotient.
Optionally, mobile terminal is received in proxy server pass through the data of the network access network of mobile communication carrier
Before access request, method further include: proxy server sends default label to mobile terminal, in mobile terminal network visiting mistake
Default label is carried when carrying out data transmission in journey, default label is to exempt from flow identifier;Alternatively, the IP address of proxy server is
Preset IP address, preset IP address are to exempt from flow identifier.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by
Mobile communication carrier is based on exempting from flow identifier and being included in specified services quotient, specifically: determining mobile terminal accessing
When in the data in network development process comprising default label, by all or part of data traffic during mobile terminal network visiting
It is included in specified services quotient;Or the data during mobile terminal network visiting are transferred through the agency service of preset IP address
Device, all or part of data traffic for flowing through preset IP address are included in specified services quotient by mobile communication carrier.
Optionally, method further include: whether proxy server judgement receives appointing for mobile terminal within a preset period of time
One data access request;And if being not received by any data access request of mobile terminal within a preset period of time,
Prompting mobile terminal has dropped out login.
Optionally, if proxy server prompting mobile terminal has dropped out login, further include: proxy server will move
Starting surf time of terminal terminates the surf time and the data traffic information of consumption is sent to the distribution server;Distribution clothes
Business device counts the free residual flow of mobile terminal based on the data traffic information that proxy server is sent.
Optionally, further includes: the distribution server generates interim verification information, and interim verification information is sent to movement eventually
End and proxy server;Proxy server receives the data that mobile terminal accesses network by the network of mobile communication carrier
Access request, specifically: proxy server receives the data for carrying communication identifier, interim verification information that mobile terminal is sent to
Access request;Obtain corresponding requested date from Resource Server, specifically include: proxy server is by temporarily verifying letter
When breath verify data access request is legal, requested date is obtained from Resource Server.
Optionally, be mobile terminal distribution for mobile terminal in case flow mode access network proxy server it
Afterwards, method further include: free residual flow information is sent to proxy server by the distribution server;Phase is obtained from Resource Server
The requested date answered, specifically includes: proxy server is believed after receiving data access request based on free residual flow
Breath judges whether the newest free residual flow of mobile terminal is greater than predetermined amount;It is greater than in newest free residual flow information default
When amount, requested date is obtained from Resource Server.
Based on the exchange method of the control of network access authority provided by the embodiment of the present invention, the embodiment of the present invention is also provided
A kind of the distribution server of network access authority control, referring to FIG. 3, including:
First receiving module 30, the communication identifier sent for receiving mobile terminal by the network of mobile communication carrier
And authentication information;
First judgment module 31, for judging whether communication identifier has based on communication identifier and authentication information and exempting to flow
Measure permission;
Distribution module 32, for the distribution server determine communication identifier have exempt from flow permission when, be mobile terminal
Distribution, in order to avoid flow mode accesses the proxy server of network, exempts from mobile terminal network visiting under flow mode for mobile terminal
All or part of data traffic be included in data traffic spent by specified services quotient by mobile communication carrier.
Optionally, distribution module 32 specifically include: first acquisition unit, for obtaining communication identifier using specified services
The charging mode of quotient carries out the free residual flow information of charging;Judging unit, for being judged based on free residual flow information
Whether the free residual flow of communication identifier is greater than predetermined amount;Allocation unit is used for when free residual flow is greater than predetermined amount,
For mobile terminal assignment agent server.
Optionally, the distribution server further include: the second receiving module 33, the mobile end sent for Receiving Agent server
The spent data traffic information in end, data traffic information are counted by proxy server according to preset measurement period;Determine mould
Block 34 is exempted from the newest of flow permission and is exempted from for based on data traffic information spent by mobile terminal, determining that mobile terminal has
Take residual flow information.
Optionally, the distribution server further include: cancellation module 35, for being had dropped out in proxy server prompting mobile terminal
After login, the distribution server nullifies interim verification information.
Optionally, the partial data flow of mobile terminal network visiting is included in specified services quotient institute by mobile communication carrier
In the data traffic of consuming, specifically: the data traffic of special ratios is counted into specified clothes during mobile terminal network visiting
It is engaged in quotient;Or certain amount of data traffic is counted into specified services quotient during mobile terminal network visiting;Or it is mobile whole
The data traffic of specific content is counted into specified services quotient in end access network development process.
Based on the exchange method of the control of network access authority provided by the embodiment of the present invention, the embodiment of the present invention is also provided
A kind of network access system, referring to FIG. 4, including: the distribution server that any embodiment of the present invention is introduced;Agency service
Device, proxy server include: third receiving module 40, are accessed for receiving mobile terminal by the network of mobile communication carrier
The data access request of network, includes the communication identifier of mobile terminal in data access request, and communication identifier has online and exempts to flow
Measure permission;First obtains module 41, for obtaining from Resource Server corresponding according to the data access request from mobile terminal
Requested date, and requested date is passed through into the network transmission of mobile communication carrier to mobile terminal;Wherein, above-mentioned
Data transmission during mobile terminal network visiting, which is marked with, exempts from flow identifier, and mobile terminal accesses net by proxy server
The all or part of data traffic generated during network is based on exempting from flow identifier being included in specified clothes by mobile communication carrier
It is engaged in quotient.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by
Mobile communication carrier is based on exempting from flow identifier and being included in specified services quotient, comprising: the data access that mobile terminal is sent
Comprising exempting from flow identifier in request, data traffic corresponding to data access request is based on exempting from flow identifier being included in specified services
Shang Zhong;And/or the data traffic of requested date is based on exempting from flow identifier being included in specified services quotient.
Optionally, proxy server further include: the first sending module 42, for sending default label to mobile terminal,
Default label is carried when carrying out data transmission during mobile terminal network visiting, default label is to exempt from flow identifier;Alternatively, generation
The IP address for managing server is preset IP address, and preset IP address is to exempt from flow identifier.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by
Mobile communication carrier is based on exempting from flow identifier and being included in specified services quotient, specifically: determining mobile terminal accessing
When in the data in network development process comprising default label, by all or part of data traffic during mobile terminal network visiting
It is included in specified services quotient;Or the data during mobile terminal network visiting are transferred through the agency service of preset IP address
Device, all or part of data traffic for flowing through preset IP address are included in specified services quotient by mobile communication carrier.
Optionally, proxy server further include: the second judgment module 43, for judging whether receive within a preset period of time
To any data access request of mobile terminal;And cue module 44, if for being not received by within a preset period of time
Any data access request of mobile terminal, then prompting mobile terminal has dropped out login.
Optionally, proxy server further include: the second sending module 45, if being used for proxy server prompting mobile terminal
Login is had dropped out, the data traffic information of the starting surf time of mobile terminal, end surf time and consumption are sent to
The distribution server;The distribution server further includes statistical module 36, for being remained based on data traffic information to the free of mobile terminal
Residual current amount is counted.
Optionally, the distribution server, further includes: generation module 37 for generating interim verification information, and will be verified temporarily
Information is sent to mobile terminal and proxy server;Third receiving module 40 is sent to specifically for reception mobile terminal
Carry the data access request of communication identifier, interim verification information;First obtains module 41, is specifically used for proxy server logical
Cross interim verification information verify data access request it is legal when, from Resource Server obtain requested date.
Optionally, the distribution server further include: third sending module 38, for being mobile terminal distribution for mobile whole
After end is in order to avoid flow mode accesses the proxy server of network, free residual flow information is sent to proxy server;The
One obtains module 41, specifically for being judged based on free residual flow information mobile whole after receiving data access request
Whether the newest free residual flow at end is greater than predetermined amount;When newest free residual flow information is greater than predetermined amount, from resource
Server obtains requested date.
Optionally, further include mobile terminal that any embodiment of the present invention is introduced.
Based on the exchange method of the control of network access authority provided by the embodiment of the present invention, the embodiment of the present invention is also provided
A kind of network access authority control method for mobile terminal, referring to FIG. 5, including:
Step S501: by the network of mobile communication carrier to the distribution server send mobile terminal communication identifier and
Authentication information, so that the distribution server, which determines that communication identifier has based on communication identifier and authentication information, exempts from flow power
In limited time, for mobile terminal distribution for mobile terminal in order to avoid flow mode accesses the proxy server of network;
Step S502: by proxy server in order to avoid flow mode accesses network, exempt from mobile terminal accessing under flow mode
All or part of data traffic of network is included in data traffic spent by specified services quotient by mobile communication carrier.
Optionally, the partial data flow of mobile terminal network visiting is included in specified services quotient institute by mobile communication carrier
In the data traffic of consuming, specifically: the data traffic of special ratios is counted into specified clothes during mobile terminal network visiting
It is engaged in quotient;Or certain amount of data traffic is counted into specified services quotient during mobile terminal network visiting;Or it is mobile whole
The data traffic of specific content is counted into specified services quotient in end access network development process.
Optionally, it is specifically included by proxy server in order to avoid flow mode accesses network: passing through mobile communication carrier
Network the data access request of access network is sent to proxy server, include the communication of mobile terminal in data access request
Mark, communication identifier have online and exempt from flow permission;Number is based on by the network Receiving Agent server of mobile communication carrier
The requested date obtained according to access request from Resource Server;Wherein, the data in above-mentioned access network development process transmit label
Have and exempt from flow identifier, mobile terminal accesses all or part of data traffic generated in network development process by moving by proxy server
Dynamic common carrier is based on exempting from flow identifier being included in specified services quotient.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by
Mobile communication carrier is based on exempting from flow identifier and being included in specified services quotient, comprising: to number transmitted by proxy server
According to, comprising exempting from flow identifier, data traffic corresponding to data access request is based on exempting from flow identifier being included in finger in access request
Determine in service provider;And/or the data traffic of requested date is based on exempting from flow identifier being included in specified services quotient.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by
Mobile communication carrier is based on exempting from flow identifier and being included in specified services quotient, specifically: determining mobile terminal accessing
When in the data in network development process comprising default label, by all or part of data traffic during mobile terminal network visiting
It is included in specified services quotient;Or the data during mobile terminal network visiting are transferred through the agency service of preset IP address
Device, all or part of data traffic for flowing through preset IP address are included in specified services quotient by mobile communication carrier.
Optionally, it is asked in the network by mobile communication carrier to the data access that proxy server sends access network
Before asking, method further include: the default label that proxy server is distributed for access network development process is obtained, in access network development process
In default label is carried when carrying out data transmission, default label is to exempt from flow identifier;Alternatively, the IP address of proxy server is pre-
If IP address, preset IP address is to exempt from flow identifier.
Optionally, method further include: in access network development process, obtain mobile terminal and have and exempt from the newest of flow permission and exempt from
Take residual flow information, newest free residual flow information is to carry out the free of charging using the charging mode of specified services quotient to remain
Remaining flow information.
Optionally, it is asked in the network by mobile communication carrier to the data access that proxy server sends access network
Before asking, method further include: receive the interim verification information that the distribution server is mobile terminal distribution, wherein interim verifying letter
Breath by the distribution server determine mobile terminal have exempt from flow permission when, for mobile terminal distribute;Pass through mobile communication carrier
Network to proxy server send access network data access request, specifically: pass through the network of mobile communication carrier
It include the data access request for carrying interim verification information to proxy server, so that proxy server is based on interim verification information
The legitimacy of verify data access request.
Based on the exchange method of the control of network access authority provided by the embodiment of the present invention, the embodiment of the present invention is also provided
A kind of mobile terminal, referring to FIG. 6, including:
4th sending module 60 sends mobile terminal to the distribution server for the network by mobile communication carrier
Communication identifier and authentication information, so that the distribution server determines that communication identifier has based on communication identifier and authentication information
It is standby when exempting from flow permission, it is mobile terminal distribution for mobile terminal in order to avoid flow mode accesses the proxy server of network;
Access modules 61, for, in order to avoid flow mode accesses network, being exempted from mobile whole under flow mode by proxy server
All or part of data traffic of end access network is included in data traffic spent by specified services quotient by mobile communication carrier
In.
Optionally, the partial data flow of mobile terminal network visiting is included in specified services quotient institute by mobile communication carrier
In the data traffic of consuming, specifically: the data traffic of special ratios is counted into specified clothes during mobile terminal network visiting
It is engaged in quotient;Or certain amount of data traffic is counted into specified services quotient during mobile terminal network visiting;Or it is mobile whole
The data traffic of specific content is counted into specified services quotient in end access network development process.
Optionally, access modules 61 specifically include: transmission unit, for by the network of mobile communication carrier to generation
The data access request that server sends access network is managed, includes the communication identifier of mobile terminal, communication in data access request
Mark has online and exempts from flow permission;Receiving unit, for passing through the network Receiving Agent server base of mobile communication carrier
In the requested date that data access request is obtained from Resource Server;Wherein, the data transmission in above-mentioned access network development process
It is marked with and exempts from flow identifier, mobile terminal accesses all or part of data traffic generated in network development process by proxy server
It is based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by
Mobile communication carrier is based on exempting from flow identifier and being included in specified services quotient, comprising: to number transmitted by proxy server
According to, comprising exempting from flow identifier, data traffic corresponding to data access request is based on exempting from flow identifier being included in finger in access request
Determine in service provider;And/or the data traffic of requested date is based on exempting from flow identifier being included in specified services quotient.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by
Mobile communication carrier is based on exempting from flow identifier and being included in specified services quotient, specifically: determining mobile terminal accessing
When in the data in network development process comprising default label, by all or part of data traffic during mobile terminal network visiting
It is included in specified services quotient;Or the data during mobile terminal network visiting are transferred through the agency service of preset IP address
Device, all or part of data traffic for flowing through preset IP address are included in specified services quotient by mobile communication carrier.
Optionally, mobile terminal further include: acquiring unit 62, for by the network of mobile communication carrier to agency
Before server sends the data access request of access network, obtains proxy server and preset for what access network development process was distributed
Label, carries default label when carrying out data transmission in accessing network development process, default label is to exempt from flow identifier;Alternatively, generation
The IP address for managing server is preset IP address, and preset IP address is to exempt from flow identifier.
Optionally, mobile terminal further include: second obtains module 63, for obtaining movement eventually in access network development process
End has the newest free residual flow information for exempting from flow permission, and newest free residual flow information is using specified services quotient's
The free residual flow information of charging mode progress charging.
Optionally, mobile terminal further include: the 5th sending module 64, for by the network of mobile communication carrier to
Before proxy server sends the data access request of access network, receiving the distribution server is temporarily testing for mobile terminal distribution
Demonstrate,prove information, wherein interim verification information by the distribution server determine mobile terminal have exempt from flow permission when, for mobile terminal point
Match;Transmission unit, specifically for the network by mobile communication carrier to proxy server comprising carrying interim verification information
Data access request so that legitimacy of the proxy server based on interim verification information verify data access request.
One or more embodiment of the invention, at least has the advantages that
Due in embodiments of the present invention, sending mobile terminal to the distribution server by the network of mobile communication carrier
Communication identifier and authentication information so that the distribution server determines communication identifier based on communication identifier and authentication information
Have when exempting from flow permission, is mobile terminal distribution for mobile terminal in order to avoid flow mode accesses the proxy server of network;
By proxy server in order to avoid flow mode accesses network, exempt from all or part of number of mobile terminal network visiting under flow mode
It is included in data traffic spent by specified services quotient according to flow by mobile communication carrier.That is, being visited in mobile terminal
When asking network, data traffic spent by specified services quotient can be expended in whole or in part, and is not needed partly or completely
Thus the data traffic for consuming mobile terminal alleviates the flow for needing to expend mobile terminal when accessing network in the prior art
Technical problem has reached the technical effect of the data traffic expended when reducing mobile terminal network visiting;Thereby, it is possible to significantly mention
The enthusiasm of high user's downloading, to be conducive to the wide-scale distribution of the Web content on internet;
Also, it is in the above scheme, true by the communication identifier and authentication information of mobile terminal in the distribution server
Determine after mobile terminal has and exempt from flow permission, be just mobile terminal distribution for mobile terminal in order to avoid flow mode accesses network
Proxy server, so as to prevent the user of immobile terminal from falsely using the free flow of mobile terminal;
Also, in embodiments of the present invention, the distribution server is greater than pre- in the free residual flow for determining communication identifier
If being just mobile terminal assignment agent server, so as to be supplied to the free number of mobile terminal to specified services quotient when amount
It is accurately controlled according to flow;
Also, in embodiments of the present invention, when proxy server prompting mobile terminal has dropped out login, the distribution server
Interim verification information is nullified, so as to guarantee that an interim verification information is only able to use in once access network development process, from
And it can further prevent the user of immobile terminal from falsely using the free flow of mobile terminal.
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 in this include institute in other embodiments
Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it
One 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 mobile terminal according to an embodiment of the present invention, the distribution server, generation
Manage some or all functions of server and some or all components in network access system.The present invention can also realize
It is some or all device or device programs for executing method as described herein (for example, computer program
And computer program product).It is such to realize that program of the invention can store on a computer-readable medium, or can have
There is the form of one or more signal.Such signal can be downloaded from an internet website to obtain, or in carrier signal
Upper offer, or be provided in any other form.
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 network access authority control method for mobile terminal, comprising:
Communication identifier and the authentication of mobile terminal are sent to the distribution server by the network of mobile communication carrier
Information is exempted to flow so that the distribution server determines that the communication identifier has based on the communication identifier and authentication information
When measuring permission, for mobile terminal distribution for the mobile terminal in order to avoid flow mode accesses the proxy server of network;
Exempt to access network in a manner of flow by described by the proxy server, it is described exempt under flow mode it is described it is mobile eventually
All or part of data traffic of end access network is included in data spent by specified services quotient by the mobile communication carrier
In flow.
A2, method as described in a1, which is characterized in that the partial data flow of the mobile terminal network visiting is described
Mobile communication carrier is included in data traffic spent by specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
A3, method as described in a1, which is characterized in that described to exempt to visit in a manner of flow by described by the proxy server
It asks network, specifically includes:
It is asked by the network of the mobile communication carrier to the data access that the proxy server sends access network
It asks, includes the communication identifier of the mobile terminal in the data access request, the communication identifier has online and exempts from flow power
Limit;
By the network of the mobile communication carrier receive the proxy server based on the data access request from
The requested date that Resource Server obtains;
Wherein, the data transmission in above-mentioned access network development process, 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 access network development process exempts from flow based on described by mobile communication carrier
Mark is included in specified services quotient.
A4, the method as described in A3, which is characterized in that the mobile terminal is accessed in network development process by proxy server
All or part of data traffic of generation exempts from flow identifier based on described in by mobile communication carrier and is included in specified services quotient
In, comprising:
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request
Corresponding data traffic is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the requested date is exempted from flow identifier based on described in and is included in the specified services quotient.
A5, the method as described in A3, which is characterized in that the mobile terminal is accessed in network development process by proxy server
All or part of data traffic of generation exempts from flow identifier based on described in by mobile communication carrier and is included in specified services quotient
In, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting
All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, stream
All or part of data traffic through the preset IP address is included in the specified services quotient by the mobile communication carrier.
A6, the method as described in A3, which is characterized in that in the network by the mobile communication carrier to described
Before proxy server sends the data access request of access network, the method also includes:
The default label that the proxy server is distributed by the access network development process is obtained, in the access network mistake
The default label is carried when carrying out data transmission in journey, the default label exempts from flow identifier to be described;Alternatively,
The IP address of the proxy server is preset IP address, and the preset IP address exempts from flow identifier to be described.
A7, the method as described in A1-A6 is any, which is characterized in that the method also includes:
In the access network development process, obtains the mobile terminal and have the newest free residual flow for exempting from flow permission
Information, the newest free residual flow information are that the free residue of charging is carried out using the charging mode of the specified services quotient
Flow information.
A8, the method as described in A3, which is characterized in that in the network by the mobile communication carrier to described
Before proxy server sends the data access request of access network, the method also includes:
Receive the interim verification information that the distribution server is mobile terminal distribution, wherein the interim verifying
Information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, distributed for the mobile terminal;
The network by the mobile communication carrier is visited to the data that the proxy server sends access network
Ask request, specifically:
By the network of the mobile communication carrier to the proxy server comprising carrying the interim verification information
Data access request so that the proxy server verifies the conjunction of the data access request based on the interim verification information
Method.
B9, a kind of mobile terminal, comprising:
4th sending module sends the logical of mobile terminal to the distribution server for the network by mobile communication carrier
Beacon knows and authentication information, so that the distribution server is based on described in the communication identifier and authentication information determination
Communication identifier has when exempting from flow permission, is mobile terminal distribution for the mobile terminal in order to avoid flow mode accesses net
The proxy server of network;
Access modules, it is described to exempt from flow side for exempting to access network in a manner of flow by described by the proxy server
All or part of data traffic of the mobile terminal network visiting is included in specified services by the mobile communication carrier under formula
In data traffic spent by quotient.
B10, the mobile terminal as described in B9, which is characterized in that the partial data flow of the mobile terminal network visiting
It is included in data traffic spent by specified services quotient by the mobile communication carrier, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
B11, the mobile terminal as described in B9, which is characterized in that the access modules specifically include:
Transmission unit sends access network to the proxy server for the network by the mobile communication carrier
Data access request, include the communication identifier of the mobile terminal in the data access request, the communication identifier has
Flow permission is exempted from online;
Receiving unit receives the proxy server for the network by the mobile communication carrier and is based on the number
The requested date obtained according to access request from Resource Server;
Wherein, the data transmission in above-mentioned access network development process, 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 access network development process exempts from flow based on described by mobile communication carrier
Mark is included in specified services quotient.
B12, mobile terminal as described in b11, which is characterized in that the mobile terminal accesses network by proxy server
The all or part of data traffic generated in the process by mobile communication carrier be based on it is described exempt from flow identifier be included in it is specified
In service provider, comprising:
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request
Corresponding data traffic is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the requested date is exempted from flow identifier based on described in and is included in the specified services quotient.
B13, mobile terminal as described in b11, which is characterized in that the mobile terminal accesses network by proxy server
The all or part of data traffic generated in the process by mobile communication carrier be based on it is described exempt from flow identifier be included in it is specified
In service provider, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting
All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, stream
All or part of data traffic through the preset IP address is included in the specified services quotient by the mobile communication carrier.
B14, mobile terminal as described in b11, which is characterized in that the mobile terminal further include:
Acquiring unit, for sending access net to the proxy server in the network by the mobile communication carrier
Before the data access request of network, the default label that the proxy server is distributed by the access network development process is obtained,
The default label is carried when carrying out data transmission in the access network development process, the default label exempts from flux scale to be described
Know;Alternatively,
The IP address of the proxy server is preset IP address, and the preset IP address exempts from flow identifier to be described.
B15, the mobile terminal as described in B9-14 is any, which is characterized in that the mobile terminal further include:
Second obtains module, in the access network development process, obtains the mobile terminal and has and exempt from flow permission
Newest free residual flow information, the newest free residual flow information is the charging mode using the specified services quotient
Carry out the free residual flow information of charging.
B16, mobile terminal as described in b11, which is characterized in that the mobile terminal further include:
5th sending module is visited for sending in the network by the mobile communication carrier to the proxy server
Before the data access request for asking network, the interim verification information that the distribution server is mobile terminal distribution is received,
Wherein, the interim verification information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, be
The mobile terminal distribution;
The transmission unit includes to the proxy server specifically for the network by the mobile communication carrier
The data access request of the interim verification information is carried, so that the proxy server is based on the interim verification information verifying
The legitimacy of the data access request.