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 method shared for mobile terminal flow and mobile terminal of problem.
According to one aspect of the present invention, a kind of method shared for mobile terminal flow is provided, comprising:
The starting of first movement terminal is specified in application, receiving the notice letter that the second mobile terminal has turned on the specified application
Breath;
The first movement terminal detects whether to trigger and second movement after receiving the notification information
The flow sharing operation of terminal, wherein there is the communication identifier of the first movement terminal online to exempt from flow permission;
The first movement terminal detects when triggering the flow sharing operation, and the communication identifier is sent to institute
The second mobile terminal is stated, so that when second mobile terminal sends interaction data by the specified application, based on described
All or part of data traffic that communication identifier generates during transmitting the interaction data by proxy server is by moving
Common carrier is included in specified services quotient.
Optionally, the first movement terminal detects whether to trigger the flow sharing operation with the second mobile terminal, tool
Body are as follows:
The first movement terminal detect the first movement terminal the first screen and second mobile terminal the
Whether two screens are in a pre-determined distance;Or
The first movement terminal in a preset time period, detect the first screen of the first movement terminal with it is described
Whether number of the second screen of the second mobile terminal in a pre-determined distance is not less than preset times.
Optionally, the first movement terminal detects trigger the flow sharing operation after, the method is also wrapped
It includes:
The default label that the first movement terminal Receiving Agent server is sent, and the default label is sent to institute
State the second mobile terminal, wherein the default label exempts from flow identifier to be described;Alternatively, the IP address of the proxy server
For preset IP address, the preset IP address exempts from flow identifier to be described.
Optionally, the first movement terminal detects trigger the flow sharing operation after, the method is also wrapped
It includes:
The communication identifier of the first movement terminal and authentication information are sent to the distribution server, so that described point
Hair server verified based on the authentication information communication identifier have it is described exempt from flow permission after, to access net
Network process distributes the proxy server.
Optionally, before the network by mobile communication carrier sends interaction data to proxy server, institute
State method further include:
It receives the distribution server and is the interim verification information of the first movement terminal distribution, and temporarily tested described
Card information is sent to second mobile terminal, wherein the interim verification information determines described the by the distribution server
One mobile terminal has described when exempting from flow permission, distributes for data exchange process.
According to another aspect of the invention, a kind of method shared for mobile terminal flow is provided, comprising:
The starting of second mobile terminal is specified in application, corresponding notification information is sent to first movement terminal;
Second mobile terminal receives the communication identifier for the first movement terminal that first movement terminal is sent, wherein institute
It states first movement terminal and triggers and the shared behaviour of the flow of second mobile terminal starting the specified application and detect
When making, the second mobile terminal of Xiang Suoshu sends the communication identifier, and there is the communication identifier online to exempt from flow permission;
The interaction data sent by the specified application is passed through mobile communication carrier by second mobile terminal
Network is sent to proxy server, includes the communication identifier in the interaction data;
Second mobile terminal receives the first movement terminal based on described by the network of mobile communication carrier
Interaction data and the feedback data generated;
Wherein, data transmission of above-mentioned second mobile terminal in data exchange process is marked with the first movement terminal
Exempt from flow identifier, second mobile terminal carries out data exchange process by proxy server and the first movement terminal
All or part of data traffic of middle generation exempts from flow identifier based on described in by mobile communication carrier and is included in specified services
Shang Zhong.
Optionally, second mobile terminal carries out data interaction by proxy server and the first movement terminal
The partial data flow generated in journey is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient,
Specifically:
Second mobile terminal and the first movement terminal carry out the data flow of special ratios in data exchange process
Amount is counted into the specified services quotient;Or
Second mobile terminal and the first movement terminal carry out certain amount of data flow in data exchange process
Amount is counted into the specified services quotient;Or
Second mobile terminal and the first movement terminal carry out the data flow of specific content in data exchange process
Amount is counted into the specified services quotient.
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.
Optionally, second mobile terminal carries out data interaction by proxy server and the first movement terminal
The partial data flow generated in journey is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient,
Include:
Comprising exempting from flow identifier, number corresponding to the interaction data in the interaction data that second mobile terminal is sent
Exempted from flow identifier based on described according to flow to be included in the specified services quotient;And/or
The feedback data generated based on the interaction data is exempted from flow identifier based on described in and is included in the specified clothes
It is engaged in quotient.
Optionally, the interaction data sent by the specified application is passed through into mobile communication in second mobile terminal
The network of operator is sent to before proxy server, the method also includes:
Second mobile terminal receives the default label that the first movement terminal is sent, and the default label is described
Proxy server is sent to the first movement terminal;
Second mobile terminal carries the default label, institute when sending the interaction data by the specified application
It states default label and exempts from flow identifier to be described;Alternatively, the IP address of the proxy server is preset IP address, the default IP
Exempt from flow identifier described in being in address.
Optionally, second mobile terminal carries out data interaction by proxy server and the first movement terminal
The all or part of data traffic generated in journey exempts from flow identifier based on described in by mobile communication carrier and is included in specified clothes
It is engaged in quotient, specifically:
Second mobile terminal is carried out with the first movement terminal
When the default label, all or part of data traffic generated in interactive process is included in the specified services quotient;Or
Second mobile terminal and the first movement terminal carry out the interaction data in data exchange process and pass through institute
The proxy server for stating preset IP address flows through all or part of data traffic of the preset IP address by the mobile communication
Operator is included in the specified services quotient.
Optionally, the interaction data sent by the specified application is passed through into mobile communication in second mobile terminal
The network of operator is sent to before proxy server, the method also includes:
Second mobile terminal receives the address information for the proxy server that the first movement terminal is sent, wherein
The proxy server is that determine that the first movement terminal has by the distribution server described when exempting from flow permission, is handed over for data
Mutual process and distribute.
Optionally, the interaction data sent by the specified application is passed through into mobile communication in second mobile terminal
The network of operator is sent to before proxy server, the method also includes:
Second mobile terminal receives the interim verification information that the first movement terminal is sent, wherein described interim
Verification information by the distribution server determine the first movement terminal have it is described exempt from flow permission when, be data interaction
Journey and distribute;
It is described that proxy server is sent to by the network of mobile communication carrier, specifically:
The interaction data comprising carrying the interim verification information is sent to the proxy server, so that the agency takes
Business device verifies the legitimacy of the interaction data based on the interim verification information.
The third aspect according to the present invention provides a kind of mobile terminal, comprising:
Notification information receiving module, for specified in starting in application, receiving the second mobile terminal has turned on described specify
The notification information of application;
Detection module is triggered with second movement eventually for detecting whether after receiving the notification information
The flow sharing operation at end, wherein there is the communication identifier of the first movement terminal online to exempt from flow permission;
Communication identifier sending module, for detect trigger the flow sharing operation when, by the communication identifier
It is sent to second mobile terminal, so that when second mobile terminal sends interaction data by the specified application,
The all or part of data flow generated during transmitting the interaction data by proxy server based on the communication identifier
Amount is included in specified services quotient by mobile communication carrier.
Optionally, the detection module, the first screen and second movement specifically for the detection mobile terminal
Whether the second screen of terminal is in a pre-determined distance;Or in a preset time period, the of the mobile terminal is detected
Whether number of the second screen of one screen and second mobile terminal in a pre-determined distance is not less than preset times.
Optionally, the mobile terminal further include:
Default label receiving module, for receiving the agency after detecting and triggering the flow sharing operation
The default label that server device is sent;
Default label sending module, is also used to the default label being sent to second mobile terminal, wherein described
Default label exempts from flow identifier described in being;Alternatively, the IP address of the proxy server is preset IP address, the default IP
Exempt from flow identifier described in being in location.
Optionally, the mobile terminal further include:
Authentication information sending module, for after detecting and triggering the flow sharing operation, by the shifting
The communication identifier and authentication information of dynamic terminal are sent to the distribution server;
Proxy server information receiving module, for receiving the address letter for the proxy server that the distribution server is sent
Breath, the proxy server be the distribution server be based on the authentication information verify the communication identifier have it is described
After exempting from flow permission, for the access network development process distribution;
Proxy server information sending module is also used to the address information of the proxy server being sent to described second
Mobile terminal.
Optionally, the mobile terminal further include:
Interim verification information receiving module, is visited for sending in the network by mobile communication carrier to proxy server
Before the interaction data for asking network, the interim verification information that the distribution server is distributed for data exchange process is received,
Interim verification information sending module, for the interim verification information to be sent to second mobile terminal,
In, the interim verification information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, for institute
State mobile terminal distribution.
Fourth aspect according to the present invention provides a kind of mobile terminal, comprising:
Notification information sending module, for specified in starting in application, corresponding notification information is sent to the second movement
Terminal;
Communication identifier receiving module, for receiving the communication for second mobile terminal that second mobile terminal is sent
Mark, wherein second mobile terminal is starting the specified application and detecting the stream triggered with the mobile terminal
When measuring sharing operation, Xiang Suoshu mobile terminal sends the communication identifier, and there is the communication identifier online to exempt from flow permission;
Interaction data sending module, the interaction data for being sent by the specified application pass through mobile communication carrier
Network be sent to proxy server, include the communication identifier in the interaction data;
Feedback data receiving module receives second mobile terminal for the network by mobile communication carrier and is based on
The interaction data and the feedback data generated;
Wherein, data transmission of the above-mentioned mobile terminal in data exchange process is marked with exempting from for second mobile terminal
Flow identifier, what the mobile terminal generate in data exchange process by proxy server and second mobile terminal
All or part of data traffic is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient.
Optionally, the mobile terminal further include:
Default label receiving module, for passing through mobile communication operators in the interaction data sent by the specified application
The network of quotient is sent to before proxy server, receives the default label that second mobile terminal is sent, the default label
It is that the proxy server sends to second mobile terminal and described sends the interaction by the specified application
The default label is carried when data, the default label exempts from flow identifier to be described;Alternatively, the IP of the proxy server
Location is preset IP address, and the preset IP address exempts from flow identifier to be described.
Optionally, the mobile terminal further include:
Address information receiving module, for passing through mobile communication operators in the interaction data sent by the specified application
The network of quotient is sent to before proxy server, receives the address letter for the proxy server that second mobile terminal is sent
Breath, wherein the proxy server is to determine that second mobile terminal has when exempting from flow permission by the distribution server, for number
It is distributed according to interactive process.
Optionally, the mobile terminal further include:
Verification information receiving module, for sending access net to proxy server in the network by mobile communication carrier
Before the interaction data of network, the interim verification information that second mobile terminal is sent is received, wherein the interim verification information
By the distribution server determine second mobile terminal have it is described exempt from flow permission when, distributed for data exchange process
's;
The interaction data sending module is also used to send to the proxy server comprising carrying the interim verifying letter
The interaction data of breath, so that the proxy server verifies the legitimacy of the interaction data based on the interim verification information.
The communication identifier of the method according to the present invention shared for mobile terminal flow, first movement terminal has online
Exempt from flow permission, the starting of first movement terminal is specified in application, having turned on the specified application receiving the second mobile terminal
After notification information, detects when triggering the flow sharing operation with second mobile terminal, which is sent
To the second mobile terminal, so that the second mobile terminal, which is based on communication identifier, is carrying out data exchange process by proxy server
All or part of data traffic of middle generation is included in specified services quotient by mobile communication carrier, so that second is mobile whole
End with first movement terminal when carrying out data interaction, consuming be service provider corresponding to proxy server data traffic,
Data traffic without expending the second mobile terminal and first movement terminal, thus solves and accesses network in the prior art
When the technical issues of needing to expend the flow of mobile terminal, reached mobile terminal and exempted from the technology effect that flow carries out data interaction
Fruit;Thus, the second mobile terminal is without paying campus network, it will be able to realize and exempt from the technical effect that flow carries out data interaction.
The enthusiasm that data interaction is carried out thereby, it is possible to significantly improve user, to be conducive to the extensive of the Web content on internet
It propagates.
And second mobile terminal and first movement terminal when carrying out data interaction, consuming is corresponding to proxy server
Service provider be the free data flow authorized of first movement terminal, the free data flow of first movement terminal is total to
It enjoys and being used to the second mobile terminal, the utilization rate of free data flow can be further increased.
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.
One embodiment of the invention discloses a kind of method shared for mobile terminal flow, referring to Fig. 1, comprising:
Step S101, the starting of first movement terminal is specified in application, receiving the second mobile terminal has turned on specified application
Notification information;
Step S102, first movement terminal detect whether to trigger with the second movement eventually after receiving notification information
The flow sharing operation at end, wherein there is the communication identifier of first movement terminal online to exempt from flow permission;
Step S103, first movement terminal detects when triggering flow sharing operation, and communication identifier is sent to second
Mobile terminal, so that passing through generation based on communication identifier when the second mobile terminal is by the specified application transport interaction data
The all or part of data traffic generated during reason server transport interaction data is included in finger by mobile communication carrier
Determine in service provider.
Wherein, in step s101, first movement terminal and the second mobile terminal for example can be with are as follows: mobile phone, tablet computer
Etc., the user of the first, second mobile terminal is terminal user;The specified application is the specified application of specified service provider,
Such as can be applied with wechat, QQ application, the instant chats software such as Fetion application, after the specified application of first movement terminal starting,
It receives the notification information that the second mobile terminal has turned on the specified application, specifically can be by being arranged in first movement terminal
Capture apparatus obtains the screen message of the second mobile terminal, and unlatching is shown on the screen message, and this is specified in application, then receiving
To the notification information.
Next step S102 is executed, after first movement terminal receives the notification information, first movement terminal is being examined
It measures when whether triggering the flow sharing operation, which may exist a variety of situations, be set forth below therein
Two kinds are introduced, and certainly, in the specific implementation process, are not limited to following two kinds of situations.
The first, first movement terminal specifically can detecte the first screen and second mobile terminal of first movement terminal
Whether the second screen is in a pre-determined distance, if detecting in the pre-determined distance, judgement triggers the flow sharing operation,
Otherwise, then judge not triggering the flow sharing operation, wherein the pre-determined distance can be set to the value no more than 1cm, such as can
Think 1cm, 0.8cm, 0.5cm equivalence.
Specifically, if the pre-determined distance is 1cm, first movement terminal at a time detects first movement terminal
The distance between second screen of first screen and the second mobile terminal then detects first due to 0.8cm < 1cm for 0.8cm
Screen and the second screen are then to judge to trigger the flow sharing operation in the pre-determined distance;If the first screen and second
Distance can then determine no less than 1cm and not trigger the flow sharing operation between screen.
Specifically, the pre-determined distance is value no more than 1cm, so that first movement terminal is detecting the first screen and the
When two screen contacts, the first screen and the second screen are then judged to trigger the flow shared necessarily in the pre-determined distance
Operation.
Second, first movement terminal specifically can detect the first screen and the second screen exists in a preset time period
Whether the number in one pre-determined distance is not less than preset times;When being not less than the preset times, then judgement triggers the flow
Sharing operation;When being less than the preset times, then judge not triggering the flow sharing operation, wherein the preset times are not
Integer less than 2, such as can be equivalent for 2,3.
Specifically, a preset time period is set first, which can be by first movement terminal profile, can also
To be set by user, in order to reduce the probability of maloperation, which be can be set to no more than 2 minutes (min)
Time, such as can then be detected in the preset time period, the first screen and the second screen for 2min, 1min, 0.5min etc.
Number of the curtain in pre-determined distance is not less than preset times, can more accurately obtain the shared behaviour of the flow by multiple judgement
Make the probability of reduction maloperation, lower mask body is by taking preset times are 2 times as an example.
For example, smart phone A detects intelligence in 1min if the pre-determined distance is 0.8cm and preset time period is 1min
Can first touch screen of mobile phone A and the distance between the second touch screen of smart phone B be 0.5cm, i.e. the first touch screen and the
Two touch screens are in contact, and detect that the number that is in contact is 3 times, due to 0.5<0.8cm, and 3>2, then judge to trigger this
Flow sharing operation;If detecting, the number that the first touch screen and the second touch screen are in contact is 1 time, then can be true due to 1 < 2
It is fixed not trigger the flow sharing operation.
Next step S103 is executed, in this step, first movement terminal detects when triggering flow sharing operation,
Communication identifier is sent to the second mobile terminal, is visited so that the second mobile terminal is based on communication identifier by proxy server
Ask that all or part of data traffic generated in network development process is included in specified services quotient by mobile communication carrier.
In the specific implementation process, first movement terminal detects when triggering the flow sharing operation, which is marked
Knowledge is sent to the second mobile terminal, so that the second mobile terminal receives the communication identifier, and the communication identifier is carried to friendship
In mutual data, and the interaction data for carrying the communication identifier is sent to proxy server, proxy server is according to coming from the
The interaction data of two mobile terminals obtains corresponding feedback data from Resource Server;Proxy server is transported by mobile communication
Feedback data is transmitted to mobile terminal by the network of battalion quotient, in this way, the second mobile terminal is enabled to share first movement terminal
Exempt from data on flows, can be into one so that exempting from data on flows and capable of also being used by the second mobile terminal for first movement terminal
Step improves the utilization rate of free data flow.
In one embodiment, first movement terminal detects trigger flow sharing operation after, referring to fig. 2, this method
Further include:
Step S201: the communication identifier of first movement terminal and authentication information are sent to the distribution server;
Step S202: receiving the address information for the proxy server that the distribution server is sent, and proxy server is distribution clothes
After business device identity-based verification information verifying communication identifier has and exempts from flow permission, distributed for data exchange process;
Step S203: the address information of proxy server is sent to the second mobile terminal.
Wherein, before executing step S201, first movement terminal can by first pass through in advance registration etc. in a manner of distribution service
Device binds the communication identifier of first movement terminal, such as: first movement terminal can exempt from flow to the distribution server application first
Service, the distribution server after the application for receiving first movement terminal, according to some prerequisites (such as: initiate the Shen
Whether software please is whether predetermined software, the first movement terminal have used predetermined software, the communication identifier whether specified
Service provider's registration etc.) determine whether that flow permission is exempted from the communication identifier distribution to the first movement terminal, if distribution service
Device, which is determined, exempts from flow permission to first movement terminal distribution, then the distribution server can send one to first movement terminal
UserKey (user password) is used as authentication information;Further, the distribution server is in order to guarantee the logical of first movement terminal
Beacon knowledge is not falsely used by other users, then can send an identifying code, the user of first movement terminal to communication identifier first
After successfully filling in the identifying code, first movement terminal distribution authentication information is just given;In addition, for first movement terminal
When stream service is exempted from access network development process offer, flow restriction can be not present, there may also be flow restrictions, wherein there is no streams
Amount limitation refers to accumulation uses how many flow in access network development process regardless of first movement terminal, exempts from stream as long as meeting
It is required that just exempting from flow permission to its offer;There are flow restrictions to refer in every section of predetermined time of the first movement terminal points
With particular flow rate, if first movement terminal accumulates the total flow used without departing from the specific stream in access network development process
Amount, then its meet exempt from traffic requirement in the case where, exempt from flow permission to its distribution, and if first movement terminal is in access net
Total flow used in during network is more than particular flow rate, then does not exempt from flow permission to its distribution, such as;For first movement end
End can be with the free flow of a month distribution 30M, the free flow of 50M etc..
And then if first movement terminal detects that the flow sharing operation, first movement terminal can be by the communications of oneself
Mark and authentication information are sent to the distribution server.
Next step S202 is executed, the address information for the proxy server that the distribution server is sent is received, wherein distribution
Server judges the authentication information of the communication identifier received and the authentication information of the communication identifier prestored is
No matching illustrates that corresponding first movement terminal has and exempts from flow permission, otherwise illustrate corresponding first if matching
Mobile terminal, which does not have, exempts from flow permission;If the distribution server is that the flow permission of exempting from of first movement terminal distribution does not have flow
Limitation, then the distribution server can directly be its assignment agent after determining that first movement terminal has and exempts from flow permission
Server, and if the flow permission of exempting from that the distribution server is first movement terminal distribution has flow restriction, the distribution server
After determining that first movement terminal has and exempts from flow permission, it is also necessary to judge its residual flow whether more than one threshold value,
First movement terminal distribution proxy server is just given when being more than this threshold value, treatment process is specifically includes the following steps: divide
It sends out server and obtains the free residual flow information that communication identifier carries out charging using the charging mode of specified services quotient;Based on exempting from
Expense residual flow information judges whether the free residual flow of communication identifier is greater than predetermined amount (threshold value of such as front);Freely remaining
It is first movement terminal distribution proxy server when residual current amount is greater than predetermined amount, then will be acted on behalf of for first movement terminal distribution
The address information of server is sent to first movement terminal.
Next step S203 is executed, in this step, it is mobile whole that the address information of proxy server is sent to second
End, so that interaction data is sent to corresponding agency service based on the address information of proxy server by the second mobile terminal
Device.
In another embodiment, first movement terminal detects trigger flow sharing operation after, referring to Fig. 3, the party
Method further include:
Step S301, the default label that Receiving Agent server is sent;
Default label is sent to the second mobile terminal by step S302, wherein default label is to exempt from flow identifier;Alternatively,
The IP address of proxy server is preset IP address, and preset IP address is to exempt from flow identifier, so that the second mobile terminal is based on
Exempt from all or part of data traffic that flow identifier generates in through proxy server access network development process to be transported by mobile communication
Battalion quotient is included in specified services quotient.
Wherein, in step S301, after the communication identifier of itself is sent to the second mobile terminal by first movement terminal,
Then the default label that Receiving Agent server distributes for it.
Next step S302 is executed, in step, default label is sent to the second mobile terminal by first movement terminal,
So that the communication identifier of first movement terminal and default label are carried in interaction data and are sent to generation by the second mobile terminal
Server is managed, proxy server obtains corresponding feedback according to the interaction data from the second mobile terminal, from Resource Server
Data, wherein the default label is to exempt from flow identifier, so that mobile communication carrier is based on the default label, by the second movement
All or part of data traffic that terminal generates in through proxy server access network development process will by mobile communication carrier
It is included in specified services quotient.
Specifically, the default label is also possible to the IP for the proxy server that the distribution server is first movement terminal distribution
Address is preset IP address, and preset IP address is that this exempts from flow identifier.
For the case where flow identifier is default IP is exempted from, corresponding gateway (or the charge system being connected with corresponding network) exists
Receive the second mobile terminal transmission interaction data after, judge next node corresponding to the interaction data IP whether
To preset IP, if it is default IP, its data traffic is included in the data traffic of specified services quotient, corresponding gateway (or with
The connected charge system of corresponding network) after the feedback data for receiving proxy server transmission, judge the proxy server
IP whether be that its data traffic if it is default IP is included in the data traffic of specified services quotient by default IP;For exempting to flow
In the case that amount is identified as default label, corresponding gateway (or the charge system being connected with corresponding network) is receiving the second shifting
After the interaction data (or the feedback data for receiving proxy server transmission) that dynamic terminal is sent, it is judged as the interaction data
Whether comprising default label in (or feedback data), if its data traffic is included in specified services comprising presetting label
The data traffic of quotient.
Specifically, when the second mobile terminal sends interaction data by specified application, the communication based on first movement terminal
The all or part of data traffic generated during transmitting the interaction data by proxy server is identified to be transported by mobile communication
Battalion quotient is included in specified services quotient, be may exist a variety of situations, is set forth below three kinds therein and is introduced, certainly,
In specific implementation process, it is not limited to following three kinds of situations.
The first, the data traffic of special ratios in the second mobile terminal and first movement terminal progress data exchange process
It is counted into the specified services quotient.
For example, special ratios are for example are as follows: 50%, 70% etc., wherein whole in the second mobile terminal and first movement
End carries out the interaction data that transmits in data exchange process and has when exempting from traffic identifier of first movement terminal, 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 the second mobile terminal expends the flow of 10M, special ratios altogether in this access network development process 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 the second mobile terminal
Communication identifier.Certainly, above data is not intended as limiting as just citing.
Second, the second mobile terminal and first movement terminal carry out certain amount of data traffic in data exchange process
It is counted into the specified services quotient.
For example, specific quantity is for example are as follows: 10M, 20M etc., wherein in the second mobile terminal and first movement terminal
It carries out the interaction data that transmits in data exchange process and has when exempting from traffic identifier of first movement terminal, corresponding gateway (or with
The connected charge system of corresponding network) after this data exchange process terminates, judge the data of this data exchange process
Whether flow is more than the specific quantity, and if being not above, all data traffics are all included in specified services quotient;
If it exceeds then the data traffic for being not above part is included in specified services quotient if specific quantity, by overage meter
Enter the communication identifier of the second mobile terminal.
The third, the data traffic of specific content in the second mobile terminal and first movement terminal progress data exchange process
It is counted into the specified services quotient.
For example, specific content is for example are as follows: text, picture etc., wherein whole in the second mobile terminal and first movement
End carries out the interaction data that transmits in data exchange process and has when exempting from traffic identifier of first movement terminal, corresponding gateway (or
The charge system being connected with corresponding network) obtain the interaction number that the second mobile terminal is transmitted in carrying out data exchange process
According to then determining text, picture etc. in the interaction data that is transmitted in carrying out data exchange process from the second mobile terminal
Data, and its corresponding data traffic is included in specified services quotient;And it is directed to other kinds of content, and such as: video then will
Its corresponding data traffic is included in the communication identifier of the second mobile terminal.
It as a kind of possible implementation, is included in specified services quotient, specifically includes: corresponding data flow is generated
Expense 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 second mobile terminal,
Therefore 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, from
And it charges to specified services quotient.
In another embodiment, it is sent by the network of mobile communication carrier to proxy server in the second mobile terminal
Before the interaction data for accessing network, referring to fig. 4, this method further include:
Step 401, the interim verification information that the distribution server is first movement terminal distribution is received, wherein this is temporarily tested
Card information by the distribution server determine first movement terminal have exempt from flow permission when, be first movement terminal distribution;
Step 402, which is sent to the second mobile terminal.
Wherein, in step 401, there is no the case where flow restriction in the flow permission of exempting from for first movement terminal distribution
Under, if first movement terminal, which has, exempts from flow permission, the distribution server can be generated interim verification information (token) and be used for
First movement terminal and the second mobile terminal this data exchange process;Or exempt from for first movement terminal distribution
Flow permission is there are in the case where flow restriction, if first movement terminal, which has, exempts from the free surplus of flow permission and mobile terminal
Residual current amount is greater than predetermined amount, then interim verification information also can be generated in the distribution server.
In addition, in order to guarantee that subsequent first movement terminal and the second mobile terminal can be connected to proxy server, distribution
Server needs some data being sent to proxy server, and four kinds of data therein are set forth below and are introduced, certainly, are having
In body implementation process, it is not limited to following four situation.1. the communication identifier of first movement terminal is sent to generation by the distribution server
Manage server;2. the communication identifier of first movement terminal, interim verification information are sent to proxy server by the distribution server;③
The communication identifier of first movement terminal, free residual flow are sent to proxy server by the distribution server;4. the distribution server
The communication identifier of first movement terminal, free residual flow, interim verification information are sent to proxy server.
In addition, the address information of proxy server is also required to be supplied to first movement terminal, and will by first movement terminal
The address information is sent to the second mobile terminal, and wherein the address information of proxy server can be directly transmitted by the distribution server
To first movement terminal.
The communication identifier of the method according to the present invention shared for mobile terminal flow, first movement terminal has online
Exempt from flow permission, the starting of first movement terminal is specified in application, having turned on the specified application receiving the second mobile terminal
After notification information, detects when triggering the flow sharing operation with second mobile terminal, which is sent
To the second mobile terminal, so that the second mobile terminal, which is based on communication identifier, is carrying out data exchange process by proxy server
All or part of data traffic of middle generation is included in specified services quotient by mobile communication carrier, so that second is mobile whole
End with first movement terminal when carrying out data interaction, consuming be service provider corresponding to proxy server data traffic,
Data traffic without expending the second mobile terminal and first movement terminal, thus solves and accesses network in the prior art
When the technical issues of needing to expend the flow of mobile terminal, reached mobile terminal and exempted from the technology effect that flow carries out data interaction
Fruit;Thus, the second mobile terminal is without paying campus network, it will be able to realize and exempt from the technical effect that flow carries out data interaction.
The enthusiasm that data interaction is carried out thereby, it is possible to significantly improve user, to be conducive to the extensive of the Web content on internet
It propagates.
And second mobile terminal and first movement terminal when carrying out data interaction, consuming is corresponding to proxy server
Service provider be the free data flow authorized of first movement terminal, the free data flow of first movement terminal is total to
It enjoys and being used to the second mobile terminal, the utilization rate of free data flow can be further increased.
In order to preferably describe the present invention for the method that mobile terminal flow is shared, lower mask body introduces agency service
In the course of work, referring to FIG. 5, its is specific as follows:
Step S510: proxy server receives the second mobile terminal and is sent to first by the network of mobile communication carrier
The interaction data of mobile terminal includes the communication identifier of first movement terminal in interaction data, and interaction data is by specified
Using transmission, communication identifier has online and exempts from flow permission,;
Step S520: interaction data is sent to first movement end by the network of mobile communication carrier by proxy server
End;
Step S530: proxy server receives first movement terminal by the network of mobile communication carrier and is based on interaction number
According to and generate feedback data,
Step S540: feedback data is sent to first movement end by the network of mobile communication carrier by proxy server
End;
Wherein, the interaction data that above-mentioned second mobile terminal and first movement terminal are sent in data exchange process marks
There is the flow identifier of exempting from of first movement terminal, the second mobile terminal carries out data friendship by proxy server and first movement terminal
Mutually during generate all or part of data traffic by mobile communication carrier be based on this exempt from flow identifier be included in it is specified
In service provider.
Wherein, as a kind of optional embodiment, before proxy server receives the interaction data, first movement terminal
It needs to be determined that providing the proxy server of transmission interaction data for it, and the information of proxy server is sent to the second movement eventually
End, wherein first movement terminal can directly be communicated mark and send the distribution server, judge the communication by the distribution server
Identify whether to have and exempt from flow permission, the distribution server determine it have exempt from flow permission when, be first movement terminal distribution
Otherwise proxy server is not first movement terminal distribution proxy server.
And the communication identifier of first movement terminal is falsely used in order to prevent, improves the safety of network access, as one kind
Optional embodiment, determine the process of proxy server with continued reference to FIG. 5, the following steps are included:
Step S501: the communication identifier and authentication information of the distribution server reception first movement terminal;
Step S502: communication identifier and authentication information verifying communication mark of the distribution server based on first movement terminal
Know whether to have and exempts from flow permission;
Step S503: the distribution server determine communication identifier have exempt from flow permission when, be first movement terminal distribution
Proxy server.
For example, before step S501, first movement terminal can by first pass through in advance registration etc. in a manner of in the distribution server
Bind the communication identifier of first movement terminal;Further, the distribution server is in order to guarantee the communication identifier of first movement terminal
It is not falsely used by other users, then can send an identifying code to communication identifier first, the user of first movement terminal successfully fills out
After writing the identifying code, first movement terminal distribution authentication information is just given;In addition, in the access net for first movement terminal
When stream service is exempted from the offer of network process, flow restriction can be not present, there may also be flow restrictions, wherein flow restriction is not present
Refer to accumulation uses how many flow in access network development process regardless of the first movement terminal, as long as meeting the requirement for exempting from stream
Just exempt from flow permission to its offer;There are flow restrictions to refer to for distribution spy in every section of predetermined time of the first movement terminal
Constant flow, if first movement terminal accumulates the total flow that uses without departing from the particular flow rate in access network development process,
Its meet exempt from traffic requirement in the case where, exempt from flow permission to its distribution, and if first movement terminal is in access network mistake
Total flow used in journey is more than particular flow rate, then does not exempt from flow permission to its distribution.
And if then first movement terminal receives notification information and detects the flow sharing operation, first movement end
The communication identifier of oneself and authentication information can be sent to the distribution server by end.
In step S502, 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 first movement terminal has and exempts from flow
Otherwise permission illustrates that corresponding first movement terminal does not have and exempts from flow permission.
In step S503, if the flow permission of exempting from that the distribution server is first movement terminal distribution does not have flow restriction,
Then the distribution server can directly be its assignment agent service after determining that first movement terminal has and exempts from flow permission
Device, and if the flow permission of exempting from that the distribution server is first movement terminal distribution has flow restriction, the distribution server is true
Make after first movement terminal has and exempt from flow permission, it is also necessary to judge its residual flow whether more than one threshold value, super
First movement terminal distribution proxy server is just given when crossing this threshold value, treatment process is specifically includes the following steps: distribution clothes
Business device obtains the free residual flow information that communication identifier carries out charging using the charging mode of specified services quotient;Based on free surplus
Remaining flow information judges whether the free residual flow of communication identifier is greater than predetermined amount (threshold value of such as front);In free residual stream
It is first movement terminal distribution proxy server when amount is greater than predetermined amount.
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 this data interaction, 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 this data interactions 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 from multiple proxy servers when giving first movement terminal distribution proxy server
The middle selection proxy server nearest apart from mobile terminal physical position distributes to that first movement terminal, also to can choose network negative
The proxy server that most light proxy server distributes to first movement terminal or selects network delay minimum is carried to distribute to
First movement terminal etc., or comprehensively considered using at least two strategies in above-mentioned multiple distribution policies to select, for
Which kind of mode is the distribution server use for first movement terminal distribution proxy 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 in the flow permission of exempting from for first movement terminal distribution
In the case where limitation, if first movement terminal, which has, exempts from flow permission, interim verification information is can be generated in the distribution server
(token) for the second mobile terminal, this data exchange process to be verified;Or for first movement terminal point
That matches exempts from flow permission there are in the case where flow restriction, if first movement terminal has and exempts from flow permission and first movement is whole
The free residual flow at end is greater than predetermined amount, then interim verification information also can be generated in the distribution server.
In addition, the distribution server is needed one in order to guarantee that subsequent first movement terminal can be connected to proxy server
A little data are sent to proxy server, and four kinds of data therein are set forth below and are introduced, certainly, in the specific implementation process,
It is not limited to following four situation.1. the communication identifier of first movement terminal is sent to proxy server by the distribution server;2. dividing
It sends out server and the communication identifier of first movement terminal, interim verification information is sent to proxy server;3. the distribution server will
The communication identifier of first movement terminal, free residual flow are sent to proxy server;4. the distribution server is whole by first movement
The communication identifier at end, free residual flow, interim verification information are sent to proxy server.
In addition, the address information of proxy server is also required to be supplied to first movement terminal, the wherein ground of proxy server
Location information can be sent directly to first movement terminal by the distribution server;First shifting can also received by proxy server
After the communication identifier of dynamic terminal, first movement terminal is sent it to by the communication identifier of first movement terminal, so that the
After one mobile terminal receives the address information of proxy server, which is sent to the second mobile terminal, so that
Proxy server can be transmitted to according to the address information by obtaining the interaction data that the second mobile terminal is sent.
After completing above-mentioned preparation, in step S510, if the distribution server in step S501~S503 simultaneously
Interim verification information is not distributed for this access network development process, then the second mobile terminal will directly carry the communication of first movement terminal
The interaction data of mark is sent to proxy server;If the distribution server is this access network in step S501~S503
Process is assigned interim verification information, then the interim verification information is sent to the second mobile terminal by first movement terminal, so that
The interaction data for carrying interim verification information and the communication identifier is sent to proxy server by the second mobile terminal.
In step S520, proxy server can be after the interaction data for receiving the transmission of the second mobile terminal, by this
Interaction data is transmitted directly to first movement terminal, and based on the different letters sent before the distribution server to proxy server
Breath, proxy server can also first carry out some verification process, three kinds of verification process therein are set forth below and are introduced, when
So, in the specific implementation process, following three kinds of situations are not limited to.
It includes the communication identifier of first movement terminal and interim that one, the distribution server, which are sent to the data of proxy server,
Verification information, in this case, the second mobile terminal can receive the interim verification information of first movement terminal transmission, such as
This, so that also can include interim verification information in the interaction data that the second mobile terminal is sent, then proxy server is by facing
When verification information verifying interaction data it is legal when, which is sent to first movement terminal.Wherein, proxy server will
Second mobile terminal send interim verification information match with the interim verification information that the distribution server is sent, if match at
If function, then illustrate that the interaction data is legal, otherwise illustrates that the interaction data is illegal.It can guarantee this through the above scheme
Access the safety of network development process.
Secondly, to be sent to the data of proxy server include the communication identifier of first movement terminal and free to the distribution server
Residual flow information, in this case, the second mobile terminal can receive the free residual flow of first movement terminal transmission
Information, in this way, also can be comprising free residual flow information in the interaction data that the second mobile terminal is sent, then agency service
Device is primarily based on free residual flow information and judges first movement after the interaction data for receiving the transmission of the second mobile terminal
Whether the newest free residual flow of terminal is greater than predetermined amount;When newest free residual flow information is greater than predetermined amount, by this
Interaction data is sent to first movement terminal, and if newest free residual flow information is not more than predetermined amount, inform second
Mobile terminal, allow the second mobile terminal by other access path by the interaction data be sent to first movement terminal (such as: it is straight
It connects and interaction data is sent to first movement terminal by the network of mobile communication carrier).Through the above scheme, can make to refer to
Determine service provider and provides the free data flow of specific quantity to the second mobile terminal.
Wherein, if judging that the free residual flow of first movement terminal was greater than predetermined amount, generation in the distribution server
Reason server does not need to judge newest free residual flow when receiving the interaction data of the second mobile terminal transmission for the first time
Whether (namely free residual flow of the distribution server transmission) is greater than predetermined amount;But directly count the consuming of this interaction data
Data traffic, then by its from the distribution server send free residual flow in subtract the data traffic, then it is available
Newest free data flow;It can be determined whether by judging whether newest free data flow is greater than predetermined amount in subsequent
The interaction data that second mobile terminal is sent is sent to first movement terminal.
In addition, proxy server can also the data flow according to spent by preset measurement period statistics first movement terminal
Information is measured, knows that first movement 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
First movement terminal data traffic spent in current time interval, and first movement is obtained based on the data flux statistics
Then the newest free residual flow information of terminal determines the interaction data that the second mobile terminal is sent whether being sent to first
Mobile terminal.
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 first movement terminal, every to expend preset statistics flow, then root
The newest free residual flow information of first movement terminal is determined according to the preset statistics flow.
Through the above scheme, it can guarantee the newest residual flow information for obtaining first movement terminal in time.
Certainly, proxy server is after measurement period counts data traffic information spent by first movement terminal,
It can also be sent to the distribution server, the newest free residual flow letter of first movement terminal is counted by the distribution server
Breath.
Wherein, it after the distribution server obtains data traffic information spent by first movement terminal, can also be sent out
Send first movement terminal or the informing in first movement terminal inquiry;Or the distribution server is determining first movement end
After the newest free residual flow information at end, first movement terminal can also be sent it to, and then make first movement terminal
Preferable network access policies can then be selected to present flow rate service condition and then a understanding.Or it is moved first
It is informed when dynamic terminal inquiry.
Thirdly, the distribution server be sent to proxy server data include first movement terminal communication identifier, free
Residual flow information and interim verification information, in this case, the second mobile terminal can receive the transmission of first movement terminal
Free residual flow information and interim verification information, in this way, make the second mobile terminal send interaction data in can also wrap
Containing free residual flow information and interim verification information, then proxy server is in the interaction number for receiving the transmission of the second mobile terminal
According to later, this data interaction for verifying the second mobile terminal by interim verification information is legal and newest free residual flow
Information is greater than predetermined amount, which is sent to first movement terminal.It can either guarantee that this data is handed over this solution
The safety of mutual process, and can guarantee that specified services quotient only provides the free flow of predetermined amount to mobile terminal.
In step S530, the second mobile terminal and first movement terminal carry out the data in data exchange process and include uplink
Data and downlink data, wherein upstream data be be sent to by the second mobile terminal first movement terminal data (namely hand over
Mutual data), downlink data is the data (namely feedback data) that the second mobile terminal is sent to by first movement terminal,
In, the data traffic of upstream data and downlink data is counted into the data traffic of specified services quotient consumption.
Wherein, specified services quotient provides downlink data for first movement terminal and exempts to flow, and the second mobile terminal is to first
First movement terminal is also carried in the interaction data that mobile terminal is sent exempts from flow identifier, number corresponding to the interaction data
Exempt from flow identifier based on this according to flow to be included in specified services quotient;And if specified services quotient provides downlink for first movement terminal
If data exempt from stream, then feedback data can carry first movement terminal exempt from flow identifier (such as: added by proxy server
First movement terminal exempts from flow identifier), and then the data traffic of feedback data can be exempted from by mobile communication carrier based on this
Flow identifier is included in specified services quotient.
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.
One, proxy server receive the distribution server transmission first movement terminal communication identifier after and
Before the interaction data for receiving the transmission of the second mobile terminal, default label is sent to first movement terminal, and this is preset
Label is sent to the second mobile terminal, is somebody's turn to do so that carrying out carrying when data interaction in the second mobile terminal and first movement terminal
Default label, default label are to exempt from flow identifier.
Secondly, the IP address of the proxy server that the distribution server is first movement terminal distribution be preset IP address, in advance
If IP address is that this exempts from flow identifier.
In the specific implementation process, it can be counted by the gateway being set between first movement terminal and proxy server
Data traffic in data exchange 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
Receive the second mobile terminal transmission interaction data after, judge next node corresponding to the interaction data IP whether
To preset IP, if it is default IP, its data traffic is included in the data traffic of specified services quotient, corresponding gateway (or with
The connected charge system of corresponding network) after the feedback data for receiving proxy server transmission, judge the proxy server
IP whether be that its data traffic if it is default IP is included in the data traffic of specified services quotient by default IP;For exempting to flow
In the case that amount is identified as default label, corresponding gateway (or the charge system being connected with corresponding network) is receiving the second shifting
After the interaction data (or the feedback data for receiving proxy server transmission) that dynamic terminal is sent, it is judged as the interaction data
Whether comprising default label in (or feedback data), if its data traffic is included in specified services comprising presetting label
The data traffic of quotient.
In the specific implementation process, the second mobile terminal and first movement terminal carry out whole numbers in data exchange process
It is counted into specified services quotient according to flow to refer in this data exchange process, mobile communication carrier is determining the second shifting
After data traffic in dynamic this data exchange process of terminal, its whole is included in specified services quotient.
As a kind of optional embodiment, with continued reference to FIG. 5, method further include:
Step S550: proxy server judges any interaction for whether receiving the second mobile terminal within a preset period of time
Data;
Step S560: it if being not received by any interaction data of the second mobile terminal within a preset period of time, mentions
Show that the second 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
Any interaction data that the transmission of the second mobile terminal is not received in period then illustrates that the second mobile terminal this time hand over by data
Mutual process is over, so can produce a corresponding prompt information.Further, proxy server is generating the prompt
After information, which can also be sent to the distribution server.
In this case, if the distribution server is that this data exchange 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 used as this data interaction
The verification information of process, next interim verification information network access or need generation new, to improve the peace of data interaction
Quan Xing.
It is asked as a kind of optional embodiment if proxy server prompts the second mobile terminal that data interaction is completed
With continued reference to Fig. 5, method further include:
Step S570: proxy server by the starting interaction time of the second mobile terminal, terminate interaction time and consumption
Data traffic information be sent to the distribution server;
Step S580: the distribution server exempts from first movement terminal based on the data traffic information that proxy server is sent
Expense residual flow is counted.
For example, proxy server can send information as shown in Table 1 to the distribution server:
Table 1
Assuming that the distribution server is total free data flow of first movement terminal distribution are as follows: 30M, and first movement
Terminal has consumed 20M flow before this data interaction, and the second mobile terminal is by this data interaction consumption
The 1.6M flow of first movement terminal may thereby determine that out first movement terminal after by this data exchange process
Free residual flow are as follows: 10M-1.6M=8.4M.Certainly, above data flow is not intended as limiting as just citing.
In technical concept same as mentioned above, it is total for mobile terminal flow that the embodiment of the invention also provides one kind
The method enjoyed, referring to Fig. 6, comprising:
Step S601, the starting of the second mobile terminal are specified in application, corresponding notification information is sent to first movement end
End;
Step S602, the second mobile terminal receive the communication identifier for the first movement terminal that first movement terminal is sent,
In, first movement terminal the specified application of starting and detect trigger the flow sharing operation with the second mobile terminal when, to
Second mobile terminal sends communication identifier, and there is communication identifier online to exempt from flow permission;
The interaction data sent by specified application is passed through mobile communication carrier by step S603, the second mobile terminal
Network is sent to proxy server, includes communication identifier in interaction data;
Step S604, the second mobile terminal receive first movement terminal based on described by the network of mobile communication carrier
Interaction data and the feedback data generated;
Wherein, data transmission of above-mentioned second mobile terminal in data exchange process is marked with exempting from for first movement terminal
Flow identifier, the second mobile terminal carry out the whole generated in data exchange process by proxy server and first movement terminal
Or partial data flow is based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier.
Wherein, the second mobile terminal generate in data exchange process by proxy server and first movement terminal
Partial data flow is based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier, specifically: second moves
The data traffic that dynamic terminal and first movement terminal carry out special ratios in data exchange process is counted into specified services quotient;Or the
Two mobile terminals and first movement terminal carry out certain amount of data traffic in data exchange process and are counted into specified services quotient;
Or second mobile terminal and first movement terminal carry out the data traffic of specific content in data exchange process and be counted into specified clothes
Be engaged in quotient.
In the specific implementation process, it is included in specified services quotient, comprising: be calculated as referring to by the expense that corresponding data flow generates
Determine the expense of the account consumption of service provider.
Specifically, the second mobile terminal produce in data exchange process with first movement terminal by proxy server
Raw partial data flow is based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier, comprising: second
Comprising exempting from flow identifier in the interaction data that mobile terminal is sent, data traffic corresponding to interaction data is based on exempting from flux scale
Knowledge is included in specified services quotient;And/or the feedback data generated based on interaction data is based on exempting from flow identifier and being included in specified clothes
It is engaged in quotient.
In one embodiment, before executing step 603, this method further include: the second mobile terminal receives first movement
The default label that terminal is sent, default label are that proxy server is sent to first movement terminal;Second mobile terminal passes through
Specified application carries default label when sending interaction data, default label is to exempt from flow identifier;Alternatively, the IP of proxy server
Location is preset IP address, and preset IP address is to exempt from flow identifier.
Specifically, the second mobile terminal generate in data exchange process with first movement terminal by proxy server
All or part of data traffic be based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier, specifically
Are as follows: it, will when the second mobile terminal and first movement terminal are carried out in the interaction data in data exchange process comprising default label
The all or part of data traffic generated in interactive process is included in specified services quotient;Or second mobile terminal and first movement it is whole
End carries out the proxy server that the interaction data in data exchange process passes through preset IP address, flows through the whole of preset IP address
Or partial data flow is included in specified services quotient by mobile communication carrier.
In one embodiment, before executing step S603, this method further include: the second mobile terminal receives first movement
The address information for the proxy server that terminal is sent, wherein proxy server is that first movement terminal is determined by the distribution server
Have when exempting from flow permission, is distributed for data exchange process, specifically, the distribution server is tested in identity-based verification information
It demonstrate,proves after the communication identifier has and exempt from flow permission, is distributed for data exchange process.
In another embodiment, before executing step S603, this method further include: the second mobile terminal receives first and moves
The interim verification information that dynamic terminal is sent, wherein interim verification information determines that first movement terminal has by the distribution server and exempts from
When flow permission, distributed for data exchange process;It is sent to proxy server by the network of mobile communication carrier, is had
Body are as follows: the interaction data comprising carrying interim verification information is sent to proxy server, so that proxy server is based on temporarily testing
Demonstrate,prove the legitimacy of Information Authentication interaction data.
Based on technical concept same as mentioned above, the embodiment of the present application also provides a kind of mobile terminals, referring to figure
7, comprising:
Notification information receiving module 701, for specified in starting in application, receiving the second mobile terminal has turned on specified answer
Notification information;
Detection module 702 triggers and second movement for detecting whether after receiving the notification information
The flow sharing operation of terminal, wherein there is the communication identifier of the first movement terminal online to exempt from flow permission;
Communication identifier sending module 703, for detect trigger the flow sharing operation when, by the communication mark
Knowledge is sent to second mobile terminal, so that second mobile terminal sends interaction data by the specified application
When, all or part of data for being generated during transmitting the interaction data by proxy server based on the communication identifier
Flow is included in specified services quotient by mobile communication carrier.
Wherein, detection module 702, specifically for detecting the first screen of mobile terminal and the second screen of the second mobile terminal
Whether curtain is in a pre-determined distance;Or for detecting the first screen and second of first movement terminal in a preset time period
Whether number of the second screen of mobile terminal in a pre-determined distance is not less than preset times.
In one embodiment, which further includes default label receiving module 704, for triggering stream detecting
After measuring sharing operation, the default label of Receiving Agent server device transmission;Default label sending module 705, for that will preset
Label is sent to the second mobile terminal, wherein 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.
In another embodiment, which further includes authentication information sending module 706, for detecting touching
After having sent out flow sharing operation, the communication identifier of mobile terminal and authentication information are sent to the distribution server;Agency
Server info receiving module 707, the address information of the proxy server for receiving the distribution server transmission, proxy server
It is after the distribution server identity-based verification information verifying communication identifier has and exempts from flow permission, to divide for data exchange process
Match;Proxy server information sending module 708, for the address information of proxy server to be sent to the second mobile terminal.
In another embodiment, which further includes interim verification information receiving module, for by mobile logical
Before believing that the network of operator sends the interaction data of access network to proxy server, reception the distribution server is mobile terminal
The interim verification information of distribution;Interim verification information sending module, for interim verification information to be sent to the second mobile terminal,
Wherein, interim verification information by the distribution server determine mobile terminal have exempt from flow permission when, for mobile terminal distribution.
Based on technical concept same as mentioned above, the embodiment of the present application also provides a kind of mobile terminals, referring to figure
8, including notification information sending module 801, for specified in starting in application, corresponding notification information is sent to the second movement
Terminal;Communication identifier receiving module 802, the communication identifier of the second mobile terminal for receiving the transmission of the second mobile terminal,
In, the second mobile terminal the specified application of starting and detect trigger the flow sharing operation with mobile terminal when, Xiang Yidong
Terminal sends communication identifier, and there is communication identifier online to exempt from flow permission;Interaction data sending module 803, for by specified
Proxy server is sent to by the network of mobile communication carrier using the interaction data of transmission, includes communication in interaction data
Mark;Feedback data receiving module 804 receives first movement terminal for the network by mobile communication carrier and is based on interaction
Data and the feedback data generated;
Wherein, what data transmission of the above-mentioned mobile terminal in data exchange process was marked with the second mobile terminal exempts from flow
Mark, mobile terminal carry out all or part of number generated in data exchange process by proxy server and the second mobile terminal
It is based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier according to flow.
In one embodiment, which further includes default label receiving module, for sending by specified application
Interaction data proxy server is sent to by the network of mobile communication carrier before, receive the second mobile terminal send
Default label, default label are that proxy server is sent to the second mobile terminal, and sends interaction number by specified application
According to when carry default label, default label is to exempt from flow identifier;Alternatively, the IP address of proxy server is preset IP address, in advance
If IP address is to exempt from flow identifier.
In another embodiment, which further includes address information receiving module, for passing through specified application hair
Before the interaction data sent is sent to proxy server by the network of mobile communication carrier, receives the second mobile terminal and send
Proxy server address information, wherein proxy server is to determine that the second mobile terminal has by the distribution server to exempt to flow
When measuring permission, distributed for data exchange process.
In another embodiment, which further includes verification information receiving module, for transporting by mobile communication
Before the network of battalion quotient sends the interaction data of access network to proxy server, receives the interim of the second mobile terminal transmission and test
Demonstrate,prove information, wherein interim verification information by the distribution server determine the second mobile terminal have exempt from flow permission when, handed over for data
Mutual process and distribute;Interaction data sending module 803 is also used to send to proxy server comprising carrying interim verification information
Interaction data so that proxy server based on interim verification information verifying interaction data legitimacy.
The communication identifier of the method according to the present invention shared for mobile terminal flow, first movement terminal has online
Exempt from flow permission, the starting of first movement terminal is specified in application, having turned on the specified application receiving the second mobile terminal
After notification information, detects when triggering the flow sharing operation with second mobile terminal, which is sent
To the second mobile terminal, so that the second mobile terminal, which is based on communication identifier, is carrying out data exchange process by proxy server
All or part of data traffic of middle generation is included in specified services quotient by mobile communication carrier, so that second is mobile whole
End with first movement terminal when carrying out data interaction, consuming be service provider corresponding to proxy server data traffic,
Data traffic without expending the second mobile terminal and first movement terminal, thus solves and accesses network in the prior art
When the technical issues of needing to expend the flow of mobile terminal, reached mobile terminal and exempted from the technology effect that flow carries out data interaction
Fruit;Thus, the second mobile terminal is without paying campus network, it will be able to realize and exempt from the technical effect that flow carries out data interaction.
The enthusiasm that data interaction is carried out thereby, it is possible to significantly improve user, to be conducive to the extensive of the Web content on internet
It propagates.
And second mobile terminal and first movement terminal when carrying out data interaction, consuming is corresponding to proxy server
Service provider be the free data flow authorized of first movement terminal, the free data flow of first movement terminal is total to
It enjoys and being used to the second mobile terminal, the utilization rate of free data flow can be further increased.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or data handler (DSP) are some or complete in mobile terminal according to an embodiment of the present invention to realize
The some or all functions of portion's component.The present invention be also implemented as a part for executing method as described herein or
The device or device program (for example, computer program and computer program product) of person's whole.Such realization is of the invention
Program can store on a computer-readable medium, or may be in the form of one or more signals.Such signal
It can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal 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 present invention discloses A1, a kind of method shared for mobile terminal flow, comprising:
The starting of first movement terminal is specified in application, receiving the notice letter that the second mobile terminal has turned on the specified application
Breath;
The first movement terminal detects whether to trigger and second movement after receiving the notification information
The flow sharing operation of terminal, wherein there is the communication identifier of the first movement terminal online to exempt from flow permission;
The first movement terminal detects when triggering the flow sharing operation, and the communication identifier is sent to institute
The second mobile terminal is stated, so that when second mobile terminal sends interaction data by the specified application, based on described
All or part of data traffic that communication identifier generates during transmitting the interaction data by proxy server is by moving
Common carrier is included in specified services quotient.
A2, method as described in a1, the first movement terminal detect whether to trigger the flow with the second mobile terminal
Sharing operation, specifically:
The first movement terminal detect the first movement terminal the first screen and second mobile terminal the
Whether two screens are in a pre-determined distance;Or
The first movement terminal in a preset time period, detect the first screen of the first movement terminal with it is described
Whether number of the second screen of the second mobile terminal in a pre-determined distance is not less than preset times.
The described in any item methods of A3, such as A1-A2, the first movement terminal, which detects, triggers the shared behaviour of the flow
After work, the method also includes:
The default label that the first movement terminal Receiving Agent server is sent, and the default label is sent to institute
State the second mobile terminal, wherein the default label exempts from flow identifier to be described;Alternatively, the IP address of the proxy server
For preset IP address, the preset IP address exempts from flow identifier to be described.
The described in any item methods of A4, such as A1-A2, the first movement terminal, which detects, triggers the shared behaviour of the flow
After work, the method also includes:
The communication identifier of the first movement terminal and authentication information are sent to the distribution server, so that described point
Hair server verified based on the authentication information communication identifier have it is described exempt from flow permission after, to access net
Network process distributes the proxy server.
The described in any item methods of A5, such as A1-A2, in the network by mobile communication carrier to proxy server
Before sending interaction data, the method also includes:
It receives the distribution server and is the interim verification information of the first movement terminal distribution, and temporarily tested described
Card information is sent to second mobile terminal, wherein the interim verification information determines described the by the distribution server
One mobile terminal has described when exempting from flow permission, distributes for data exchange process.
B6, a kind of method shared for mobile terminal flow, comprising:
The starting of second mobile terminal is specified in application, corresponding notification information is sent to first movement terminal;
Second mobile terminal receives the communication identifier for the first movement terminal that first movement terminal is sent, wherein institute
It states first movement terminal and triggers and the shared behaviour of the flow of second mobile terminal starting the specified application and detect
When making, the second mobile terminal of Xiang Suoshu sends the communication identifier, and there is the communication identifier online to exempt from flow permission;
The interaction data sent by the specified application is passed through mobile communication carrier by second mobile terminal
Network is sent to proxy server, includes the communication identifier in the interaction data;
Second mobile terminal receives the first movement terminal based on described by the network of mobile communication carrier
Interaction data and the feedback data generated;
Wherein, data transmission of above-mentioned second mobile terminal in data exchange process is marked with the first movement terminal
Exempt from flow identifier, second mobile terminal carries out data exchange process by proxy server and the first movement terminal
All or part of data traffic of middle generation exempts from flow identifier based on described in by mobile communication carrier and is included in specified services
Shang Zhong.
B7, the method as described in B6, second mobile terminal by proxy server and the first movement terminal into
The partial data flow generated in row data exchange process is exempted from flow identifier based on described in by mobile communication carrier and is included in
In specified services quotient, specifically:
Second mobile terminal and the first movement terminal carry out the data flow of special ratios in data exchange process
Amount is counted into the specified services quotient;Or
Second mobile terminal and the first movement terminal carry out certain amount of data flow in data exchange process
Amount is counted into the specified services quotient;Or
Second mobile terminal and the first movement terminal carry out the data flow of specific content in data exchange process
Amount is counted into the specified services quotient.
B8, the method as described in B6, it is described to be 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.
B9, the method as described in B6, second mobile terminal by proxy server and the first movement terminal into
The partial data flow generated in row data exchange process is exempted from flow identifier based on described in by mobile communication carrier and is included in
In specified services quotient, comprising:
Comprising exempting from flow identifier, number corresponding to the interaction data in the interaction data that second mobile terminal is sent
Exempted from flow identifier based on described according to flow to be included in the specified services quotient;And/or
The feedback data generated based on the interaction data is exempted from flow identifier based on described in and is included in the specified clothes
It is engaged in quotient.
B10, the method as described in B6, in the interaction data that second mobile terminal will be sent by the specified application
Before being sent to proxy server by the network of mobile communication carrier, the method also includes:
Second mobile terminal receives the default label that the first movement terminal is sent, and the default label is described
Proxy server is sent to the first movement terminal;
Second mobile terminal carries the default label, institute when sending the interaction data by the specified application
It states default label and exempts from flow identifier to be described;Alternatively, the IP address of the proxy server is preset IP address, the default IP
Exempt from flow identifier described in being in address.
B11, the method as described in B10, second mobile terminal pass through proxy server and the first movement terminal
It carries out all or part of data traffic generated in data exchange process and exempts from flow identifier based on described by mobile communication carrier
It is included in specified services quotient, specifically:
Second mobile terminal is carried out with the first movement terminal
When the default label, all or part of data traffic generated in interactive process is included in the specified services quotient;Or
Second mobile terminal and the first movement terminal carry out the interaction data in data exchange process and pass through institute
The proxy server for stating preset IP address flows through all or part of data traffic of the preset IP address by the mobile communication
Operator is included in the specified services quotient.
The described in any item methods of B12, such as B6-B11 will be sent in second mobile terminal by the specified application
Interaction data proxy server is sent to by the network of mobile communication carrier before, the method also includes:
Second mobile terminal receives the address information for the proxy server that the first movement terminal is sent, wherein
The proxy server is that determine that the first movement terminal has by the distribution server described when exempting from flow permission, is handed over for data
Mutual process and distribute.
B13, as described in B12 method, in the interaction number that second mobile terminal will be sent by the specified application
Before being sent to proxy server according to the network by mobile communication carrier, the method also includes:
Second mobile terminal receives the interim verification information that the first movement terminal is sent, wherein described interim
Verification information by the distribution server determine the first movement terminal have it is described exempt from flow permission when, be data interaction
Journey and distribute;
It is described that proxy server is sent to by the network of mobile communication carrier, specifically:
The interaction data comprising carrying the interim verification information is sent to the proxy server, so that the agency takes
Business device verifies the legitimacy of the interaction data based on the interim verification information.
C14, a kind of mobile terminal, comprising:
Notification information receiving module, for specified in starting in application, receiving the second mobile terminal has turned on described specify
The notification information of application;
Detection module is triggered with second movement eventually for detecting whether after receiving the notification information
The flow sharing operation at end, wherein there is the communication identifier of the first movement terminal online to exempt from flow permission;
Communication identifier sending module, for detect trigger the flow sharing operation when, by the communication identifier
It is sent to second mobile terminal, so that when second mobile terminal sends interaction data by the specified application,
The all or part of data flow generated during transmitting the interaction data by proxy server based on the communication identifier
Amount is included in specified services quotient by mobile communication carrier.
C15, the mobile terminal as described in C14, the detection module, specifically for detecting the first screen of the mobile terminal
Whether curtain is with the second screen of second mobile terminal in a pre-determined distance;Or for detecting in a preset time period
Not whether number of the second screen of the first screen of the mobile terminal and second mobile terminal in a pre-determined distance
Less than preset times.
The described in any item mobile terminals of C16, such as C14-C15, the mobile terminal further include:
Default label receiving module, for receiving the agency after detecting and triggering the flow sharing operation
The default label that server device is sent;
Default label sending module, is also used to the default label being sent to second mobile terminal, wherein described
Default label exempts from flow identifier described in being;Alternatively, the IP address of the proxy server is preset IP address, the default IP
Exempt from flow identifier described in being in location.
The described in any item mobile terminals of C17, such as C14-C15, the mobile terminal further include:
Authentication information sending module, for after detecting and triggering the flow sharing operation, by the shifting
The communication identifier and authentication information of dynamic terminal are sent to the distribution server;
Proxy server information receiving module, for receiving the address letter for the proxy server that the distribution server is sent
Breath, the proxy server be the distribution server be based on the authentication information verify the communication identifier have it is described
After exempting from flow permission, for the access network development process distribution;
Proxy server information sending module is also used to the address information of the proxy server being sent to described second
Mobile terminal.
C18, the mobile terminal as described in C17, the mobile terminal further include:
Interim verification information receiving module, is visited for sending in the network by mobile communication carrier to proxy server
Before the interaction data for asking network, the interim verification information that the distribution server is distributed for data exchange process is received,
Interim verification information sending module, for the interim verification information to be sent to second mobile terminal,
In, the interim verification information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, for institute
State mobile terminal distribution.
D19, a kind of mobile terminal, comprising:
Notification information sending module, for specified in starting in application, corresponding notification information is sent to the second movement
Terminal;
Communication identifier receiving module, for receiving the communication for second mobile terminal that second mobile terminal is sent
Mark, wherein second mobile terminal is starting the specified application and detecting the stream triggered with the mobile terminal
When measuring sharing operation, Xiang Suoshu mobile terminal sends the communication identifier, and there is the communication identifier online to exempt from flow permission;
Interaction data sending module, the interaction data for being sent by the specified application pass through mobile communication carrier
Network be sent to proxy server, include the communication identifier in the interaction data;
Feedback data receiving module receives second mobile terminal for the network by mobile communication carrier and is based on
The interaction data and the feedback data generated;
Wherein, data transmission of the above-mentioned mobile terminal in data exchange process is marked with exempting from for second mobile terminal
Flow identifier, what the mobile terminal generate in data exchange process by proxy server and second mobile terminal
All or part of data traffic is exempted from flow identifier based on described in by mobile communication carrier and is included in specified services quotient.
D20, the mobile terminal as described in D19, the mobile terminal further include:
Default label receiving module, for passing through mobile communication operators in the interaction data sent by the specified application
The network of quotient is sent to before proxy server, receives the default label that second mobile terminal is sent, the default label
It is that the proxy server sends to second mobile terminal and described sends the interaction by the specified application
The default label is carried when data, the default label exempts from flow identifier to be described;Alternatively, the IP of the proxy server
Location is preset IP address, and the preset IP address exempts from flow identifier to be described.
The described in any item mobile terminals of D21, such as D19-D20, the mobile terminal further include:
Address information receiving module, for passing through mobile communication operators in the interaction data sent by the specified application
The network of quotient is sent to before proxy server, receives the address letter for the proxy server that second mobile terminal is sent
Breath, wherein the proxy server is to determine that second mobile terminal has when exempting from flow permission by the distribution server, for number
It is distributed according to interactive process.
D22, the mobile terminal as described in D21, the mobile terminal further include:
Verification information receiving module, for sending access net to proxy server in the network by mobile communication carrier
Before the interaction data of network, the interim verification information that second mobile terminal is sent is received, wherein the interim verification information
By the distribution server determine second mobile terminal have it is described exempt from flow permission when, distributed for data exchange process
's;
The interaction data sending module is also used to send to the proxy server comprising carrying the interim verifying letter
The interaction data of breath, so that the proxy server verifies the legitimacy of the interaction data based on the interim verification information.