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 database operation method and database for mobile terminal network visiting of problem.
According to one aspect of the present invention, a kind of database operation method for mobile terminal network visiting is provided, is wrapped
It includes:
There is provided includes the database for having the information of mobile terminal for exempting from flow permission, wherein each information of mobile terminal pair
Data markers of the mobile terminal answered during accessing network through proxy server by mobile communications network, which have, exempts from flow
Mark, the mobile terminal are logical by moving by all or part of data traffic generated in proxy server access network development process
Communication network operator exempts from flow identifier based on described in and is included in specified services quotient;And
Receive the first movement end message that sends by the mobile communications network of first movement terminal, and by described the
One information of mobile terminal is compared with the database, is weighed so that whether the determination first movement terminal has the flow of exempting from
Limit.
Optionally, described to be compared the first movement end message with the database, with determination described first
Mobile terminal exempts from flow permission described in whether having, and specifically includes:
In the first movement end message and the database matching, it is described to determine that the first movement terminal has
Exempt from flow permission;Or
When the first movement end message and the database mismatch, determine that the first movement terminal does not have
It is described to exempt from flow permission.
Optionally, when exempting from flow permission described in having in the determination first movement terminal, the method also includes:
The first movement end message is added in the database.
Optionally, when exempting from flow permission described in having in the determination first movement terminal, the method also includes:
According to the first movement end message, determine that the first movement terminal last time passes through from the database
The mobile communications network is remaining when accessing network through the proxy server to have first data for exempting from flow permission
Flow.
Optionally, once by the mobile communications network through the agency in the determination first movement terminal
When server access network it is remaining have first data traffic for exempting from flow permission after, the method also includes:
It receives the first movement terminal and network mistake is being accessed through the proxy server by the mobile communications network
The second data traffic expended in journey, and first data traffic is updated according to second data traffic, and will be after update
First data traffic be added in the database.
Optionally, once by the mobile communications network through the agency in the determination first movement terminal
When server access network it is remaining have first data traffic for exempting from flow permission after, the method also includes:
Data traffic change message corresponding with the first movement terminal is received, and is disappeared according to data traffic variation
Breath updates first data traffic, and updated first data traffic is added in the database.
Optionally, the partial data stream that the mobile terminal generates during accessing network by the proxy server
Amount is exempted from flow identifier based on described in by mobile communication network operator and is included in 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.
Optionally, described to be included in specified services quotient, comprising: the expense that corresponding data flow generates is calculated as specified services
The expense of the account consumption of quotient.
According to another aspect of the invention, a kind of database is also provided, comprising:
Memory module includes the database for having the information of mobile terminal for exempting from flow permission for storing, wherein Mei Geyi
Data of the dynamic corresponding mobile terminal of end message during accessing network through proxy server by mobile communications network
It is marked with and exempts from flow identifier, the mobile terminal accesses all or part of data generated in network development process by proxy server
Flow is exempted from flow identifier based on described in by mobile communication network operator and is included in specified services quotient;
First determining module, it is whole for receiving the first movement that first movement terminal is sent by the mobile communications network
Client information, and the first movement end message is compared with the database, it is with the determination first movement terminal
It is no have described exempt from flow permission.
Optionally, first determining module is specifically used in the first movement end message and the database matching
When, determine that the first movement terminal exempts from flow permission described in having, or in the first movement end message and the number
When mismatching according to library, determine that the first movement terminal exempts from flow permission described in not having.
Optionally, the database further include:
First adding module, for determining that the first movement terminal exempts from flow described in having in first determining module
When permission, the first terminal information is added in the database.
Optionally, the database further include:
Second determining module, for determining that the first movement terminal exempts from flow permission described in having in the first determining module
When, according to the first terminal information, determine that the first movement terminal last time passes through the movement from the database
Communication network is remaining when accessing network through the proxy server to have first data traffic for exempting from flow permission.
Optionally, the database further include:
Second adding module, for determining first data traffic from the database in second determining module
Later, the first movement terminal is received to access in network development process by the mobile communications network through the proxy server
The second data traffic expended, and first data traffic is updated according to second data traffic, and by updated institute
The first data traffic is stated to be added in the database.
Optionally, the database further include:
Third adding module, for determining first data traffic from the database in second determining module
Later, data traffic change message corresponding with the first movement terminal is received, and according to the data traffic change message
First data traffic is updated, and updated first data traffic is added in the database.
Database operation method according to the present invention for mobile terminal network visiting, first reception mobile terminal accessing
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;Then according to the data access request from mobile terminal, corresponding requested date is obtained from Resource Server, with
And requested date is transmitted to mobile terminal;Wherein, the data transmission during above-mentioned mobile terminal network visiting is marked with
Exempt from flow identifier, the data traffic during mobile terminal network visiting is counted into specified services quotient consumption based on flow identifier is exempted from
Data traffic in.In mobile terminal network visiting, consuming be service provider corresponding to proxy server data traffic,
Thus data traffic without expending mobile terminal solves and needs to expend mobile terminal when accessing network in the prior art
Flow the technical issues of, reached mobile terminal exempt from flow access network technical effect;Thus, mobile terminal is without payment
Campus network, it will be able to realize the technical effect for exempting from flow downloading Web content.Thereby, it is possible to significantly improve the product of user's downloading
Polarity, to be conducive to the wide-scale distribution of the Web content on internet.
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 database operation method and database for mobile terminal network visiting,
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.
Referring to FIG. 1, Fig. 1 is the exchange method provided in an embodiment of the present invention for first movement terminal access network,
Method includes the following steps:
First step: realize whether there is the judgement for exempting from flow permission to first movement terminal.
First step specifically includes:
S101: first movement terminal sends first movement end message, distribution when accessing network by mobile communications network
Server receives the first movement end message;
S102: the distribution server judges whether first movement has according to first movement end message and exempts from flow permission;
S103: it determines that first movement terminal has according to first movement end message in the distribution server and exempts from flow permission
When, it is mobile terminal assignment agent server.
Second step: realize that mobile terminal accesses network by proxy server.
Second step specifically includes:
S111: proxy server receives data access request;
S112: proxy server is based on data access request and obtains requested date from Resource Server;
S113: proxy server sends requested date to mobile terminal.
Database provided in an embodiment of the present invention can be set in the distribution server, certainly, in another embodiment, this
The database that inventive embodiments provide also can be set in other positions, and it is corresponding in database to guarantee that the distribution server needs to access
It can be with database normal communication when data.
The database operation method provided through the embodiment of the present invention can be realized in the first step to first terminal
Whether there is the judgement for exempting from flow permission, referring to FIG. 2, Fig. 2 is the stream of database operation method provided in an embodiment of the present invention
Cheng Tu, as shown in Fig. 2, this method comprises:
S21: providing includes the database for having the information of mobile terminal for exempting from flow permission, wherein each mobile terminal letter
Ceasing data markers of corresponding mobile terminal during accessing network through proxy server by mobile communications network has and exempts from
Flow identifier, mobile terminal are logical by moving by all or part of data traffic generated in proxy server access network development process
Communication network operator is based on exempting from flow identifier and being included in specified services quotient;And
S22: the first movement end message that first movement terminal is sent by mobile communications network is received, and first is moved
Dynamic end message is compared with database, exempts from flow permission to determine whether first movement terminal has.
It can be seen that the database manipulation side according to the present invention for mobile terminal network visiting by above-mentioned part
Method provides the database including having the information of mobile terminal for exempting from flow permission, wherein the corresponding shifting of each information of mobile terminal
Data markers of dynamic terminal during accessing network through proxy server by mobile communications network, which have, exempts from flow identifier, moves
Dynamic terminal accesses all or part of data traffic generated in network development process by mobile communications network operation by proxy server
Quotient is based on exempting from flow identifier and being included in specified services quotient, receives first movement terminal is sent by mobile communications network the
One information of mobile terminal, and first movement end message is compared with database, to determine whether first movement terminal has
It is standby to exempt from flow permission.In this way, the database operation method for mobile terminal network visiting in mobile terminal through the invention
After being determined having and exempting from flow permission, for the mobile terminal when accessing network by mobile communications network, consuming is agency's clothes
The data traffic of service provider corresponding to business device, the data traffic without expending mobile terminal, thus solves existing skill
The technical issues of needing to expend the flow of mobile terminal when accessing network in art has reached mobile terminal and has exempted from flow access network
Technical effect;Thus, mobile terminal is without paying campus network, it will be able to realize the technology effect for exempting from flow downloading Web content
Fruit.Thereby, it is possible to significantly improve the enthusiasm of user's downloading, to be conducive to the wide-scale distribution of the Web content on internet.
In the specific implementation process, mobile terminal for example can be smart phone, tablet computer etc., not limit herein
System;Mobile communications network for example can be CDMA (Code Division Multiple Access, CDMA), GSM
(Global System for Mobile Communication, global system for mobile communications) etc., these mobile radio communications
Network is corresponding with respective mobile communication network operator, herein in order to illustrate the simple of book, just describes one by one.
With continued reference to FIG. 1, as shown in Figure 1, first movement terminal is taken by mobile communications network to distribution according to S101
Business device sends first movement end message;In this way, the distribution server can receive mobile terminal and be led to by mobile according to S101
Communication network accesses the first movement end message that network is sent.
In the specific implementation process, first movement end message can be the communicating number or physics of first movement terminal
Exclusive identification code etc. is also possible to install in first movement terminal or run predetermined software etc., herein with no restrictions.
After the distribution server has received first movement end message, that is, enter in S102.
It in the present embodiment, specifically, is that first movement end message is sent implementation of the present invention by the distribution server
The database that example provides, due to including the database for having the first movement end message for exempting from flow permission in the database, together
When, the corresponding first movement terminal of each first movement end message is accessing net through proxy server by mobile communications network
Data markers during network, which have, exempts from flow identifier, and first movement terminal is accessed in network development process by proxy server and generated
All or part of data traffic be based on exempting from flow identifier and being included in specified services quotient by mobile communication network operator.
Therefore, database provided in an embodiment of the present invention receive first movement end message after, can by this first
Information of mobile terminal is compared with database, so that it is determined that whether first movement terminal, which has, is exempted from flow permission.
In the specific implementation process, after being compared the first movement information and date library, if first movement terminal
First movement end message matching in information and date library, such as the communicating number or physics unique identification of first movement terminal
Predetermined software is installed or has run in code or first movement terminal consistent with the first movement end message in database,
The predetermined software is consistent with the first movement end message in data, it is determined that first movement terminal, which has, exempts from flow permission, number
Definitive result can be sent to the distribution server according to library, then performed corresponding processing by the distribution server, such as enter S103
Deng.
Certainly, after being compared the first movement information and date library, if first movement end message and database
Interior first movement end message mismatches, it is determined that first movement terminal, which does not have, exempts from flow permission, and database equally can be with
Definitive result is sent to the distribution server, then is performed corresponding processing by the distribution server, details are not described herein.
In the specific implementation process, since the flow permission of exempting from of first movement terminal is possible to not be exempting from for no flow restriction
Flow, but have the flow of exempting from of flow restriction, all data of no flow restriction exempted from flow and refer to the consumption of first movement terminal
Flow is counted into specified services quotient, has the flow of exempting from of flow restriction to refer to the first movement terminal each period as weekly
Or monthly there is fixed data traffic such as 30M, 50M to be counted into specified services quotient, in this way, the distribution server can also be first
First movement terminal is obtained from database and carries out the residual flow information of charging using the charging mode of specified services quotient, and is sentenced
Whether disconnected residual flow information is greater than preset value, which can be a fixed value, such as 3M, 5M, not limit herein
System, when the residual flow information is greater than preset value, the distribution server further determines that first movement terminal has and exempts to flow
Measure permission.
Determine first movement terminal have exempt from flow permission when, method provided in an embodiment of the present invention further include:
First movement end message is added in database.
It specifically, may include whether having for verifying first movement terminal to exempt from flow in first movement end message
The information of permission, as first movement terminal communicating number or physics exclusive identification code and first movement terminal in install
Or information for having run predetermined software etc., but database can when determining whether first movement terminal has and exempt from flow permission
Partial data therein can only be only used, first movement end message can be added in database at this time, facilitate number
Whether have according to the first movement end message first movement terminal that forms a prompt judgement next time according to library and exempt from flow permission.
When the distribution server determines first movement terminal with flow permission is exempted from, that is, enter S103.
In S103, the distribution server is first movement terminal distribution proxy server, for example, can be whole for first movement
The proxy server for holding distribution load less, or postpone lower proxy server etc. for first movement terminal distribution, with
First movement terminal is facilitated rapidly to obtain the data in network, herein with no restrictions.
It of courses, the legitimacy of network is accessed to guarantee first movement terminal by proxy server, the present invention is implemented
The method that example provides further include: the distribution server sends interim verification information to first movement terminal and proxy server respectively,
Enable proxy server to verify the first movement terminal based on interim verification information and network is accessed by proxy server
Legitimacy.
Specifically, the distribution server can be to the interim verification information that first movement terminal and proxy server are sent
Identical interim verification information is also possible to corresponding interim verification information, then first movement terminal and proxy server into
It when row communication, is verified by proxy server and/or first movement terminal according to interim verification information, to guarantee the
The legitimacy that one mobile terminal and proxy server are communicated.In the specific implementation process, whole to avoid increasing first movement
The calculation amount at end, while the data traffic for avoiding first movement terminal from being expended in the case where not having and exempting from flow permission
It is included in specified services quotient, it is possible to which the step of being verified with interim verification information, which is placed in proxy server, to carry out.
Of course, as before, if first movement terminal have exempt from flow permission be have a flow restriction exempt from flow permission,
Remaining tool when the first movement terminal last time can also be accessed network by mobile communications network by the distribution server at this time
There is the first data traffic for exempting from flow permission to be sent to proxy server, enables proxy server according to the first data traffic
It determines the data traffic sent to first movement terminal, avoids avoiding unnecessary loss beyond the first data traffic.
For example, the first data traffic is specially 5M, then proxy server can be when sending data to first movement terminal
Do not exceed 5M, such as proxy server can send the data of 5M using most multidirectional first movement terminal, can also using to
First movement terminal sends insufficient prompt of the first data traffic, etc., herein with no restrictions.
Also, the first data traffic can also be sent to first movement terminal by the distribution server, naturally it is also possible to by generation
It manages server and the first data traffic is sent to first movement terminal, so that the user of first movement terminal can also move to first
There is dynamic terminal residual the first data traffic for exempting from flow permission to have gained some understanding, for example, can pass through voice, text, picture
Etc. modes be shown on the display interface of first movement terminal, checked for user.
In the specific implementation process, the distribution server is after determining that first movement terminal has and exempts from flow permission
The mailing address of first movement terminal is sent to proxy server, so that proxy server, which will exempt from flow identifier, is sent to
One mobile terminal, so that first movement the terminal whole that generates or portion during accessing network by proxy server
Divided data flow is based on exempting from flow identifier and being included in specified services quotient by mobile communication network operator.It of courses, in reality
In the application of border, this exempts from flow identifier can also be sent to first movement terminal by the distribution server, herein with no restrictions.
Meanwhile the address of proxy server can also be sent to first movement terminal by the distribution server, so that first moves
Dynamic terminal is first verified according to the address of proxy server after exempting from flow identifier get that proxy server issues, is avoided
Deceptive information or Virus Info are received, details are not described herein again.
In the specific implementation process, exempting from flow identifier can be a default label, pass through agency in first movement terminal
Data during server access network mark the default label, then are determining first movement terminal access network
When in data in the process comprising default label, mobile communication network operator will be during first movement terminal access network
Data traffic be completely or partially included in specified services quotient or this is exempted from flow identifier and is also possible to the default of proxy server
Address, as proxy server IP address or MAC (Media Access Control, media access control physical address or
Hardware address) address etc., herein with no restrictions, then data during determining first movement terminal access network are passed through
When the proxy server of preset address, mobile communication network operator completely or partially counts the data traffic for flowing through preset address
Enter in specified services quotient.
By S101, S102 and S103, the distribution server completes exempt from flow permission to whether first movement terminal has
Judgement, while judging result being informed to first movement terminal and proxy server respectively, then it can enter second step, realize
First movement terminal accesses network by proxy server.
Specifically, as shown in Figure 1, in S111, proxy server receives data access request, can be and takes in agency
After business device exempts from flow identifier to the transmission of first movement terminal, first movement terminal is sent out by mobile communications network to proxy server
The data access request for sending carrying to exempt from flow identifier, proxy server can receive the data access request, it is of course also possible to
Be in first movement terminal when sending producer identification to the distribution server, while the data access request being sent to
The distribution server, the distribution server determine first movement terminal have exempt from flow permission when by the data access request turn
Proxy server is issued, proxy server can receive the data access request, both modes can be not limit herein
System.
In S111, if first movement terminal is visited using the data for exempting from flow identifier are directly carried to proxy server transmission
Ask the mode of request, then mobile communication network operator can be exempted from based on this flow identifier by partial data flow all or
Person's partial data flowmeter enters in specified services quotient, expends without expending or reducing the flow at first movement terminal.
In S112, proxy server can be based on data access request, and requested number is obtained from Resource Server
According to for example, if the data access request that first movement terminal is sent is to obtain the data access request of picture, proxy server
Will the data access request be sent in corresponding picture servers, and corresponding figure is got from the picture servers
Piece, it is certainly, just different herein if data access request is also possible to obtain the data access request of video, text etc. data
One lists.
Since S112 is the communication between proxy server and Resource Server, it is not related to first movement terminal, so
The data traffic of first movement terminal will not be expended in this step.
In S113, proxy server sends requested date to first movement terminal, and specifically, proxy server exists
After getting requested date by S112, it can flow identifier will be exempted from requested date label, and issue the first shifting
Dynamic terminal, first movement terminal can receive the requested date by mobile communications network.
In the specific implementation process, first movement terminal exempt from flow permission be have a flow restriction exempt from flow permission
When, proxy server is counted into during accessing network by proxy server to first movement terminal according to predetermined period
The second data traffic of specified services quotient counts, and predetermined period, which can be, to be temporally segmented, such as every 1 minute or every
Statistics is primary within 5 minutes, is also possible to be segmented by data traffic, such as the data statistics of every 512kb or 1M is primary etc., leads to
The introduction of the present embodiment is crossed, technical staff belonging to this field can select suitable predetermined period with full according to the actual situation
The needs of sufficient actual conditions, details are not described herein again.
After proxy server counts the second data traffic by predetermined period, proxy server can be by second
Data traffic is sent to the distribution server, and the distribution server, can be according to the second data after receiving the second data traffic
Flow updates the first data traffic, enables the distribution server to grasp having for first movement terminal residual in time and exempts from flow power
The data traffic of limit, thus in first movement terminal residual when having the data traffic for exempting from flow permission less than preset value, point
Hair server sends first movement terminal to proxy server and does not have the message for exempting from flow permission, so that proxy server
Stop the communication between first movement terminal, avoids unnecessary loss.
Meanwhile the second data traffic can be sent to database and saved by the distribution server, database can be
It receives first movement terminal and the second data flow expended in network development process is being accessed through proxy server by mobile communications network
Amount, and the first data traffic is updated according to the second data traffic, and updated first data traffic is added in database,
It is used when needs for the distribution server.
Certainly, in the specific implementation process, the distribution server can also receive data traffic increase message, and according to the number
According to the first data traffic of information updating is increased, for example, first movement terminal is by clicking the sides such as advertisement, downloading predetermined application
Formula improves the first data traffic, then the distribution server can increase by the first data traffic according to the data traffic received, and more
New first data traffic, similarly, the distribution server can also receive data traffic and reduce message, and be reduced according to data traffic
The first data traffic of information update, details are not described herein again.
Likewise, the distribution server data traffic can also be increased to message or data traffic reduces the data traffics such as message
Change information is sent to database and is saved, and data block can receive data traffic variation corresponding with first movement terminal
Message, and the first data traffic is updated according to data traffic change message, and updated first data traffic is added to number
According in library, used when needs for the distribution server.
In S113, since proxy server is when sending requested date to first movement terminal, by requested date
Exempt from flow identifier on label, so mobile communication network operator can exempt from flow identifier for the partial data stream based on this
It measures all or part of data traffic to be included in specified services quotient, without expending or reducing the flow consumption at first movement terminal
Take.
In the specific implementation process, the part that first movement terminal generates during accessing network by proxy server
Data traffic is based on exempting from flow identifier and being included in specified services quotient by mobile communication network operator, may exist a variety of feelings
Condition is set forth below three kinds therein and 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 during first movement terminal access network
Quotient.
For example, special ratios are for example are as follows: 50%, 70% etc., wherein pass through agency service in first movement terminal
Device access network during have exempt from flow permission (such as: data transmission carry exempts from flow identifier) when, corresponding gateway (or
The charge system being connected with corresponding network) its special ratios is included in specified services quotient, and remaining ratio is included in the communication
Mark, such as: assuming that first movement terminal expends the flow of 10M, special ratios altogether in this network access procedure are as follows: 50%,
Then the flow of 5M is included in specified services quotient in charging by charge system, and the flow of remaining 5M is included in first movement end
The communication identifier at end.Certainly, above data is not intended as limiting as just citing.
Second, certain amount of data traffic is counted into specified services quotient during first movement terminal access network
In.
For example, specific quantity is for example are as follows: 10M, 20M etc., wherein in the process of first movement terminal access network
In have when exempting from flow permission, corresponding gateway (or the charge system being connected with corresponding network) accesses network development process knot at this
After beam, judge whether the data traffic of this access network development process is more than the specific quantity, it, will if being not above
All data traffics are all included in specified services quotient;If it exceeds will then be not above the data of part if specific quantity
Flow is included in specified services quotient, and overage is included in the communication identifier of the first movement terminal.
The third, the data traffic of specific content is counted into specified services during first movement terminal access network
Quotient.
For example, specific content is for example are as follows: text, picture etc., wherein in the mistake of first movement terminal access network
Have when exempting from flow permission in journey, corresponding gateway (or the charge system being connected with corresponding network) obtains access network development process institute
Then the data of transmission determine the data such as text, picture from the data that access network development process is transmitted, and its is corresponding
Data traffic is included in specified services quotient;And it is directed to other kinds of content, and such as: video, then by its corresponding data traffic
It is included in the communication identifier of first movement terminal.
It can be seen that the database manipulation side according to the present invention for mobile terminal network visiting by above-mentioned part
Method provides the database including having the information of mobile terminal for exempting from flow permission, wherein the corresponding shifting of each information of mobile terminal
Data markers of dynamic terminal during accessing network through proxy server by mobile communications network, which have, exempts from flow identifier, moves
Dynamic terminal accesses all or part of data traffic generated in network development process by mobile communications network operation by proxy server
Quotient is based on exempting from flow identifier and being included in specified services quotient, receives first movement terminal is sent by mobile communications network the
One information of mobile terminal, and first movement end message is compared with database, to determine whether first movement terminal has
It is standby to exempt from flow permission.In this way, the database operation method for mobile terminal network visiting in mobile terminal through the invention
After being determined having and exempting from flow permission, for the mobile terminal when accessing network by mobile communications network, consuming is agency's clothes
The data traffic of service provider corresponding to business device, the data traffic without expending mobile terminal, thus solves existing skill
The technical issues of needing to expend the flow of mobile terminal when accessing network in art has reached mobile terminal and has exempted from flow access network
Technical effect;Thus, mobile terminal is without paying campus network, it will be able to realize the technology effect for exempting from flow downloading Web content
Fruit.Thereby, it is possible to significantly improve the enthusiasm of user's downloading, to be conducive to the wide-scale distribution of the Web content on internet.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of mobile terminal, referring to FIG. 3, Fig. 3 is the present invention
The module diagram for the mobile terminal that embodiment provides, as shown in figure 3, the mobile terminal includes:
Authority Verification module 201, for sending the of first movement terminal to the distribution server by mobile communications network
One information of mobile terminal exempts to flow so that the distribution server judges whether first movement terminal has according to first movement end message
Measure permission;
Exempt from flow access modules 202, for determining first movement end according to first movement end message in the distribution server
When end is with flow permission and first movement terminal initiation data access request is exempted from, passes through the agency that the distribution server is distributed and take
Business device accesses network;Wherein, the data markers during mobile terminal accesses network by proxy server, which have, exempts from flux scale
Know, all or part of data traffic that mobile terminal generates during accessing network by proxy server is by mobile radio communication
Network operator is based on exempting from flow identifier and being included in specified services quotient.
In the specific implementation process, exempt from flow access modules 202 to be specifically used for:
Send the first movement terminal of first movement terminal to the distribution server by mobile communications network in mobile terminal
When information, data access request is sent to the distribution server by mobile communications network, so that the distribution server is determining first
Mobile terminal, which has, exempts from that data access request is sent to proxy server after flow permission;And pass through mobile communications network
The requested date that Receiving Agent server is obtained based on data access request from Resource Server;Or
When first movement terminal is with flow permission is exempted from, what Receiving Agent server was sent exempts from flow identifier, and passes through
Mobile communications network is sent to proxy server carries the data access request for exempting from flow identifier, and is connect by mobile communications network
Receive the requested date that proxy server is obtained based on data access request from Resource Server.
In the specific implementation process, Authority Verification module 201 is specifically also used to:
Before the proxy server that mobile terminal is distributed by the distribution server accesses network, obtaining the distribution server is
The preset address of the proxy server of mobile terminal distribution, preset address are to exempt from flow identifier;Or
Before the proxy server that mobile terminal is distributed by the distribution server accesses network, obtaining proxy server is
The default label of mobile terminal distribution carries default label when mobile terminal accesses network by proxy server, pre- to be marked with
Label are to exempt from flow identifier.
In the specific implementation process, exempt from flow access modules 202 to be specifically used for:
Determine that first movement terminal with after exempting from flow permission, obtains according to first movement end message in the distribution server
First movement terminal is taken to have the residual flow information for exempting from flow permission.
In the specific implementation process, exempt from flow access modules 202 to be specifically used for passing through the distribution server point in mobile terminal
Before the proxy server access network matched, the interim verification information that the distribution server is mobile terminal distribution is received, wherein face
When verification information be when to be the distribution server determine that first movement terminal has and exempts from flow permission according to first movement end message
Mobile terminal distribution, so that proxy server, which is based on interim verification information verifying mobile terminal, accesses network by proxy server
Legitimacy.
In the specific implementation process, Authority Verification module 201 is specifically used for detecting first movement terminal in mobile terminal
When unlatching or first movement terminal submit user's logging request, first movement is sent to the distribution server by mobile communications network
End message.
It can be seen that the database manipulation side according to the present invention for mobile terminal network visiting by above-mentioned part
Method, mobile terminal are sent the first movement end message of first movement terminal to the distribution server by mobile communications network, made
The distribution server judges whether first movement terminal has according to first movement end message and exempts from flow permission;If distribution service
Device determines that first movement terminal has according to first movement end message and exempts from flow permission, initiates data in first movement terminal and visits
When asking request, mobile terminal accesses network by the proxy server that the distribution server is distributed;Wherein, mobile terminal passes through agency
Data markers during server access network, which have, exempts from flow identifier, and mobile terminal accesses network by proxy server
The all or part of data traffic generated in the process by mobile communication network operator be based on exempt from flow identifier be included in it is specified
In service provider.In this way, accessing net by mobile communications network according to the data access request of first movement terminal in mobile terminal
When network, consuming be specified services quotient corresponding to proxy server data traffic, without expend mobile terminal number
According to flow, thus solves the technical issues of needing to expend the flow of mobile terminal when accessing network in the prior art, reach
First movement terminal in mobile terminal with specific manufacturer exempts from the technical effect of flow access network;Thus, mobile terminal
Without paying campus network, it will be able to realize that the first movement terminal of specific manufacturer in the mobile terminal exempts from flow downloading network
The technical effect of content.Thereby, it is possible to significantly improve user to download the positive of first movement terminal that the specific manufacturer provides
Property, to be conducive to wide-scale distribution of the first movement terminal of the specific manufacturer on network.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of the distribution server, referring to FIG. 4, Fig. 4 is this hair
The module diagram for the distribution server that bright embodiment provides, as shown in figure 4, the distribution server includes:
First receiving module 301 accesses the first shifting that network is sent by mobile communications network for receiving mobile terminal
The first movement end message of dynamic terminal;
Judgment module 302 exempts from flow power for judging whether first movement terminal has according to first movement end message
Limit;
Distribution module 303, for according to first movement end message determine first movement terminal have exempt from flow permission
When be mobile terminal assignment agent server so that mobile terminal first movement terminal initiate data access request when by point
The proxy server for sending out server distribution accesses network;Wherein, during mobile terminal accesses network by proxy server
Data markers have and exempt from flow identifier, all or part that mobile terminal generates during accessing network by proxy server
Data traffic is based on exempting from flow identifier and being included in specified services quotient by mobile communication network operator.
In the specific implementation process, the first receiving module 301 is also used to receive mobile terminal in the first receiving module 301 logical
When crossing the first movement end message for the first movement terminal that mobile communications network access network is sent, receives mobile terminal and pass through
Mobile communications network accesses the data access request that network is sent, and data access request is that the data access of first movement terminal is asked
It asks;
The distribution server further includes the first sending module 304, and the first sending module 304 is used in judgment module 302 in root
According to first movement end message determine first movement terminal have exempt from flow permission when for mobile terminal assignment agent server it
Afterwards, data access request is transmitted to proxy server, so that proxy server is based on data access request from Resource Server
It obtains requested date and mobile terminal will be sent to, or be used in judgment module 302 true according to first movement end message
Determining first movement terminal has when exempting from flow permission for after mobile terminal assignment agent server, communicatedly by mobile terminal
Location is sent to proxy server, so that proxy server, which will exempt from flow identifier, is sent to mobile terminal, so that mobile terminal
The data access request for exempting from flow identifier will be carried and be sent to proxy server, data access request is first movement terminal
Data access request then makes proxy server be based on data access request concurrent from Resource Server acquisition requested date
Give mobile terminal.
In the specific implementation process, judgment module 302 be specifically used for judge first movement end message whether with preset the
The matching of one information of mobile terminal, and when first movement end message is matched with default first movement end message, according to first
Information of mobile terminal determines that first movement terminal has and exempts from flow permission.
In the specific implementation process, judgment module 302 specifically be also used to judge first movement end message whether in advance
If after the matching of first movement end message, exempting from flow power determining that first movement terminal has according to first movement end message
Before limit, obtains first movement terminal and carry out the residual flow information of charging using the charging mode of specified services quotient, and judge
Whether residual flow information is greater than preset value, and when whether residual flow information is greater than preset value, according to first movement terminal
Information determines that first movement terminal has and exempts from flow permission.
In the specific implementation process, the distribution server further includes generation module 305, and generation module 305 is for judging mould
Block 302 is mobile terminal assignment agent when determining that first movement terminal has and exempts from flow permission according to first movement end message
After server, it is respectively sent to mobile terminal and proxy server at interim verification information, and by interim verification information, so that
Proxy server verifies mobile terminal based on interim verification information and passes through the legitimacy of proxy server access network.
In the specific implementation process, the first sending module 304 is also used in judgment module 302 according to first movement terminal
Information determines that first movement terminal has when exempting from flow permission for after mobile terminal assignment agent server, by first movement end
When the last access network by mobile communications network in end it is remaining have exempt from the first data traffic of flow permission and be sent to generation
Server is managed, so that proxy server can determine the data traffic sent to mobile terminal according to the first data traffic.
In the specific implementation process, the distribution server further includes update module 306, and update module 306 is for judging mould
Block 302 is mobile terminal assignment agent when determining that first movement terminal has and exempts from flow permission according to first movement end message
After server, Receiving Agent server is counted by default measurement period, mobile terminal accesses network by proxy server
During be counted into the second data traffic of specified services quotient, and the first data traffic is updated according to the second data traffic.
It can be seen that the distribution server provided according to embodiments of the present invention by above-mentioned part, the of the distribution server
It is whole that one receiving module receives the first movement that mobile terminal accesses the first movement terminal that network is sent by mobile communications network
Client information, judgment module judge whether first movement terminal has according to first movement end message and exempt from flow permission, distribute mould
Block is that mobile terminal assignment agent takes when determining that first movement terminal has and exempts from flow permission according to first movement end message
Business device, so that mobile terminal passes through the agency service that the distribution server is distributed when first movement terminal initiates data access request
Device accesses network;Wherein, the data markers during mobile terminal accesses network by proxy server, which have, exempts from flow identifier,
All or part of data traffic that mobile terminal generates during accessing network by proxy server is by mobile communications network
Operator is based on exempting from flow identifier and being included in specified services quotient.In this way, in mobile terminal according to the number of first movement terminal
According to access request by mobile communications network access network when, consuming be specified services quotient corresponding to proxy server number
According to flow, without the data traffic of consuming mobile terminal, thus solves and need to expend when accessing network in the prior art
The technical issues of flow of mobile terminal, has reached the first movement terminal in mobile terminal with specific manufacturer and has exempted from flow visit
Ask the technical effect of network;Thus, mobile terminal is without paying campus network, it will be able to realize specific production in the mobile terminal
The first movement terminal of quotient exempts from the technical effect of flow downloading Web content.Thereby, it is possible to significantly improve user, to download this specific
The enthusiasm for the first movement terminal that manufacturer provides, to be conducive to the first movement terminal of the specific manufacturer on network
Wide-scale distribution.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of system, referring to FIG. 5, Fig. 5 is implementation of the present invention
The module diagram for the system that example provides, as shown in figure 5, the system includes the distribution service that any embodiment of the present invention is introduced
Device, further includes proxy server, and proxy server includes:
Second receiving module 401, for determining first movement end according to first movement end message in judgment module 302
End has logical after mobile terminal assignment agent server, to receive the mobile terminal of the distribution server forwarding when exempting from flow permission
The data access request that mobile communications network access network is sent is crossed, data access request is the data access of first movement terminal
Request;And
Second sending module 402, for obtaining requested date from Resource Server based on data access request and will send out
Give mobile terminal;Or
Second receiving module 401 is used to determine first movement end according to first movement end message in judgment module 302
End has when exempting from flow permission to receive the mobile terminal that the distribution server is sent after mobile terminal assignment agent server
Mailing address, and flow identifier is exempted to mobile terminal transmission according to mailing address, and receive mobile terminal and pass through mobile radio communication
What network was sent carries the data access request for exempting from flow identifier;And
Second sending module 402, for obtaining requested date from Resource Server based on data access request and sending
To mobile terminal.
In the specific implementation process, proxy server further include:
Determining module 403, for determining that first movement terminal has according to first movement end message in judgment module
To receive one in the first movement terminal that the distribution server is sent after mobile terminal assignment agent server when exempting from flow permission
It is remaining when the secondary access network by mobile communications network to have the first data traffic for exempting from flow permission, and it is based on the first data
Flow determines the data traffic sent during mobile terminal accesses network by proxy server to mobile terminal.
In the specific implementation process, proxy server further include:
Statistical module 404, for determining that first movement terminal has according to first movement end message in judgment module
It is taken after mobile terminal assignment agent server, to press default measurement period statistics mobile terminal by agency when exempting from flow permission
It is counted into the second data traffic of specified services quotient during business device access network, and the second data traffic is sent to distribution
Server.
In the specific implementation process, proxy server further include:
Authentication module 405, for determining that first movement terminal has according to first movement end message in judgment module 302
Have after mobile terminal assignment agent server, to receive the interim verification information that the distribution server is sent when exempting from flow permission,
And according to interim verification information, the legitimacy during mobile terminal accesses network by proxy server is verified.
System provided in an embodiment of the present invention further includes the mobile terminal that any embodiment of the present invention is introduced.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of database, referring to FIG. 6, Fig. 6 is of the invention real
The module diagram that the database of example offer is provided, as shown in fig. 6, the database includes:
Memory module 601 includes the database for having the information of mobile terminal for exempting from flow permission for storing, wherein every
A information of mobile terminal corresponding mobile terminal is during accessing network through proxy server by mobile communications network
Data markers, which have, exempts from flow identifier, and mobile terminal accesses all or part of data generated in network development process by proxy server
Flow is based on exempting from flow identifier and being included in specified services quotient by mobile communication network operator;
First determining module 602, it is whole for receiving the first movement that first movement terminal is sent by mobile communications network
Client information, and first movement end message is compared with database, exempt from flow to determine whether first movement terminal has
Permission.
In the specific implementation process, the first determining module 602 is specifically used in first movement end message and database
Timing determines that first movement terminal has and exempts from flow permission, or when first movement end message and database mismatch, really
Determine first movement terminal and do not have to exempt from flow permission.
In the specific implementation process, database further include:
First adding module 603 exempts from flow permission for determining that first movement terminal has in the first determining module 602
When, first terminal information is added in database.
In the specific implementation process, database further include:
Second determining module 604 exempts from flow permission for determining that first movement terminal has in the first determining module 602
When, according to first terminal information, determine that the first movement terminal last time is taken by mobile communications network through agency from database
It is remaining when business device access network to have the first data traffic for exempting from flow permission.
In the specific implementation process, database further include:
Second adding module 605 is used in the second determining module 604 after determining the first data traffic in database,
It receives first movement terminal and the second data flow expended in network development process is being accessed through proxy server by mobile communications network
Amount, and the first data traffic is updated according to the second data traffic, and updated first data traffic is added in database.
In the specific implementation process, database further include:
Third adding module 606 is used in the second determining module 604 after determining the first data traffic in database,
Data traffic change message corresponding with first movement terminal is received, and the first data flow is updated according to data traffic change message
Amount, and updated first data traffic is added in database.
One or more technical solution in the embodiment of the present invention, at least has the following beneficial effects:
Database operation method according to the present invention for mobile terminal network visiting provides and exempts from flow power including having
The database of the information of mobile terminal of limit, wherein the corresponding mobile terminal of each information of mobile terminal is passing through mobile radio communication
Network has through the data markers during proxy server access network exempts from flow identifier, and mobile terminal passes through proxy server and visits
Ask all or part of data traffic generated in network development process by mobile communication network operator by exempt from flow identifier by it based on
Enter in specified services quotient, receive the first movement end message that sends by mobile communications network of first movement terminal, and by the
One information of mobile terminal is compared with database, exempts from flow permission to determine whether first movement terminal has.In this way, moving
The database operation method for mobile terminal network visiting of dynamic terminal through the invention is determined having exempt from flow permission after,
The mobile terminal by mobile communications network access network when, consuming be service provider corresponding to proxy server data
Thus flow, the data traffic without expending mobile terminal are solved to need to expend when accessing network in the prior art and be moved
The technical issues of flow of dynamic terminal, has reached the technical effect that mobile terminal exempts from flow access network;Thus, mobile terminal without
Campus network need to be paid, it will be able to realize the technical effect for exempting from flow downloading Web content.Thereby, it is possible to significantly improve under user
The enthusiasm of load, to be conducive to the wide-scale distribution of the Web content on internet.
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 unit or mould in embodiment
Block or component are combined into a unit or module or component, and furthermore they can be divided into multiple submodule or submodule or
Sub-component.Other than such feature and/or at least some of process or module 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 processes or module 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) come realize mobile terminal according to an embodiment of the present invention, the distribution server and
The some or all functions of some or all components in system and database.The present invention is also implemented as executing
Some or all device or device programs of method as described herein are (for example, computer program and computer journey
Sequence product).It is such to realize that program of the invention can store on a computer-readable medium, either can have one or
The form of multiple signals.Such signal can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or
It is 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.If several in these devices can be through the same hardware branch in the module claim for listing equipment for drying
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.