CN103457980B - Terminal unit data acquisition methods - Google Patents

Terminal unit data acquisition methods Download PDF

Info

Publication number
CN103457980B
CN103457980B CN201210181599.4A CN201210181599A CN103457980B CN 103457980 B CN103457980 B CN 103457980B CN 201210181599 A CN201210181599 A CN 201210181599A CN 103457980 B CN103457980 B CN 103457980B
Authority
CN
China
Prior art keywords
data
subdata
request
server
acquisition request
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.)
Active
Application number
CN201210181599.4A
Other languages
Chinese (zh)
Other versions
CN103457980A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210181599.4A priority Critical patent/CN103457980B/en
Publication of CN103457980A publication Critical patent/CN103457980A/en
Application granted granted Critical
Publication of CN103457980B publication Critical patent/CN103457980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of data capture method and the terminal unit using this data capture method.Described data capture method is applied to a terminal unit, and described terminal unit has at least one application and a local agent service, and described terminal unit can be communicatively coupled with data server and high in the clouds proxy server respectively by described local agent service;Wherein, described high in the clouds proxy server can be communicatively coupled with described data server;Described data capture method includes:Any one application at least one application described produces data acquisition request during running, and described data acquisition request is used for instruction to be needed to obtain the first data from described data server;Described local agent service obtains described data acquisition request, according to the loading condition of described high in the clouds proxy server, determines the response mode responding described data acquisition request.

Description

Terminal unit data acquisition methods
Technical field
The present invention relates to field of terminal equipment, and it is specifically related to a kind of data capture method and uses this data acquisition side The terminal unit of method.
Background technology
In recent years, the terminal unit of such as mobile phone, panel computer and personal digital assistant is increasingly popularized, its Have the advantages that light, adopt simple touch control operation, it can easily be realized online, plays game, see video, read magazine etc. Function.Meanwhile, the maturation with 3G technology and commercialization, the user of the mobile Internet business forward direction terminal unit in 3G epoch carries Application for widely personalized, relevance and interjob.However, the mobile Internet business using terminal unit is current Also it is subject to the serious restriction of mobile internet access cost.User would generally take into account mobile number when using mobile Internet business According to the cost that business is relatively high, and perfect Consumer's Experience cannot be enjoyed to the full.
The data acquisition having been directed towards in mobile Internet business provides multiple solutions, for saving user for net Data volume when network accesses.For example, in a solution.Server captures website RSS, after passing through process typesetting, User is read using special client.So, it is possible to provide more preferable reading experience, and save the access stream of user Amount.However, in this scenario, user can only access the content of its support using special client, and greatly limit it makes With.Additionally, in another solution, building a HTTP Proxy device in server end, the networking of browser is asked straight Connect this proxy server of importing, after server end obtains Web content, after the resources such as picture are compressed, return to terminal Equipment.However, in this scenario, due to not having access authentication of user, therefore any user can access this proxy server.This Outward, proxy server due to a large number of users access or other mistakes and during temporarily when machine, user will be unable to carry out for mutual The access of networking.Accordingly, it is desirable to provide a kind of data capture method and the terminal unit using this data capture method, its realization Data acquisition speed and obtain corresponding data data volume balance, thus provide the user efficiently, safety and cost savings Data acquiring mode.
Content of the invention
In view of the above, the invention provides a kind of data capture method and using this data capture method terminal Equipment.
According to one embodiment of present invention, there is provided a kind of data capture method, it is applied to a terminal unit, described end End equipment has at least one application and a local agent service, and described terminal unit can be divided by described local agent service It is not communicatively coupled with data server and high in the clouds proxy server;Wherein, described high in the clouds proxy server can with described Data server is communicatively coupled;Described data capture method includes:Any one application at least one application described Data acquisition request is produced, described data acquisition request is used for instruction to be needed to obtain from described data server during operation First data;Described local agent service obtains described data acquisition request, according to the load feelings of described high in the clouds proxy server Condition, determines the response mode responding described data acquisition request;Wherein, obtain when determination responds described data with the first response mode When taking request, described data acquisition request is sent to described high in the clouds proxy server and obtains from described high in the clouds proxy server Second data;Wherein, described second data will respond described data acquisition request from described number for described high in the clouds proxy server It is processed into the data with the second data volume according to described first data that server obtains the first data volume;Described second data volume Less than described first data volume;When determining with the second response mode described data acquisition request of response, directly by described data Obtain request and be sent to described data server, and directly obtain described first number of the first data volume from described data server According to.
Additionally, data capture method according to an embodiment of the invention, wherein, described local agent service is according to institute State the loading condition of high in the clouds proxy server, determine the response mode responding described data acquisition request, to realize response institute The response speed stating data acquisition request and the balance of the data volume obtaining corresponding data.
Additionally, data capture method according to an embodiment of the invention, wherein, rung with the 3rd response mode when determining When answering described data acquisition request, described data acquisition request is divided into the first subdata acquisition request and the second subdata obtains Take request, and described first subdata is obtained request and be sent respectively to described high in the clouds agency with the second subdata acquisition request Server and described data server, and obtain the first son respectively from described high in the clouds proxy server and described data server Data and the second subdata, described first subdata will respond described first subdata acquisition for described high in the clouds proxy server please The data seeking the 3rd data volume obtaining from described data server is processed into the data with the 4th data volume, described 4th number It is less than described 3rd data volume according to amount;Described first subdata and the second subdata data volume and be less than described first data Measure and be more than described second data volume.
Additionally, data capture method according to an embodiment of the invention, wherein, described terminal unit also includes one Ground temporary buffer, for storing the data of low renewal frequency.
Additionally, data capture method according to an embodiment of the invention, wherein, rung with the 4th response mode when determining When answering described data acquisition request, described data acquisition request is divided into the 3rd subdata acquisition request and the 4th subdata obtains Take request, and described 3rd subdata is obtained request and be sent respectively to described high in the clouds agency with the 4th subdata acquisition request Server and described local temporary buffer, and obtain respectively from described high in the clouds proxy server and described data server Three subdatas and the 4th subdata, described 3rd subdata is that described high in the clouds proxy server obtains responding described 3rd subdata The data of the 5th data volume that request obtains from described data server is taken to be processed into the data with the 6th data volume, described the Six data volumes are less than described 5th data volume.
Additionally, data capture method according to an embodiment of the invention, wherein, rung with the 5th response mode when determining When answering described data acquisition request, described data acquisition request is divided into the 5th subdata acquisition request and the 6th subdata obtains Take request, and described 5th subdata is obtained request and be sent respectively to described data, services with the 6th subdata acquisition request Device and described local temporary buffer, and obtain the 5th subdata respectively from described data server and described data server With the 6th subdata.
Additionally, data capture method according to an embodiment of the invention, wherein, rung with the 6th response mode when determining When answering described data acquisition request, described data acquisition request is divided into the 7th subdata acquisition request, the 8th subdata obtains Take request and the 9th subdata obtain request, and will described 7th subdata obtain request, the 8th subdata obtain ask and 9th subdata obtains request and is sent respectively to described high in the clouds proxy server, described data server and described locally delays temporarily Storage, and obtain the 7th subnumber respectively from data server and described data server described in the proxy server of described high in the clouds According to, the 8th subdata and the 9th subdata, described 7th subdata will respond described 7th son for described high in the clouds proxy server The data of the 7th data volume that data acquisition request obtains from described data server is processed into the data with the 8th data volume, Described 8th data volume is less than described 7th data volume.
Additionally, data capture method according to an embodiment of the invention, wherein, described local agent service be based on Communication protocol between the proxy server of described high in the clouds obtains the loading condition of described high in the clouds proxy server.
According to another embodiment of the present invention, there is provided a kind of terminal unit, described terminal unit respectively with data, services Device and high in the clouds proxy server are communicatively coupled, and described terminal unit includes:At least one application;Wherein, described at least one Any one application in individual application produces data acquisition request during running, and described data acquisition request is used for instruction to be needed To obtain the first data from described data server;And local agent service, pass through described local for described terminal unit Agency service is communicatively coupled with data server and high in the clouds proxy server respectively;Described local agent service is additionally operable to obtain Obtain described data acquisition request, according to the loading condition of described high in the clouds proxy server, determine and respond described data acquisition request Response mode;Wherein, when determining with the first response mode described data acquisition request of response, by described data acquisition request It is sent to described high in the clouds proxy server and obtain the second data from described high in the clouds proxy server;Wherein, described second data For described high in the clouds proxy server, the described data acquisition request of response is obtained the institute of the first data volume from described data server State the first data and be processed into the data with the second data volume;Described second data volume is less than described first data volume;Work as determination When described data acquisition request is responded with the second response mode, directly described data acquisition request is sent to described data, services Device, and described first data of the first data volume is directly obtained from described data server.
Additionally, terminal unit according to another embodiment of the present invention, wherein, described local agent service is according to described cloud The loading condition of end proxy server, determines the response mode responding described data acquisition request, to realize responding described number Balance according to the response speed obtaining request and the data volume obtaining corresponding data.
Additionally, terminal unit according to another embodiment of the present invention, wherein, when determining, institute is responded with the 3rd response mode When stating data acquisition request, described data acquisition request is divided into the first subdata acquisition request and the second subdata obtains and asks Ask, and described first subdata is obtained request and be sent respectively to described high in the clouds agency service with the second subdata acquisition request Device and described data server, and obtain the first subdata respectively from described high in the clouds proxy server and described data server With the second subdata, described first subdata for described high in the clouds proxy server will respond described first subdata obtain request from The data of the 3rd data volume that described data server obtains is processed into the data with the 4th data volume, described 4th data volume Less than described 3rd data volume;Described first subdata and the second subdata data volume and less than described first data volume simultaneously And it is more than described second data volume.
Additionally, terminal unit according to another embodiment of the present invention, also include a local temporary buffer, for storing The data of low renewal frequency.
Additionally, terminal unit according to another embodiment of the present invention, wherein, when determining, institute is responded with the 4th response mode When stating data acquisition request, described data acquisition request is divided into the 3rd subdata acquisition request and the 4th subdata obtains and asks Ask, and described 3rd subdata is obtained request and be sent respectively to described high in the clouds agency service with the 4th subdata acquisition request Device and described local temporary buffer, and obtain the 3rd son respectively from described high in the clouds proxy server and described data server Data and the 4th subdata, described 3rd subdata will respond described 3rd subdata acquisition for described high in the clouds proxy server please The data seeking the 5th data volume obtaining from described data server is processed into the data with the 6th data volume, described 6th number It is less than described 5th data volume according to amount.
Additionally, terminal unit according to another embodiment of the present invention, wherein, when determining, institute is responded with the 5th response mode When stating data acquisition request, described data acquisition request is divided into the 5th subdata acquisition request and the 6th subdata obtains and asks Ask, and by described 5th subdata obtain request and the 6th subdata obtain request be sent respectively to described data server and Described local temporary buffer, and obtain the 5th subdata and respectively from described data server and described data server Six subdatas.
Additionally, terminal unit according to another embodiment of the present invention, wherein, when determining, institute is responded with the 6th response mode When stating data acquisition request, described data acquisition request is divided into the 7th subdata acquisition request, the 8th subdata obtains please The 9th subdata of suing for peace obtains request, and described 7th subdata is obtained request, the 8th subdata acquisition request and the 9th Subdata obtains request and is sent respectively to described high in the clouds proxy server, described data server and described local temporal cache Device, and from data server described in the proxy server of described high in the clouds and described data server obtain respectively the 7th subdata, 8th subdata and the 9th subdata, described 7th subdata will respond described 7th subdata for described high in the clouds proxy server The data obtaining the 7th data volume that request obtains from described data server is processed into the data with the 8th data volume, described 8th data volume is less than described 7th data volume.
Additionally, terminal unit according to another embodiment of the present invention, wherein, described local agent service is additionally operable to be based on The communication protocol and proxy server of described high in the clouds between obtains the loading condition of described high in the clouds proxy server.
Data capture method according to embodiments of the present invention and the terminal unit using this data capture method, it realizes number According to the balance of acquisition speed and the data volume obtaining corresponding data, thus providing the user the number of efficient, safety and cost savings According to acquisition modes.
It is understood that foregoing general description and detailed description below are both exemplary, and it is intended to In further illustrating of the claimed technology of offer.
Brief description
Fig. 1 is the flow chart of diagram data capture method according to embodiments of the present invention;
Fig. 2 is the block diagram of diagram the first data acquiring mode of terminal unit according to embodiments of the present invention;
Fig. 3 is the block diagram of diagram the second data acquiring mode of terminal unit according to embodiments of the present invention;
Fig. 4 is the block diagram of diagram the 3rd data acquiring mode of terminal unit according to embodiments of the present invention;
Fig. 5 is the block diagram of diagram the 4th data acquiring mode of terminal unit according to embodiments of the present invention;
Fig. 6 is the block diagram of diagram the 5th data acquiring mode of terminal unit according to embodiments of the present invention;And
Fig. 7 is the block diagram of diagram the 6th data acquiring mode of terminal unit according to embodiments of the present invention.
Specific embodiment
Hereinafter, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.
Before describing data capture method according to embodiments of the present invention, real according to the present invention with reference first to Fig. 2 general introduction Apply terminal unit and its network application environment of example.Described terminal unit be preferably e.g. smart mobile phone, personal digital assistant, Panel computer etc..
As shown in Fig. 2 terminal unit 10 according to embodiments of the present invention includes local agent service 101, application 102 and basis Ground temporary buffer 103.It is understood that terminal unit 10 according to embodiments of the present invention can also include other assemblies and consolidate Part, CPU, input-output unit, communication unit etc..Here, in order to simplify description, only illustrates and according to this The related assembly of the data capture method of bright embodiment.
Specifically, terminal unit 10 according to embodiments of the present invention can be by local agent service 101 and high in the clouds agency Server 20 data server 30 carries out the communication connection based on predefined communication protocol.Described local agent service 101 will be held The locally applied data acquisition request management of row, the pipe of the encryption of data, the compression of data and reduction and data corresponding strategy The functions such as reason.It is further described in detail later with reference to accompanying drawing.
Application 102 in terminal unit 10 according to embodiments of the present invention produces data acquisition during running please Ask, described data acquisition request is used for the data that instruction needs to obtain from described data server.It is easily understood that application 102 unlimited number is in as shown in Figure 2 one.
Local temporary buffer 103 in terminal unit 10 according to embodiments of the present invention is used for caching terminal unit 10 to be entered Frequently obtained during row data acquisition or low renewal frequency data to realize the further of the data volume needed for data acquisition Optimize, and lift data acquisition speed.
Additionally, high in the clouds proxy server 20 can enter row data communication with data server 30 (that is, Website server), from And obtain, from data server 30, the data that data acquisition request is asked, and the data of acquisition is compressed etc. It is sent to described local agent service 101 after process.It should be noted that described high in the clouds proxy server 20 and described local generation Reason service 101 can be to be encrypted communication, thus greatly improving Information Security simultaneously using the high-grade agreement of such as SPDY And have compressed flowing of access.
More than, outline terminal unit 10 according to embodiments of the present invention and including high in the clouds proxy server 20 sum According to server 30 network application environment.Hereinafter, with reference to Fig. 1, data capture method according to embodiments of the present invention will be described.
Fig. 1 is the flow chart of diagram data capture method according to embodiments of the present invention.
As shown in figure 1, in step S101, any one application 102 produces data acquisition request during running. Described data acquisition request is used for the data that instruction needs to obtain from described data server 30.Hereafter, process and enter step S102.
In step s 102, described local agent service 101 obtains described data acquisition request from described application 102.This Afterwards, process and enter step S103.
In step s 103, described local agent services 101 based on the communication protocol between high in the clouds proxy server 20, Obtain the loading condition of described high in the clouds proxy server 20.Hereafter, process and enter step S104.
In step S104, described local agent service 101 according to the loading condition of described high in the clouds proxy server 20, really The fixed response mode for data acquisition request.That is, described local agent service 101 is according to described high in the clouds agency service The loading condition of device 20, determines the response mode responding described data acquisition request, please to realize the described data acquisition of response The balance of the data volume of the response speed asked and acquisition corresponding data.After a while, possible response will be specifically described with reference to Fig. 2 to 7 The embodiment of mode.Hereafter, process and enter step S105.
In step S105, described local agent service 101 is according to the response mode determining, the corresponding data acquisition of transmission Ask high in the clouds proxy server 20 and/or data server 30.Hereafter, process and enter step S106.
In step s 106, described local agent service 101 is from described high in the clouds proxy server 20 and/or data server 30 receive the data obtaining, and the data of acquisition are supplied to the application 102 asking this data.
More than, describe data capture method according to embodiments of the present invention.Hereinafter, reference picture 2-7 is specifically described root Terminal unit 10 application data retrieving method according to the embodiment of the present invention obtains the specific embodiment of data.
Fig. 2 is the block diagram of diagram the first data acquiring mode of terminal unit 10 according to embodiments of the present invention.
As shown in Fig. 2 described local agent service 101, according to the loading condition of described high in the clouds proxy server 20, determines Data is obtained with the first data acquiring mode.In a preferred embodiment of the invention, described first data acquiring mode generation High in the clouds proxy server 20 described in table is in the data acquiring mode under available and low-load state.
Specifically, when determining with the first data acquiring mode described data acquisition request of response, described local agent clothes Described data acquisition request is sent to described high in the clouds proxy server 20 by business 101.Described high in the clouds proxy server 20 in response to Described data acquisition request, forwards the request to described data server 30.Described data server 30 is in response to described number According to obtaining request, described first data sending the first data volume is to described high in the clouds proxy server 20.Described high in the clouds agency's clothes Described first data of the first data volume is processed by business device 20 by compression, is processed as the data with the second data volume, institute State the second data volume and be less than described first data volume.Usually, described high in the clouds proxy server 20 will be from described data server Picture in 30 acquisition data, animation, Cascading Style Sheet (CSS), script (JS) are compressed, thus reduce needs passing through The data volume of network transmission.Hereafter, the data is activation of described second data volume is given described by described high in the clouds proxy server 20 Ground agency service 101, and the data of acquisition is supplied to by application by described local agent service 101 102 is such as shown Deng application.
Under described first data acquiring mode, described local agent service 101 is passed through from described high in the clouds proxy server 20 acquisition data, without data communication direct with described data server 30, thus it is logical to have saved needs to the full extent Cross the data volume of network transmission.Simultaneously as executed by described high in the clouds proxy server 20 obtaining from described data server 30 Data and the task of processing acquisition data, increased described high in the clouds proxy server 20 and process load.
Fig. 3 is the block diagram of diagram the second data acquiring mode of terminal unit according to embodiments of the present invention.
As shown in figure 3, described local agent service 101, according to the loading condition of described high in the clouds proxy server 20, determines Data is obtained with the second data acquiring mode.In a preferred embodiment of the invention, described second data acquiring mode generation High in the clouds proxy server 20 described in table is in the data acquiring mode under unavailable or overload status.
Specifically, when determining with the first data acquiring mode described data acquisition request of response, described local agent clothes Described data acquisition request is transmitted directly to described data server 30 by business 101.Described data server 30 is in response to described Data acquisition request, described first data sending the first data volume services 101 to described local agent, and by described local The data of acquisition is supplied to the application that application 102 is shown etc. by agency service 101.
Under described second data acquiring mode, described local agent service 101 directly obtains from described data server 30 Fetch data, without the data communication via described high in the clouds proxy server 20.Described second data acquiring mode is applied to institute State high in the clouds proxy server 20 and be in unavailable or extra-heavy situation, even if so that it is guaranteed that described high in the clouds proxy server 20 Unavailable, described local agent service 101 also can stably obtain data to be supplied to described application 102.
Fig. 4 is the block diagram of diagram the 3rd data acquiring mode of terminal unit according to embodiments of the present invention.
As shown in figure 4, described local agent service 101, according to the loading condition of described high in the clouds proxy server 20, determines Data is obtained with the 3rd data acquiring mode.In a preferred embodiment of the invention, described 3rd data acquiring mode generation The loading condition based on described high in the clouds proxy server 20 for the table, realizes responding response speed and the acquisition of described data acquisition request The data acquiring mode of the balance of the data volume of corresponding data.
Specifically, when determining with the 3rd data acquiring mode described data acquisition request of response, described local agent clothes Described data acquisition request is divided into that the first subdata obtains request and the second subdata obtains request by business 101, and by institute State that the first subdata obtains request and the second subdata obtains request and is sent respectively to described high in the clouds proxy server 20 and described Data server 30, and from described high in the clouds proxy server 20 and described data server 30 obtain respectively the first subdata and Second subdata, described first subdata for described high in the clouds proxy server 20 will respond described first subdata obtain request from The data of the 3rd data volume that described data server 30 obtains is processed into the data with the 4th data volume, described 4th data Amount is less than described 3rd data volume;Described first subdata and the second subdata data volume and be less than described first data volume And it is more than described second data volume.In a preferred embodiment of the invention, described local agent service 101 can will be right The acquisition request needing the data of compression transmission in picture, animation, Cascading Style Sheet (CSS), script (JS) etc. is defined as First subdata obtains request and is sent to described high in the clouds proxy server 20, and will for HTML (HTML) etc. no Need compression transmission data acquisition request be defined as second subdata obtain request be sent to described data server 30.When So, the dividing processing for described data acquisition request can act on behalf of clothes by described local agent service 101 according to described high in the clouds The load condition of business device 20 executes automatically.In addition it is also possible to be pre-established the dividing processing of described data acquisition request by user Strategy.
Under described 3rd data acquiring mode, need the data to described local agent service 101 by network transmission Amount will be greater than the data volume under described first data acquiring mode, and is less than the data volume under described second data acquiring mode. Meanwhile, under described 3rd data acquiring mode, the response speed obtaining data will be faster than under described first data acquiring mode Response speed, and be slower than the response speed under described second data acquiring mode.That is, described 3rd data acquisition side Formula achieves the response speed responding described data acquisition request and obtains the balance of the data volume of corresponding data.
Fig. 5 to Fig. 7 is to illustrate the 4th data acquiring mode of terminal unit according to embodiments of the present invention respectively to the 6th The block diagram of data acquiring mode.
Described 4th data acquiring mode corresponds respectively to aforementioned first data acquiring mode to the 6th data acquiring mode To the 3rd data acquiring mode.Specifically, described 4th data acquiring mode is to the 6th data acquiring mode and aforementioned described the One data acquiring mode is identical to the 3rd data acquiring mode, except in described 4th data acquiring mode to the 6th data acquisition Introduce local temporary buffer 103 in mode and participate in data acquisition process.
That is, except data acquisition request is sent to by institute according to the load condition of described high in the clouds proxy server 20 State high in the clouds proxy server 20, described data server 30 or described high in the clouds proxy server 20 and 30 liang of described data server Outside person, described local agent service 101 can obtain the data of wherein temporal cache from described local temporary buffer 103.All As the file such as the image of low refreshing frequency, animation in a large number can in described local temporary buffer 103 interim storage.At this The flushing policy of described local temporary buffer 103 in a bright preferred embodiment, can be customized by user.The present invention's In another preferred embodiment, the data-pushing needing temporal cache can be updated by institute by described high in the clouds proxy server 20 State local temporary buffer 103.
Fig. 5 to 7 shown in described 4th data acquiring mode in the 6th data acquiring mode, by introduce described Ground temporary buffer 103, will be further reduced needs compared to aforementioned first data acquiring mode to the 3rd data acquiring mode The data volume of network transmission, and improve data acquisition speed.
Describe data capture method according to embodiments of the present invention above by reference to Fig. 1 to Fig. 7 and use this data acquisition The terminal unit of method, it is realized data acquisition speed and obtains the balance of the data volume of corresponding data, thus providing the user Efficiently, the data acquiring mode of safety and cost savings.
It should be noted that in this manual, term " inclusion ", "comprising" or its any other variant are intended to Comprising of nonexcludability, wants so that including a series of process of key elements, method, article or equipment and not only including those Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element that limited by sentence "including a ..." it is not excluded that Also there is other identical element including in the process of described key element, method, article or equipment.
Finally in addition it is also necessary to illustrate, a series of above-mentioned process are not only included with order described here in temporal sequence The process of execution, and include the process executing parallel or respectively rather than in chronological order.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of necessary hardware platform to realize naturally it is also possible to all implement by hardware.Based on such understanding, What technical scheme contributed to background technology can be embodied in whole or in part in the form of software product, This computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions in order to make Obtain a computer equipment (can be personal computer, server, or network equipment etc.) and execute each embodiment of the present invention Or some partly described methods of embodiment.
Above the present invention is described in detail, specific case used herein is to the principle of the present invention and embodiment party Formula is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept;Meanwhile, right In one of ordinary skill in the art, according to the thought of the present invention, all have change in specific embodiments and applications Part, in sum, this specification content should not be construed as limitation of the present invention.

Claims (16)

1. a kind of data capture method, is applied to a terminal unit, and it is local with one that described terminal unit has at least one application Agency service, described terminal unit can by the service of described local agent respectively with data server and high in the clouds proxy server It is communicatively coupled;Wherein, described high in the clouds proxy server can be communicatively coupled with described data server;Described data Acquisition methods include:
Any one application at least one application described produces data acquisition request, described data acquisition during running Ask to need to obtain the first data from described data server for instruction;
Described local agent service obtains described data acquisition request, according to the loading condition of described high in the clouds proxy server, really The response mode of data acquisition request described in provisioning response;
Wherein, when determining with the first response mode described data acquisition request of response, described data acquisition request is sent to Described high in the clouds proxy server simultaneously obtains the second data from described high in the clouds proxy server;Wherein, described second data is described High in the clouds proxy server obtains described the first of the first data volume by responding described data acquisition request from described data server Data is processed into the data with the second data volume;Described second data volume is less than described first data volume;
When determining with the second response mode described data acquisition request of response, directly described data acquisition request is sent to institute State data server, and directly obtain described first data of the first data volume from described data server.
2. data capture method as claimed in claim 1, wherein, described local agent service is according to described high in the clouds agency service The loading condition of device, determines the response mode responding described data acquisition request, to realize responding described data acquisition request Response speed and obtain corresponding data data volume balance.
3. data capture method as claimed in claim 2, wherein, responds described data acquisition when determining with the 3rd response mode During request, described data acquisition request is divided into the first subdata and obtains request and the acquisition request of the second subdata, and will Described first subdata obtains request and the second subdata obtains request and is sent respectively to described high in the clouds proxy server and described Data server, and obtain the first subdata and the second son respectively from described high in the clouds proxy server and described data server Data, described first subdata will respond described first subdata for described high in the clouds proxy server and obtain request from described data The data of the 3rd data volume that server obtains is processed into the data with the 4th data volume, and described 4th data volume is less than described 3rd data volume;Described first subdata and the second subdata data volume and less than described first data volume and be more than institute State the second data volume.
4. data capture method as claimed in claim 1, wherein, described terminal unit also includes a local temporary buffer, For storing the data of low renewal frequency.
5. data capture method as claimed in claim 4, wherein, responds described data acquisition when determining with the 4th response mode During request, described data acquisition request is divided into the 3rd subdata and obtains request and the acquisition request of the 4th subdata, and will Described 3rd subdata obtains request and the 4th subdata obtains request and is sent respectively to described high in the clouds proxy server and described Local temporary buffer, and obtain the 3rd subdata respectively from described high in the clouds proxy server and described local temporary buffer With the 4th subdata, described 3rd subdata for described high in the clouds proxy server will respond described 3rd subdata obtain request from The data of the 5th data volume that described data server obtains is processed into the data with the 6th data volume, described 6th data volume Less than described 5th data volume.
6. data capture method as claimed in claim 4, wherein, responds described data acquisition when determining with the 5th response mode During request, described data acquisition request is divided into the 5th subdata and obtains request and the acquisition request of the 6th subdata, and will Described 5th subdata obtains request and the 6th subdata obtains request and is sent respectively to described data server and described local Temporary buffer, and obtain the 5th subdata and the 6th son respectively from described data server and described local temporary buffer Data.
7. data capture method as claimed in claim 4, wherein, responds described data acquisition when determining with the 6th response mode During request, described data acquisition request is divided into the 7th subdata and obtains request, the 8th subdata acquisition request and the 9th son Data acquisition request, and described 7th subdata is obtained request, the 8th subdata acquisition request and the acquisition of the 9th subdata Request is sent respectively to described high in the clouds proxy server, described data server and described local temporary buffer, and from institute State high in the clouds proxy server, described data server and described local temporary buffer and obtain the 7th subdata, the 8th son respectively Data and the 9th subdata, described 7th subdata will respond described 7th subdata acquisition for described high in the clouds proxy server please The data seeking the 7th data volume obtaining from described data server is processed into the data with the 8th data volume, described 8th number It is less than described 7th data volume according to amount.
8. as the arbitrary described data capture method of claim 1 to 7, wherein, described local agent service be based on described Communication protocol between the proxy server of high in the clouds obtains the loading condition of described high in the clouds proxy server.
9. a kind of terminal unit, described terminal unit is communicatively coupled with data server and high in the clouds proxy server respectively, Described terminal unit includes:
At least one application;Wherein, any one application at least one application described produces data during running and obtains Take request, described data acquisition request is used for instruction to be needed to obtain the first data from described data server;And
Local agent services, for described terminal unit pass through the service of described local agent respectively with data server and high in the clouds generation Reason server is communicatively coupled;
Described local agent service is additionally operable to obtain described data acquisition request, according to the load feelings of described high in the clouds proxy server Condition, determines the response mode responding described data acquisition request;
Wherein, when determining with the first response mode described data acquisition request of response, described data acquisition request is sent to Described high in the clouds proxy server simultaneously obtains the second data from described high in the clouds proxy server;Wherein, described second data is described High in the clouds proxy server obtains described the first of the first data volume by responding described data acquisition request from described data server Data is processed into the data with the second data volume;Described second data volume is less than described first data volume;
When determining with the second response mode described data acquisition request of response, directly described data acquisition request is sent to institute State data server, and directly obtain described first data of the first data volume from described data server.
10. terminal unit as claimed in claim 9, wherein, described local agent service is according to described high in the clouds proxy server Loading condition, determine the response mode responding described data acquisition request, to realize responding described data acquisition request The balance of the data volume of response speed and acquisition corresponding data.
11. terminal units as claimed in claim 10, wherein, please with the 3rd response mode described data acquisition of response when determining When asking, described data acquisition request is divided into the first subdata obtains request and the second subdata obtains request, and by institute State the first subdata acquisition request and the second subdata obtains request and is sent respectively to described high in the clouds proxy server and described number According to server, and obtain the first subdata and the second subnumber respectively from described high in the clouds proxy server and described data server According to described first subdata will respond described first subdata for described high in the clouds proxy server and obtain request from described data clothes The data of the 3rd data volume that business device obtains is processed into the data with the 4th data volume, and described 4th data volume is less than described the Three data volumes;Described first subdata and the second subdata data volume and less than described first data volume and more than described Second data volume.
12. terminal units as claimed in claim 9, also include a local temporary buffer, for storing low renewal frequency Data.
13. terminal units as claimed in claim 12, wherein, please with the 4th response mode described data acquisition of response when determining When asking, described data acquisition request is divided into the 3rd subdata obtains request and the 4th subdata obtains request, and by institute State the 3rd subdata acquisition request and the 4th subdata obtains request and is sent respectively to described high in the clouds proxy server and described Ground temporary buffer, and from described high in the clouds proxy server and described local temporary buffer obtain respectively the 3rd subdata and 4th subdata, described 3rd subdata will respond described 3rd subdata for described high in the clouds proxy server and obtain request from institute The data stating the 5th data volume of data server acquisition is processed into the data with the 6th data volume, and described 6th data volume is little In described 5th data volume.
14. terminal units as claimed in claim 12, wherein, please with the 5th response mode described data acquisition of response when determining When asking, described data acquisition request is divided into the 5th subdata obtains request and the 6th subdata obtains request, and by institute State that the 5th subdata obtains request and the 6th subdata obtains request and is sent respectively to described data server and described locally faces When buffer, and obtain the 5th subdata and the 6th subnumber respectively from described data server and described local temporary buffer According to.
15. terminal units as claimed in claim 12, wherein, please with the 6th response mode described data acquisition of response when determining When asking, described data acquisition request is divided into the 7th subdata and obtains request, the 8th subdata acquisition request and the 9th subnumber Ask according to obtaining, and described 7th subdata acquisition request, the 8th subdata acquisition request and the acquisition of the 9th subdata are asked Ask and be sent respectively to described high in the clouds proxy server, described data server and described local temporary buffer, and from described High in the clouds proxy server, described data server and described local temporary buffer obtain the 7th subdata, the 8th subnumber respectively According to the 9th subdata, described 7th subdata for described high in the clouds proxy server will respond described 7th subdata obtain request The data of the 7th data volume obtaining from described data server is processed into the data with the 8th data volume, described 8th data Amount is less than described 7th data volume.
16. such as claim 9 to 15 arbitrary described terminal unit, wherein, the service of described local agent be also based on described Communication protocol between the proxy server of high in the clouds obtains the loading condition of described high in the clouds proxy server.
CN201210181599.4A 2012-06-04 2012-06-04 Terminal unit data acquisition methods Active CN103457980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210181599.4A CN103457980B (en) 2012-06-04 2012-06-04 Terminal unit data acquisition methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210181599.4A CN103457980B (en) 2012-06-04 2012-06-04 Terminal unit data acquisition methods

Publications (2)

Publication Number Publication Date
CN103457980A CN103457980A (en) 2013-12-18
CN103457980B true CN103457980B (en) 2017-03-01

Family

ID=49739928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210181599.4A Active CN103457980B (en) 2012-06-04 2012-06-04 Terminal unit data acquisition methods

Country Status (1)

Country Link
CN (1) CN103457980B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731933A (en) * 2014-01-10 2014-04-16 北京百度网讯科技有限公司 Wireless connection construction method and system and mobile terminal
CN104702654B (en) * 2014-02-25 2019-04-30 杭州海康威视数字技术股份有限公司 Storage and the method and apparatus of extraction performance balance based on video cloud storage system
CN106060004A (en) * 2016-05-09 2016-10-26 深圳市永兴元科技有限公司 Database access method and database agent node

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711613B1 (en) * 1996-07-23 2004-03-23 Server Technology, Inc. Remote power control system
CN100531098C (en) * 2007-03-13 2009-08-19 华为技术有限公司 Point-to-point network system and intercommunicating method for overlapped network node
CN101510219B (en) * 2009-03-31 2011-09-14 成都市华为赛门铁克科技有限公司 File data accessing method, apparatus and system
CN102201010A (en) * 2011-06-23 2011-09-28 清华大学 Distributed database system without sharing structure and realizing method thereof
CN102325188B (en) * 2011-09-16 2014-04-30 北京新媒传信科技有限公司 Method for realizing webpage browsing on a mobile terminal and system thereof

Also Published As

Publication number Publication date
CN103457980A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
Ma et al. When mobile terminals meet the cloud: computation offloading as the bridge
US10567346B2 (en) Remote browsing session management
CA2848747C (en) Remote process execution management
CN102938776B (en) Dynamic page processing system based on ajax technology
JP5805867B2 (en) Remote browsing session management
US9479564B2 (en) Browsing session metric creation
US9491113B2 (en) Managing network connections for processing network resources
US9313100B1 (en) Remote browsing session management
JP5238851B2 (en) Screen generation system, screen generation method, and screen generation program
CN104426985B (en) Show the method, apparatus and system of webpage
JP2015515660A (en) Multiple media devices accessing cloud computing service storage via a gateway server or service
CN103369601A (en) Method for providing large concurrent processing and flow control for mobile phone client sides
CN108881396A (en) Loading method, device, equipment and the computer storage medium of network data
CN102984189A (en) Wireless network and implementation method and terminal thereof
Pande et al. Enhanced web application and browsing performance through service-worker infusion framework
US9722851B1 (en) Optimized retrieval of network resources
CN108132991A (en) A kind of H5 pages loading method and system
CN103457980B (en) Terminal unit data acquisition methods
CN109495553A (en) A kind of webpage display control method, system and Reverse Proxy
JP5937207B2 (en) Remote browsing session management
US8949930B1 (en) Template representation of security resources
CN104615597A (en) Method, device and system for clearing cache file in browser
Faisal et al. Network latency impact on performance of software deployed across multiple clouds.
CN104253825B (en) Network data browsing method and device
Gong et al. Wwof: an energy efficient offloading framework for mobile webpage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant