CN105101140A - Traffic-saving method for visiting network, proxy server and network access system - Google Patents

Traffic-saving method for visiting network, proxy server and network access system Download PDF

Info

Publication number
CN105101140A
CN105101140A CN201510374915.3A CN201510374915A CN105101140A CN 105101140 A CN105101140 A CN 105101140A CN 201510374915 A CN201510374915 A CN 201510374915A CN 105101140 A CN105101140 A CN 105101140A
Authority
CN
China
Prior art keywords
mobile terminal
proxy server
data
network
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510374915.3A
Other languages
Chinese (zh)
Inventor
肖成凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510374915.3A priority Critical patent/CN105101140A/en
Publication of CN105101140A publication Critical patent/CN105101140A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Abstract

The invention relates to the field of communication and discloses a traffic-saving method for visiting a network, a proxy server and a network access system, aiming to solve the technical problem in the prior art that a user of a mobile terminal spends a lot of data traffic of the mobile terminal in visiting the network. The method comprises the steps that the proxy server receives a data access request for visiting the network of the mobile terminal through the network of a mobile communication operator; the proxy server sends the data access request to a resource compression server, so that the resource compression server acquires required data from a resource server based on the data access request, and compresses the required data; the proxy server receives the compressed required data sent from the resource compression server; the proxy server sends the compressed required data to the mobile terminal through the network of the mobile communication operator; and the data traffic cost in network access is charged in an assigned service provider. Through adoption of the method, the technical effect of reduction of data traffic cost in network access by the mobile terminal is achieved.

Description

The method of a kind of province stream accesses network, proxy server and network access system
Technical field
The present invention relates to the communications field, particularly relate to the method for a kind of province stream accesses network, proxy server and network access system.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and the kind of electronic product also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings.Present people can pass through various types of mobile terminal, enjoy the comfortable life along with development in science and technology brings.Such as, the mobile terminal such as smart mobile phone, panel computer has become an important part in people's life, user can use the mobile terminal such as smart mobile phone, panel computer to listen to the music, play games etc., to live the pressure brought to alleviate modern fast pace.
Under normal circumstances, mobile terminal all possesses network access functions, and mobile terminal needs the data traffic of the user consuming mobile terminal when accesses network, according to the data traffic consumed to operator's payment of providing services on the Internet.Owing to can only carry out charging by operator to the data traffic that user uses in prior art, so cause in prior art, the customer access network of mobile terminal needs the technical problem expending a large amount of data traffic of mobile terminal;
And due to mobile terminal network traffics costly, thus, force the user of mobile terminal to have to pay a large amount of expenses for this reason, so, significantly reduce the enthusiasm of customer access network, be unfavorable for the universal of mobile interchange technology and development.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of the province's stream method of accesses network, proxy server and the network access system that overcome the problems referred to above or solve the problem at least in part.
According to one aspect of the present invention, provide a kind of province to flow the method for accesses network, comprising:
Proxy server mobile terminal receive is by the data access request of the access to netwoks network of mobile communication carrier, and comprise the communication identifier of described mobile terminal in described data access request, described communication identifier possesses online and exempts from flow authority;
Described data access request is sent to resource compression service device by described proxy server, obtains requested date compress described requested date to make described resource compression service device based on described data access request from Resource Server;
Described proxy server receives the compressed described requested date that described resource compression service device sends;
Compressed described requested date is sent to described mobile terminal by the network of described mobile communication carrier by described proxy server;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.
Optionally, described method also comprises:
Described resource compression service device compresses described requested date by lossy compression method mode; And/or,
Described resource compression service device compresses described requested date by Lossless Compression mode.
Optionally, described resource compression service device compresses described requested date by lossy compression method mode, comprising:
The display size of described view data, when described requested date comprises view data, is reduced into the second display size adapted with the display unit of described mobile terminal by described resource compression service device by the first display size; And/or,
Described resource compression service device, when described requested date comprises code data, is sent to described mobile terminal after being removed by the redundant code in described code data.
Optionally, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process, comprising:
Comprise in the data access request that described mobile terminal sends and exempt from flow identifier, the data traffic corresponding to described data access request is counted in described specified services business based on described flow identifier of exempting from; And/or,
The data traffic of compressed described requested date is counted in described specified services business by based on described flow identifier of exempting from.
Optionally, described method also comprises:
Described proxy server sends to described mobile terminal and presets label, carries described default label when carrying out transfer of data in described mobile terminal network visiting process, described default label for described in exempt from flow identifier; Or,
The IP address of described proxy server is preset IP address, described preset IP address for described in exempt from flow identifier.
Optionally, described method also comprises:
Described proxy server adds up the data traffic information spent by described mobile terminal according to the measurement period preset, and knows that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
Optionally, described method also comprises:
Data traffic information spent by described mobile terminal is sent to Distributor by described proxy server;
Described Distributor, based on the data traffic information spent by described mobile terminal, determines that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
Optionally, also comprise:
Distributor receives communication identifier and the authentication information of described mobile terminal;
Based on the communication identifier of described mobile terminal and authentication information, described Distributor is verified whether described communication identifier possesses and is exempted from flow authority;
Described Distributor determine described communication identifier possess described in exempt from flow authority time, for described mobile terminal distributes described proxy server.
Optionally, data are transmitted by the first host-host protocol between described mobile terminal and described proxy server; And/or compressed by the second host-host protocol between described proxy server and described resource compression service device and transmit data, described second host-host protocol is different from described first host-host protocol.
Optionally, described first host-host protocol is specially: Http agreement; Described second host-host protocol is specially: Spdy agreement.
Optionally, described Distributor determine described communication identifier possess described in exempt from flow authority time, for described mobile terminal distributes described proxy server, specifically comprise:
Described Distributor obtains described communication identifier and adopts the charging way of described specified services business to carry out the free residual flow information of charging;
Based on described free residual flow information, described Distributor judges whether the free residual flow of described communication identifier is greater than predetermined amount;
Described Distributor when described free residual flow is greater than described predetermined amount, for described mobile terminal distributes described proxy server.
Optionally, also comprise:
Described Distributor generates interim authorization information, and described interim authorization information is sent to described mobile terminal and described proxy server;
Described proxy server mobile terminal receive, by the data access request of the access to netwoks network of mobile communication carrier, is specially: described proxy server receives the described data access request of carrying described authentication information that described mobile terminal sends;
Described data access request is sent to resource compression service device by described proxy server, comprising:
Described proxy server verifies the legitimacy of described data access request based on described interim authorization information; And when described data access request is legal, described data access request is sent to described resource compression service device.
Optionally, after described proxy server points out described mobile terminal to log off, described Distributor nullifies described interim authorization information.
Optionally, if described proxy server points out described mobile terminal to log off, then also comprise:
The initial surf time of described mobile terminal, the data traffic information that terminates surf time and consumption are sent to Distributor by described proxy server;
The free residual flow of data traffic information to described mobile terminal that described Distributor sends based on described proxy server is added up.
Optionally, described for after described mobile terminal distributes described proxy server, described method also comprises:
Described free residual flow information is sent to described proxy server by described Distributor;
Described data access request is sent to resource compression service device by described proxy server, specifically comprise: based on described free residual flow information, described proxy server, after receiving described data access request, judges whether the up-to-date free residual flow of described mobile terminal is greater than predetermined amount; When described up-to-date free residual flow information is greater than described predetermined amount, described data access request is sent to described resource compression service device.
According to another invention of the present invention, a kind of proxy server is provided, comprises:
First receiver module, for the data access request of mobile terminal receive by the access to netwoks network of mobile communication carrier, comprise the communication identifier of described mobile terminal in described data access request, described communication identifier possesses online and exempts from flow authority;
First sending module, for described data access request is sent to resource compression service device, obtains requested date compress described requested date based on described data access request from Resource Server to make described resource compression service device;
Second receiver module, for receiving the compressed described requested date that described resource compression service device sends;
Second sending module, for being sent to described mobile terminal by compressed described requested date by the network of described mobile communication carrier;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.
Optionally, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process, comprising:
Comprise in the data access request that described mobile terminal sends and exempt from flow identifier, the data traffic corresponding to described data access request is counted in described specified services business based on described flow identifier of exempting from; And/or,
The data traffic of compressed described requested date is counted in described specified services business by based on described flow identifier of exempting from.
Optionally, described proxy server also comprises:
3rd sending module, presetting label for sending to described mobile terminal, carrying described default label when carrying out transfer of data in described mobile terminal network visiting process, described default label for described in exempt from flow identifier; Or,
The IP address of described proxy server is preset IP address, described preset IP address for described in exempt from flow identifier.
According to a further aspect of the invention, a kind of network access system is provided, comprise proxy server and resource compression service device that any embodiment of the present invention introduces, described resource compression service device comprises: the first compression module, for compressing described requested date by lossy compression method mode; And/or,
Second compression module, for compressing described requested date by Lossless Compression mode.
Optionally, described first compression module, for:
When described requested date comprises view data, the display size of described view data is reduced into the second display size adapted with the display unit of described mobile terminal by the first display size; And/or,
When described requested date comprises code data, after being removed by the redundant code in described code data, be sent to described mobile terminal.
Optionally, described proxy server also comprises:
First statistical module, for adding up the data traffic information spent by described mobile terminal according to the measurement period preset, knows that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
Optionally, described system also comprises: Distributor;
Described proxy server also comprises: the 4th sending module, for the data traffic information spent by described mobile terminal is sent to described Distributor;
Described Distributor, comprising: determination module, for based on the data traffic information spent by described mobile terminal, determines that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
Optionally, described Distributor also comprises:
3rd receiver module, for receiving communication identifier and the authentication information of described mobile terminal;
Authentication module, exempts from flow authority for verifying whether described communication identifier possesses based on the communication identifier of described mobile terminal and authentication information;
Distribution module, for determine described communication identifier possess described in exempt from flow authority time, for described mobile terminal distributes described proxy server.
Optionally, data are transmitted by the first host-host protocol between described mobile terminal and described proxy server; And/or compressed by the second host-host protocol between described proxy server and described resource compression service device and transmit data, described second host-host protocol is different from described first host-host protocol.
Optionally, described first host-host protocol is specially: Http agreement; Described second host-host protocol is specially: Spdy agreement.
Optionally, described distribution module, specifically comprises:
Acquiring unit, adopts the charging way of described specified services business to carry out the free residual flow information of charging for obtaining described communication identifier;
Based on described free residual flow information, judging unit, for judging whether the free residual flow of described communication identifier is greater than predetermined amount;
Allocation units, for when described free residual flow is greater than described predetermined amount, for described mobile terminal distributes described proxy server.
Optionally, described Distributor also comprises:
Generation module, for generating interim authorization information, and is sent to described mobile terminal and described proxy server by described interim authorization information;
Described first receiver module, receives the described data access request of carrying described authentication information of described mobile terminal transmission specifically for described proxy server;
Described grade one sending module, specifically for verifying the legitimacy of described data access request based on described interim authorization information; And when described data access request is legal, described data access request is sent to described resource compression service device.
Optionally, described Distributor, also comprises:
Cancellation module, after pointing out described mobile terminal to log off at described proxy server, nullifies described interim authorization information.
Optionally, described proxy server also comprises:
5th sending module, if point out described mobile terminal to log off for described proxy server, then sends to Distributor by the initial surf time of described mobile terminal, the data traffic information that terminates surf time and consumption;
Described Distributor, also comprises the second statistical module, adds up for the free residual flow of data traffic information to described mobile terminal sent based on described proxy server.
Optionally, described Distributor also comprises:
6th sending module, for being sent to described proxy server by described free residual flow information;
Based on described free residual flow information, described first sending module, for judging whether the up-to-date free residual flow of described mobile terminal is greater than predetermined amount; When described up-to-date free residual flow information is greater than described predetermined amount, described data access request is sent to described resource compression service device.
Optionally, also comprise: the mobile terminal that any embodiment of the present invention is introduced.
According to a further aspect of the invention, a kind of method economizing stream accesses network for mobile terminal is provided, comprises:
Data access request is sent to proxy server by the network of mobile communication carrier, the communication identifier of described mobile terminal is comprised in described data access request, described communication identifier possesses online and exempts from flow authority, to make described proxy server that described data access request is sent to resource compression service device, described data access request is used for described resource compression service device and obtains requested date from Resource Server and compress described requested date;
By the compressed described requested date that proxy server described in the network reception of described mobile communication carrier sends, compressed described requested date is sent to described proxy server by described resource compression service device;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.
Optionally, described compressed requested date is specially: the requested date crossed by lossy compression method; And/or by requested date that Lossless Compression is crossed.
Optionally, described mobile terminal is counted specified services business and is comprised by Mobile Network Operator based on described flow identifier of exempting from by all or part of data traffic that produces in proxy server accesses network process:
Comprise in the data access request that described proxy server sends and exempt from flow identifier, the data traffic corresponding to described data access request is counted in described specified services business based on described flow identifier of exempting from; And/or,
The data traffic of compressed described requested date is counted in described specified services business by based on described flow identifier of exempting from.
Optionally, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in proxy server accesses network process, is specially:
Determine comprise described default label in the data in described mobile terminal network visiting process time, all or part of data traffic in described mobile terminal network visiting process is counted in described specified services business; Or
Transfer of data in described mobile terminal network visiting process is through the proxy server of described preset IP address, when described Mobile Network Operator carries out charging, all or part of data traffic flowing through described preset IP address is counted in described specified services business.
Optionally, before the described network by mobile communication carrier sends data access request to proxy server, described method also comprises:
Obtain the described proxy server that distributes for described accesses network process of Distributor, the IP address of described proxy server is preset IP address, described preset IP address for described in exempt from flow identifier; Or
Obtain the default label that described proxy server distributes for described accesses network process, when carrying out transfer of data in described accesses network process, carry described default label, described default label for described in exempt from flow identifier.
Optionally, to send the data access request of accesses network to proxy server at the described network by mobile communication carrier before, described method also comprises:
The communication identifier of described mobile terminal and authentication information are sent to Distributor, with make described Distributor verify based on described authentication information described communication identifier possess described in exempt from flow authority after, for described accesses network process distributes described proxy server.
Optionally, to send the data access request of accesses network to proxy server at the described network by mobile communication carrier before, described method also comprises:
Receive described Distributor be described mobile terminal distribute interim authorization information, wherein, described interim authorization information by described Distributor determine described mobile terminal possess described in exempt from flow authority time, for described mobile terminal distributes;
The described network by mobile communication carrier sends the data access request of accesses network to proxy server, be specially:
Comprise the data access request of carrying described interim authorization information to described proxy server, verify the legitimacy of described data access request to make described proxy server based on described interim authorization information.
Optionally, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by the partial data flow produced in described proxy server accesses network process, is specially:
In described mobile terminal network visiting process, the data traffic of special ratios is counted into described specified services business; Or
In described mobile terminal network visiting process, the data traffic of specific quantity is counted into described specified services business; Or
In described mobile terminal network visiting process, the data traffic of certain content is counted into described specified services business.
Optionally, described in count in specified services business, comprising: by corresponding data flow produce expense count specified services business account consumption expense.
According to a further aspect of the invention, a kind of mobile terminal is provided, comprises:
7th sending module, data access request is sent to proxy server for the network by mobile communication carrier, the communication identifier of described mobile terminal is comprised in described data access request, described communication identifier possesses online and exempts from flow authority, to make described proxy server that described data access request is sent to resource compression service device, described data access request is used for described resource compression service device and obtains requested date from Resource Server and compress described requested date;
4th receiver module, for the compressed described requested date that proxy server described in the network reception by described mobile communication carrier sends, compressed described requested date is sent to described proxy server by described resource compression service device;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.
Optionally, described compressed requested date is specially: the requested date crossed by lossy compression method; And/or by requested date that Lossless Compression is crossed.
Optionally, described mobile terminal is counted specified services business and is comprised by Mobile Network Operator based on described flow identifier of exempting from by all or part of data traffic that produces in proxy server accesses network process:
Comprise in the data access request that described proxy server sends and exempt from flow identifier, the data traffic corresponding to described data access request is counted in described specified services business based on described flow identifier of exempting from; And/or,
The data traffic of compressed described requested date is counted in described specified services business by based on described flow identifier of exempting from.
Optionally, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in proxy server accesses network process, is specially:
Determine comprise described default label in the data in described mobile terminal network visiting process time, all or part of data traffic in described mobile terminal network visiting process is counted in described specified services business; Or
Transfer of data in described mobile terminal network visiting process is through the proxy server of described preset IP address, when described Mobile Network Operator carries out charging, all or part of data traffic flowing through described preset IP address is counted in described specified services business.
Optionally, described mobile terminal also comprises: the first acquisition module, for obtaining the described proxy server that Distributor distributes for described accesses network process, the IP address of described proxy server is preset IP address, described preset IP address for described in exempt from flow identifier; Or
Second acquisition module, for obtaining the default label that described proxy server distributes for described accesses network process, carries described default label when carrying out transfer of data in described accesses network process, described default label for described in exempt from flow identifier.
Optionally, described mobile terminal also comprises:
8th sending module, for before the data access request being sent accesses network by the network of mobile communication carrier to proxy server, the communication identifier of described mobile terminal and authentication information are sent to Distributor, with make described Distributor verify based on described authentication information described communication identifier possess described in exempt from flow authority after, for described accesses network process distributes described proxy server.
Optionally, described mobile terminal also comprises:
3rd acquisition module, for before the data access request being sent accesses network by the network of mobile communication carrier to proxy server, receiving described Distributor is the interim authorization information that described mobile terminal distributes, wherein, described interim authorization information by described Distributor determine described mobile terminal possess described in exempt from flow authority time, for described mobile terminal distributes;
Described 7th sending module, specifically for:
Comprise the data access request of carrying described interim authorization information to described proxy server, verify the legitimacy of described data access request to make described proxy server based on described interim authorization information.
Optionally, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by the partial data flow produced in described proxy server accesses network process, is specially:
In described mobile terminal network visiting process, the data traffic of special ratios is counted into described specified services business; Or
In described mobile terminal network visiting process, the data traffic of specific quantity is counted into described specified services business; Or
In described mobile terminal network visiting process, the data traffic of certain content is counted into described specified services business.
Optionally, described in count in specified services business, comprising: by corresponding data flow produce expense count specified services business account consumption expense.
According to the method for province provided by the invention stream accesses network, proxy server mobile terminal receive is by the data access request of the access to netwoks network of mobile communication carrier, comprise the communication identifier of mobile terminal in data access request, communication identifier possesses online and exempts from flow authority; Data access request is sent to resource compression service device by proxy server, obtains requested date compress requested date to make resource compression service device based on data access request from Resource Server; Proxy server receives the compressed requested date that resource compression service device sends; Compressed requested date is sent to mobile terminal by the network of mobile communication carrier by proxy server; Wherein, transfer of data in mobile terminal network visiting process is marked with exempts from flow identifier, and mobile terminal is counted in specified services business based on exempting from flow identifier by Mobile Network Operator by all or part of data traffic produced in proxy server accesses network process.That is, when mobile terminal network visiting, the data traffic spent by specified services business can be expended in whole or in part, and partly or completely do not need the data traffic consuming mobile terminal, need the technical problem of a large amount of flows expending mobile terminal when alleviating accesses network in prior art thus, reach the technique effect of the data traffic expended when reducing mobile terminal network visiting; Thereby, it is possible to significantly improve the enthusiasm of customer access network, thus be conducive to the wide-scale distribution of the Web content on the Internet;
And the program transfers to mobile terminal after requested date can compress by acquisition requested date, so improve response speed, and can reduce the data traffic spent by specified services business.
And, in such scheme, after Distributor to be possessed by the communication identifier of mobile terminal and authentication information determination mobile terminal and exempts from flow authority, just be used in mobile terminal in order to avoid the proxy server of flow mode accesses network for mobile terminal divides, thus can prevent the user of immobile terminal from falsely using the free flow of mobile terminal;
And, in embodiments of the present invention, Distributor, when determining that the free residual flow of communication identifier is greater than predetermined amount, is just mobile terminal assignment agent server, thus accurately can control the free data traffic that specified services business is supplied to mobile terminal;
And, in embodiments of the present invention, when proxy server prompting mobile terminal is logged off, Distributor nullifies interim authorization information, thus can ensure that an interim authorization information only can use an accesses network process, thus can further prevent the user of immobile terminal from falsely using the free flow of mobile terminal.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the interaction figure of the exchange method economizing stream accesses network according to an embodiment of the invention;
Fig. 2 shows the flow chart of the method economizing stream accesses network according to an embodiment of the invention;
Fig. 3 shows the schematic diagram of proxy server according to an embodiment of the invention;
Fig. 4 shows the schematic diagram of network access system according to an embodiment of the invention;
Fig. 5 shows the flow chart of the method economizing stream accesses network according to an embodiment of the invention for mobile terminal;
Fig. 6 shows the schematic diagram of mobile terminal according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiments provide a kind of province stream method of accesses network, proxy server and network access system, during in order to solve the mobile terminal network visiting of prior art, need to expend the technical problem of a large amount of data traffic of mobile terminal.
The embodiment of the present invention provides a kind of province to flow the exchange method of accesses network, as shown in Figure 1, for the interaction figure of the method, equipment involved by the method comprises: mobile terminal, Distributor, proxy server, resource compression service device and Resource Server, wherein, mobile terminal is such as: mobile phone, panel computer etc., and the user of mobile terminal is terminal use; Distributor is mainly used in as mobile terminal provides authentication, selects proxy server; The mobile terminal that proxy server is mainly used for exempting from for possessing online flow authority provides network access service; Resource compression service device be mainly used in mobile terminal send upstream data and send to the downlink data of mobile terminal to compress; Resource Server is provided by internet content provider usually, for utilizing the Internet resources of the Internet to provide rich and varied Web content for terminal use, such as: video, webpage, picture etc.
Please refer to Fig. 1, the exchange method of this province stream accesses network, comprises the following steps:
Step S110: proxy server mobile terminal receive is by the data access request of the access to netwoks network of mobile communication carrier, and comprise the communication identifier of mobile terminal in data access request, communication identifier possesses online and exempts from flow authority;
Step S120: data access request is sent to resource compression service device by proxy server;
Step S130: resource compression service device obtains requested date compress requested date based on data access request from Resource Server;
Step S140: proxy server receives the compressed requested date that resource compression service device sends;
Step S150: compressed requested date is sent to mobile terminal by the network of mobile communication carrier by proxy server;
Wherein, transfer of data in mobile terminal network visiting process is marked with exempts from flow identifier, and mobile terminal is counted in specified services business based on exempting from flow identifier by Mobile Network Operator by all or part of data traffic produced in proxy server accesses network process.
As the optional implementation of one, pass through the data access request of the access to netwoks network of mobile communication carrier at proxy server mobile terminal receive before, mobile terminal needs to be defined as the proxy server that it provides network access service, wherein, its communication identifier directly can be sent Distributor by mobile terminal, judge whether this communication identifier possesses by Distributor and exempt from flow authority, Distributor determine it possess exempt from flow authority time, for mobile terminal assignment agent server, otherwise it is not mobile terminal assignment agent server.
And in order to prevent the communication identifier of mobile terminal from being falsely used, improve the fail safe of access to netwoks, as another kind of optional embodiment, determine that the process of proxy server is please continue to refer to Fig. 1, comprise the following steps:
Step S101: the communication identifier of Distributor mobile terminal receive and authentication information;
Step S102: whether Distributor possesses based on the communication identifier of mobile terminal and authentication information checking communication identifier is exempted from flow authority;
Step S103: Distributor determine communication identifier possess exempt from flow authority time, be mobile terminal assignment agent server.
For example, before step S101, mobile terminal can in advance by the communication identifier of the modes such as registration at Distributor binding mobile terminal, such as: first mobile terminal can exempt from traffic service to Distributor application, Distributor is after the application receiving mobile terminal, according to some prerequisites (such as: whether the software of initiating this application is predetermined software, whether this mobile terminal employs predetermined software, whether this communication identifier is in specified services business registration etc.) determine whether to exempt from flow authority to the distribution of the communication identifier of this mobile terminal, if Distributor is determined to exempt from flow authority to the distribution of this mobile terminal, then Distributor can send a UserKey (user cipher) as authentication information to mobile terminal, further, Distributor is in order to ensure that the communication identifier of mobile terminal is not falsely used by other users, then first can send an identifying code to communication identifier, after the user of mobile terminal successfully fills in this identifying code, just distribute authentication information to mobile terminal.
In addition, Distributor the accesses network process for mobile terminal provide exempt from stream service time, flow restriction can not be there is, also flow restriction can be there is, wherein there is not flow restriction to refer to, no matter this mobile terminal is accumulated in accesses network process uses how many flows, require just to provide to it to exempt from flow authority as long as meet to exempt to flow, such as: Distributor can be some mobile terminal terminal iidentification (such as: particular vendors produce mobile terminal, use mobile terminal of the operating system of particular type etc.) VIP identity is set, and then endless the exempting from of the terminal iidentification being supplied to these mobile terminals is flowed, and flow restriction can be there is for non-VIP user, there is flow restriction to refer to and distribute particular flow rate in this mobile terminal every section scheduled time, if the total flow that mobile terminal accumulates use in accesses network process does not exceed this particular flow rate, then when its meet exempt from stream require, flow authority is exempted to its distribution, if and the total flow that mobile terminal uses in accesses network process exceedes particular flow rate, then do not exempt from flow authority to its distribution, such as, the free flow of 30M, the free flow of 50M etc. within one month, can be distributed for mobile terminal.
In a kind of optional embodiment, if there is flow restriction in the free flow that Distributor distributes to mobile terminal, then the user of mobile terminal can also by some movable data traffics obtaining Distributor and reward, such as: click pre-determined advertisement by mobile terminal, click predetermined webpage, download predetermined APP etc., in this case, Distributor can increase to the data traffic that mobile terminal distributes, such as: 30M, 40M etc.Such as, and if then mobile terminal needs accesses network: detect that the user of mobile terminal starts the operation of browser, then the communication identifier of oneself and authentication information can be sent to Distributor by mobile terminal.
In step S102, Distributor judges whether the authentication information of this communication identifier received mates with the authentication information of this communication identifier prestored, if coupling, then illustrate that corresponding mobile terminal possesses and exempt from flow authority, otherwise illustrate that corresponding mobile terminal does not possess and exempt from flow authority.
In step S103, if Distributor is the flow authority of exempting from that mobile terminal distributes do not have flow restriction, then Distributor is after determining that mobile terminal possesses and exempts from flow authority, can be directly its assignment agent server; And if the flow authority of exempting from that Distributor is mobile terminal distribution has flow restriction, then Distributor is after determining that mobile terminal possesses and exempts from flow authority, also need to judge that whether its residual flow is more than a threshold value, just give mobile terminal assignment agent server when exceeding this threshold value, its processing procedure specifically comprises the following steps: Distributor obtaining communication mark adopts the charging way of specified services business to carry out the free residual flow information of charging; Judge whether the free residual flow of communication identifier is greater than predetermined amount (threshold value as above) based on free residual flow information; When free residual flow is greater than predetermined amount, it is mobile terminal assignment agent server.
Under normal circumstances, one of effect of Distributor is exactly the free residual flow information of statistics communication identifier, predetermined amount is such as: 0M, 1M, 512K etc., if free residual flow is greater than predetermined amount, then illustrate under normal circumstances, this exempts from stream residual flow can meet this access to netwoks, so can give its assignment agent server; And if free residual flow is not more than predetermined amount, then illustrate under normal circumstances, this free residual flow can not meet this access to netwoks, so do not give its assignment agent server.
Wherein, Distributor is when giving mobile terminal assignment agent server, chosen distance mobile terminal physical position is nearest from multiple proxy server proxy server can distribute to mobile terminal, also the lightest proxy server of offered load can be selected to distribute to mobile terminal, or select the minimum proxy server of network delay to distribute to mobile terminal etc., or adopt at least two kinds of strategies in above-mentioned multiple distribution policy to consider to select, which kind of mode is adopted to be mobile terminal assignment agent server for Distributor, the embodiment of the present invention no longer itemizes, and be not restricted.
Wherein, as a kind of optional embodiment, when distribute for mobile terminal exempt from flow authority there is no a flow restriction, if mobile terminal possesses exempt from flow authority, then Distributor can generate interim authorization information (token) for this accesses network process of mobile terminal; Or, when distribute for mobile terminal exempt from flow authority there is flow restriction, if mobile terminal possesses and exempts from flow authority and the free residual flow of mobile terminal is greater than predetermined amount, then Distributor also can generate interim authorization information.
In addition, in order to ensure that subsequent movement terminal can be connected to proxy server, Distributor needs some data to be sent to proxy server, the four kinds of data enumerated below are wherein introduced, certainly, in specific implementation process, be not limited to following four kinds of situations.1. the communication identifier of mobile terminal is sent to proxy server by Distributor; 2. the communication identifier of mobile terminal, interim authorization information are sent to proxy server by Distributor; 3. the communication identifier of mobile terminal, free residual flow are sent to proxy server by Distributor; 4. the communication identifier of mobile terminal, free residual flow, interim authorization information are sent to proxy server by Distributor.
In addition, the address information of proxy server also needs to be supplied to mobile terminal, and wherein the address information of proxy server directly can be sent to mobile terminal by Distributor; Also by proxy server after the communication identifier receiving mobile terminal, mobile terminal can be sent it to by the communication identifier of mobile terminal.Step S104 is as shown in Figure 1 the process of the mobile terminal address information of proxy server be sent to by Distributor.
Just can set up mobile terminal, proxy server based on above step, between resource compression service device and Resource Server, exempt from circulation road, set up above-mentioned exempt from circulation road after, when mobile terminal passes through the access to netwoks network of mobile communication carrier, the flow that mobile communication carrier just can be expended counts in specified services business.
In step S110, if Distributor does not distribute interim authorization information for this accesses network process in step S101 ~ S103, then data access request is directly sent to proxy server by mobile terminal; If Distributor is assigned interim authorization information for this accesses network process in step S101 ~ S103, then the data access request of carrying interim authorization information is sent to proxy server by mobile terminal.In step S120, proxy server can after the data access request receiving mobile terminal transmission, just directly send it to resource compression service device, and based on before Distributor to proxy server send different information, proxy server also first can carry out some proof procedures, and the three kinds of proof procedures enumerated below are wherein introduced, certainly, in specific implementation process, be not limited to following three kinds of situations.
1. the data that Distributor is sent to proxy server comprise the communication identifier of mobile terminal and interim authorization information, in this case, the data access request that mobile terminal sends also can comprise interim authorization information, then proxy server is when legal by interim authorization information verification msg access request, data access request is sent to resource compression service device.Wherein, the interim authorization information that mobile terminal sends by proxy server and the interim authorization information that Distributor sends match, if the match is successful, then illustrate that this data access request is legal, otherwise illustrate that this data access request is illegal.The fail safe of this accesses network process can be ensured by such scheme.
2. the data that Distributor is sent to proxy server comprise the communication identifier of mobile terminal and free residual flow information, then proxy server is after receiving data access request, first judges whether the up-to-date free residual flow of mobile terminal is greater than predetermined amount based on free residual flow information; When up-to-date free residual flow information is greater than predetermined amount, data access request is sent to resource compression service device, if and up-to-date free residual flow information is not more than predetermined amount, then inform mobile terminal, allow mobile terminal by other access path access resources server (such as: directly data access request be sent to Resource Server or directly data access request be sent to resource compression service device etc.).By such scheme, specified services business can be made to provide the free data traffic of specified quantitative to mobile terminal.
Wherein, if judged that the free residual flow of mobile terminal was greater than predetermined amount at Distributor, then proxy server is when receiving data access request first, does not need to judge whether up-to-date free residual flow (also i.e. the free residual flow that sends of Distributor) is greater than predetermined amount; But the data traffic that direct this network access request of statistics expends, then it is deducted this data traffic from the free residual flow that Distributor sends, then can obtain up-to-date free data traffic; By judging whether up-to-date free data traffic is greater than predetermined amount to determine whether, data access request can be sent to resource compression service device in follow-up.
In addition, proxy server also can according to preset measurement period statistics mobile terminal spent by data traffic information, know that mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
For example, the measurement period preset is such as: the statistics time interval preset, the statistics time interval preset is such as 30s, 50s, 1min etc., proxy server can arrange timer, every prefixed time interval, just obtain the data traffic that the mobile terminal of its statistics is spent in current time interval, and obtain the up-to-date free residual flow information of mobile terminal based on this data flux statistics.
The measurement period preset is such as again: the statistic flow preset, the statistic flow preset is 512k, 1M etc., proxy server can be monitored the data traffic spent by this mobile terminal, often expend default statistic flow, then the statistic flow preset according to this determines the up-to-date free residual flow information of mobile terminal.
By such scheme, the up-to-date residual flow information obtaining mobile terminal in time can be ensured.
Certainly, proxy server, after measurement period counts the data traffic information spent by mobile terminal, also can be sent Distributor, is added up the up-to-date free residual flow information of mobile terminal by Distributor.
Wherein, Distributor can also be sent mobile terminal or be informed when mobile terminal enquiry after obtaining the data traffic information spent by mobile terminal; Or Distributor is after the up-to-date free residual flow information determining mobile terminal, also mobile terminal can be sent it to, and then enable mobile terminal to present flow rate service condition and then a understanding, then select preferably network access policies.Or inform when mobile terminal enquiry.
3. the data that Distributor is sent to proxy server comprise the communication identifier of mobile terminal, free residual flow information and interim authorization information, in this case, then proxy server is verifying that by interim authorization information this data access request is legal and up-to-date free residual flow information is greater than predetermined amount, data access request is sent to resource compression service device.The fail safe of this accesses network process can either be ensured by the program, can ensure that again specified services business only provides the free flow of predetermined amount to mobile terminal.In step 130, data access request, after the data access request receiving proxy server transmission, is just sent to Resource Server by resource compression service device, and then obtains requested date from Resource Server; Wherein, resource compression service device is after obtaining requested date from Resource Server, just compression process is carried out to requested date, in specific implementation process, can carry out compression process to requested date in several ways, the two kinds of modes enumerated below are wherein introduced, certainly, in specific implementation process, be not limited to following two kinds of situations.
The first, resource compression service device compresses requested date by lossy compression method mode.
For example, lossy compression method is compressed also known as damage type, reduce by secondary information data, sacrifice some quality to reduce data volume, make the compress mode that compression ratio improves, wherein, can adopt multiple lossy compression method mode for requested date, two kinds of enumerating below are wherein introduced, certainly, in specific implementation process, be not limited to following two kinds of situations.
1. resource compression service device is when requested date comprises view data, the display size of view data is reduced into the second display size adapted with the display unit of mobile terminal by the first display size.
For example, be positioned at the view data of Resource Server in order to the display unit of each size can be adapted to, so its first display size is usually larger, but the screen of mobile terminal is usually less, so the display size of view data can be reduced into the second display size, and then the data traffic expended in image data transmission process can be reduced, and improve the transmission rate of view data.
2. resource compression service device is when requested date comprises code data, is sent to mobile terminal after being removed by the redundant code in code data.
For example; redundant code is such as: the comment statement in code; in code writing phase; programmer conveniently understands code can increase some comment statements usually in code; these comment statements there is no impact for code analysis; therefore resource compression service device comprises in code data in requested date, comment statement wherein can be deleted.
The second, resource compression service device compresses requested date by Lossless Compression mode.
For example, Lossless Compression is optimized the data storage method of file, adopts the data message that certain algorithmic notation repeats, file can reduce completely, can not file content be affected, for digital image, image detail also would not be made to have any loss.
In step S150, packet in mobile terminal network visiting process is containing upstream data and downlink data, wherein upstream data is namely for being sent to the data (such as: data access request) of Resource Server by mobile terminal, downlink data is namely for being sent to the data (such as: requested date) of mobile terminal by Resource Server, wherein, in upstream data and downlink data, the data traffic of at least one data is counted in the data traffic that specified services business consumes.
Wherein, if specified services business for mobile terminal provide upstream data exempt from stream, also carry in the data access request that then mobile terminal sends to proxy server and exempt from flow identifier, the data traffic corresponding to data access request is counted in specified services business based on exempting from flow identifier; And if specified services business for mobile terminal provide downlink data exempt from stream, then compressed requested date can carry exempts from flow identifier (such as: added by proxy server and exempt from flow identifier), and then the data traffic of compressed requested date can be moved common carrier and counts in specified services business based on exempting from flow identifier.
Wherein, exempt from flow identifier and multi-form can exempt from flow identifier for multiple, two kinds of enumerating below are wherein introduced, and certainly, in specific implementation process, are not limited to following two kinds of situations.
1. proxy server is after the communication identifier receiving the mobile terminal that Distributor sends and before the data access request receiving mobile terminal transmission, send to mobile terminal and preset label, carrying default label when carrying out transfer of data in mobile terminal network visiting process, presetting label for exempting from flow identifier.
2. Distributor is the IP address of the proxy server that mobile terminal distributes is preset IP address, and preset IP address is this and exempts from flow identifier.
In specific implementation process, can by being arranged at the data traffic in the gateway statistics accesses network process between mobile mobile terminal and proxy server.
For exempting from the situation that flow identifier is default IP, corresponding gateway (or the charge system be connected with map network) is after receiving the data access request that mobile terminal sends, judge whether the IP of the next node corresponding to this data access request is default IP, if for presetting IP, then its data traffic is counted the data traffic of specified services business, corresponding gateway (or the charge system be connected with map network) is after receiving the requested date that proxy server sends, judge whether the IP of this proxy server is default IP, if for presetting IP, then its data traffic is counted the data traffic of specified services business, for when to exempt from flow identifier be default label, corresponding gateway (or the charge system be connected with map network) is after receiving data access request that mobile terminal sends (or receiving the requested date that proxy server sends), just judge whether comprise default label in this data access request (or requested date), if comprise default label, then its data traffic is counted the data traffic of specified services business.
In specific implementation process, total data flow in mobile terminal network visiting process is counted in specified services business and refers in this accesses network process, it, after determining the data traffic in mobile terminal accessing process, all counts in specified services business by Mobile Network Operator.
And mobile terminal is counted in specified services business by Mobile Network Operator based on exempting from flow identifier by the partial data flow produced in proxy server accesses network process, multiple situation can be there is, three kinds of enumerating below are wherein introduced, certainly, in specific implementation process, be not limited to following three kinds of situations.
The first, in mobile terminal network visiting process, the data traffic of special ratios is counted into specified services business.
For example, special ratios is such as: 50%, 70% etc., wherein, possess when exempting from flow authority (such as: transfer of data is carried and exempted from flow identifier) in mobile terminal network visiting process, its special ratios is counted specified services business by corresponding gateway (or the charge system be connected with map network), and all the other ratios are counted this communication identifier, such as: suppose that in this accesses network process, mobile terminal expends the flow of 10M altogether, special ratios is: 50%, then charge system is when charging, the flow of 5M is counted specified services business, and the flow of all the other 5M is counted the communication identifier of this mobile terminal.Certainly, above data are as just citing, and conduct does not limit.
The second, in mobile terminal network visiting process, the data traffic of specific quantity is counted in specified services business.
For example, specific quantity is such as: 10M, 20M etc., wherein, possess when exempting from flow authority in mobile terminal network visiting process, corresponding gateway (or the charge system be connected with map network) is after this accesses network process terminates, judge whether the data traffic of this accesses network process exceedes this specific quantity, if do not exceeded, then all data traffics are all counted in specified services business; If exceed specific quantity, then by not having the data traffic of overage to count in specified services business, overage is counted the communication identifier of this mobile terminal.
The third, in mobile terminal network visiting process, the data traffic of certain content is counted into specified services business.
For example, certain content is such as: word, picture etc., wherein, possess when exempting from flow authority in mobile terminal network visiting process, corresponding gateway (or the charge system be connected with map network) obtains the data that accesses network process is transmitted, then from the data that accesses network process is transmitted, determine the data such as word, picture, and the data traffic of its correspondence is counted in specified services business; And for the content of other types, such as: video, then the data traffic of its correspondence is counted in the communication identifier of mobile terminal.
As a kind of possible implementation, count in specified services business, comprising: the expense expense that corresponding data flow produces being counted the account consumption of specified services business.
For example, due to corresponding data flow has been counted specified services business, and mobile communication carrier can not carry out repetition charging for an accesses network process, so the data traffic of correspondence can not be counted into the mark of this mobile terminal, therefore when mobile communication carrier's charging, the expense that can be produced counts the expense of the account consumption of specified services business, thus charges to specified services business.
As a kind of optional embodiment, please continue to refer to Fig. 1, method also comprises:
Step S160: proxy server judges the arbitrary data access request whether receiving mobile terminal in preset time period;
Step S170: if do not receive arbitrary data access request of mobile terminal in preset time period, then prompting mobile terminal is logged off.
For example, preset time period is such as: 10min, 30min, 40min etc., if proxy server does not receive the arbitrary data access request that mobile terminal sends in preset time period, then illustrate that mobile terminal this visit network development process terminates, so a corresponding information can be produced.Further, this information, after this information of generation, can also be sent to Distributor by proxy server.
In this case, if Distributor distributed interim authorization information for this accesses network process before, then Distributor nullifies interim authorization information based on the information that proxy server sends, and in addition, interim authorization information also nullified by proxy server.By the program, can ensure that distributed interim authorization information can only as the authorization information of this accesses network process, next access to netwoks still needs to generate new interim authorization information, thus improves the fail safe of access to netwoks.
As a kind of optional embodiment, if proxy server prompting mobile terminal is logged off, the method also comprises:
The initial surf time of mobile terminal, the data traffic information that terminates surf time and consumption are sent to Distributor by proxy server;
The free residual flow of data traffic information to mobile terminal that Distributor sends based on proxy server is added up.
For example, proxy server can send information as shown in table 1 to Distributor:
Table 1
Initial time End time The data traffic information consumed
2015-4-1514:23 2015-4-1514:44 1.6M
Suppose that Distributor is total free data traffic that mobile terminal distributes and is: 30M, and this mobile terminal had consumed 20M flow before this access to netwoks, then can determine that this mobile terminal at the free residual flow after this accesses network process is: 10M-1.6M=8.4M.Certainly, above data traffic is as just citing, and conduct does not limit.
In the optional implementation of one, identical host-host protocol can be all adopted to carry out transfer of data between mobile terminal, proxy server, resource compression service device, Resource Server, such as: all adopt Http protocol transmission, all adopt Http2 protocol transmission etc.
In another kind of optional embodiment, mobile terminal, proxy server, resource compression service device, also different host-host protocols can be adopted between Resource Server to carry out transfer of data, such as: between mobile terminal and proxy server, adopt the first host-host protocol to transmit, and proxy server, the second host-host protocol is adopted to compress and transmit data between resource compression service device, in this case, because the second host-host protocol can compress data, so further message transmission rate can be improved, and between mobile terminal and proxy server, still adopt the reason of the first host-host protocol to be, prevent data between mobile terminal and proxy server (such as: data access request, requested date) in comprise exempt from flow identifier through second host-host protocol compression cannot identify by the gateway of charging (or charge system), the speed of transfer of data can either be improved by the program, can ensure again to exempt from flow identifier can identify by network (or charge system).For example, the first host-host protocol is such as: Http agreement, or other do not need to compress and the agreement that identifies of the gateway that can be moved common carrier transmission data; Second host-host protocol is such as: Spdy agreement, or other agreements can compressed transmission data.
In addition, in specific implementation process, mobile terminal by upstream data (such as: data access request) by being sent to resource compression service device after Lossless Compression, can also be sent to Resource Server after carrying out decompress(ion) by resource compression service device; If the requested date that mobile terminal receives is compressed requested date, and resource compression service device adopts requested date is Lossless Compression, then can also carry out decompression processing to compressed requested date.
Distributor, proxy server that the embodiment of the present invention is introduced can be two physical locations completely independently servers, also can be two difference in functionality modules of same server, equally, also both can be two position completely independently servers between proxy server and resource compression service device, also can be two difference in functionality modules of same server, wherein, because the function of resource compression service device is comparatively complicated, and the function of proxy server is comparatively simple, so proxy server and resource compression service device to be set to the words of two positions completely independently server, proxy server can be facilitated, the respective expansion of resource compression service device uses, in addition, Distributor, proxy server, resource compression service device can be three completely independently servers, also can be three difference in functionality functional modules of same server, for Distributor, proxy server, which kind of composition structure resource compression service implement body adopts, the embodiment of the present invention is not restricted.
The exchange method of the province's stream accesses network provided according to the embodiment of the present invention, the embodiment of the present invention also provides a kind of province to flow the method for accesses network, please refer to Fig. 2, comprising:
Step S201: proxy server mobile terminal receive is by the data access request of the access to netwoks network of mobile communication carrier, and comprise the communication identifier of mobile terminal in data access request, communication identifier possesses online and exempts from flow authority;
Step S202: data access request is sent to resource compression service device by proxy server, obtains requested date compress requested date based on data access request from Resource Server to make resource compression service device;
Step S203: proxy server receives the compressed requested date that resource compression service device sends;
Step S204: compressed requested date is sent to mobile terminal by the network of mobile communication carrier by proxy server;
Wherein, transfer of data in mobile terminal network visiting process is marked with exempts from flow identifier, and mobile terminal is counted in specified services business based on exempting from flow identifier by Mobile Network Operator by all or part of data traffic produced in proxy server accesses network process.
Optionally, method also comprises: resource compression service device compresses requested date by lossy compression method mode; And/or resource compression service device compresses requested date by Lossless Compression mode.
Optionally, resource compression service device compresses requested date by lossy compression method mode, comprise: the display size of view data, when requested date comprises view data, is reduced into the second display size adapted with the display unit of mobile terminal by resource compression service device by the first display size; And/or resource compression service device, when requested date comprises code data, is sent to mobile terminal after being removed by the redundant code in code data.
Optionally, mobile terminal is counted in specified services business by Mobile Network Operator based on exempting from flow identifier by all or part of data traffic produced in proxy server accesses network process, comprise: comprise in the data access request that mobile terminal sends and exempt from flow identifier, the data traffic corresponding to data access request is counted in specified services business based on exempting from flow identifier; And/or the data traffic of compressed requested date is counted in specified services business by based on exempting from flow identifier.
Optionally, method also comprises: proxy server sends to mobile terminal and presets label, carries default label when carrying out transfer of data in mobile terminal network visiting process, presets label for exempting from flow identifier; Or the IP address of proxy server is preset IP address, and preset IP address is for exempting from flow identifier.
Optionally, method also comprises: the data traffic information of proxy server spent by the measurement period statistics mobile terminal preset, and knows that mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
Optionally, method also comprises: the data traffic information spent by mobile terminal is sent to Distributor by proxy server; Distributor, based on the data traffic information spent by mobile terminal, determines that mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
Optionally, also comprise: the communication identifier of Distributor mobile terminal receive and authentication information; Whether Distributor possesses based on the communication identifier of mobile terminal and authentication information checking communication identifier is exempted from flow authority; Distributor determine communication identifier possess exempt from flow authority time, be mobile terminal assignment agent server.
Optionally, data are transmitted by the first host-host protocol between mobile terminal and proxy server; And/or compressed by the second host-host protocol between proxy server and resource compression service device and transmit data, the second host-host protocol is different from the first host-host protocol.
Optionally, the first host-host protocol is specially: Http agreement; Second host-host protocol is specially: Spdy agreement.
Optionally, Distributor determine communication identifier possess exempt from flow authority time, be mobile terminal assignment agent server, specifically comprise: Distributor obtaining communication mark adopts the charging way of specified services business to carry out the free residual flow information of charging; Based on free residual flow information, Distributor judges whether the free residual flow of communication identifier is greater than predetermined amount; Distributor, when free residual flow is greater than predetermined amount, is mobile terminal assignment agent server.
Optionally, also comprise: Distributor generates interim authorization information, and interim authorization information is sent to mobile terminal and proxy server; Proxy server mobile terminal receive, by the data access request of the access to netwoks network of mobile communication carrier, is specially: the data access request of carrying authentication information that proxy server mobile terminal receive sends; Data access request is sent to resource compression service device by proxy server, comprising: proxy server is based on the legitimacy of interim authorization information verification msg access request; And when data access request is legal, data access request is sent to resource compression service device.
Optionally, after proxy server prompting mobile terminal is logged off, Distributor nullifies interim authorization information.
Optionally, if proxy server prompting mobile terminal is logged off, then also comprise: the initial surf time of mobile terminal, the data traffic information that terminates surf time and consumption are sent to Distributor by proxy server; The free residual flow of data traffic information to mobile terminal that Distributor sends based on proxy server is added up.
Optionally, after for mobile terminal assignment agent server, method also comprises: free residual flow information is sent to proxy server by Distributor; Data access request is sent to resource compression service device by proxy server, specifically comprises: based on free residual flow information, proxy server, after receiving data access request, judges whether the up-to-date free residual flow of mobile terminal is greater than predetermined amount; When up-to-date free residual flow information is greater than predetermined amount, data access request is sent to resource compression service device.
According to the exchange method of province's stream accesses network that the embodiment of the present invention provides, the embodiment of the present invention also provides a kind of proxy server, please refer to Fig. 3, comprising:
First receiver module 30, for the data access request of mobile terminal receive by the access to netwoks network of mobile communication carrier, comprise the communication identifier of mobile terminal in data access request, communication identifier possesses online and exempts from flow authority;
First sending module 31, for data access request being sent to resource compression service device, obtains requested date compress requested date based on data access request from Resource Server to make resource compression service device;
Second receiver module 32, for receiving the compressed requested date that resource compression service device sends;
Second sending module 33, for being sent to mobile terminal by compressed requested date by the network of mobile communication carrier;
Wherein, transfer of data in mobile terminal network visiting process is marked with exempts from flow identifier, and mobile terminal is counted in specified services business based on exempting from flow identifier by Mobile Network Operator by all or part of data traffic produced in proxy server accesses network process.
Optionally, mobile terminal is counted in specified services business by Mobile Network Operator based on exempting from flow identifier by all or part of data traffic produced in proxy server accesses network process, comprise: comprise in the data access request that mobile terminal sends and exempt from flow identifier, the data traffic corresponding to data access request is counted in specified services business based on exempting from flow identifier; And/or the data traffic of compressed requested date is counted in specified services business by based on exempting from flow identifier.
Optionally, proxy server also comprises: the 3rd sending module 34, presetting label, carrying default label when carrying out transfer of data in mobile terminal network visiting process for sending to mobile terminal, presets label for exempting from flow identifier; Or the IP address of proxy server is preset IP address, and preset IP address is for exempting from flow identifier.
According to a further aspect of the invention, a kind of network access system is provided, please refer to Fig. 4, comprise proxy server and resource compression service device that any embodiment of the present invention introduces, resource compression service device comprises: the first compression module 40, for compressing requested date by lossy compression method mode; And/or,
Second compression module 41, for compressing requested date by Lossless Compression mode.
Optionally, the first compression module 40, for: when requested date comprises view data, the display size of view data is reduced into the second display size adapted with the display unit of mobile terminal by the first display size; And/or, when requested date comprises code data, after being removed by the redundant code in code data, be sent to mobile terminal.
Optionally, proxy server also comprises: the first statistical module 35, for the data traffic information spent by the measurement period statistics mobile terminal preset, knows that mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
Optionally, system also comprises: Distributor; Proxy server also comprises: the 4th sending module 36, for the data traffic information spent by mobile terminal is sent to Distributor; Distributor, comprising: determination module 50, for based on the data traffic information spent by mobile terminal, determines that mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
Optionally, Distributor also comprises: the 3rd receiver module 51, for communication identifier and the authentication information of mobile terminal receive; Authentication module 52, exempts from flow authority for whether possessing based on the communication identifier of mobile terminal and authentication information checking communication identifier; Distribution module 53, for determine communication identifier possess exempt from flow authority time, be mobile terminal assignment agent server.
Optionally, data are transmitted by the first host-host protocol between mobile terminal and proxy server; And/or compressed by the second host-host protocol between proxy server and resource compression service device and transmit data, the second host-host protocol is different from the first host-host protocol.
Optionally, the first host-host protocol is specially: Http agreement; Second host-host protocol is specially: Spdy agreement.
Optionally, distribution module 53, specifically comprises: acquiring unit, adopts the charging way of specified services business to carry out the free residual flow information of charging for obtaining communication mark; Based on free residual flow information, judging unit, for judging whether the free residual flow of communication identifier is greater than predetermined amount; Allocation units, for when free residual flow is greater than predetermined amount, are mobile terminal assignment agent server.
Optionally, Distributor also comprises: generation module 54, for generating interim authorization information, and interim authorization information is sent to mobile terminal and proxy server;
First receiver module 30, specifically for the data access request of carrying authentication information that proxy server mobile terminal receive sends; Deng a sending module 31, specifically for the legitimacy based on interim authorization information verification msg access request; And when data access request is legal, data access request is sent to resource compression service device.
Optionally, Distributor, also comprises: cancellation module 55, for after proxy server prompting mobile terminal is logged off, nullifies interim authorization information.
Optionally, proxy server also comprises: the 5th sending module 37, if logged off for proxy server prompting mobile terminal, then the initial surf time of mobile terminal, the data traffic information that terminates surf time and consumption are sent to Distributor; Distributor, also comprises the second statistical module 56, adds up for the free residual flow of data traffic information to mobile terminal sent based on proxy server.
Optionally, Distributor also comprises: the 6th sending module 57, for free residual flow information is sent to proxy server; Based on free residual flow information, first sending module 30, for judging whether the up-to-date free residual flow of mobile terminal is greater than predetermined amount; When up-to-date free residual flow information is greater than predetermined amount, data access request is sent to resource compression service device.
Optionally, also comprise: the mobile terminal that any embodiment of the present invention is introduced.
The exchange method of the province's stream accesses network provided according to the embodiment of the present invention, the embodiment of the present invention also provides a kind of method economizing stream accesses network for mobile terminal, please refer to Fig. 5, comprising:
Step S501: send data access request to proxy server by the network of mobile communication carrier, the communication identifier of mobile terminal is comprised in data access request, communication identifier possesses online and exempts from flow authority, to make proxy server that data access request is sent to resource compression service device, data access request is used for resource compression service device and obtains requested date from Resource Server and compress requested date;
Step S502: the compressed requested date sent by the network reception proxy server of mobile communication carrier, compressed requested date is sent to proxy server by resource compression service device;
Wherein, transfer of data in mobile terminal network visiting process is marked with exempts from flow identifier, and mobile terminal is counted in specified services business based on exempting from flow identifier by Mobile Network Operator by all or part of data traffic produced in proxy server accesses network process.
Optionally, compressed requested date is specially: the requested date crossed by lossy compression method; And/or by requested date that Lossless Compression is crossed.
Optionally, mobile terminal is counted specified services business and is comprised by Mobile Network Operator based on exempting from flow identifier by all or part of data traffic that produces in proxy server accesses network process: comprise in the data access request that proxy server sends and exempt from flow identifier, the data traffic corresponding to data access request is counted in specified services business based on exempting from flow identifier; And/or the data traffic of compressed requested date is counted in specified services business by based on exempting from flow identifier.
Optionally, mobile terminal is counted in specified services business by Mobile Network Operator based on exempting from flow identifier by all or part of data traffic produced in proxy server accesses network process, be specially: determine comprise default label in the data in mobile terminal network visiting process time, all or part of data traffic in mobile terminal network visiting process is counted in specified services business; Or the transfer of data in mobile terminal network visiting process is through the proxy server of preset IP address, when Mobile Network Operator carries out charging, all or part of data traffic flowing through preset IP address is counted in specified services business.
Optionally, before the network by mobile communication carrier sends data access request to proxy server, method also comprises: obtain the proxy server that Distributor distributes for accesses network process, the IP address of proxy server is preset IP address, and preset IP address is for exempting from flow identifier; Or obtaining the default label that proxy server distributes for accesses network process, when carrying out transfer of data in accesses network process, carry default label, presetting label for exempting from flow identifier.
Optionally, before the data access request being sent accesses network by the network of mobile communication carrier to proxy server, method also comprises: the communication identifier of mobile terminal and authentication information are sent to Distributor, to make Distributor after identity-based authorization information checking communication identifier possesses and exempts from flow authority, it is accesses network process assignment agent server.
Optionally, before the data access request being sent accesses network by the network of mobile communication carrier to proxy server, method also comprises: receiving Distributor is the interim authorization information that mobile terminal distributes, wherein, interim authorization information by Distributor determination mobile terminal possess exempt from flow authority time, be mobile terminal distribute; Sent the data access request of accesses network to proxy server by the network of mobile communication carrier, be specially: comprise the data access request of carrying interim authorization information to proxy server, to make proxy server based on the legitimacy of interim authorization information verification msg access request.
Optionally, mobile terminal is counted in specified services business based on exempting from flow identifier by Mobile Network Operator by the partial data flow produced in proxy server accesses network process, is specially: in mobile terminal network visiting process, the data traffic of special ratios is counted into specified services business; Or the data traffic of specific quantity is counted into specified services business in mobile terminal network visiting process; Or the data traffic of certain content is counted into specified services business in mobile terminal network visiting process.
Optionally, count in specified services business, comprising: the expense expense that corresponding data flow produces being counted the account consumption of specified services business.
The exchange method of the province's stream accesses network provided according to the embodiment of the present invention, the embodiment of the present invention also provides a kind of mobile terminal, please refer to Fig. 6, comprising:
7th sending module 60, data access request is sent to proxy server for the network by mobile communication carrier, the communication identifier of mobile terminal is comprised in data access request, communication identifier possesses online and exempts from flow authority, to make proxy server that data access request is sent to resource compression service device, data access request is used for resource compression service device and obtains requested date from Resource Server and compress requested date;
4th receiver module 61, for the compressed requested date sent by the network reception proxy server of mobile communication carrier, compressed requested date is sent to proxy server by resource compression service device;
Wherein, transfer of data in mobile terminal network visiting process is marked with exempts from flow identifier, and mobile terminal is counted in specified services business based on exempting from flow identifier by Mobile Network Operator by all or part of data traffic produced in proxy server accesses network process.
Optionally, compressed requested date is specially: the requested date crossed by lossy compression method; And/or by requested date that Lossless Compression is crossed.
Optionally, mobile terminal is counted specified services business and is comprised by Mobile Network Operator based on exempting from flow identifier by all or part of data traffic that produces in proxy server accesses network process: comprise in the data access request that proxy server sends and exempt from flow identifier, the data traffic corresponding to data access request is counted in specified services business based on exempting from flow identifier; And/or the data traffic of compressed requested date is counted in specified services business by based on exempting from flow identifier.
Optionally, mobile terminal is counted in specified services business by Mobile Network Operator based on exempting from flow identifier by all or part of data traffic produced in proxy server accesses network process, be specially: determine comprise default label in the data in mobile terminal network visiting process time, all or part of data traffic in mobile terminal network visiting process is counted in specified services business; Or the transfer of data in mobile terminal network visiting process is through the proxy server of preset IP address, when Mobile Network Operator carries out charging, all or part of data traffic flowing through preset IP address is counted in specified services business.
Optionally, mobile terminal also comprises: the first acquisition module 62, and for obtaining the proxy server that Distributor distributes for accesses network process, the IP address of proxy server is preset IP address, and preset IP address is for exempting from flow identifier; Or the second acquisition module 63, for obtaining the default label that proxy server distributes for accesses network process, carries default label when carrying out transfer of data in accesses network process, preset label for exempting from flow identifier.
Optionally, mobile terminal also comprises: the 8th sending module 64, for before the data access request being sent accesses network by the network of mobile communication carrier to proxy server, the communication identifier of mobile terminal and authentication information are sent to Distributor, to make Distributor after identity-based authorization information checking communication identifier possesses and exempts from flow authority, it is accesses network process assignment agent server.
Optionally, mobile terminal also comprises: the 3rd acquisition module 65, for before the data access request being sent accesses network by the network of mobile communication carrier to proxy server, receiving Distributor is the interim authorization information that mobile terminal distributes, wherein, interim authorization information by Distributor determination mobile terminal possess exempt from flow authority time, be mobile terminal distribute; 7th sending module 60, specifically for: comprise the data access request of carrying interim authorization information to proxy server, to make proxy server based on the legitimacy of interim authorization information verification msg access request.
Optionally, mobile terminal is counted in specified services business based on exempting from flow identifier by Mobile Network Operator by the partial data flow produced in proxy server accesses network process, is specially: in mobile terminal network visiting process, the data traffic of special ratios is counted into specified services business; Or the data traffic of specific quantity is counted into specified services business in mobile terminal network visiting process; Or the data traffic of certain content is counted into specified services business in mobile terminal network visiting process.
Optionally, count in specified services business, comprising: the expense expense that corresponding data flow produces being counted the account consumption of specified services business.
The one or more embodiment of the present invention, at least has following beneficial effect:
Due in embodiments of the present invention, the communication identifier that Distributor mobile terminal receive is sent by the network of mobile communication carrier and authentication information; Based on communication identifier and authentication information, Distributor judges whether communication identifier possesses and exempts from flow authority; Distributor determine communication identifier possess exempt from flow authority time, be used in mobile terminal in order to avoid the proxy server of flow mode accesses network for mobile terminal divides, exempt from all or part of data traffic of mobile terminal network visiting under flow mode and be moved in the data traffic that common carrier counts spent by specified services business.That is, when mobile terminal network visiting, the data traffic spent by specified services business can be expended in whole or in part, and partly or completely do not need the data traffic consuming mobile terminal, need the technical problem of the flow expending mobile terminal when alleviating accesses network in prior art thus, reach the technique effect of the data traffic expended when reducing mobile terminal network visiting; Thereby, it is possible to significantly improve the enthusiasm of user's download, thus be conducive to the wide-scale distribution of the Web content on the Internet;
And, in such scheme, after Distributor to be possessed by the communication identifier of mobile terminal and authentication information determination mobile terminal and exempts from flow authority, just be used in mobile terminal in order to avoid the proxy server of flow mode accesses network for mobile terminal divides, thus can prevent the user of immobile terminal from falsely using the free flow of mobile terminal;
And, in embodiments of the present invention, Distributor, when determining that the free residual flow of communication identifier is greater than predetermined amount, is just mobile terminal assignment agent server, thus accurately can control the free data traffic that specified services business is supplied to mobile terminal;
And, in embodiments of the present invention, when proxy server prompting mobile terminal is logged off, Distributor nullifies interim authorization information, thus can ensure that an interim authorization information only can use an accesses network process, thus can further prevent the user of immobile terminal from falsely using the free flow of mobile terminal.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although to comprise in other embodiment some included feature instead of further feature in this some embodiments, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of the some or all parts in mobile terminal, proxy server, Distributor, resource compression service device and the network access system that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses, the method for A1, a kind of province stream accesses network, comprising:
Proxy server mobile terminal receive is by the data access request of the access to netwoks network of mobile communication carrier, and comprise the communication identifier of described mobile terminal in described data access request, described communication identifier possesses online and exempts from flow authority;
Described data access request is sent to resource compression service device by described proxy server, obtains requested date compress described requested date to make described resource compression service device based on described data access request from Resource Server;
Described proxy server receives the compressed described requested date that described resource compression service device sends;
Compressed described requested date is sent to described mobile terminal by the network of described mobile communication carrier by described proxy server;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.
A2, method as described in A1, it is characterized in that, described method also comprises:
Described resource compression service device compresses described requested date by lossy compression method mode; And/or,
Described resource compression service device compresses described requested date by Lossless Compression mode.
A3, method as described in A2, it is characterized in that, described resource compression service device compresses described requested date by lossy compression method mode, comprising:
The display size of described view data, when described requested date comprises view data, is reduced into the second display size adapted with the display unit of described mobile terminal by described resource compression service device by the first display size; And/or,
Described resource compression service device, when described requested date comprises code data, is sent to described mobile terminal after being removed by the redundant code in described code data.
A4, method as described in A1, it is characterized in that, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process, comprising:
Comprise in the data access request that described mobile terminal sends and exempt from flow identifier, the data traffic corresponding to described data access request is counted in described specified services business based on described flow identifier of exempting from; And/or,
The data traffic of compressed described requested date is counted in described specified services business by based on described flow identifier of exempting from.
A5, method as described in A1, it is characterized in that, described method also comprises:
Described proxy server sends to described mobile terminal and presets label, carries described default label when carrying out transfer of data in described mobile terminal network visiting process, described default label for described in exempt from flow identifier; Or,
The IP address of described proxy server is preset IP address, described preset IP address for described in exempt from flow identifier.
A6, method as described in A1, it is characterized in that, described method also comprises:
Described proxy server adds up the data traffic information spent by described mobile terminal according to the measurement period preset, and knows that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
A7, method as described in A6, it is characterized in that, described method also comprises:
Data traffic information spent by described mobile terminal is sent to Distributor by described proxy server;
Described Distributor, based on the data traffic information spent by described mobile terminal, determines that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
A8, method as described in A1, is characterized in that, also comprise:
Distributor receives communication identifier and the authentication information of described mobile terminal;
Based on the communication identifier of described mobile terminal and authentication information, described Distributor is verified whether described communication identifier possesses and is exempted from flow authority;
Described Distributor determine described communication identifier possess described in exempt from flow authority time, for described mobile terminal distributes described proxy server.
A9, method as described in A8, is characterized in that, transmits data between described mobile terminal and described proxy server by the first host-host protocol; And/or compressed by the second host-host protocol between described proxy server and described resource compression service device and transmit data, described second host-host protocol is different from described first host-host protocol.
A10, method as described in A9, it is characterized in that, described first host-host protocol is specially: Http agreement; Described second host-host protocol is specially: Spdy agreement.
A11, method as described in A8, is characterized in that, described Distributor determine described communication identifier possess described in exempt from flow authority time, for described mobile terminal distributes described proxy server, specifically comprise:
Described Distributor obtains described communication identifier and adopts the charging way of described specified services business to carry out the free residual flow information of charging;
Based on described free residual flow information, described Distributor judges whether the free residual flow of described communication identifier is greater than predetermined amount;
Described Distributor when described free residual flow is greater than described predetermined amount, for described mobile terminal distributes described proxy server.
A12, method as described in A8, is characterized in that, also comprise:
Described Distributor generates interim authorization information, and described interim authorization information is sent to described mobile terminal and described proxy server;
Described proxy server mobile terminal receive, by the data access request of the access to netwoks network of mobile communication carrier, is specially: described proxy server receives the described data access request of carrying described authentication information that described mobile terminal sends;
Described data access request is sent to resource compression service device by described proxy server, comprising:
Described proxy server verifies the legitimacy of described data access request based on described interim authorization information; And when described data access request is legal, described data access request is sent to described resource compression service device.
A13, method as described in A12, is characterized in that, after described proxy server points out described mobile terminal to log off, described Distributor nullifies described interim authorization information.
A14, method as described in A13, is characterized in that, if described proxy server points out described mobile terminal to log off, then also comprise:
The initial surf time of described mobile terminal, the data traffic information that terminates surf time and consumption are sent to Distributor by described proxy server;
The free residual flow of data traffic information to described mobile terminal that described Distributor sends based on described proxy server is added up.
A15, method as described in A11, is characterized in that, described distribute described proxy server for described mobile terminal after, described method also comprises:
Described free residual flow information is sent to described proxy server by described Distributor;
Described data access request is sent to resource compression service device by described proxy server, specifically comprise: based on described free residual flow information, described proxy server, after receiving described data access request, judges whether the up-to-date free residual flow of described mobile terminal is greater than predetermined amount; When described up-to-date free residual flow information is greater than described predetermined amount, described data access request is sent to described resource compression service device.
B16, a kind of proxy server, comprising:
First receiver module, for the data access request of mobile terminal receive by the access to netwoks network of mobile communication carrier, comprise the communication identifier of described mobile terminal in described data access request, described communication identifier possesses online and exempts from flow authority;
First sending module, for described data access request is sent to resource compression service device, obtains requested date compress described requested date based on described data access request from Resource Server to make described resource compression service device;
Second receiver module, for receiving the compressed described requested date that described resource compression service device sends;
Second sending module, for being sent to described mobile terminal by compressed described requested date by the network of described mobile communication carrier;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.
B17, proxy server as described in B16, it is characterized in that, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process, comprising:
Comprise in the data access request that described mobile terminal sends and exempt from flow identifier, the data traffic corresponding to described data access request is counted in described specified services business based on described flow identifier of exempting from; And/or,
The data traffic of compressed described requested date is counted in described specified services business by based on described flow identifier of exempting from.
B18, proxy server as described in B16, it is characterized in that, described proxy server also comprises:
3rd sending module, presetting label for sending to described mobile terminal, carrying described default label when carrying out transfer of data in described mobile terminal network visiting process, described default label for described in exempt from flow identifier; Or,
The IP address of described proxy server is preset IP address, described preset IP address for described in exempt from flow identifier.
C19, a kind of network access system, is characterized in that, comprise the arbitrary described proxy server of B16-B18 and resource compression service device, described resource compression service device comprises: the first compression module, for compressing described requested date by lossy compression method mode; And/or,
Second compression module, for compressing described requested date by Lossless Compression mode.
C20, system as described in C19, is characterized in that, described first compression module, for:
When described requested date comprises view data, the display size of described view data is reduced into the second display size adapted with the display unit of described mobile terminal by the first display size; And/or,
When described requested date comprises code data, after being removed by the redundant code in described code data, be sent to described mobile terminal.
C21, system as described in C19, it is characterized in that, described proxy server also comprises:
First statistical module, for adding up the data traffic information spent by described mobile terminal according to the measurement period preset, knows that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
C22, system as described in C21, it is characterized in that, described system also comprises: Distributor;
Described proxy server also comprises: the 4th sending module, for the data traffic information spent by described mobile terminal is sent to described Distributor;
Described Distributor, comprising: determination module, for based on the data traffic information spent by described mobile terminal, determines that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
C23, system as described in C22, it is characterized in that, described Distributor also comprises:
3rd receiver module, for receiving communication identifier and the authentication information of described mobile terminal;
Authentication module, exempts from flow authority for verifying whether described communication identifier possesses based on the communication identifier of described mobile terminal and authentication information;
Distribution module, for determine described communication identifier possess described in exempt from flow authority time, for described mobile terminal distributes described proxy server.
C24, system as described in C23, is characterized in that, transmits data between described mobile terminal and described proxy server by the first host-host protocol; And/or compressed by the second host-host protocol between described proxy server and described resource compression service device and transmit data, described second host-host protocol is different from described first host-host protocol.
C25, system as described in C24, it is characterized in that, described first host-host protocol is specially: Http agreement; Described second host-host protocol is specially: Spdy agreement.
C26, system as described in C23, it is characterized in that, described distribution module, specifically comprises:
Acquiring unit, adopts the charging way of described specified services business to carry out the free residual flow information of charging for obtaining described communication identifier;
Based on described free residual flow information, judging unit, for judging whether the free residual flow of described communication identifier is greater than predetermined amount;
Allocation units, for when described free residual flow is greater than described predetermined amount, for described mobile terminal distributes described proxy server.
C27, system as described in C23, it is characterized in that, described Distributor also comprises:
Generation module, for generating interim authorization information, and is sent to described mobile terminal and described proxy server by described interim authorization information;
Described first receiver module, receives the described data access request of carrying described authentication information of described mobile terminal transmission specifically for described proxy server;
Described grade one sending module, specifically for verifying the legitimacy of described data access request based on described interim authorization information; And when described data access request is legal, described data access request is sent to described resource compression service device.
C28, system as described in C27, it is characterized in that, described Distributor, also comprises:
Cancellation module, after pointing out described mobile terminal to log off at described proxy server, nullifies described interim authorization information.
C29, system as described in C28, it is characterized in that, described proxy server also comprises:
5th sending module, if point out described mobile terminal to log off for described proxy server, then sends to Distributor by the initial surf time of described mobile terminal, the data traffic information that terminates surf time and consumption;
Described Distributor, also comprises the second statistical module, adds up for the free residual flow of data traffic information to described mobile terminal sent based on described proxy server.
C30, system as described in C26, it is characterized in that, described Distributor also comprises:
6th sending module, for being sent to described proxy server by described free residual flow information;
Based on described free residual flow information, described first sending module, for judging whether the up-to-date free residual flow of described mobile terminal is greater than predetermined amount; When described up-to-date free residual flow information is greater than described predetermined amount, described data access request is sent to described resource compression service device.
C31, system as described in C19, it is characterized in that, also comprise mobile terminal, described mobile terminal comprises:
7th sending module, data access request is sent to proxy server for the network by mobile communication carrier, the communication identifier of described mobile terminal is comprised in described data access request, described communication identifier possesses online and exempts from flow authority, to make described proxy server that described data access request is sent to resource compression service device, described data access request is used for described resource compression service device and obtains requested date from Resource Server and compress described requested date;
4th receiver module, for the compressed described requested date that proxy server described in the network reception by described mobile communication carrier sends, compressed described requested date is sent to described proxy server by described resource compression service device;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.

Claims (10)

1. economize a method for stream accesses network, it is characterized in that, comprising:
Proxy server mobile terminal receive is by the data access request of the access to netwoks network of mobile communication carrier, and comprise the communication identifier of described mobile terminal in described data access request, described communication identifier possesses online and exempts from flow authority;
Described data access request is sent to resource compression service device by described proxy server, obtains requested date compress described requested date to make described resource compression service device based on described data access request from Resource Server;
Described proxy server receives the compressed described requested date that described resource compression service device sends;
Compressed described requested date is sent to described mobile terminal by the network of described mobile communication carrier by described proxy server;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.
2. the method for claim 1, is characterized in that, described method also comprises:
Described resource compression service device compresses described requested date by lossy compression method mode; And/or,
Described resource compression service device compresses described requested date by Lossless Compression mode.
3. method as claimed in claim 2, it is characterized in that, described resource compression service device compresses described requested date by lossy compression method mode, comprising:
The display size of described view data, when described requested date comprises view data, is reduced into the second display size adapted with the display unit of described mobile terminal by described resource compression service device by the first display size; And/or,
Described resource compression service device, when described requested date comprises code data, is sent to described mobile terminal after being removed by the redundant code in described code data.
4. the method for claim 1, it is characterized in that, described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process, comprising:
Comprise in the data access request that described mobile terminal sends and exempt from flow identifier, the data traffic corresponding to described data access request is counted in described specified services business based on described flow identifier of exempting from; And/or,
The data traffic of compressed described requested date is counted in described specified services business by based on described flow identifier of exempting from.
5. the method for claim 1, is characterized in that, described method also comprises:
Described proxy server sends to described mobile terminal and presets label, carries described default label when carrying out transfer of data in described mobile terminal network visiting process, described default label for described in exempt from flow identifier; Or,
The IP address of described proxy server is preset IP address, described preset IP address for described in exempt from flow identifier.
6. the method for claim 1, is characterized in that, described method also comprises:
Described proxy server adds up the data traffic information spent by described mobile terminal according to the measurement period preset, and knows that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
7. method as claimed in claim 6, it is characterized in that, described method also comprises:
Data traffic information spent by described mobile terminal is sent to Distributor by described proxy server;
Described Distributor, based on the data traffic information spent by described mobile terminal, determines that described mobile terminal possesses the up-to-date free residual flow information exempting from flow authority.
8. the method for claim 1, is characterized in that, also comprises:
Distributor receives communication identifier and the authentication information of described mobile terminal;
Based on the communication identifier of described mobile terminal and authentication information, described Distributor is verified whether described communication identifier possesses and is exempted from flow authority;
Described Distributor determine described communication identifier possess described in exempt from flow authority time, for described mobile terminal distributes described proxy server.
9. a proxy server, is characterized in that, comprising:
First receiver module, for the data access request of mobile terminal receive by the access to netwoks network of mobile communication carrier, comprise the communication identifier of described mobile terminal in described data access request, described communication identifier possesses online and exempts from flow authority;
First sending module, for described data access request is sent to resource compression service device, obtains requested date compress described requested date based on described data access request from Resource Server to make described resource compression service device;
Second receiver module, for receiving the compressed described requested date that described resource compression service device sends;
Second sending module, for being sent to described mobile terminal by compressed described requested date by the network of described mobile communication carrier;
Wherein, transfer of data in described mobile terminal network visiting process is marked with exempts from flow identifier, and described mobile terminal is counted in specified services business based on described flow identifier of exempting from by Mobile Network Operator by all or part of data traffic produced in described proxy server accesses network process.
10. a network access system, is characterized in that, comprises proxy server according to claim 9 and resource compression service device, and described resource compression service device comprises: the first compression module, for compressing described requested date by lossy compression method mode; And/or,
Second compression module, for compressing described requested date by Lossless Compression mode.
CN201510374915.3A 2015-06-30 2015-06-30 Traffic-saving method for visiting network, proxy server and network access system Pending CN105101140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510374915.3A CN105101140A (en) 2015-06-30 2015-06-30 Traffic-saving method for visiting network, proxy server and network access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510374915.3A CN105101140A (en) 2015-06-30 2015-06-30 Traffic-saving method for visiting network, proxy server and network access system

Publications (1)

Publication Number Publication Date
CN105101140A true CN105101140A (en) 2015-11-25

Family

ID=54580484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510374915.3A Pending CN105101140A (en) 2015-06-30 2015-06-30 Traffic-saving method for visiting network, proxy server and network access system

Country Status (1)

Country Link
CN (1) CN105101140A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487906A (en) * 2016-11-01 2017-03-08 北京大学(天津滨海)新代信息技术研究院 A kind of mobile Web application protocol changing method of context aware
CN107480437A (en) * 2017-08-01 2017-12-15 西安万像电子科技有限公司 Data transmission method and device
CN111371825A (en) * 2018-12-26 2020-07-03 深圳市优必选科技有限公司 Load balancing method, device and equipment based on HTTP2.0 protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741579A (en) * 2008-11-17 2010-06-16 李占胜 New mobile communication data traffic charging mode
KR20100103768A (en) * 2009-03-14 2010-09-28 박대웅 Method for providing free telecommunication service using advertising and callback service system
CN103167554A (en) * 2011-12-09 2013-06-19 中国移动通信集团广东有限公司 Gateway traffic compressing method, device and network service supply system
CN103841204A (en) * 2014-03-14 2014-06-04 北京奇虎科技有限公司 Traffic-free downloading method, device and system based on mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741579A (en) * 2008-11-17 2010-06-16 李占胜 New mobile communication data traffic charging mode
KR20100103768A (en) * 2009-03-14 2010-09-28 박대웅 Method for providing free telecommunication service using advertising and callback service system
CN103167554A (en) * 2011-12-09 2013-06-19 中国移动通信集团广东有限公司 Gateway traffic compressing method, device and network service supply system
CN103841204A (en) * 2014-03-14 2014-06-04 北京奇虎科技有限公司 Traffic-free downloading method, device and system based on mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487906A (en) * 2016-11-01 2017-03-08 北京大学(天津滨海)新代信息技术研究院 A kind of mobile Web application protocol changing method of context aware
CN106487906B (en) * 2016-11-01 2019-05-17 北京大学(天津滨海)新一代信息技术研究院 A kind of mobile Web application protocol switching method of context aware
CN107480437A (en) * 2017-08-01 2017-12-15 西安万像电子科技有限公司 Data transmission method and device
CN107480437B (en) * 2017-08-01 2020-09-18 西安万像电子科技有限公司 Data transmission method and device
CN111371825A (en) * 2018-12-26 2020-07-03 深圳市优必选科技有限公司 Load balancing method, device and equipment based on HTTP2.0 protocol

Similar Documents

Publication Publication Date Title
CN104967624A (en) Flow-free platform based network accessing method, mobile terminal and system
CN104967688A (en) Method for accessing to network by using flow-free platform, mobile terminal and system
CN105323240A (en) Method for monitoring data traffic and mobile terminal
CN104901853A (en) Network monitoring method, proxy server and network access system
CN104954490A (en) Method for network access in overdue state as well as mobile terminal
CN104902454A (en) Method, gateway and network access system for controlling data acquired by mobile terminal
CN104902030A (en) Control method, proxy sever and control system applied to intelligent remote controller
CN105101140A (en) Traffic-saving method for visiting network, proxy server and network access system
CN104994520A (en) Method for mobile terminal traffic sharing, and mobile terminals
CN104954488A (en) Method and distribution server for network access control as well as network access system
CN104954487A (en) Method and proxy server for performing positioning through network as well as system
CN104902453A (en) Mobile terminal and method for controlling network access permission of mobile terminal
CN105142124A (en) Network access method applied to mobile terminal and mobile terminal
CN104902462A (en) Traffic-saving method for accessing network by mobile terminal and mobile terminal
CN104980958A (en) Method for network registration and mobile terminal
CN104954493A (en) Game server access method, proxy server and system
CN104980957A (en) Method and system for network registration and distribution server
CN105120445A (en) Network access authority control method, distribution server and network access system
CN105162753A (en) Method for access to network resources for mobile terminal, and mobile terminal
CN104980342A (en) Information push method, proxy server and system
CN105120444A (en) Image transmission method, agent server and network access system
CN105162754A (en) Method for access to game server, and mobile terminal
CN104980909A (en) Method for network resource access, resource compression server, and network access system
CN105101142A (en) Traffic paying method of advertising agency
CN104967977A (en) Communication method, mobile terminal and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125