CN109587270A - A kind of method and mobile terminal saving stream access network for mobile terminal - Google Patents

A kind of method and mobile terminal saving stream access network for mobile terminal Download PDF

Info

Publication number
CN109587270A
CN109587270A CN201811629915.3A CN201811629915A CN109587270A CN 109587270 A CN109587270 A CN 109587270A CN 201811629915 A CN201811629915 A CN 201811629915A CN 109587270 A CN109587270 A CN 109587270A
Authority
CN
China
Prior art keywords
mobile terminal
network
proxy server
data
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.)
Granted
Application number
CN201811629915.3A
Other languages
Chinese (zh)
Other versions
CN109587270B (en
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 Hongxiang Technical Service 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 CN201811629915.3A priority Critical patent/CN109587270B/en
Publication of CN109587270A publication Critical patent/CN109587270A/en
Application granted granted Critical
Publication of CN109587270B publication Critical patent/CN109587270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to the communications field, a kind of method and mobile terminal that stream access network is saved for mobile terminal is disclosed, to solve the technical issues of customer access network of mobile terminal in the prior art needs to expend mobile terminal a large amount of data traffic.This method comprises: the network by mobile communication carrier sends data access request to proxy server, so that data access request is sent to resource compression service device by proxy server, data access request obtains requested date from Resource Server for resource compression service device and compresses requested date;The compressed requested date sent by the network Receiving Agent server of mobile communication carrier;Mobile terminal accesses in network development process all or part of data traffic for generating by proxy server and is based on exempting from flow identifier by Mobile Network Operator being included in specified services quotient.The technical effect of the data traffic expended when reducing mobile terminal network visiting is reached.

Description

A kind of method and mobile terminal saving stream access network for mobile terminal
Technical field
The present invention relates to the communications field more particularly to a kind of method for saving stream access network for mobile terminal and movements eventually End.This case is that application No. is 201510377213 divisional applications.
Background technique
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type of electronic product is also got over Come more, people have also enjoyed the various conveniences of development in science and technology bring.Present people can be by various types of mobile whole End is enjoyed as development in science and technology bring is comfortably lived.For example, the mobile terminals such as smart phone, tablet computer have become people Live in an important component part, the mobile terminals such as smart phone, tablet computer can be used to listen to music, play in user Game etc., to mitigate pressure brought by modern fast pace life.
Under normal conditions, mobile terminal all has network access functions, and mobile terminal needs to consume when accessing network The data traffic of the user of mobile terminal is paid the fees according to the data traffic of consumption to the operator for providing network service.Due to existing Charging can only be carried out to the data traffic that user uses by operator by having in technology, so cause in the prior art, it is mobile whole The customer access network at end needs to expend the technical issues of mobile terminal a large amount of data traffic;
And costly due to the network flow of mobile terminal, thus, force the user of mobile terminal to have to prop up for this It pays a large amount of expense and so significantly reduces 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, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the method and mobile terminal that stream access network is saved for mobile terminal of problem.
According to one aspect of the present invention, a kind of method of province's stream access network is provided, comprising:
Proxy server receives the data access request that mobile terminal accesses network by the network of mobile communication carrier, It include the communication identifier of the mobile terminal in the data access request, the communication identifier has online and exempts from flow permission;
The data access request is sent to resource compression service device by the proxy server, so that the resource is compressed Access request obtains requested date from Resource Server and compresses the requested date server based on the data;
The proxy server receives the compressed requested date that the resource compression service device is sent;
The proxy server sends out the compressed requested date by the network of the mobile communication carrier It send to the mobile terminal;
Wherein, the data transmission during the mobile terminal network visiting, which is marked with, exempts from flow identifier, described mobile whole End accesses all or part of data traffic generated in network development process by Mobile Network Operator base by the proxy server It is included in specified services quotient in the flow identifier of exempting from.
Optionally, the method also includes:
The resource compression service device compresses the requested date by lossy compression mode;And/or
The resource compression service device compresses the requested date by lossless compression mode.
Optionally, the resource compression service device compresses the requested date by lossy compression mode, comprising:
The resource compression service device is when the requested date includes image data, by the display of described image data Size is reduced into the second display size being adapted with the display unit of the mobile terminal by the first display size;And/or
The resource compression service device, will be superfluous in the code data when the requested date includes code data The mobile terminal is sent to after remaining code removal.
Optionally, the mobile terminal accesses all or part of number generated in network development process by the proxy server Exempt from flow identifier based on described in by Mobile Network Operator according to flow to be included in specified services quotient, comprising:
It include to exempt from flow identifier in the data access request that the mobile terminal is sent, corresponding to the data access request Data traffic exempted from flow identifier based on described and be included in the specified services quotient;And/or the compressed requested number According to data traffic exempted from flow identifier based on described and be included in the specified services quotient.
Optionally, the method also includes:
The proxy server sends default label to the mobile terminal, during the mobile terminal network visiting The default label is carried when carrying out data transmission, the default label exempts from flow identifier to be described;Alternatively,
The IP address of the proxy server is preset IP address, and the preset IP address exempts from flow identifier to be described.
Optionally, the method also includes:
The proxy server according to preset measurement period count the mobile terminal spent by data traffic information, Know that the mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, the method also includes:
Data traffic information spent by the mobile terminal is sent to the distribution server by the proxy server;
The distribution server determines the mobile terminal tool based on data traffic information spent by the mobile terminal The standby newest free residual flow information for exempting from flow permission.
Optionally, further includes:
The distribution server receives the communication identifier and authentication information of the mobile terminal;
Communication identifier and authentication information of the distribution server based on the mobile terminal verify the communication mark Know whether to have and exempts from flow permission;
The distribution server determine the communication identifier have it is described exempt from flow permission when, for the mobile terminal point With the proxy server.
Optionally, data are transmitted by the first transport protocol between the mobile terminal and the proxy server;And/or Between the proxy server and the resource compression service device data are compressed and transmitted by the second transport protocol, described second Transport protocol is different from first transport protocol.
Optionally, first transport protocol specifically: Http agreement;Second transport protocol specifically: Spdy association View.
Optionally, the distribution server determine the communication identifier have it is described exempt from flow permission when, be the shifting Proxy server described in dynamic terminal distribution, specifically includes:
The distribution server obtains the communication identifier and carries out charging using the charging mode of the specified services quotient Free residual flow information;
The distribution server judges the free residual flow of the communication identifier based on the free residual flow information Whether predetermined amount is greater than;
The distribution server distributes institute when the free residual flow is greater than the predetermined amount, for the mobile terminal State proxy server.
Optionally, further includes:
The distribution server generates interim verification information, and the interim verification information is sent to the mobile terminal And the proxy server;
The proxy server receives the data access that mobile terminal accesses network by the network of mobile communication carrier Request, specifically: the proxy server receives the number for the carrying authentication information that the mobile terminal is sent According to access request;
The data access request is sent to resource compression service device by the proxy server, comprising:
The proxy server verifies the legitimacy of the data access request based on the interim verification information;And When the data access request is legal, the data access request is sent to the resource compression service device.
Optionally, after the proxy server prompts the mobile terminal to have dropped out login, the distribution server note Sell the interim verification information.
Optionally, if the proxy server prompts the mobile terminal to have dropped out login, further include:
The proxy server by the starting surf time of the mobile terminal, terminate the data of surf time and consumption Flow information is sent to the distribution server;
The distribution server exempts from the mobile terminal based on the data traffic information that the proxy server is sent Expense residual flow is counted.
Optionally, after the proxy server for mobile terminal distribution, the method also includes:
The free residual flow information is sent to the proxy server by the distribution server;
The data access request is sent to resource compression service device by the proxy server, is specifically included: the generation Server is managed after receiving the data access request, the mobile terminal is judged based on the free residual flow information Newest free residual flow whether be greater than predetermined amount;When the newest free residual flow information is greater than the predetermined amount, The data access request is sent to the resource compression service device.
Another invention according to the present invention provides a kind of proxy server, comprising:
First receiving module is visited for receiving mobile terminal by the data that the network of mobile communication carrier accesses network It asks request, includes the communication identifier of the mobile terminal in the data access request, the communication identifier has online and exempts to flow Measure permission;
First sending module, for the data access request to be sent to resource compression service device, so that the resource Access request obtains requested date from Resource Server and compresses the requested date compression service device based on the data;
Second receiving module, the compressed requested date sent for receiving the resource compression service device;
Second sending module, for the compressed requested date to be passed through to the network of the mobile communication carrier It is sent to the mobile terminal;
Wherein, the data transmission during the mobile terminal network visiting, which is marked with, exempts from flow identifier, described mobile whole End accesses all or part of data traffic generated in network development process by Mobile Network Operator base by the proxy server It is included in specified services quotient in the flow identifier of exempting from.
Optionally, the mobile terminal accesses all or part of number generated in network development process by the proxy server Exempt from flow identifier based on described in by Mobile Network Operator according to flow to be included in specified services quotient, comprising:
It include to exempt from flow identifier in the data access request that the mobile terminal is sent, corresponding to the data access request Data traffic exempted from flow identifier based on described and be included in the specified services quotient;And/or the compressed requested number According to data traffic exempted from flow identifier based on described and be included in the specified services quotient.
Optionally, the proxy server further include:
Third sending module, for sending default label to the mobile terminal, in the mobile terminal network visiting mistake The default label is carried when carrying out data transmission in journey, the default label exempts from flow identifier to be described;Alternatively,
The IP address of the proxy server is preset IP address, and the preset IP address exempts from flow identifier to be described.
According to a further aspect of the invention, a kind of network access system is provided, is introduced including any embodiment of the present invention Proxy server and resource compression service device, the resource compression service device include: the first compression module, for by damaging pressure Contracting mode compresses the requested date;And/or
Second compression module, for compressing the requested date by lossless compression mode.
Optionally, first compression module, is used for:
When the requested date includes image data, by the display size of described image data by the first display size It is reduced into the second display size being adapted with the display unit of the mobile terminal;And/or include in the requested date When code data, the mobile terminal will be sent to after the redundant code removal in the code data.
Optionally, the proxy server further include:
First statistical module, for according to preset measurement period count the mobile terminal spent by data traffic letter Breath, knows that the mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, the system also includes the distribution servers;
The proxy server further include: the 4th sending module, for by data traffic spent by the mobile terminal Information is sent to the distribution server;
The distribution server, comprising: determining module, for being believed based on data traffic spent by the mobile terminal Breath, determines that the mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, the distribution server further include:
Third receiving module, for receiving the communication identifier and authentication information of the mobile terminal;
Authentication module, for communication identifier and the authentication information verifying communication identifier based on the mobile terminal Whether have and exempts from flow permission;
Distribution module, for determine the communication identifier have it is described exempt from flow permission when, for the mobile terminal point With the proxy server.
Optionally, data are transmitted by the first transport protocol between the mobile terminal and the proxy server;And/or Between the proxy server and the resource compression service device data are compressed and transmitted by the second transport protocol, described second Transport protocol is different from first transport protocol.
Optionally, first transport protocol specifically: Http agreement;Second transport protocol specifically: Spdy association View.
Optionally, the distribution module, specifically includes:
Acquiring unit carries out exempting from for charging using the charging mode of the specified services quotient for obtaining the communication identifier Take residual flow information;
Judging unit, for judging that the free residual flow of the communication identifier is based on the free residual flow information It is no to be greater than predetermined amount;
Allocation unit, for distributing institute for the mobile terminal when the free residual flow is greater than the predetermined amount State proxy server.
Optionally, the distribution server further include:
Generation module is sent to the mobile terminal for generating interim verification information, and by the interim verification information And the proxy server;
First receiving module receives described in the carrying that the mobile terminal is sent specifically for the proxy server The data access request of authentication information;
An equal sending module, specifically for verifying the conjunction of the data access request based on the interim verification information Method;And when the data access request is legal, the data access request is sent to the resource compression service device.
Optionally, the distribution server, further includes:
Cancellation module, for facing after the proxy server prompts the mobile terminal to have dropped out login described in cancellation When verification information.
Optionally, the proxy server further include:
5th sending module, if prompting the mobile terminal to have dropped out login for the proxy server, by institute The starting surf time for stating mobile terminal, the data traffic information for terminating surf time and consumption are sent to the distribution server;
The distribution server further includes the second statistical module, the data flow for being sent based on the proxy server Amount information counts the free residual flow of the mobile terminal.
Optionally, the distribution server further include:
6th sending module, for the free residual flow information to be sent to the proxy server;
First sending module, for judging that the newest of the mobile terminal is exempted from based on the free residual flow information Whether expense residual flow is greater than predetermined amount;When the newest free residual flow information is greater than the predetermined amount, by the number The resource compression service device is sent to according to access request.
Optionally, further includes: the mobile terminal that any embodiment of the present invention is introduced.
According to a further aspect of the invention, a kind of method saving stream access network for mobile terminal is provided, comprising:
Data access request, the data access request are sent to proxy server by the network of mobile communication carrier In include the mobile terminal communication identifier, the communication identifier has online and exempts from flow permission, so that the agency service The data access request is sent to resource compression service device by device, and the data access request is used for the resource compression service Device obtains requested date from Resource Server and compresses the requested date;
It compressed described is asked by what the network of the mobile communication carrier received that the proxy server sends Data are sought, the compressed requested date is sent to the proxy server by the resource compression service device;
Wherein, the data transmission during the mobile terminal network visiting, which is marked with, exempts from flow identifier, described mobile whole End accesses all or part of data traffic generated in network development process by Mobile Network Operator base by the proxy server It is included in specified services quotient in the flow identifier of exempting from.
Optionally, the compressed requested date specifically: the requested date crossed by lossy compression;And/or The requested date crossed by lossless compression.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server Amount by Mobile Network Operator be based on it is described exempt from flow identifier and be included in specified services quotient include:
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request Corresponding data traffic is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the compressed requested date is exempted from flow identifier based on described in and is included in the specified services Shang Zhong.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server Amount is exempted from flow identifier based on described in by Mobile Network Operator and is included in specified services quotient, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, When the Mobile Network Operator carries out charging, all or part of data traffic for flowing through the preset IP address is included in described In specified services quotient.
Optionally, the network by mobile communication carrier to proxy server send data access request it Before, the method also includes:
Obtain the proxy server that the distribution server is distributed by the access network development process, the proxy server IP address be preset IP address, the preset IP address is described to exempt from flow identifier;Or
The default label that the proxy server is distributed by the access network development process is obtained, in the access network mistake The default label is carried when carrying out data transmission in journey, the default label exempts from flow identifier to be described.
Optionally, it is visited in the network by mobile communication carrier to the data that proxy server sends access network Before asking request, the method also includes:
The communication identifier of the mobile terminal and authentication information are sent to the distribution server, so that the distribution takes Business device verified based on the authentication information communication identifier have it is described exempt from flow permission after, be the access net Network process distributes the proxy server.
Optionally, it is visited in the network by mobile communication carrier to the data that proxy server sends access network Before asking request, the method also includes:
Receive the interim verification information that the distribution server is mobile terminal distribution, wherein the interim verifying Information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, distributed for the mobile terminal;
The network by mobile communication carrier sends the data access request of access network, tool to proxy server Body are as follows:
It include the data access request for carrying the interim verification information to the proxy server, so that the agency takes Business device verifies the legitimacy of the data access request based on the interim verification information.
Optionally, the mobile terminal accesses the partial data flow generated in network development process by the proxy server Exempt from flow identifier based on described in by Mobile Network Operator to be included in specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
Optionally, described to be included in specified services quotient, comprising: the expense that corresponding data flow generates is calculated as specified services The expense of the account consumption of quotient.
According to a further aspect of the invention, a kind of mobile terminal is provided, comprising:
7th sending module sends data access to proxy server for the network by mobile communication carrier and asks It asks, includes the communication identifier of the mobile terminal in the data access request, the communication identifier has online and exempts from flow power Limit, so that the data access request is sent to resource compression service device, the data access request by the proxy server Requested date is obtained from Resource Server for the resource compression service device and compresses the requested date;
4th receiving module, for receiving what the proxy server was sent by the network of the mobile communication carrier The compressed requested date, the compressed requested date are sent to the generation by the resource compression service device Manage server;
Wherein, the data transmission during the mobile terminal network visiting, which is marked with, exempts from flow identifier, described mobile whole End accesses all or part of data traffic generated in network development process by Mobile Network Operator base by the proxy server It is included in specified services quotient in the flow identifier of exempting from.
Optionally, the compressed requested date specifically: the requested date crossed by lossy compression;And/or The requested date crossed by lossless compression.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server Amount by Mobile Network Operator be based on it is described exempt from flow identifier and be included in specified services quotient include:
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request Corresponding data traffic is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the compressed requested date is exempted from flow identifier based on described in and is included in the specified services Shang Zhong.
Optionally, the mobile terminal accesses all or part of data flow generated in network development process by proxy server Amount is exempted from flow identifier based on described in by Mobile Network Operator and is included in specified services quotient, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, When the Mobile Network Operator carries out charging, all or part of data traffic for flowing through the preset IP address is included in described In specified services quotient.
Optionally, the mobile terminal further include: first obtains module, is the access net for obtaining the distribution server The proxy server that network process is distributed, the IP address of the proxy server are preset IP address, the default IP Exempt from flow identifier described in being in location;Or
Second obtains module, the pre- bidding distributed for obtaining the proxy server by the access network development process Label, carry the default label when carrying out data transmission in the access network development process, the default label exempts to flow to be described Amount mark.
Optionally, the mobile terminal further include:
8th sending module, for sending access network to proxy server in the network by mobile communication carrier Before data access request, the communication identifier of the mobile terminal and authentication information are sent to the distribution server, so that The distribution server verified based on the authentication information communication identifier have it is described exempt from flow permission after, be The access network development process distributes the proxy server.
Optionally, the mobile terminal further include:
Third obtains module, for sending access network to proxy server in the network by mobile communication carrier Before data access request, the interim verification information that the distribution server is mobile terminal distribution is received, wherein described Interim verification information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, for it is described it is mobile eventually End distribution;
7th sending module, is specifically used for:
It include the data access request for carrying the interim verification information to the proxy server, so that the agency takes Business device verifies the legitimacy of the data access request based on the interim verification information.
Optionally, the mobile terminal accesses the partial data flow generated in network development process by the proxy server Exempt from flow identifier based on described in by Mobile Network Operator to be included in specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
Optionally, described to be included in specified services quotient, comprising: the expense that corresponding data flow generates is calculated as specified services The expense of the account consumption of quotient.
The method of the province's stream access network for mobile terminal provided according to the present invention, passes through mobile communication carrier Network sends data access request to proxy server, includes the communication identifier of mobile terminal, communication mark in data access request Knowledge has online and exempts from flow permission, so that data access request is sent to resource compression service device by proxy server, data are visited Ask that request obtains requested date from Resource Server for resource compression service device and compresses requested date;By mobile logical Believe the compressed requested date that the network Receiving Agent server of operator is sent, compressed requested date is by resource Compression service device is sent to proxy server;Wherein, the data transmission during mobile terminal network visiting, which is marked with, exempts from flow Mark, mobile terminal access all or part of data traffic generated in network development process by proxy server and are transported by mobile network Battalion quotient is based on exempting from flow identifier and being included in specified services quotient.That is, in mobile terminal network visiting, it can be whole Or data traffic spent by specified services quotient is expended in part, and the data of consumption mobile terminal are not needed partly or completely Thus flow alleviates the technical issues of needing to expend a large amount of flows of mobile terminal when accessing network in the prior art, reaches The technical effect of the data traffic expended when reducing mobile terminal network visiting;Thereby, it is possible to significantly improve user to access net The enthusiasm of network, to be conducive to the wide-scale distribution of the Web content on internet;
And the program is transmitted to mobile terminal after obtaining requested date and compressing requested date, so mention High response speed, and data traffic spent by specified services quotient can also be reduced.
Also, it is in the above scheme, true by the communication identifier and authentication information of mobile terminal in the distribution server Determine after mobile terminal has and exempt from flow permission, be just mobile terminal distribution for mobile terminal in order to avoid flow mode accesses network Proxy server, so as to prevent the user of immobile terminal from falsely using the free flow of mobile terminal;
Also, in embodiments of the present invention, the distribution server is greater than pre- in the free residual flow for determining communication identifier If being just mobile terminal assignment agent server, so as to be supplied to the free number of mobile terminal to specified services quotient when amount It is accurately controlled according to flow;
Also, in embodiments of the present invention, when proxy server prompting mobile terminal has dropped out login, the distribution server Interim verification information is nullified, so as to guarantee that an interim verification information is only able to use in once access network development process, from And it can further prevent the user of immobile terminal from falsely using the free flow of mobile terminal.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the interaction figure of the exchange method of province's stream access network according to an embodiment of the invention;
Fig. 2 shows the flow charts that the method for access network flows in province 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 process of the method according to an embodiment of the invention that stream access network is saved for mobile terminal Figure;
Fig. 6 shows the schematic diagram of mobile terminal according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of methods and mobile terminal that stream access network is saved for mobile terminal, to solve The technical issues of certainly needing to expend mobile terminal a large amount of data traffic when the mobile terminal network visiting of the prior art.
The embodiment of the present invention provides a kind of exchange method of province's stream access network, as shown in Figure 1, being the interaction of this method Scheme, equipment involved in this method includes: mobile terminal, the distribution server, proxy server, resource compression service device and resource Server, wherein mobile terminal is for example are as follows: mobile phone, tablet computer etc., the user of mobile terminal are terminal user;Point Hair server is mainly used for providing authentication, selection proxy server for mobile terminal;Proxy server be mainly used for for The mobile terminal offer network access service that flow permission is exempted from online is provided;Resource compression service device is mainly used for mobile terminal The upstream data of transmission and the downlink data for being sent to mobile terminal are compressed;Resource Server is usually mentioned by Web content It is provided for quotient, provides rich and varied Web content for terminal user for the Internet resources using internet, such as: video, Webpage, picture etc..
Referring to FIG. 1, the exchange method of province stream access network, comprising the following steps:
Step S110: proxy server receives the data that mobile terminal accesses network by the network of mobile communication carrier Access request, includes the communication identifier of mobile terminal in data access request, and communication identifier has online and exempts from flow permission;
Step S120: data access request is sent to resource compression service device by proxy server;
Step S130: resource compression service device is based on data access request and obtains requested date from Resource Server and press Contracting requested date;
Step S140: proxy server receives the compressed requested date that resource compression service device is sent;
Step S150: compressed requested date is sent to by proxy server by the network of mobile communication carrier Mobile terminal;
Wherein, the data transmission during mobile terminal network visiting, which is marked with, exempts from flow identifier, and mobile terminal passes through generation The all or part of data traffic generated in reason server access network development process is based on exempting from flow identifier by Mobile Network Operator It is included in specified services quotient.
As a kind of optional implementation, net of the mobile terminal by mobile communication carrier is received in proxy server Before network accesses the data access request of network, mobile terminal is it needs to be determined that provide the agency service of network access service for it Device, wherein mobile terminal can directly be communicated mark and send the distribution server, judge the communication identifier by the distribution server Whether have and exempt from flow permission, the distribution server determine it have exempt from flow permission when, be the service of mobile terminal assignment agent Otherwise device is not mobile terminal assignment agent server.
And the communication identifier of mobile terminal is falsely used in order to prevent, improves the safety of network access, it can as another kind The embodiment of choosing, determine the process of proxy server with continued reference to FIG. 1, the following steps are included:
Step S101: the communication identifier and authentication information of the distribution server reception mobile terminal;
Step S102: communication identifier and authentication information verifying communication identifier of the distribution server based on mobile terminal are It is no have exempt from flow permission;
Step S103: the distribution server determine communication identifier have exempt from flow permission when, be mobile terminal assignment agent Server.
For example, before step S101, mobile terminal can be tied up in the distribution server in a manner of registration etc. by first passing through in advance Determine the communication identifier of mobile terminal, such as: mobile terminal can exempt from traffic service, distribution service to the distribution server application first Device after receiving the application of mobile terminal, according to some prerequisites (such as: whether the software for initiating this application is predetermined Whether whether software, the mobile terminal have used predetermined software, the communication identifier in specified services quotient registration etc.) determine whether Exempt from flow permission to the communication identifier distribution of the mobile terminal, if the distribution server, which is determined, exempts from flow to mobile terminal distribution Permission, then the distribution server can send a UserKey (user password) to mobile terminal and be used as authentication information;Further , the distribution server can then give communication identifier to guarantee that the communication identifier of mobile terminal is not falsely used by other users first An identifying code is sent, after the user of mobile terminal successfully fills in the identifying code, just gives mobile terminal distribution authentication letter Breath.
In addition, the distribution server the access network development process for mobile terminal provide exempt from stream service when, can there is no stream Amount limitation, there may also be flow restrictions, wherein there is no flow restrictions to refer to regardless of the mobile terminal is in access network mistake Accumulation uses how many flow in journey, exempts to its offer to exempt from flow permission as long as stream requires as long as meeting, such as: the distribution server can be with For certain mobile terminals terminal iidentification (such as: particular vendors production mobile terminal, use certain types of operating system Mobile terminal etc.) setting VIP identity, and then the terminal iidentification that is supplied to these mobile terminals is endless exempts to flow;And for non- VIP user may exist flow restriction, and there are flow restrictions to refer to for distribution spy in every section of predetermined time of the mobile terminal Constant flow, if mobile terminal accumulates the total flow used without departing from the particular flow rate, at it in access network development process Meet in the case where exempting from stream requirement, exempts from flow permission to its distribution, and if mobile terminal is used in access network development process Total flow be more than particular flow rate, then do not exempt from flow permission to its distribution, such as;It can be distributed for mobile terminal with one month The free flow of 30M, the free flow of 50M etc..
In an alternative embodiment, if the distribution server distributes to the free flow of mobile terminal, there are Flow Limits System, then the user of mobile terminal can also obtain the data traffic of the distribution server reward by some activities, such as: pass through shifting Dynamic terminal clicks pre-determined advertisement, click predetermined webpage, the predetermined APP of downloading etc., and in this case, the distribution server can increase The data traffic of mobile terminal distribution is added as, such as: 30M, 40M etc..And then if mobile terminal needs to access network, example Such as: detecting that the user of mobile terminal starts the operation of browser, then mobile terminal can test the communication identifier of oneself and identity Card information is sent to the distribution server.
In step S102, the authentication information for the communication identifier that the distribution server judgement receives is led to this prestored Whether the authentication information that beacon is known matches, and if matching, illustrates that corresponding mobile terminal has and exempts from flow permission, Otherwise illustrate that corresponding mobile terminal does not have and exempt from flow permission.
In step S103, if the flow permission of exempting from that the distribution server is mobile terminal distribution does not have flow restriction, divide Hair server can directly be its assignment agent server after determining that mobile terminal has and exempts from flow permission;And if The distribution server is that the flow permission of exempting from of mobile terminal distribution has flow restriction, then the distribution server is determining mobile terminal tool It is standby exempt from flow permission after, it is also necessary to judge its residual flow whether more than one threshold value, just give shifting when being more than this threshold value Dynamic terminal distribution proxy server, treatment process is specifically includes the following steps: the distribution server acquisition communication identifier uses and refers to The charging mode for determining service provider carries out the free residual flow information of charging;Communication identifier is judged based on free residual flow information Free residual flow whether be greater than predetermined amount (threshold value of such as front);When free residual flow is greater than predetermined amount, for movement Terminal distribution proxy server.
Under normal conditions, one of the effect of the distribution server is exactly to count the free residual flow information of communication identifier, in advance If amount is for example are as follows: 0M, 1M, 512K etc. illustrate under normal conditions, to be somebody's turn to do if free residual flow is greater than predetermined amount Exempting from stream residual flow can satisfy the access of this network, so its assignment agent server can be given;And if free residual stream Amount then illustrates under normal conditions that it is impossible to meet the access of this network for the free residual flow no more than if predetermined amount, so Do not give its assignment agent server.
Wherein, the distribution server can be selected when giving mobile terminal assignment agent server from multiple proxy servers It selects the proxy server nearest apart from mobile terminal physical position and distributes to that mobile terminal, also to can choose network load most light The proxy server that proxy server distributes to mobile terminal or selects network delay minimum distributes to mobile terminal etc. Deng, or comprehensively considered using at least two strategies in above-mentioned multiple distribution policies to select, the distribution server is used Which kind of mode is mobile terminal assignment agent server, and the embodiment of the present invention no longer itemizes, and with no restriction.
Wherein, as a kind of optional embodiment, there is no flow restriction in the flow permission of exempting from for mobile terminal distribution In the case where, if mobile terminal, which has, exempts from flow permission, interim verification information (token) use is can be generated in the distribution server In this access network development process of mobile terminal;Or there are flow restrictions in the flow permission of exempting from for mobile terminal distribution In the case where, if mobile terminal has the free residual flow for exempting from flow permission and mobile terminal greater than predetermined amount, distribute Interim verification information also can be generated in server.
In addition, the distribution server is needed some numbers in order to guarantee that subsequent movement terminal can be connected to proxy server According to proxy server is sent to, four kinds of data therein are set forth below and are introduced, it is certainly, in the specific implementation process, unlimited In following four situation.1. the communication identifier of mobile terminal is sent to proxy server by the distribution server;2. the distribution server The communication identifier of mobile terminal, interim verification information are sent to proxy server;3. the distribution server is led to mobile terminal Beacon is known, free residual flow is sent to proxy server;4. the distribution server is by the communication identifier of mobile terminal, free remaining Flow, interim verification information are sent to proxy server.
In addition, the address information of proxy server is also required to be supplied to mobile terminal, wherein the address of proxy server is believed Breath can be sent directly to mobile terminal by the distribution server;It can also be by proxy server in the communication for receiving mobile terminal After mark, mobile terminal is sent it to by the communication identifier of mobile terminal.Step S104 as shown in Figure 1, for by dividing The process for the mobile terminal that the address information of proxy server is sent to by hair server.
Mobile terminal, proxy server, resource compression service device and Resource Server can be established based on above step Between exempt from circulation road, establish it is above-mentioned exempt from circulation road after, mobile terminal accesses net by the network of mobile communication carrier When network, the flow that mobile communication carrier can be expended is included in specified services quotient.
In step S110, if the distribution server is not this access network development process distribution in step S101~S103 Interim verification information, then data access request is directly sent to proxy server by mobile terminal;If the distribution server is in step It is assigned interim verification information for this access network development process in rapid S101~S103, then mobile terminal will carry interim verifying letter The data access request of breath is sent to proxy server.In step S120, proxy server can receive mobile terminal hair After the data access request sent, resource compression service device is just directly sent it to, and gives generation before based on the distribution server The different information that server is sent are managed, proxy server can also first carry out some verification process, be set forth below three kinds therein Verification process is introduced, and certainly, in the specific implementation process, is not limited to following three kinds of situations.
1. the data that the distribution server is sent to proxy server include that the communication identifier of mobile terminal and interim verifying are believed Breath, in this case, the data access request that mobile terminal is sent also can include interim verification information, then proxy server exists When legal by interim verification information verify data access request, data access request is sent to resource compression service device.Its In, interim verification information phase that proxy server sends the interim verification information that mobile terminal is sent with the distribution server Match, if successful match, illustrates that the data access request is legal, otherwise illustrate that the data access request is illegal.It is logical The safety of this access network development process can be guaranteed by crossing above scheme.
2. the distribution server be sent to proxy server data include mobile terminal communication identifier and free residual stream Information is measured, then proxy server is primarily based on free residual flow information judgement movement after receiving data access request Whether the newest free residual flow of terminal is greater than predetermined amount;When newest free residual flow information is greater than predetermined amount, will count It is sent to resource compression service device according to access request, and if newest free residual flow information is not more than predetermined amount, it informs Mobile terminal, allow mobile terminal by other access path access Resource Server (such as: directly data access request is sent Resource compression service device etc. is sent to Resource Server or directly by data access request).Through the above scheme, energy Specified services quotient is enough set to provide the free data flow of specific quantity to mobile terminal.
Wherein, if judging that the free residual flow of mobile terminal was greater than predetermined amount in the distribution server, clothes are acted on behalf of Device be engaged in when receiving data access request for the first time, does not need to judge newest free residual flow (namely the distribution server hair The free residual flow sent) whether it is greater than predetermined amount;But the data traffic of this network access request consuming is directly counted, so It is subtracted into the data traffic from the free residual flow that the distribution server is sent afterwards, then available newest free data stream Amount;It can be determined whether by judging whether newest free data flow is greater than predetermined amount by data access request in subsequent It is sent to resource compression service device.
In addition, proxy server can also the data traffic letter according to spent by preset measurement period statistics mobile terminal Breath, knows that mobile terminal has the newest free residual flow information for exempting from flow permission.
For example, preset measurement period is for example are as follows: preset statistics time interval, preset statistics time interval example Timer can be set in for example 30s, 50s, 1min etc., proxy server, and every prefixed time interval just obtains its statistics Mobile terminal data traffic spent in current time interval, and mobile terminal is obtained most based on the data flux statistics New free residual flow information.
Preset measurement period in another example are as follows: preset statistics flow, preset statistics flow are 512k, 1M etc., generation Reason server can be monitored data traffic spent by the mobile terminal, every to expend preset statistics flow, then basis The preset statistics flow determines the newest free residual flow information of mobile terminal.
Through the above scheme, it can guarantee the newest residual flow information for obtaining mobile terminal in time.
Certainly, proxy server, can also after measurement period counts data traffic information spent by mobile terminal To be sent to the distribution server, the newest free residual flow information of mobile terminal is counted by the distribution server.
Wherein, it after the distribution server obtains data traffic information spent by mobile terminal, can also be sent to move Dynamic terminal is informed in mobile terminal enquiry;Or the distribution server is in the newest free residue for determining mobile terminal After flow information, mobile terminal can also be sent it to, so enable mobile terminal to present flow rate service condition into And a understanding, then select preferable network access policies.Or it is informed in mobile terminal enquiry.
3. the data that the distribution server is sent to proxy server include the communication identifier of mobile terminal, free residual flow Information and interim verification information, in this case, then proxy server is verifying the visit of this data by interim verification information It asks and legal and newest free residual flow information is requested to be greater than predetermined amount, data access request is sent to resource compression service Device.It can either guarantee the safety of this access network development process with this solution, and can guarantee specified services quotient only to movement The free flow of terminal offer predetermined amount.In step 130, resource compression service device is in the data for receiving proxy server transmission After access request, data access request is just sent to Resource Server, and then obtain requested date from Resource Server; Wherein, resource compression service device just carries out at compression requested date after obtaining requested date from Resource Server Reason can carry out compression processing to requested date in several ways, be set forth below therein two in the specific implementation process Kind mode is introduced, and certainly, in the specific implementation process, is not limited to following two situation.
The first, resource compression service device compresses requested date by lossy compression mode.
For example, lossy compression is also known as damage type compression, i.e., reduces secondary information data, sacrifice some quality Data volume is reduced, the compress mode for improving compression ratio, wherein a variety of lossy compression sides can be used for requested date Formula is set forth below two kinds therein and is introduced, and certainly, in the specific implementation process, is not limited to following two situation.
1. resource compression service device is when requested date includes image data, by the display size of image data by first Display size is reduced into the second display size being adapted with the display unit of mobile terminal.
For example, the display unit of each size is adapted to positioned at the image data of Resource Server, so Its first display size is usually larger, but the screen of mobile terminal is usually smaller, so can be by the display ruler of image data It is very little to be reduced into the second display size, and then the data traffic expended in image data transmission process can be reduced, and improve figure As the transmission rate of data.
2. resource compression service device removes the redundant code in code data when requested date includes code data It is sent to mobile terminal later.
For example, redundant code is for example are as follows: the comment statement in code, in the written in code stage, programmer is for side Just some comment statements would generally be increased in code by interpreting code, these comment statements have no influence for code analysis, because This resource compression service device is in requested date comprising that comment statement therein can be deleted in code data.
Second, resource compression service device compresses requested date by lossless compression mode.
For example, lossless compression is optimized to the data storage method of file, is repeated using certain algorithmic notation Data information, file can restore completely, will not influence file content, for digital image, would not also make image Details has any loss.
In step S150, the data during mobile terminal network visiting include upstream data and downlink data, wherein on Row data be the data (such as: data access request) that Resource Server is sent to by mobile terminal, downlink data is served as reasons Resource Server is sent to the data (such as: requested date) of mobile terminal, wherein in upstream data and downlink data at least A kind of data traffic of data is counted into the data traffic of specified services quotient consumption.
Wherein, it is provided if specified services quotient for mobile terminal if upstream data exempts from stream, mobile terminal takes to agency It is also carried in the data access request that business device is sent and exempts from flow identifier, data traffic corresponding to data access request is based on Exempt from flow identifier to be included in specified services quotient;And if specified services quotient is provided for mobile terminal if downlink data exempts from stream, Compressed requested date, which can carry, exempts from flow identifier (such as: by proxy server plus exempting from flow identifier), and then presses The data traffic of the requested date to contract can be based on exempting from flow identifier and being included in specified services quotient by mobile communication carrier.
Wherein, exempt from flow identifier can for it is a variety of it is various forms of exempt from flow identifier, be set forth below it is therein two kinds progress It introduces, certainly, in the specific implementation process, is not limited to following two situation.
1. proxy server is after receiving the communication identifier of mobile terminal of the distribution server transmission and is receiving Before the data access request that mobile terminal is sent, default label is sent to mobile terminal, in mobile terminal network visiting process In default label is carried when carrying out data transmission, default label is to exempt from flow identifier.
2. the distribution server is that the IP address of the proxy server of mobile terminal distribution is preset IP address, preset IP address As this exempts from flow identifier.
In the specific implementation process, it can be counted by the gateway being set between mobile mobile terminal and proxy server Access the data traffic in network development process.
For the case where flow identifier is default IP is exempted from, corresponding gateway (or the charge system being connected with corresponding network) exists After the data access request for receiving mobile terminal transmission, the IP of next node corresponding to the data access request is judged Whether it is default IP, if it is default IP, its data traffic is included in the data traffic of specified services quotient, corresponding gateway (or The charge system that person is connected with corresponding network) after the requested date for receiving proxy server transmission, judge the agency Whether the IP of server is to preset IP its data traffic is included in the data traffic of specified services quotient if it is default IP;Needle It is in the case where presetting label to flow identifier is exempted from, corresponding gateway (or the charge system being connected with corresponding network) is receiving After the data access request (or the requested date for receiving proxy server transmission) that mobile terminal is sent, it is judged as this Whether comprising default label in data access request (or requested date), if comprising presetting label, by its data flow Meter enters the data traffic of specified services quotient.
In the specific implementation process, the total data flow during mobile terminal network visiting is counted into specified services quotient In refer to this access network development process in, data flow of Mobile Network Operator during determining mobile terminal accessing After amount, its whole is included in specified services quotient.
And mobile terminal accesses the partial data flow generated in network development process by proxy server and is transported by mobile network Battalion quotient is based on exempting from flow identifier and being included in specified services quotient, may exist a variety of situations, be set forth below three kinds therein into Row is introduced, and certainly, in the specific implementation process, is not limited to following three kinds of situations.
The first, the data traffic of special ratios is counted into specified services quotient during mobile terminal network visiting.
For example, special ratios are for example are as follows: 50%, 70% etc., wherein have during mobile terminal network visiting It is standby when exempting from flow permission (such as: data transmission, which carries, exempts from flow identifier), corresponding gateway (or the charging being connected with corresponding network System) its special ratios is included in specified services quotient, and remaining ratio is included in the communication identifier, and such as: assuming that this is visited Ask that mobile terminal in network development process expends the flow of 10M, special ratios altogether are as follows: 50%, then charge system is in charging, by 5M's Flow is included in specified services quotient, and the flow of remaining 5M is included in the communication identifier of the mobile terminal.Certainly, above data is only As an example, it is not intended as limiting.
Second, certain amount of data traffic is counted into specified services quotient during mobile terminal network visiting.
For example, specific quantity is for example are as follows: 10M, 20M etc., wherein have during mobile terminal network visiting When exempting from flow permission, corresponding gateway (or the charge system being connected with corresponding network) terminates it in this access network development process Afterwards, whether the data traffic for judging this access network development process is more than the specific quantity, if being not above, will be owned Data traffic be all included in specified services quotient;If it exceeds will then be not above the data traffic of part if specific quantity It is included in specified services quotient, overage is included in the communication identifier of the mobile terminal.
The third, the data traffic of specific content is counted into specified services quotient during mobile terminal network visiting.
For example, specific content is for example are as follows: text, picture etc., wherein have during mobile terminal network visiting For when exempting from flow permission, corresponding gateway (or the charge system being connected with corresponding network) obtains what access network development process was transmitted Data, then determine the data such as text, picture from the data transmitted of access network development process, and by its corresponding data flow Meter enters in specified services quotient;And it is directed to other kinds of content, and such as: its corresponding data traffic is then included in shifting by video In the communication identifier of dynamic terminal.
It as a kind of possible implementation, is included in specified services quotient, comprising: the expense for generating corresponding data flow It is calculated as the expense of the account consumption of specified services quotient.
For example, since corresponding data flow has been included in specified services quotient, and mobile communication carrier will not be directed to Primary access network development process carries out repetition charging, so corresponding data traffic will not be counted into the mark of the mobile terminal, because , in mobile communication carrier's charging, the expense that can be generated is calculated as the expense of the account consumption of specified services quotient for this, thus It charges to specified services quotient.
As a kind of optional embodiment, with continued reference to FIG. 1, method further include:
Step S160: whether proxy server judgement receives any data access of mobile terminal within a preset period of time Request;
Step S170: it if being not received by any data access request of mobile terminal within a preset period of time, mentions Show that mobile terminal has dropped out login.
For example, preset time period is for example are as follows: 10min, 30min, 40min etc., if proxy server is default The arbitrary data access request that mobile terminal transmission is not received in period, then illustrate mobile terminal this visit network mistake Journey is over, so can produce a corresponding prompt information.Further, proxy server is generating the prompt information Later, which can also be sent to the distribution server.
In this case, if the distribution server is that this access network development process distributed interim verification information before Words, then the distribution server nullifies interim verification information based on the prompt information that proxy server is sent, in addition, proxy server Nullify interim verification information.With this solution, it can guarantee that the interim verification information distributed can only be as this access network The verification information of process, next interim verification information network access or need generation new, to improve the peace of network access Quan Xing.
As a kind of optional embodiment, if proxy server prompting mobile terminal has dropped out login, this method is also wrapped It includes:
Proxy server by the starting surf time of mobile terminal, terminate the data traffic information of surf time and consumption It is sent to the distribution server;
The data traffic information that the distribution server is sent based on proxy server to the free residual flow of mobile terminal into Row statistics.
For example, proxy server can send information as shown in Table 1 to the distribution server:
Table 1
Initial time End time The data traffic information of consumption
2015-4-15 14:23 2015-4-15 14:44 1.6M
Assuming that the distribution server is total free data flow of mobile terminal distribution are as follows: 30M, and the mobile terminal exists 20M flow has been consumed before the access of this network, then the mobile terminal can be determined by this access network mistake Free residual flow after journey are as follows: 10M-1.6M=8.4M.Certainly, above data flow is not intended as just citing Limitation.
In an optional implementation manner, mobile terminal, proxy server, resource compression service device, Resource Server Between can all be carried out data transmission using identical transport protocol, such as: all using Http agreement transmission, all use Http2 agreement transmission etc..
In an alternative embodiment, mobile terminal, proxy server, resource compression service device, Resource Server Between can also be carried out data transmission using different transport protocols, such as: used between mobile terminal and proxy server First transport protocol is transmitted, and is compressed and passed using the second transport protocol between proxy server, resource compression service device Transmission of data, in this case, since the second transport protocol can compress data, so can further improve number According to transmission rate, and between mobile terminal and proxy server still use the first transport protocol the reason of be, prevent by Exempt from flow included in data (such as: data access request, requested date) between mobile terminal and proxy server It identifies and is identified in the gateway (or charge system) that can not be billed by the compression of the second transport protocol, with this solution can The rate of enough improve data transfers, and can guarantee that exempting from flow identifier can be identified by network (or charge system).Citing For, the first transport protocol is for example are as follows: Http agreement or other do not need to transmission data carry out compress and can be moved The agreement that the gateway of common carrier is identified;Second transport protocol is for example are as follows: Spdy agreement or other can to transmission number According to the agreement compressed.
In addition, in the specific implementation process, mobile terminal can also pass through upstream data (such as: data access request) It is sent to resource compression service device after lossless compression, is sent to resource service after being decompressed by resource compression service device Device;If the requested date that mobile terminal receives is compressed requested date, and resource compression service device is to being asked It asks data using lossless compression, then can also carry out decompression processing to compressed requested date.
The distribution server that the embodiment of the present invention is introduced, proxy server can be completely self-contained for two physical locations Server;Or two different function modules of same server, equally, proxy server and resource compression service device it Between also both can be two completely self-contained servers in position, or two different function modules of same server, In, since the function of resource compression service device is complex and the function of proxy server is relatively simple, so by agency service If device and resource compression service device are set as two completely self-contained servers in position, proxy server, resource can be convenient The respective extension of compression service device uses, in addition, the distribution server, proxy server, resource compression service device can be three Completely self-contained server, or three different function functional modules of same server, for the distribution server, agency Which kind of composed structure server, resource compression service implement body use, and the embodiment of the present invention is with no restriction.
The exchange method of stream access network is saved provided by according to an embodiment of the present invention, the embodiment of the present invention also provides one kind The method for saving stream access network, referring to FIG. 2, including:
Step S201: proxy server receives the data that mobile terminal accesses network by the network of mobile communication carrier Access request, includes the communication identifier of mobile terminal in data access request, and communication identifier has online and exempts from flow permission;
Step S202: data access request is sent to resource compression service device by proxy server, so that resource compression clothes Business device is based on data access request and obtains requested date from Resource Server and compress requested date;
Step S203: proxy server receives the compressed requested date that resource compression service device is sent;
Step S204: compressed requested date is sent to by proxy server by the network of mobile communication carrier Mobile terminal;
Wherein, the data transmission during mobile terminal network visiting, which is marked with, exempts from flow identifier, and mobile terminal passes through generation The all or part of data traffic generated in reason server access network development process is based on exempting from flow identifier by Mobile Network Operator It is included in specified services quotient.
Optionally, method further include: resource compression service device compresses requested date by lossy compression 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 mode, comprising: resource compression service Device is reduced into movement eventually when requested date includes image data, by the display size of image data by the first display size The second adaptable display size of the display unit at end;And/or resource compression service device includes code data in requested date When, mobile terminal will be sent to after the redundant code removal in code data.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by Mobile Network Operator is based on exempting from flow identifier and being included in specified services quotient, comprising: the data access that mobile terminal is sent Comprising exempting from flow identifier in request, data traffic corresponding to data access request is based on exempting from flow identifier being included in specified services Shang Zhong;And/or the data traffic of compressed requested date is based on exempting from flow identifier being included in specified services quotient.
Optionally, method further include: proxy server sends default label to mobile terminal, in mobile terminal network visiting Default label is carried when carrying out data transmission in the process, default label is to exempt from flow identifier;Alternatively, the IP address of proxy server For preset IP address, preset IP address is to exempt from flow identifier.
Optionally, method further include: proxy server number according to spent by preset measurement period statistics mobile terminal According to flow information, know that mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, method further include: data traffic information spent by mobile terminal is sent to distribution by proxy server Server;The distribution server is determined that mobile terminal has and is exempted from flow permission based on data traffic information spent by mobile terminal Newest free residual flow information.
Optionally, further includes: the communication identifier and authentication information of the distribution server reception mobile terminal;Distribution service Whether communication identifier and authentication information verifying communication identifier of the device based on mobile terminal, which have, is exempted from flow permission;Distribution service Device determine communication identifier have exempt from flow permission when, be mobile terminal assignment agent server.
Optionally, data are transmitted by the first transport protocol between mobile terminal and proxy server;And/or agency service Data are compressed and transmit by the second transport protocol between device and resource compression service device, the second transport protocol and the first transmission are assisted View is different.
Optionally, the first transport protocol specifically: Http agreement;Second transport protocol specifically: Spdy agreement.
Optionally, the distribution server determine communication identifier have exempt from flow permission when, for mobile terminal assignment agent take Business device, specifically includes: the distribution server obtains communication identifier and carries out the free surplus of charging using the charging mode of specified services quotient Remaining flow information;The distribution server based on free residual flow information judge communication identifier free residual flow whether be greater than it is pre- If amount;The distribution server is mobile terminal assignment agent server when free residual flow is greater than predetermined amount.
Optionally, further includes: the distribution server generates interim verification information, and interim verification information is sent to movement eventually End and proxy server;Proxy server receives the data that mobile terminal accesses network by the network of mobile communication carrier Access request, specifically: proxy server receives the data access request for the carrying authentication information that mobile terminal is sent;Generation It manages server and data access request is sent to resource compression service device, comprising: proxy server is based on interim verification information and tests Demonstrate,prove the legitimacy of data access request;And when data access request is legal, data access request is sent to resource compression Server.
Optionally, after proxy server prompting mobile terminal has dropped out login, the distribution server nullifies interim verifying letter Breath.
Optionally, if proxy server prompting mobile terminal has dropped out login, further include: proxy server will move Starting surf time of terminal terminates the surf time and the data traffic information of consumption is sent to the distribution server;Distribution clothes Business device counts the free residual flow of mobile terminal based on the data traffic information that proxy server is sent.
Optionally, after for mobile terminal assignment agent server, method further include: the distribution server will be free remaining Flow information is sent to proxy server;Data access request is sent to resource compression service device by proxy server, specific to wrap Include: proxy server judges the newest of mobile terminal after receiving data access request, based on free residual flow information Whether free residual flow is greater than predetermined amount;When newest free residual flow information is greater than predetermined amount, by data access request It is sent to resource compression service device.
The exchange method of stream access network is saved provided by according to embodiments of the present invention, the embodiment of the present invention also provides one kind Proxy server, referring to FIG. 3, including:
First receiving module 30 passes through the data of the network access network of mobile communication carrier for receiving mobile terminal Access request, includes the communication identifier of mobile terminal in data access request, and communication identifier has online and exempts from flow permission;
First sending module 31, for data access request to be sent to resource compression service device, so that resource compression clothes Business device is based on data access request and obtains requested date from Resource Server and compress requested date;
Second receiving module 32, for receiving the compressed requested date of resource compression service device transmission;
Second sending module 33, for compressed requested date to be sent to by the network of mobile communication carrier Mobile terminal;
Wherein, the data transmission during mobile terminal network visiting, which is marked with, exempts from flow identifier, and mobile terminal passes through generation The all or part of data traffic generated in reason server access network development process is based on exempting from flow identifier by Mobile Network Operator It is included in specified services quotient.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by Mobile Network Operator is based on exempting from flow identifier and being included in specified services quotient, comprising: the data access that mobile terminal is sent Comprising exempting from flow identifier in request, data traffic corresponding to data access request is based on exempting from flow identifier being included in specified services Shang Zhong;And/or the data traffic of compressed requested date is based on exempting from flow identifier being included in specified services quotient.
Optionally, proxy server further include: third sending module 34, for sending default label to mobile terminal, Default label is carried when carrying out data transmission during mobile terminal network visiting, default label is to exempt from flow identifier;Alternatively, generation The IP address for managing server is preset IP address, and preset IP address is to exempt from flow identifier.
According to a further aspect of the invention, a kind of network access system is provided, referring to FIG. 4, including any implementation of the present invention The proxy server and resource compression service device that example is introduced, resource compression service device includes: the first compression module 40, for leading to It crosses lossy compression mode and compresses requested date;And/or
Second compression module 41, for compressing requested date by lossless compression mode.
Optionally, the first compression module 40, is used for: when requested date includes image data, by the aobvious of image data Show that size is reduced into the second display size being adapted with the display unit of mobile terminal by the first display size;And/or in quilt When request data includes code data, mobile terminal will be sent to after the redundant code removal in code data.
Optionally, proxy server further include: the first statistical module 35 is moved for being counted according to preset measurement period Data traffic information spent by terminal knows that mobile terminal has the newest free residual flow information for exempting from flow permission.
Optionally, system further include: the distribution server;Proxy server further include: the 4th sending module 36, for that will move Data traffic information spent by dynamic terminal is sent to the distribution server;The distribution server, comprising: determining module 50 is used for base Data traffic information spent by mobile terminal determines that mobile terminal has the newest free residual flow letter for exempting from flow permission Breath.
Optionally, the distribution server further include: third receiving module 51, for receiving the communication identifier and body of mobile terminal Part verification information;Authentication module 52, for based on mobile terminal communication identifier and authentication information verifying communication identifier be It is no have exempt from flow permission;Distribution module 53, for determine communication identifier have exempt from flow permission when, for mobile terminal distribute Proxy server.
Optionally, data are transmitted by the first transport protocol between mobile terminal and proxy server;And/or agency service Data are compressed and transmit by the second transport protocol between device and resource compression service device, the second transport protocol and the first transmission are assisted View is different.
Optionally, the first transport protocol specifically: Http agreement;Second transport protocol specifically: Spdy agreement.
Optionally, distribution module 53 specifically include: acquiring unit, for obtaining communication identifier using specified services quotient's The free residual flow information of charging mode progress charging;Judging unit, for based on the judgement communication of free residual flow information Whether the free residual flow of mark is greater than predetermined amount;Allocation unit is used for when free residual flow is greater than predetermined amount, to move Dynamic terminal distribution proxy server.
Optionally, the distribution server further include: generation module 54 for generating interim verification information, and will be verified temporarily Information is sent to mobile terminal and proxy server;
First receiving module 30 receives the carrying authentication information that mobile terminal is sent specifically for proxy server Data access request;Deng a sending module 31, specifically for the legitimacy based on interim verification information verify data access request; And when data access request is legal, data access request is sent to resource compression service device.
Optionally, the distribution server, further includes: cancellation module 55, for having been moved back in proxy server prompting mobile terminal After logging in out, interim verification information is nullified.
Optionally, proxy server further include: the 5th sending module 37, if being used for proxy server prompting mobile terminal Login is had dropped out, then the data traffic information by the starting surf time of mobile terminal, end surf time and consumption is sent To the distribution server;The distribution server further includes the second statistical module 56, the data traffic for being sent based on proxy server Information counts the free residual flow of mobile terminal.
Optionally, the distribution server further include: the 6th sending module 57, for free residual flow information to be sent to generation Manage server;First sending module 30, for judging the newest free residual stream of mobile terminal based on free residual flow information Whether amount is greater than predetermined amount;When newest free residual flow information is greater than predetermined amount, data access request is sent to resource Compression service device.
Optionally, further includes: the mobile terminal that any embodiment of the present invention is introduced.
The exchange method of stream access network is saved provided by according to an embodiment of the present invention, the embodiment of the present invention also provides one kind For the method that mobile terminal saves stream access network, referring to FIG. 5, including:
Step S501: data access request is sent to proxy server by the network of mobile communication carrier, data are visited Ask the communication identifier in request comprising mobile terminal, communication identifier has online and exempts from flow permission, so that proxy server will count It is sent to resource compression service device according to access request, data access request is obtained for resource compression service device from Resource Server Requested date simultaneously compresses requested date;
Step S502: the compressed requested number sent by the network Receiving Agent server of mobile communication carrier According to compressed requested date is sent to proxy server by resource compression service device;
Wherein, the data transmission during mobile terminal network visiting, which is marked with, exempts from flow identifier, and mobile terminal passes through generation The all or part of data traffic generated in reason server access network development process is based on exempting from flow identifier by Mobile Network Operator It is included in specified services quotient.
Optionally, compressed requested date specifically: the requested date crossed by lossy compression;And/or pass through The requested date that lossless compression is crossed.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by Mobile Network Operator is based on exempting from flow identifier to be included in specified services quotient to include: to data transmitted by proxy server Comprising exempting from flow identifier in access request, data traffic corresponding to data access request by based on exempt from flow identifier be included in it is specified In service provider;And/or the data traffic of compressed requested date is based on exempting from flow identifier being included in specified services quotient.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by Mobile Network Operator is based on exempting from flow identifier and being included in specified services quotient, specifically: determining mobile terminal accessing When in the data in network development process comprising default label, by all or part of data traffic during mobile terminal network visiting It is included in specified services quotient;Or the data during mobile terminal network visiting are transferred through the agency service of preset IP address The all or part of data traffic for flowing through preset IP address is included in specified clothes when Mobile Network Operator carries out charging by device It is engaged in quotient.
Optionally, before sending data access request to proxy server by the network of mobile communication carrier, side Method further include: obtain the proxy server that the distribution server is distributed for access network development process, the IP address of proxy server is Preset IP address, preset IP address are to exempt from flow identifier;Or obtain proxy server be access network development process distributed it is pre- Bidding label, carry default label when carrying out data transmission in accessing network development process, default label is to exempt from flow identifier.
Optionally, it is asked in the network by mobile communication carrier to the data access that proxy server sends access network Before asking, method further include: the communication identifier of mobile terminal and authentication information are sent to the distribution server, so that distribution Server is after identity-based verification information verifying communication identifier has and exempts from flow permission, to access network development process assignment agent Server.
Optionally, it is asked in the network by mobile communication carrier to the data access that proxy server sends access network Before asking, method further include: receive the interim verification information that the distribution server is mobile terminal distribution, wherein interim verifying letter Breath by the distribution server determine mobile terminal have exempt from flow permission when, for mobile terminal distribute;Pass through mobile communication carrier Network the data access request of access network is sent to proxy server, specifically: to proxy server include carry it is interim The data access request of verification information, so that proxy server is based on the legal of interim verification information verify data access request Property.
Optionally, mobile terminal accesses the partial data flow generated in network development process by mobile network by proxy server Network operator is based on exempting from flow identifier and being included in specified services quotient, specifically: it is specific during mobile terminal network visiting The data traffic of ratio is counted into specified services quotient;Or certain amount of data traffic is counted during mobile terminal network visiting Enter specified services quotient;Or the data traffic of specific content is counted into specified services quotient during mobile terminal network visiting.
Optionally, it is included in specified services quotient, comprising: the expense that corresponding data flow generates is calculated as specified services quotient's The expense of account consumption.
The exchange method of stream access network is saved provided by according to an embodiment of the present invention, the embodiment of the present invention also provides one kind Mobile terminal, referring to FIG. 6, including:
7th sending module 60 sends data access to proxy server for the network by mobile communication carrier and asks It asks, includes the communication identifier of mobile terminal in data access request, communication identifier has online and exempts from flow permission, so that agency takes Data access request is sent to resource compression service device by business device, and data access request takes for resource compression service device from resource Business device obtains requested date and compresses requested date;
4th receiving module 61 is sent compressed for the network Receiving Agent server by mobile communication carrier Requested date, compressed requested date is sent to proxy server by resource compression service device;
Wherein, the data transmission during mobile terminal network visiting, which is marked with, exempts from flow identifier, and mobile terminal passes through generation The all or part of data traffic generated in reason server access network development process is based on exempting from flow identifier by Mobile Network Operator It is included in specified services quotient.
Optionally, compressed requested date specifically: the requested date crossed by lossy compression;And/or pass through The requested date that lossless compression is crossed.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by Mobile Network Operator is based on exempting from flow identifier to be included in specified services quotient to include: to data transmitted by proxy server Comprising exempting from flow identifier in access request, data traffic corresponding to data access request by based on exempt from flow identifier be included in it is specified In service provider;And/or the data traffic of compressed requested date is based on exempting from flow identifier being included in specified services quotient.
Optionally, mobile terminal by proxy server access in network development process all or part of data traffic for generating by Mobile Network Operator is based on exempting from flow identifier and being included in specified services quotient, specifically: determining mobile terminal accessing When in the data in network development process comprising default label, by all or part of data traffic during mobile terminal network visiting It is included in specified services quotient;Or the data during mobile terminal network visiting are transferred through the agency service of preset IP address The all or part of data traffic for flowing through preset IP address is included in specified clothes when Mobile Network Operator carries out charging by device It is engaged in quotient.
Optionally, mobile terminal further include: first obtains module 62, for obtaining the distribution server as access network development process The proxy server distributed, the IP address of proxy server are preset IP address, and preset IP address is to exempt from flow identifier;Or Second obtains module 63, the default label distributed for obtaining proxy server for access network development process, in access network mistake Default label is carried when carrying out data transmission in journey, default label is to exempt from flow identifier.
Optionally, mobile terminal further include: the 8th sending module 64, for by the network of mobile communication carrier to Before proxy server sends the data access request of access network, the communication identifier of mobile terminal and authentication information are sent out Send to the distribution server so that the distribution server identity-based verification information verifying communication identifier have exempt from flow permission it It afterwards, is access network development process assignment agent server.
Optionally, mobile terminal further include: third obtains module 65, for by the network of mobile communication carrier to Before proxy server sends the data access request of access network, receiving the distribution server is temporarily testing for mobile terminal distribution Demonstrate,prove information, wherein interim verification information by the distribution server determine mobile terminal have exempt from flow permission when, for mobile terminal point Match;7th sending module 60, is specifically used for: it include the data access request for carrying interim verification information to proxy server, with Make proxy server based on the legitimacy of interim verification information verify data access request.
Optionally, mobile terminal accesses the partial data flow generated in network development process by mobile network by proxy server Network operator is based on exempting from flow identifier and being included in specified services quotient, specifically: it is specific during mobile terminal network visiting The data traffic of ratio is counted into specified services quotient;Or certain amount of data traffic is counted during mobile terminal network visiting Enter specified services quotient;Or the data traffic of specific content is counted into specified services quotient during mobile terminal network visiting.
Optionally, it is included in specified services quotient, comprising: the expense that corresponding data flow generates is calculated as specified services quotient's The expense of account consumption.
One or more embodiment of the invention, at least has the advantages that
Due in embodiments of the present invention, sending data access to proxy server by the network of mobile communication carrier It requests, includes the communication identifier of mobile terminal in data access request, communication identifier has online and exempts from flow permission, so that agency Data access request is sent to resource compression service device by server, and data access request is used for resource compression service device from resource Server obtains requested date and compresses requested date;It is sent out by the network Receiving Agent server of mobile communication carrier The compressed requested date sent, compressed requested date are sent to proxy server by resource compression service device;Its In, the data transmission during mobile terminal network visiting, which is marked with, exempts from flow identifier, and mobile terminal is visited by proxy server Ask that all or part of data traffic generated in network development process is based on exempting from flow identifier and being included in finger by Mobile Network Operator Determine in service provider.That is, can be expended in whole or in part spent by specified services quotient in mobile terminal network visiting Data traffic, and partly or completely do not need consumption mobile terminal data traffic, thus alleviate and visit in the prior art The technical issues of needing to expend the flow of mobile terminal when asking network has reached the number expended when reducing mobile terminal network visiting According to the technical effect of flow;Thereby, it is possible to significantly improve the enthusiasm of user's downloading, to be conducive in the network on internet The wide-scale distribution of appearance;
Also, it is in the above scheme, true by the communication identifier and authentication information of mobile terminal in the distribution server Determine after mobile terminal has and exempt from flow permission, be just mobile terminal distribution for mobile terminal in order to avoid flow mode accesses network Proxy server, so as to prevent the user of immobile terminal from falsely using the free flow of mobile terminal;
Also, in embodiments of the present invention, the distribution server is greater than pre- in the free residual flow for determining communication identifier If being just mobile terminal assignment agent server, so as to be supplied to the free number of mobile terminal to specified services quotient when amount It is accurately controlled according to flow;
Also, in embodiments of the present invention, when proxy server prompting mobile terminal has dropped out login, the distribution server Interim verification information is nullified, so as to guarantee that an interim verification information is only able to use in once access network development process, from And it can further prevent the user of immobile terminal from falsely using the free flow of mobile terminal.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize mobile terminal according to an embodiment of the present invention, proxy server, point Send out some or all functions of server, resource compression service device and some or all components in network access system. The present invention is also implemented as some or all device or device programs for executing method as described herein (for example, computer program and computer program product).It is such to realize that program of the invention can store computer-readable On medium, or it may be in the form of one or more signals.Such signal can be downloaded from an internet website It arrives, is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The invention discloses A1, a kind of method for saving stream access network for mobile terminal, comprising:
Data access request, the data access request are sent to proxy server by the network of mobile communication carrier In include the mobile terminal communication identifier, the communication identifier has online and exempts from flow permission, so that the agency service The data access request is sent to resource compression service device by device, and the data access request is used for the resource compression service Device obtains requested date from Resource Server and compresses the requested date;
It compressed described is asked by what the network of the mobile communication carrier received that the proxy server sends Data are sought, the compressed requested date is sent to the proxy server by the resource compression service device;
Wherein, the data transmission during the mobile terminal network visiting, which is marked with, exempts from flow identifier, described mobile whole End accesses all or part of data traffic generated in network development process by Mobile Network Operator base by the proxy server It is included in specified services quotient in the flow identifier of exempting from.
A2, method as described in a1, which is characterized in that the compressed requested date specifically: by damaging pressure The requested date to contract;And/or the requested date crossed by lossless compression.
A3, method as described in a1, which is characterized in that the mobile terminal is accessed in network development process by proxy server All or part of data traffic of generation exempts from flow identifier based on described in by Mobile Network Operator and is included in specified services quotient In include:
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request Corresponding data traffic is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the compressed requested date is exempted from flow identifier based on described in and is included in the specified services Shang Zhong.
A4, the method as described in A3, which is characterized in that the mobile terminal is accessed in network development process by proxy server All or part of data traffic of generation exempts from flow identifier based on described in by Mobile Network Operator and is included in specified services quotient In, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, When the Mobile Network Operator carries out charging, all or part of data traffic for flowing through the preset IP address is included in described In specified services quotient.
A5, the method as described in A4, which is characterized in that in the network by mobile communication carrier to agency service Before device sends data access request, the method also includes:
Obtain the proxy server that the distribution server is distributed by the access network development process, the proxy server IP address be preset IP address, the preset IP address is described to exempt from flow identifier;Or
The default label that the proxy server is distributed by the access network development process is obtained, in the access network mistake The default label is carried when carrying out data transmission in journey, the default label exempts from flow identifier to be described.
A6, the method as described in A1-A5 is any, which is characterized in that the network by mobile communication carrier to Before proxy server sends the data access request of access network, the method also includes:
The communication identifier of the mobile terminal and authentication information are sent to the distribution server, so that the distribution takes Business device verified based on the authentication information communication identifier have it is described exempt from flow permission after, be the access net Network process distributes the proxy server.
A7, the method as described in A6, which is characterized in that in the network by mobile communication carrier to agency service Before device sends the data access request of access network, the method also includes:
Receive the interim verification information that the distribution server is mobile terminal distribution, wherein the interim verifying Information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, distributed for the mobile terminal;
The network by mobile communication carrier sends the data access request of access network, tool to proxy server Body are as follows:
It include the data access request for carrying the interim verification information to the proxy server, so that the agency takes Business device verifies the legitimacy of the data access request based on the interim verification information.
A8, the method as described in A1-A5 is any, which is characterized in that the mobile terminal is visited by the proxy server Ask the partial data flow generated in network development process by Mobile Network Operator be based on it is described exempt from flow identifier be included in it is specified In service provider, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
A9, the method as described in A1-A5 is any, which is characterized in that described to be included in specified services quotient, comprising: will correspond to The expense that data traffic generates is calculated as the expense of the account consumption of specified services quotient.
B10, a kind of mobile terminal, comprising:
7th sending module sends data access to proxy server for the network by mobile communication carrier and asks It asks, includes the communication identifier of the mobile terminal in the data access request, the communication identifier has online and exempts from flow power Limit, so that the data access request is sent to resource compression service device, the data access request by the proxy server Requested date is obtained from Resource Server for the resource compression service device and compresses the requested date;
4th receiving module, for receiving what the proxy server was sent by the network of the mobile communication carrier The compressed requested date, the compressed requested date are sent to the generation by the resource compression service device Manage server;
Wherein, the data transmission during the mobile terminal network visiting, which is marked with, exempts from flow identifier, described mobile whole End accesses all or part of data traffic generated in network development process by Mobile Network Operator base by the proxy server It is included in specified services quotient in the flow identifier of exempting from.
B11, the mobile terminal as described in B10, which is characterized in that the compressed requested date specifically: pass through The requested date that lossy compression is crossed;And/or the requested date crossed by lossless compression.
B12, mobile terminal as described in b11, which is characterized in that the mobile terminal accesses network by proxy server The all or part of data traffic generated in the process by Mobile Network Operator be based on it is described exempt from flow identifier be included in it is specified Include: in service provider
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request Corresponding data traffic is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the compressed requested date is exempted from flow identifier based on described in and is included in the specified services Shang Zhong.
B13, as described in B12 mobile terminal, which is characterized in that the mobile terminal accesses network by proxy server The all or part of data traffic generated in the process by Mobile Network Operator be based on it is described exempt from flow identifier be included in it is specified In service provider, specifically:
When in data during determining the mobile terminal network visiting including the default label, by the shifting All or part of data traffic during dynamic terminal access network is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, When the Mobile Network Operator carries out charging, all or part of data traffic for flowing through the preset IP address is included in described In specified services quotient.
B14, the mobile terminal as described in B13, which is characterized in that the mobile terminal further include: first obtains module, uses The proxy server that distributes of network development process is accessed in obtaining the distribution server for described, the IP of the proxy server Location is preset IP address, and the preset IP address exempts from flow identifier to be described;Or
Second obtains module, the pre- bidding distributed for obtaining the proxy server by the access network development process Label, carry the default label when carrying out data transmission in the access network development process, the default label exempts to flow to be described Amount mark.
B15, the mobile terminal as described in B10-B14 is any, which is characterized in that the mobile terminal further include:
8th sending module, for sending access network to proxy server in the network by mobile communication carrier Before data access request, the communication identifier of the mobile terminal and authentication information are sent to the distribution server, so that The distribution server verified based on the authentication information communication identifier have it is described exempt from flow permission after, be The access network development process distributes the proxy server.
B16, the mobile terminal as described in B15, which is characterized in that the mobile terminal further include:
Third obtains module, for sending access network to proxy server in the network by mobile communication carrier Before data access request, the interim verification information that the distribution server is mobile terminal distribution is received, wherein described Interim verification information by the distribution server determine the mobile terminal have it is described exempt from flow permission when, for it is described it is mobile eventually End distribution;
7th sending module, is specifically used for:
It include the data access request for carrying the interim verification information to the proxy server, so that the agency takes Business device verifies the legitimacy of the data access request based on the interim verification information.
B17, the mobile terminal as described in B10-B14 is any, which is characterized in that the mobile terminal is taken by the agency The partial data flow generated in business device access network development process is exempted from flow identifier by Mobile Network Operator described in will be based on it Enter in specified services quotient, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
B18, the mobile terminal as described in B10-B14 is any, which is characterized in that described to be included in specified services quotient, comprising: The expense that corresponding data flow generates is calculated as to the expense of the account consumption of specified services quotient.

Claims (10)

1. a kind of method for saving stream access network for mobile terminal characterized by comprising
Data access request is sent to proxy server by the network of mobile communication carrier, is wrapped in the data access request Communication identifier containing the mobile terminal, the communication identifier have online and exempt from flow permission, so that the proxy server will The data access request is sent to resource compression service device, the data access request for the resource compression service device from Resource Server obtains requested date and compresses the requested date;
The compressed requested number that the proxy server is sent is received by the network of the mobile communication carrier According to the compressed requested date is sent to the proxy server by the resource compression service device;
Wherein, the data transmission during the mobile terminal network visiting, which is marked with, exempts from flow identifier, and the mobile terminal is logical It crosses all or part of data traffic generated in the proxy server access network development process and institute is based on by Mobile Network Operator It states and exempts from flow identifier and be included in specified services quotient.
2. the method as described in claim 1, which is characterized in that the compressed requested date specifically: by damaging Compressed requested date;And/or the requested date crossed by lossless compression.
3. the method as described in claim 1, which is characterized in that the mobile terminal accesses network development process by proxy server All or part of data traffic of middle generation exempts from flow identifier based on described in by Mobile Network Operator and is included in specified services Include: in quotient
Into data access request transmitted by the proxy server comprising exempting from flow identifier, the data access request is right The data traffic answered is exempted from flow identifier based on described in and is included in the specified services quotient;And/or
The data traffic of the compressed requested date is exempted from flow identifier based on described in and is included in the specified services quotient.
4. method as claimed in claim 3, which is characterized in that the mobile terminal accesses network development process by proxy server All or part of data traffic of middle generation exempts from flow identifier based on described in by Mobile Network Operator and is included in specified services Shang Zhong, specifically:
It, will be described mobile whole when in data during determining the mobile terminal network visiting including the default label All or part of data traffic in end access network development process is included in the specified services quotient;Or
Data during the mobile terminal network visiting are transferred through the proxy server of the preset IP address, described When Mobile Network Operator carries out charging, all or part of data traffic for flowing through the preset IP address is included in described specified In service provider.
5. method as claimed in claim 4, which is characterized in that taken in the network by mobile communication carrier to agency It is engaged in front of device transmission data access request, the method also includes:
Obtain the proxy server that the distribution server is distributed by the access network development process, the IP of the proxy server Address is preset IP address, and the preset IP address exempts from flow identifier to be described;Or
The default label that the proxy server is distributed by the access network development process is obtained, in the access network development process The default label is carried when carrying out data transmission, the default label exempts from flow identifier to be described.
6. method a method as claimed in any one of claims 1 to 5, which is characterized in that the network by mobile communication carrier to Before proxy server sends the data access request of access network, the method also includes:
The communication identifier of the mobile terminal and authentication information are sent to the distribution server, so that the distribution server Verified based on the authentication information communication identifier have it is described exempt from flow permission after, be the access network mistake Journey distributes the proxy server.
7. method as claimed in claim 6, which is characterized in that taken in the network by mobile communication carrier to agency It is engaged in front of the data access request of device transmission access network, the method also includes:
Receive the interim verification information that the distribution server is mobile terminal distribution, wherein the interim verification information By the distribution server determine the mobile terminal have it is described exempt from flow permission when, distributed for the mobile terminal;
The network by mobile communication carrier sends the data access request of access network to proxy server, specifically Are as follows:
It include the data access request for carrying the interim verification information to the proxy server, so that the proxy server The legitimacy of the data access request is verified based on the interim verification information.
8. method a method as claimed in any one of claims 1 to 5, which is characterized in that the mobile terminal is visited by the proxy server Ask the partial data flow generated in network development process by Mobile Network Operator be based on it is described exempt from flow identifier be included in it is specified In service provider, specifically:
The data traffic of special ratios is counted into the specified services quotient during the mobile terminal network visiting;Or
Certain amount of data traffic is counted into the specified services quotient during the mobile terminal network visiting;Or
The data traffic of specific content is counted into the specified services quotient during the mobile terminal network visiting.
9. method a method as claimed in any one of claims 1 to 5, which is characterized in that described to be included in specified services quotient, comprising: will correspond to The expense that data traffic generates is calculated as the expense of the account consumption of specified services quotient.
10. a kind of mobile terminal characterized by comprising
7th sending module sends data access request, institute to proxy server for the network by mobile communication carrier The communication identifier in data access request comprising the mobile terminal is stated, the communication identifier has online and exempts from flow permission, with Make the proxy server that the data access request is sent to resource compression service device, the data access request is used for institute Resource compression service device is stated to obtain requested date from Resource Server and compress the requested date;
4th receiving module, for receiving the compression that the proxy server is sent by the network of the mobile communication carrier The requested date crossed, the compressed requested date are sent to the agency by the resource compression service device and take Business device;
Wherein, the data transmission during the mobile terminal network visiting, which is marked with, exempts from flow identifier, and the mobile terminal is logical It crosses all or part of data traffic generated in the proxy server access network development process and institute is based on by Mobile Network Operator It states and exempts from flow identifier and be included in specified services quotient.
CN201811629915.3A 2015-06-30 2015-06-30 Method for mobile terminal to access network in flow-saving mode and mobile terminal Active CN109587270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811629915.3A CN109587270B (en) 2015-06-30 2015-06-30 Method for mobile terminal to access network in flow-saving mode and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811629915.3A CN109587270B (en) 2015-06-30 2015-06-30 Method for mobile terminal to access network in flow-saving mode and mobile terminal
CN201510377213.0A CN104902462B (en) 2015-06-30 2015-06-30 A kind of method and mobile terminal saving stream access network for mobile terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510377213.0A Division CN104902462B (en) 2015-06-30 2015-06-30 A kind of method and mobile terminal saving stream access network for mobile terminal

Publications (2)

Publication Number Publication Date
CN109587270A true CN109587270A (en) 2019-04-05
CN109587270B CN109587270B (en) 2021-06-11

Family

ID=54034802

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201811629915.3A Active CN109587270B (en) 2015-06-30 2015-06-30 Method for mobile terminal to access network in flow-saving mode and mobile terminal
CN201510377213.0A Active CN104902462B (en) 2015-06-30 2015-06-30 A kind of method and mobile terminal saving stream access network for mobile terminal

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510377213.0A Active CN104902462B (en) 2015-06-30 2015-06-30 A kind of method and mobile terminal saving stream access network for mobile terminal

Country Status (1)

Country Link
CN (2) CN109587270B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650214A (en) * 2019-10-21 2020-01-03 北京知道创宇信息技术股份有限公司 Agent method, device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921699A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 A kind of Network Access Method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104050292A (en) * 2014-06-30 2014-09-17 北京奇虎科技有限公司 Traffic-saving mode search service method, server, client and system
US20140317230A1 (en) * 2006-08-07 2014-10-23 Unwired Planet, Llc Cache based enhancement to optimization protocol

Family Cites Families (2)

* 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140317230A1 (en) * 2006-08-07 2014-10-23 Unwired Planet, Llc Cache based enhancement to optimization protocol
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
CN104050292A (en) * 2014-06-30 2014-09-17 北京奇虎科技有限公司 Traffic-saving mode search service method, server, client and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张铁成,齐玉荣: ""3G手机视频客户端上网免流量原理及实现_张铁成"", 《信息通信》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650214A (en) * 2019-10-21 2020-01-03 北京知道创宇信息技术股份有限公司 Agent method, device, electronic equipment and storage medium
CN110650214B (en) * 2019-10-21 2022-07-05 北京知道创宇信息技术股份有限公司 Agent method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104902462A (en) 2015-09-09
CN109587270B (en) 2021-06-11
CN104902462B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN104967624B (en) It is a kind of based on method, mobile terminal and the system of exempting from flow platform access network
CN105323240B (en) A kind of method and mobile terminal of monitoring data flow
CN104954490B (en) A kind of method and mobile terminal carrying out network access under defaulting subscriber state
CN104935670B (en) A kind of method, the distribution server and system for mobile terminal network visiting
CN104902030B (en) It is a kind of applied to the control method of intelligent remote controller, proxy server and control system
CN104902454B (en) A kind of control the method for acquisition for mobile terminal data, gateway and network access system
CN105142124B (en) A kind of Network Access Method and mobile terminal applied to mobile terminal
CN104902453B (en) A kind of network access authority control method and mobile terminal for mobile terminal
CN104954488B (en) A kind of method for network access control, the distribution server and network access system
CN104902462B (en) A kind of method and mobile terminal saving stream access network for mobile terminal
CN105162753B (en) A kind of method and mobile terminal for mobile terminal to access network resources
CN104980957B (en) A kind of method, the distribution server and system carrying out network login
CN104980342B (en) A kind of method of pushed information, proxy server and system
CN105120445B (en) A kind of network access authority control method, the distribution server and network access system
CN104954493B (en) A kind of method, proxy server and system accessing game server
CN105120444B (en) A kind of image transfer method, proxy server and network access system
CN104933614B (en) It is a kind of applied to the purchase method of mobile terminal, proxy server and system
CN105162754B (en) Access the method and mobile terminal of game server
CN104980909B (en) A kind of method, resource compression service device and network access system accessing Internet resources
CN105101144B (en) A kind of acquisition data method and mobile terminal for mobile terminal
CN104967977B (en) A kind of communication means, mobile terminal and system
CN104980444B (en) A kind of network telephone call method, proxy server and communication system applied to mobile terminal
CN104954489B (en) A kind of method, proxy server and network access system accessing network
CN105101286B (en) A kind of flow statistical method and gateway, the method and system for accessing network
CN105101142B (en) A kind of method that advertiser pays out flow

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230712

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.