CN106911481A - The method and device controlled the data flows - Google Patents
The method and device controlled the data flows Download PDFInfo
- Publication number
- CN106911481A CN106911481A CN201510975674.8A CN201510975674A CN106911481A CN 106911481 A CN106911481 A CN 106911481A CN 201510975674 A CN201510975674 A CN 201510975674A CN 106911481 A CN106911481 A CN 106911481A
- Authority
- CN
- China
- Prior art keywords
- data
- vpn
- data request
- vpn server
- compression
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1432—Metric aspects
- H04L12/1435—Metric aspects volume-based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了一种控制数据流量的方法及装置,该方法包括:数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器,所述数据请求包括对与所述数据请求对应的数据资源按第一压缩率进行压缩的指令;所述数据终端通过所述VPN通道接收所述VPN服务器发送的所述数据资源,所述数据资源被所述VPN服务器按所述第一压缩率进行压缩。数据资源经过压缩后,其大小通常都会减小,并且在智能手机上解压缩后显示不会用户体验,所以本实施例提供的方法解决了现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。
The embodiment of the present invention discloses a method and device for controlling data traffic. The method includes: a data terminal sends a data request to a VPN server through a virtual private network VPN channel, and the data request includes a data request corresponding to the data request. An instruction to compress resources according to a first compression rate; the data terminal receives the data resource sent by the VPN server through the VPN channel, and the data resource is compressed by the VPN server according to the first compression rate . After the data resource is compressed, its size will usually be reduced, and after decompressed on the smart phone, the display will not cause user experience. Therefore, the method provided in this embodiment solves the problem of controlling the data traffic consumed by the data terminal in the prior art. Technical issues that affect user experience by removing important components of a web page.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种控制数据流量的方法及装置。The invention relates to the field of electronic technology, in particular to a method and device for controlling data flow.
背景技术Background technique
随着智能手机的普及,手机上网成为“手机网民”不可或缺的需求。与以往非智能手机时代用户只能上WAP网站不同,智能手机完全打破了WAP与WWW网站的界限,使得用户发现手机上网流量暴增了许多,每月需要支付的流量费十分可观。对于智能手机而言,在访问网络过程中容易产生高流量的服务主要有:浏览带有大量图片的网页或附带音视频文件的网页等。With the popularity of smart phones, mobile Internet access has become an indispensable requirement for "mobile Internet users". Different from the previous non-smartphone era where users could only access WAP websites, smartphones have completely broken the boundary between WAP and WWW websites, making users find that the mobile Internet traffic has increased a lot, and the monthly traffic fee that needs to be paid is very considerable. For smartphones, the services that tend to generate high traffic during accessing the network mainly include: browsing web pages with a large number of pictures or web pages with audio and video files attached.
目前,为了控制智能手机等数据终端耗费的数据流量,智能手机会提供一种“省流量”的浏览模式,具体是将通过缓存服务器将网页中的图片和音视频文件等大型文件去掉,仅仅发送文字和框架信息给智能手机,但网页中的图片或者音视频等文件是该网页的重要组成部分,去掉之后这显然会大大影响用户体验。At present, in order to control the data traffic consumed by data terminals such as smartphones, smartphones will provide a "traffic-saving" browsing mode. Specifically, large files such as pictures and audio and video files in web pages will be removed through the cache server, and only text will be sent. and frame information to smartphones, but pictures or audio and video files in web pages are an important part of the web page, which will obviously greatly affect the user experience after removal.
因此,现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。Therefore, there is a technical problem in the prior art method of controlling the data traffic consumed by the data terminal, which affects user experience due to the removal of important components in the webpage.
发明内容Contents of the invention
本发明实施例通过提供一种控制数据流量的方法及装置,用以解决现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。The embodiments of the present invention provide a method and device for controlling data flow to solve the technical problem that the prior art method of controlling data flow consumed by data terminals affects user experience due to removal of important components in webpages.
本发明实施例第一方面提供了一种控制数据流量的方法,所述方法包括:The first aspect of the embodiment of the present invention provides a method for controlling data traffic, the method comprising:
数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器,所述数据请求包括对与所述数据请求对应的数据资源按第一压缩率进行压缩的指令;The data terminal sends a data request to the VPN server through a virtual private network VPN channel, and the data request includes an instruction to compress the data resource corresponding to the data request at a first compression rate;
所述数据终端通过所述VPN通道接收所述VPN服务器发送的所述数据资源,所述数据资源被所述VPN服务器按所述第一压缩率进行压缩。The data terminal receives the data resource sent by the VPN server through the VPN channel, and the data resource is compressed by the VPN server according to the first compression rate.
可选地,在所述数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,所述方法还包括:Optionally, before the data terminal sends the data request to the VPN server through a virtual private network VPN tunnel, the method further includes:
所述数据终端建立与所述VPN服务器之间的所述VPN通道。The data terminal establishes the VPN tunnel with the VPN server.
可选地,在所述数据终端通过所述VPN通道接收所述VPN服务器发送的所述数据资源之后,所述方法还包括:Optionally, after the data terminal receives the data resource sent by the VPN server through the VPN channel, the method further includes:
所述数据终端中断所述VPN通道。The data terminal interrupts the VPN channel.
可选地,在所述数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,所述方法还包括:Optionally, before the data terminal sends the data request to the VPN server through a virtual private network VPN tunnel, the method further includes:
所述数据终端接收压缩指令,并基于所述压缩指令,将所述第一压缩率写入到所述数据请求中。The data terminal receives a compression instruction, and based on the compression instruction, writes the first compression ratio into the data request.
可选地,在所述数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,所述方法还包括:Optionally, before the data terminal sends the data request to the VPN server through a virtual private network VPN tunnel, the method further includes:
所述数据终端对所述数据请求进行压缩。The data terminal compresses the data request.
可选地,所述数据终端对所述数据请求进行压缩,具体包括:Optionally, the data terminal compresses the data request, specifically including:
所述数据终端根据预先建立的HTTP头信息字符库对所述数据请求的HTTP头信息进行压缩;以及The data terminal compresses the HTTP header information of the data request according to the pre-established HTTP header information character library; and
所述数据终端通过资源占用率低于预设值的压缩算法对所述数据请求的上行数据进行压缩。The data terminal compresses the uplink data requested by the data through a compression algorithm whose resource occupancy rate is lower than a preset value.
本发明实施例第二方面提供了一种控制数据流量的装置,所述装置包括:The second aspect of the embodiment of the present invention provides a device for controlling data flow, the device includes:
发送单元,用于通过虚拟专用网络VPN通道将数据请求发送给VPN服务器,所述数据请求包括对与所述数据请求对应的数据资源进行压缩的第一压缩率;A sending unit, configured to send a data request to a VPN server through a virtual private network VPN channel, where the data request includes a first compression rate for compressing data resources corresponding to the data request;
接收单元,用于通过所述VPN通道接收所述VPN服务器发送的所述数据资源,所述数据资源被所述VPN服务器按所述第一压缩率进行压缩。The receiving unit is configured to receive the data resource sent by the VPN server through the VPN tunnel, and the data resource is compressed by the VPN server according to the first compression rate.
可选地,所述装置还包括:Optionally, the device also includes:
VPN通道单元,用于在所述发送单元通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,建立与所述VPN服务器之间的所述VPN通道。The VPN tunnel unit is configured to establish the VPN tunnel with the VPN server before the sending unit sends the data request to the VPN server through the VPN tunnel.
可选地,所述VPN通道单元具体还用于在所述接收单元通过所述VPN通道接收所述VPN服务器发送的所述数据资源之后,中断所述VPN通道。Optionally, the VPN tunnel unit is further configured to interrupt the VPN tunnel after the receiving unit receives the data resource sent by the VPN server through the VPN tunnel.
可选地,所述装置还包括第一压缩率写入单元,所述第一压缩率写入单元用于在所述发送单元通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,接收压缩指令,并基于所述压缩指令,将所述第一压缩率写入到所述数据请求中。Optionally, the device further includes a first compression rate writing unit, the first compression rate writing unit is used to receive the compressed instruction, and based on the compression instruction, write the first compression rate into the data request.
可选地,所述装置还包括压缩单元,所述压缩单元用于在所述发送单元通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,对所述数据请求进行压缩。Optionally, the device further includes a compression unit, configured to compress the data request before the sending unit sends the data request to the VPN server through a virtual private network VPN channel.
可选地,所述压缩单元具体用于根据预先建立的HTTP头信息字符库对所述数据请求的HTTP头信息进行压缩,以及通过资源占用率低于预设值的压缩算法对所述数据请求的上行数据进行压缩。Optionally, the compression unit is specifically configured to compress the HTTP header information of the data request according to the pre-established HTTP header information character library, and compress the data request by using a compression algorithm whose resource occupancy rate is lower than a preset value. The uplink data is compressed.
本发明实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
由于采用了数据终端在发送数据请求时在数据请求内附加对与所述数据请求对应的数据资源按第一压缩率进行压缩的指令,接收到的数据资源为经过VPN服务器按第一压缩率压缩后的数据包的技术方案,数据资源经过压缩后,其大小通常都会减小,并且在智能手机上解压缩后显示不会用户体验,所以本实施例提供的方法解决了现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。Since the data terminal is used to add an instruction to compress the data resource corresponding to the data request according to the first compression ratio in the data request when sending the data request, the received data resource is compressed according to the first compression ratio through the VPN server. The technical solution of the final data packet, after the data resource is compressed, its size will usually be reduced, and after decompression on the smart phone, the display will not cause user experience, so the method provided by this embodiment solves the problem of controlling data in the prior art. There are technical problems in the way of data traffic consumed by the terminal, which affects user experience due to the removal of important components in the web page.
附图说明Description of drawings
图1为本发明提供的方案所适用的系统示意图;Fig. 1 is a schematic diagram of a system to which the scheme provided by the present invention is applicable;
图2为本实施例一实施例提供的数据终端上控制数据流量的方法的流程图;FIG. 2 is a flow chart of a method for controlling data traffic on a data terminal provided by an embodiment of the present embodiment;
图3为本实施例另一实施例提供的数据终端上控制数据流量的方法的流程图;FIG. 3 is a flowchart of a method for controlling data traffic on a data terminal provided by another embodiment of this embodiment;
图4为为本发明实施例提供的数据终端上控制数据流量的装置的示意图。Fig. 4 is a schematic diagram of an apparatus for controlling data flow on a data terminal provided by an embodiment of the present invention.
具体实施方式detailed description
本发明实施例通过提供一种控制数据流量的方法及装置,用以解决现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。The embodiments of the present invention provide a method and device for controlling data flow to solve the technical problem that the prior art method of controlling data flow consumed by data terminals affects user experience due to removal of important components in webpages.
在本实施例中,数据终端具体可以是智能手机、平板电脑或个人PDA(英文:Personal Digital Assistant;中文:个人数字助理,又称为掌上电脑),在此不做限制。In this embodiment, the data terminal may specifically be a smart phone, a tablet computer or a personal PDA (English: Personal Digital Assistant; Chinese: Personal Digital Assistant, also called a handheld computer), which is not limited here.
本发明实施例提供了一种控制数据流量的方法及装置,请参考图1,图1为本发明提供的方案所适用的系统示意图。如图1所示,本发明所适用的系统包括数据终端101、VPN(虚拟专用网络,Virtual Private Network)服务器102和资源服务器103,在实际数据业务执行过程中,数据终端101和VPN服务器102之间建立有VPN通道。Embodiments of the present invention provide a method and device for controlling data flow, please refer to FIG. 1 , which is a schematic diagram of a system to which the solution provided by the present invention is applicable. As shown in Fig. 1, the applicable system of the present invention comprises data terminal 101, VPN (Virtual Private Network, Virtual Private Network) server 102 and resource server 103, in actual data service execution process, between data terminal 101 and VPN server 102 A VPN tunnel is established between them.
在本发明实施例中,在数据终端101内部创建有VPN服务,是VPN服务的client端,VPN服务器102内也创建有VPN服务,是VPN服务的server端,client端和server端之间通过VPN通道进行通信,能够保证信息的安全性。In the embodiment of the present invention, a VPN service is created inside the data terminal 101, which is the client end of the VPN service, and a VPN service is also created in the VPN server 102, which is the server end of the VPN service, and the client end and the server end are connected through a VPN Communication channels can ensure the security of information.
在具体实施过程中,移动通信运营商会对数据终端101发送的上行数据包和接收的下行数据包进行流量计费,所以,在数据终端101上控制上行数据包和下行数据包对应的数据流量就能够减少用户在数据流量上的花费。In the specific implementation process, the mobile communication operator will charge the traffic for the uplink data packets sent by the data terminal 101 and the downlink data packets received, so controlling the data flow corresponding to the uplink data packets and the downlink data packets on the data terminal 101 is It can reduce the user's spending on data traffic.
资源服务器103是向数据终端101提供数据资源的服务器,可以提供资源下载的服务。The resource server 103 is a server that provides data resources to the data terminal 101, and can provide resource download services.
在图1所示的系统框架下,本发明提供了在数据终端101上实现控制数据流量的方法的几个实施例,具体描述如下。Under the framework of the system shown in FIG. 1 , the present invention provides several embodiments of the method for controlling data flow on the data terminal 101 , which are described in detail as follows.
为了更加详细地介绍本发明实施例中的技术方案,在接下来的部分中,将以数据终端101具体为智能手机为例来进行介绍。In order to introduce the technical solution in the embodiment of the present invention in more detail, in the next part, the data terminal 101 is specifically a smart phone as an example for introduction.
实施例一Embodiment one
请参考图2,图2为本实施例提供的数据终端上控制数据流量的方法的流程图,如图2所示,该方法包括:Please refer to FIG. 2. FIG. 2 is a flowchart of a method for controlling data traffic on a data terminal provided in this embodiment. As shown in FIG. 2, the method includes:
101:数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器,数据请求包括对与数据请求对应的数据资源按第一压缩率进行压缩的指令;101: The data terminal sends the data request to the VPN server through the VPN channel of the virtual private network, and the data request includes an instruction to compress the data resource corresponding to the data request according to the first compression rate;
在本实施例中,设定智能手机发送的数据请求为访问某一个网页的请求,则数据终端会通过VPN通道将该数据请求发送给VPN服务器;在该数据请求中,包括了对与该数据请求对应的数据资源按第一压缩率进行压缩的指令,例如,设定第一压缩率为60%。In this embodiment, if the data request sent by the smart phone is set as a request to visit a certain web page, the data terminal will send the data request to the VPN server through the VPN tunnel; For an instruction requesting that the corresponding data resources be compressed according to the first compression rate, for example, the first compression rate is set to 60%.
VPN服务器在接收到该数据请求后,就会将该数据请求转发给资源服务器,资源服务器根据该数据请求,发送与该数据请求对应的网页给VPN服务器。After receiving the data request, the VPN server forwards the data request to the resource server, and the resource server sends the web page corresponding to the data request to the VPN server according to the data request.
VPN服务器在接收到该网页后,即将该网页按照第一压缩率进行压缩,并将压缩后的数据包发送给智能手机。此时,本发明实施例提供的数据终端上控制数据流量的方法即进入步骤102。After receiving the webpage, the VPN server compresses the webpage according to the first compression ratio, and sends the compressed data packet to the smart phone. At this point, the method for controlling data traffic on a data terminal provided by the embodiment of the present invention enters step 102 .
102:数据终端通过VPN通道接收VPN服务器发送的数据资源,数据资源被VPN服务器按第一压缩率进行压缩。102: The data terminal receives the data resource sent by the VPN server through the VPN channel, and the data resource is compressed by the VPN server according to the first compression ratio.
在本实施例中,智能手机即能够VPN通道接收VPN服务器发送的数据资源,该数据资源即VPN服务器将与该数据请求对应的网页按第一压缩率进行压缩后的数据包。数据资源经过压缩后,其大小通常都会减小,实现了控制数据流量的技术效果,并且在智能手机上解压缩后显示不会用户体验,所以解决了现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。In this embodiment, the smart phone can receive the data resource sent by the VPN server through the VPN channel, and the data resource is the data packet that the VPN server compresses the web page corresponding to the data request according to the first compression rate. After the data resource is compressed, its size will usually be reduced, realizing the technical effect of controlling the data flow, and displaying no user experience after decompression on the smart phone, so it solves the problem of controlling the data flow consumed by the data terminal in the prior art There is a technical problem that affects the user experience due to the removal of important components in the webpage.
可以看出,由于采用了数据终端在发送数据请求时在数据请求内附加对与数据请求对应的数据资源按第一压缩率进行压缩的指令,接收到的数据资源为经过VPN服务器按第一压缩率压缩后的数据包的技术方案,数据资源经过压缩后,其大小通常都会减小,并且在智能手机上解压缩后显示不会用户体验,所以本实施例提供的方法解决了现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。It can be seen that since the data terminal is used to add an instruction to compress the data resources corresponding to the data request according to the first compression rate in the data request when sending the data request, the received data resources are compressed according to the first compression ratio by the VPN server. The technical scheme of compressing the data packet, the size of the data resource will usually be reduced after being compressed, and the display on the smart phone will not cause user experience, so the method provided in this embodiment solves the problems in the prior art. The method of controlling the data flow consumed by the data terminal has the technical problem of affecting user experience due to the removal of important components in the web page.
实施例二Embodiment two
实施例二为在实施例一的基础上的细化,为实施例一提供的方法提供了详细的应用场景。The second embodiment is a refinement based on the first embodiment, and provides a detailed application scenario for the method provided by the first embodiment.
请参考图3,图3为本实施例提供的数据终端上控制数据流量的方法的流程图,如图3所示,该方法包括:Please refer to FIG. 3. FIG. 3 is a flowchart of a method for controlling data traffic on a data terminal provided in this embodiment. As shown in FIG. 3, the method includes:
201:数据终端建立与VPN服务器之间的VPN通道;201: The data terminal establishes a VPN channel with the VPN server;
具体来讲,即智能手机通过设置相应的VPN连接参数,向VPN服务器发出连接请求,VPN服务器在接收到智能手机的连接请求后,响应智能手机的连接请求,即能够在智能手机和VPN服务器之间建立VPN通道,在此就不再赘述了。Specifically, the smart phone sends a connection request to the VPN server by setting the corresponding VPN connection parameters. Establish a VPN tunnel between them, so I won’t go into details here.
202:数据终端接收压缩指令,并基于压缩指令,将第一压缩率写入到数据请求中;202: The data terminal receives the compression instruction, and based on the compression instruction, writes the first compression ratio into the data request;
具体来讲,即用户根据实际需求,设置对网页的第一压缩率,第一压缩率例如可以60%或80%等等,在此不做限制。Specifically, the user sets the first compression rate for the webpage according to actual needs, and the first compression rate may be 60% or 80%, for example, and there is no limitation here.
用户通过智能手机上相应的输入接口输入压缩指令,智能手机就能够接收压缩指令,并根据压缩指令,将第一压缩率写入到数据请求中。The user inputs a compression command through a corresponding input interface on the smart phone, and the smart phone can receive the compression command, and write the first compression ratio into the data request according to the compression command.
在其他实施例中,对步骤201和步骤202的先后顺序不做限制,本领域所属的技术人员能够根据实际情况,选择合适的顺序,在此就不再赘述了。In other embodiments, there is no limitation on the order of steps 201 and 202, and those skilled in the art can select an appropriate order according to the actual situation, so details will not be repeated here.
203:数据终端对数据请求进行压缩;203: The data terminal compresses the data request;
具体来讲,智能手机的上行数据,也即智能手机向VPN服务器发送的数据也会被计入智能手机耗费的数据流量中,在实际应用中,也存在智能手机上传图片、文件或音视频等等操作,所以本实施例提供的方法还包括:数据终端对数据请求进行压缩。Specifically, the uplink data of the smartphone, that is, the data sent by the smartphone to the VPN server will also be included in the data traffic consumed by the smartphone. and other operations, so the method provided in this embodiment further includes: the data terminal compresses the data request.
在具体实施过程中,数据终端对数据请求进行压缩可以包括:数据终端根据预先建立的HTTP头信息字符库对数据请求的HTTP头信息进行压缩;以及数据终端通过资源占用率低于预设值的压缩算法对数据请求的上行数据进行压缩。In the specific implementation process, the data terminal compressing the data request may include: the data terminal compresses the HTTP header information of the data request according to the pre-established HTTP header information character library; The compression algorithm compresses the uplink data of the data request.
目前有许多对数据进行压缩的算法,使得数据的压缩相对来说较为容易实施。但是对于HTTP头信息来说,由于HTTP头信息中包含的均为字母、单词等字符单元,而且HTTP头信息传输的都是较为重要的信息,这些字符不容易被压缩,而且一旦压缩算法出现折损,会导致信息传输出现错误,从而导致下载资源失败。因此,针对数据请求中的HTTP头信息需要专用的压缩方式。There are currently many algorithms for compressing data, making data compression relatively easy to implement. But for the HTTP header information, since the HTTP header information contains character units such as letters and words, and the HTTP header information transmits relatively important information, these characters are not easy to be compressed, and once the compression algorithm fails If it is damaged, it will cause errors in information transmission, which will lead to failure of downloading resources. Therefore, a dedicated compression method is required for the HTTP header information in the data request.
在本实施例中,通过采用预先建立的HTTP头信息字符库对HTTP头信息进行压缩。通过预先建立的HTTP头信息字符库对HTTP头信息进行压缩的方式,出现折损的概率很低,且具有一定的压缩率。In this embodiment, the HTTP header information is compressed by using a pre-established HTTP header information character library. By compressing the HTTP header information through the pre-established HTTP header information character library, the probability of loss is very low, and it has a certain compression rate.
HTTP头信息字符库的建立过程为:选取常见的HTTP请求数据包,通过程序分析这些常见的HTTP请求数据包中的HTTP头信息,从中解析出常见的字符(包含字、词及其组合),按照这些字符出现的频率对这些字符进行排序,选取排序靠前的字符加入字符库中,例如选取排在前20位的字符。本发明中,字符库的建立过程不仅限于上述过程,旨在选取常见字符加入字符库的方法均属于本发明所要保护的范围。The establishment process of the HTTP header information character library is as follows: select common HTTP request packets, analyze the HTTP header information in these common HTTP request packets through programs, and parse out common characters (including words, words and their combinations) therefrom, These characters are sorted according to the frequency of occurrence of these characters, and the characters ranked first are selected to be added to the character library, for example, the characters ranked first 20 are selected. In the present invention, the establishment process of the character library is not limited to the above-mentioned process, and methods aiming at selecting common characters to add to the character library all belong to the protection scope of the present invention.
在预先建立了HTTP头信息字符库的前提下,将HTTP头信息所包含的字符与字符库内的字符进行比对,若比对一致,则将上行数据包中的HTTP头信息所包含的字符替换为该字符在字符库内的偏移值。以HTTP头信息中包含的GET信息“GET/simple.htmHTTP/1.1”为例,将其中的“GET”、“simple.htm”、“HTTP”和“1.1”等字符与字符库内的字符进行比对,发现“GET”、“HTTP”和“1.1”都分别与字符库内的某字符比对一致,则将这些字符替换为字符在字符库内的偏移值,如:将“GET”替换为“1”,“HTTP”替换为“3”,“1.1”替换为“5”,其中,“1”、“3”、“5”分别为相应字符在字符库内的偏移值,该偏移值可以为上述字符库内排序的序号,本发明对此不做限制。On the premise that the HTTP header information character library is established in advance, compare the characters contained in the HTTP header information with the characters in the character library. If the comparison is consistent, the characters contained in the HTTP header information in the upstream data packet will be compared. Replaced by the offset value of the character in the character library. Take the GET information "GET/simple.htmHTTP/1.1" contained in the HTTP header information as an example, compare the characters "GET", "simple.htm", "HTTP" and "1.1" with the characters in the character library Compare and find that "GET", "HTTP" and "1.1" are all consistent with a character in the character library, then replace these characters with the offset value of the character in the character library, such as: "GET" Replace with "1", "HTTP" with "3", "1.1" with "5", where "1", "3", and "5" are the offset values of the corresponding characters in the character library, The offset value may be the serial number sorted in the above character library, which is not limited in the present invention.
对数据的上行数据的压缩过程本实施例不做限制,但需要注意的是,为了不影响用户对智能手机的操作,在本实施例中,智能手机通过资源占用率低于预设值的压缩算法对数据请求中的上行数据进行压缩,这样,既能够实现压缩的效果,又不会影响用户的操作。This embodiment does not limit the compression process of uplink data, but it should be noted that, in order not to affect the user's operation of the smart phone, in this embodiment, the smart phone compresses the data with a resource occupancy rate lower than the preset value. The algorithm compresses the uplink data in the data request, so that the compression effect can be achieved without affecting the user's operation.
204:数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器;204: The data terminal sends the data request to the VPN server through the VPN channel of the virtual private network;
这一步骤中,智能手机在将压缩后的数据请求发送给VPN服务器时,移动通信运营商就会对压缩后的数据请求按流量进行计费,可以看出,由于智能手机发送的是压缩后的数据请求,所以减少了数据流量,也就减少了用户需要缴纳给移动通信运营商的费用,同时也不会影响数据请求的具体内容。In this step, when the smartphone sends the compressed data request to the VPN server, the mobile communication operator will charge for the compressed data request according to the traffic. It can be seen that since the smartphone sends the compressed Therefore, the data traffic is reduced, and the fees that users need to pay to the mobile communication operator are reduced, and the specific content of the data request will not be affected at the same time.
在VPN服务器接收到用户发送的压缩后的数据请求后,即能够对数据请求进行解压缩处理,具体地,根据预先建立的HTTP头信息字符库对数据请求的HTTP头信息进行解压缩处理;以及对数据请求的上行数据进行解压缩处理。After the VPN server receives the compressed data request sent by the user, it can decompress the data request, specifically, decompress the HTTP header information of the data request according to the pre-established HTTP header information character library; and Decompress the uplink data of the data request.
HTTP头信息字符库的建立过程与作用在前述部分已经进行了详细介绍,在此就不再赘述了;同时,由于VPN服务器拥有的系统资源比数据终端多很多,所以对数据请求的上行数据进行解压缩处理的过程无需进行限制,按照正常的数据解压缩过程进行处理即可,在此就不再赘述了。The establishment process and functions of the HTTP header information character library have been introduced in detail in the previous part, and will not be repeated here; at the same time, since the VPN server has much more system resources than the data terminal, the uplink data of the data request is processed. The process of decompression processing does not need to be limited, and it can be processed according to the normal data decompression process, which will not be repeated here.
在VPN服务器将数据请求进行解压缩处理后,VPN服务器即能够将数据请求发往对应的资源服务器,资源服务器在接收到该数据请求后,向VPN服务器返回与该数据请求对应的数据资源,在本实施例中,设定数据请求为对某一网页的请求,则该数据资源为该网页对应的数据资源。After the VPN server decompresses the data request, the VPN server can send the data request to the corresponding resource server. After receiving the data request, the resource server returns the data resource corresponding to the data request to the VPN server. In this embodiment, if the data request is set as a request for a certain webpage, then the data resource is the data resource corresponding to the webpage.
VPN服务器在接收到资源服务器发送的该网页对应的数据资源后,即能够根据数据请求中包括的对与数据请求对应的数据资源按第一压缩率进行压缩的指令,将该数据资源进行压缩为下行数据包,并将该数据包发送给智能手机。After the VPN server receives the data resource corresponding to the web page sent by the resource server, it can compress the data resource according to the instruction included in the data request to compress the data resource corresponding to the data request according to the first compression rate. downlink data packet and send the data packet to the smartphone.
VPN服务器对数据资源进行压缩的过程,具体来讲,VPN服务器可以采用压缩率高于第一压缩率的压缩算法将数据资源压缩成下行数据包,保证压缩效果,由于VPN服务器拥有的系统资源比数据终端多很多,所以此处的压缩过程仅仅需要保证压缩效果即可,而不用考虑对系统资源的消耗。The process of compressing data resources by the VPN server. Specifically, the VPN server can use a compression algorithm with a compression rate higher than the first compression rate to compress data resources into downlink data packets to ensure the compression effect. Since the system resources owned by the VPN server are less than There are many data terminals, so the compression process here only needs to ensure the compression effect, without considering the consumption of system resources.
205:数据终端通过VPN通道接收VPN服务器发送的数据资源;205: The data terminal receives the data resource sent by the VPN server through the VPN channel;
在本实施例中,智能手机通过VPN通道接收VPN服务器发送的下行数据包后,对下行数据包进行解压缩处理,即能够获得与数据请求对应的数据资源。In this embodiment, after receiving the downlink data packet sent by the VPN server through the VPN channel, the smart phone decompresses the downlink data packet, that is, the data resource corresponding to the data request can be obtained.
这一步骤中,智能手机在通过VPN通道接收VPN服务器发送的下行数据包时,移动通信运营商就会对下行数据包按流量进行计费,可以看出,由于智能手机发送的是压缩后的数据资源,所以减少了数据流量,也就减少了用户需要缴纳给移动通信运营商的费用,同时也不会影响数据资源的具体内容。In this step, when the smart phone receives the downlink data packet sent by the VPN server through the VPN channel, the mobile communication operator will charge the downlink data packet according to the traffic. It can be seen that since the smart phone sends the compressed Data resources, so the data traffic is reduced, which also reduces the fees that users need to pay to mobile communication operators, and will not affect the specific content of data resources.
206:数据终端中断VPN通道。206: The data terminal interrupts the VPN channel.
在智能手机接收完下行数据包后,智能手机即能够中断VPN通道,这样,相当于在智能手机和VPN服务器之间通过短连接实现了VPN服务,通过短连接实现的VPN服务的优点是省电,无需过多的耗费智能手机的电量。After the smart phone receives the downlink data packet, the smart phone can interrupt the VPN channel. In this way, it is equivalent to realizing the VPN service through a short connection between the smart phone and the VPN server. The advantage of the VPN service realized through the short connection is power saving , without excessive consumption of smartphone power.
可以看出,由于采用了数据终端在发送数据请求时在数据请求内附加对与数据请求对应的数据资源按第一压缩率进行压缩的指令,接收到的数据资源为经过VPN服务器按第一压缩率压缩后的数据包的技术方案,数据资源经过压缩后,其大小通常都会减小,并且在智能手机上解压缩后显示不会用户体验,所以本实施例提供的方法解决了现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。It can be seen that since the data terminal is used to add an instruction to compress the data resources corresponding to the data request according to the first compression rate in the data request when sending the data request, the received data resources are compressed according to the first compression ratio by the VPN server. The technical scheme of compressing the data packet, the size of the data resource will usually be reduced after being compressed, and the display on the smart phone will not cause user experience, so the method provided in this embodiment solves the problems in the prior art. The method of controlling the data flow consumed by the data terminal has the technical problem of affecting user experience due to the removal of important components in the web page.
实施例三Embodiment three
为了实现本发明实施例提供的数据终端上控制数据流量的方法,请参考图4,图4为本发明实施例提供的数据终端上控制数据流量的装置的示意图,如图4所示,该装置包括:In order to implement the method for controlling data traffic on a data terminal provided by an embodiment of the present invention, please refer to FIG. 4 . FIG. 4 is a schematic diagram of a device for controlling data traffic on a data terminal provided by an embodiment of the present invention. As shown in FIG. 4 , the device include:
发送单元401,用于通过虚拟专用网络VPN通道将数据请求发送给VPN服务器,数据请求包括对与数据请求对应的数据资源进行压缩的第一压缩率;The sending unit 401 is configured to send the data request to the VPN server through the virtual private network VPN channel, and the data request includes a first compression rate for compressing the data resources corresponding to the data request;
接收单元402,用于通过VPN通道接收VPN服务器发送的数据资源,数据资源被VPN服务器按第一压缩率进行压缩。The receiving unit 402 is configured to receive the data resource sent by the VPN server through the VPN channel, and the data resource is compressed by the VPN server according to a first compression rate.
进一步地,装置还包括:Further, the device also includes:
VPN通道单元403,用于在发送单元401通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,建立与VPN服务器之间的VPN通道。The VPN tunnel unit 403 is configured to establish a VPN tunnel with the VPN server before the sending unit 401 sends the data request to the VPN server through the virtual private network VPN tunnel.
进一步地,VPN通道单元403具体还用于在接收单元402通过VPN通道接收VPN服务器发送的数据资源之后,中断VPN通道。Further, the VPN tunnel unit 403 is specifically configured to interrupt the VPN tunnel after the receiving unit 402 receives the data resource sent by the VPN server through the VPN tunnel.
进一步地,装置还包括第一压缩率写入单元404,第一压缩率写入单元404用于在发送单元401通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,接收压缩指令,并基于压缩指令,将第一压缩率写入到数据请求中。Further, the device further includes a first compression ratio writing unit 404, and the first compression ratio writing unit 404 is configured to receive a compression instruction before the sending unit 401 sends the data request to the VPN server through a virtual private network VPN tunnel, and based on The compression instruction writes the first compression rate into the data request.
进一步地,装置还包括压缩单元405,压缩单元405用于在发送单元401通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,对数据请求进行压缩。Further, the device further includes a compression unit 405, and the compression unit 405 is configured to compress the data request before the sending unit 401 sends the data request to the VPN server through the virtual private network VPN tunnel.
进一步地,压缩单元405具体用于根据预先建立的HTTP头信息字符库对数据请求的HTTP头信息进行压缩,以及通过资源占用率低于预设值的压缩算法对数据请求的上行数据进行压缩。Further, the compression unit 405 is specifically configured to compress the HTTP header information of the data request according to the pre-established HTTP header information character library, and compress the upstream data of the data request through a compression algorithm whose resource occupancy rate is lower than a preset value.
本发明实施例提供的数据终端上控制数据流量的装置,与前述实施例介绍的数据终端上控制数据流量的方法是基于同一发明构思下的两个方面,在第一方面中已经详细地介绍了数据终端上控制数据流量的方法的运行原理及过程,在此为了说明书的简洁,就不再赘述了。The device for controlling data flow on a data terminal provided by the embodiment of the present invention is based on two aspects under the same inventive concept as the method for controlling data flow on a data terminal introduced in the foregoing embodiments, and has been introduced in detail in the first aspect The operation principle and process of the method for controlling data flow on the data terminal are not described here for the sake of brevity.
本发明实施例中的一个或者多个技术方案,至少具有如下技术效果或者优点:One or more technical solutions in the embodiments of the present invention have at least the following technical effects or advantages:
由于采用了数据终端在发送数据请求时在数据请求内附加对与所述数据请求对应的数据资源按第一压缩率进行压缩的指令,接收到的数据资源为经过VPN服务器按第一压缩率压缩后的数据包的技术方案,数据资源经过压缩后,其大小通常都会减小,并且在智能手机上解压缩后显示不会用户体验,所以本实施例提供的方法解决了现有技术中控制数据终端耗费的数据流量的方式存在因去掉网页中重要组成部分而影响用户体验的技术问题。Since the data terminal is used to add an instruction to compress the data resource corresponding to the data request according to the first compression ratio in the data request when sending the data request, the received data resource is compressed according to the first compression ratio through the VPN server. The technical solution of the final data packet, after the data resource is compressed, its size will usually be reduced, and after decompression on the smart phone, the display will not cause user experience, so the method provided by this embodiment solves the problem of controlling data in the prior art. There are technical problems in the way of data traffic consumed by the terminal, which affects user experience due to the removal of important components in the web page.
本发明实施例公开了:The embodiment of the invention discloses:
A1、一种控制数据流量的方法,其特征在于,所述方法包括:A1, a method for controlling data flow, is characterized in that, described method comprises:
数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器,所述数据请求包括对与所述数据请求对应的数据资源按第一压缩率进行压缩的指令;The data terminal sends a data request to the VPN server through a virtual private network VPN channel, and the data request includes an instruction to compress the data resource corresponding to the data request at a first compression rate;
所述数据终端通过所述VPN通道接收所述VPN服务器发送的所述数据资源,所述数据资源被所述VPN服务器按所述第一压缩率进行压缩。The data terminal receives the data resource sent by the VPN server through the VPN channel, and the data resource is compressed by the VPN server according to the first compression rate.
A2.根据A1所述的方法,其特征在于,在所述数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,所述方法还包括:A2. according to the method described in A1, it is characterized in that, before the data terminal sends the data request to the VPN server through the VPN channel of the virtual private network, the method also includes:
所述数据终端建立与所述VPN服务器之间的所述VPN通道。The data terminal establishes the VPN tunnel with the VPN server.
A3、根据A2所述的方法,其特征在于,在所述数据终端通过所述VPN通道接收所述VPN服务器发送的所述数据资源之后,所述方法还包括:A3. The method according to A2, wherein after the data terminal receives the data resource sent by the VPN server through the VPN tunnel, the method further includes:
所述数据终端中断所述VPN通道。The data terminal interrupts the VPN channel.
A4、根据A1所述的方法,其特征在于,在所述数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,所述方法还包括:A4, according to the method described in A1, it is characterized in that, before the data terminal sends the data request to the VPN server through the VPN channel of the virtual private network, the method also includes:
所述数据终端接收压缩指令,并基于所述压缩指令,将所述第一压缩率写入到所述数据请求中。The data terminal receives a compression instruction, and based on the compression instruction, writes the first compression rate into the data request.
A5、根据A1所述的方法,其特征在于,在所述数据终端通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,所述方法还包括:A5, according to the method described in A1, it is characterized in that, before the data terminal sends the data request to the VPN server through the VPN channel of the virtual private network, the method also includes:
所述数据终端对所述数据请求进行压缩。The data terminal compresses the data request.
A6、如A5所述的方法,其特征在于,所述数据终端对所述数据请求进行压缩,具体包括:A6, the method as described in A5, is characterized in that, described data terminal compresses described data request, specifically comprises:
所述数据终端根据预先建立的HTTP头信息字符库对所述数据请求的HTTP头信息进行压缩;以及The data terminal compresses the HTTP header information of the data request according to the pre-established HTTP header information character library; and
所述数据终端通过资源占用率低于预设值的压缩算法对所述数据请求的上行数据进行压缩。The data terminal compresses the uplink data requested by the data through a compression algorithm whose resource occupancy rate is lower than a preset value.
B7、一种控制数据流量的装置,其特征在于,所述装置包括:B7. A device for controlling data flow, characterized in that said device comprises:
发送单元,用于通过虚拟专用网络VPN通道将数据请求发送给VPN服务器,所述数据请求包括对与所述数据请求对应的数据资源进行压缩的第一压缩率;A sending unit, configured to send a data request to a VPN server through a virtual private network VPN channel, where the data request includes a first compression rate for compressing data resources corresponding to the data request;
接收单元,用于通过所述VPN通道接收所述VPN服务器发送的所述数据资源,所述数据资源被所述VPN服务器按所述第一压缩率进行压缩。The receiving unit is configured to receive the data resource sent by the VPN server through the VPN tunnel, and the data resource is compressed by the VPN server according to the first compression rate.
B8、根据B7所述的装置,其特征在于,所述装置还包括:B8, according to the device described in B7, it is characterized in that, described device also comprises:
VPN通道单元,用于在所述发送单元通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,建立与所述VPN服务器之间的所述VPN通道。The VPN tunnel unit is configured to establish the VPN tunnel with the VPN server before the sending unit sends the data request to the VPN server through the VPN tunnel.
B9、根据B8所述的装置,其特征在于,所述VPN通道单元具体还用于在所述接收单元通过所述VPN通道接收所述VPN服务器发送的所述数据资源之后,中断所述VPN通道。B9. The device according to B8, wherein the VPN tunnel unit is further configured to interrupt the VPN tunnel after the receiving unit receives the data resource sent by the VPN server through the VPN tunnel .
B10、根据B7所述的装置,其特征在于,所述装置还包括第一压缩率写入单元,所述第一压缩率写入单元用于在所述发送单元通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,接收压缩指令,并基于所述压缩指令,将所述第一压缩率写入到所述数据请求中。B10, according to the device described in B7, it is characterized in that, the device also includes a first compression rate writing unit, and the first compression rate writing unit is used to write data through a virtual private network VPN channel in the sending unit Before the request is sent to the VPN server, a compression instruction is received, and based on the compression instruction, the first compression ratio is written into the data request.
B11、根据B7所述的装置,其特征在于,所述装置还包括压缩单元,所述压缩单元用于在所述发送单元通过虚拟专用网络VPN通道将数据请求发送给VPN服务器之前,对所述数据请求进行压缩。B11, according to the device described in B7, it is characterized in that, the device also includes a compression unit, the compression unit is used to send the data request to the VPN server through the virtual private network VPN tunnel before the sending unit, Data requests are compressed.
B12、根据B11所述的装置,其特征在于,所述压缩单元具体用于根据预先建立的HTTP头信息字符库对所述数据请求的HTTP头信息进行压缩,以及通过资源占用率低于预设值的压缩算法对所述数据请求的上行数据进行压缩。B12. The device according to B11, wherein the compression unit is specifically configured to compress the HTTP header information of the data request according to the pre-established HTTP header information character library, and the resource occupancy rate is lower than the preset The value compression algorithm compresses the uplink data of the data request.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the contents of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的发明名称(如确定网站内链接等级的装置)中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the components in the title of the invention (such as the device for determining the link level in the website) according to the embodiment of the present invention some or all of the features. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510975674.8A CN106911481A (en) | 2015-12-22 | 2015-12-22 | The method and device controlled the data flows |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510975674.8A CN106911481A (en) | 2015-12-22 | 2015-12-22 | The method and device controlled the data flows |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106911481A true CN106911481A (en) | 2017-06-30 |
Family
ID=59199384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510975674.8A Pending CN106911481A (en) | 2015-12-22 | 2015-12-22 | The method and device controlled the data flows |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106911481A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108897500A (en) * | 2018-05-23 | 2018-11-27 | 联想图像(天津)科技有限公司 | Data transmission method, device and electronic equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1592280A (en) * | 2003-09-01 | 2005-03-09 | 摩托罗拉公司 | Gateway for web page outline |
CN1609845A (en) * | 2003-10-22 | 2005-04-27 | 国际商业机器公司 | Method and apparatus for improving readability of automatic generated abstract by machine |
US20050191038A1 (en) * | 1994-02-02 | 2005-09-01 | Tetsuo Ogawa | Recording apparatus and reproducing apparatus |
CN101095615A (en) * | 2006-06-28 | 2008-01-02 | 上海岱嘉医学信息系统有限公司 | Network browsing and processing method for images of the radiological department in hospital |
CN102724133A (en) * | 2012-06-29 | 2012-10-10 | 杭州华三通信技术有限公司 | Method and device for transmitting internet protocol (IP) message |
CN102905045A (en) * | 2012-10-26 | 2013-01-30 | 北京奇虎科技有限公司 | Method and server for providing picture data to computing terminal |
CN104038916A (en) * | 2014-06-24 | 2014-09-10 | 北京奇虎科技有限公司 | Traffic optimization method and system performed on mobile terminal device and client |
CN104144126A (en) * | 2014-08-19 | 2014-11-12 | 北京奇虎科技有限公司 | Method, system, and client for traffic optimization through image processing |
CN104580192A (en) * | 2014-12-31 | 2015-04-29 | 网宿科技股份有限公司 | Processing method and device for network access requests of application program |
CN104702969A (en) * | 2013-12-09 | 2015-06-10 | 杭州海康威视数字技术股份有限公司 | Method and system for performing passive transcoding of video and audio data and transcoding server |
-
2015
- 2015-12-22 CN CN201510975674.8A patent/CN106911481A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050191038A1 (en) * | 1994-02-02 | 2005-09-01 | Tetsuo Ogawa | Recording apparatus and reproducing apparatus |
CN1592280A (en) * | 2003-09-01 | 2005-03-09 | 摩托罗拉公司 | Gateway for web page outline |
CN1609845A (en) * | 2003-10-22 | 2005-04-27 | 国际商业机器公司 | Method and apparatus for improving readability of automatic generated abstract by machine |
CN101095615A (en) * | 2006-06-28 | 2008-01-02 | 上海岱嘉医学信息系统有限公司 | Network browsing and processing method for images of the radiological department in hospital |
CN102724133A (en) * | 2012-06-29 | 2012-10-10 | 杭州华三通信技术有限公司 | Method and device for transmitting internet protocol (IP) message |
CN102905045A (en) * | 2012-10-26 | 2013-01-30 | 北京奇虎科技有限公司 | Method and server for providing picture data to computing terminal |
CN104702969A (en) * | 2013-12-09 | 2015-06-10 | 杭州海康威视数字技术股份有限公司 | Method and system for performing passive transcoding of video and audio data and transcoding server |
CN104038916A (en) * | 2014-06-24 | 2014-09-10 | 北京奇虎科技有限公司 | Traffic optimization method and system performed on mobile terminal device and client |
CN104144126A (en) * | 2014-08-19 | 2014-11-12 | 北京奇虎科技有限公司 | Method, system, and client for traffic optimization through image processing |
CN104580192A (en) * | 2014-12-31 | 2015-04-29 | 网宿科技股份有限公司 | Processing method and device for network access requests of application program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108897500A (en) * | 2018-05-23 | 2018-11-27 | 联想图像(天津)科技有限公司 | Data transmission method, device and electronic equipment |
CN108897500B (en) * | 2018-05-23 | 2021-10-26 | 联想图像(天津)科技有限公司 | Data transmission method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3046331B1 (en) | Media control method and system based on cloud desktop | |
CN108536461A (en) | Resource regeneration method, device, terminal and storage medium | |
CN109756568B (en) | File processing method and device and computer readable storage medium | |
US20150262031A1 (en) | Method And Apparatus For Identifying Picture | |
CN111352912B (en) | Compressed file processing method, device, storage medium, terminal and server | |
CN112269959B (en) | Control method and device for display content, readable medium and electronic equipment | |
EP3267331B1 (en) | Method and apparatus for cloud streaming service | |
WO2020063008A1 (en) | Resource configuration method and apparatus, terminal, and storage medium | |
CN104038916B (en) | Method and system, the client of flow optimization are realized on the mobile terminal device | |
CN104050292A (en) | Traffic-saving mode search service method, server, client and system | |
EP2725506A2 (en) | Apparatus and method for displaying loading state of web browser in portable terminal | |
US20190114989A1 (en) | Systems and methods for image optimization | |
CN104462283A (en) | Method, device and client for requesting webpage elements in mobile terminal | |
CN111125595A (en) | Multi-page control method and device, electronic equipment and storage medium | |
US9288189B2 (en) | Retrieving both sensitive and non-sensitive content in a secure manner | |
US20150269274A1 (en) | Method and apparatus for uploading information | |
CN103138871B (en) | The server data processing system of application program and method in mobile communcations system | |
CN115190180B (en) | Network resource request scheduling method and device during network resource request surge | |
CN112149392A (en) | A rich text editing method and device | |
CN106911481A (en) | The method and device controlled the data flows | |
CN105471980A (en) | Embedded-OpenWrt-wireless-router-technology-based cloud server data access method | |
CN113836101B (en) | Compression method and device and electronic equipment | |
CN113032696A (en) | Display method and display device of page picture | |
CN106911737A (en) | The method and device of data traffic on control data terminal | |
CN103793459A (en) | Webpage opening method and webpage opening device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170630 |
|
RJ01 | Rejection of invention patent application after publication |