CN105897754A - Data processing system, data pulling method and client - Google Patents
Data processing system, data pulling method and client Download PDFInfo
- Publication number
- CN105897754A CN105897754A CN201610393062.2A CN201610393062A CN105897754A CN 105897754 A CN105897754 A CN 105897754A CN 201610393062 A CN201610393062 A CN 201610393062A CN 105897754 A CN105897754 A CN 105897754A
- Authority
- CN
- China
- Prior art keywords
- module
- data
- download
- request
- target
- 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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a data processing system. In the system, a client is used for determining at least a target download module corresponding to business to be accessed, judging whether module data of the target download module exists in a local cache, when the local cache has part of the module data of the target download module, generating a download request for the rest part of the module data of the target download module, and sending the download request to a server. The server is used for receiving the download request, and sending the rest part of module data of the target download module to the client. Visually, according to the data processing system, data pulling method and client, the module data existing in the local cache does not need to be downloaded, thus the download flow is saved, and the response speed of the client is improved.
Description
Technical field
The present invention relates to technical field of data processing, more particularly, it relates to a kind of data handling system,
Data pull method and client.
Background technology
Along with the arrival of big data age, the data access amount that client-access server is brought is the most continuous
Increase.If data access amount is relatively big or the access time more concentrates, then can cause the response of server
Speed reduces.Generally, in order to improve response efficiency, server can be provided with access service and relied on
Download module, client, when downloading the business datum of a certain business, first can pull this industry from server
The module data of the download module that business is relied on, passes through pulled module data framework and goes out download module,
Thus the download module gone out based on framework downloads the business datum of this business.
From said process it can be seen that client is when downloading service data, first framework is needed to go out to download mould
Block, this module data that certainly will need first to pull download module from server, consume certain flow money
Source;The module data the most how reducing download module pulls the waste of flow in process resource, becomes
The problem that those skilled in the art need to solve.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of data handling system, data pull method and visitor
Family end, it is not necessary to download existing module data in local cache, save downloading flow, and improve visitor
The response speed of family end.
For achieving the above object, the following technical scheme of embodiment of the present invention offer:
A kind of data handling system, including: client and server,
Described client is used for, and determines at least one target download module that business to be visited is corresponding, it is judged that this
Whether ground caching has the module data of described target download module, when local cache has part institute
State the module data of target download module, under the module data of the target download module generating remainder
Carry request, the described request of downloading is sent to described server;
Described server is used for, and receives described download and asks, sends the mesh of remainder to described client
The module data of mark download module.
A kind of data pull method, including:
Determine at least one target download module that business to be visited is corresponding;
Judge the module data whether in local cache with described target download module;
If local cache has the module data of part described target download module, generate remainder
Target download module module data download request;
Request is downloaded, to the module data of the target download module of server request remainder according to described.
A kind of client, including:
Business determines module, for determining at least one target download module that business to be visited is corresponding;
Caching judge module, for judging the module whether in local cache with described target download module
Data;
Download request generation module, for when the mould in local cache with part described target download module
Blocks of data, generates the download request of the module data of the target download module of remainder;
Request sending module, for downloading request, to the target of server request remainder according to described
The module data of download module.
Based on technique scheme, in the data handling system that the embodiment of the present invention provides, client is used for
Determine at least one target download module that business to be visited is corresponding, it is judged that whether local cache has described
The module data of target download module, when the module in local cache with part described target download module
Data, generate the download request of the module data of the target download module of remainder, please by described download
Ask transmission to described server.Server is used for receiving described download asks, and sends surplus to described client
The module data of the target download module that remaining part is divided.Visible, the embodiment of the present invention is without downloading local cache
In existing module data, save downloading flow, and improve the response speed of client.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The structured flowchart of the data handling system that Fig. 1 provides for the embodiment of the present invention;
The signaling process figure of the data handling system that Fig. 2 provides for the embodiment of the present invention;
The Signalling exchange schematic diagram of another data server that Fig. 3 provides for the embodiment of the present invention;
The Signalling exchange schematic diagram of another data server that Fig. 4 provides for the embodiment of the present invention;
The Signalling exchange schematic diagram of another data server that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of client that Fig. 6 provides for the embodiment of the present invention;
The structural representation of another client that Fig. 7 provides for the embodiment of the present invention;
The structural representation of another client that Fig. 8 provides for the embodiment of the present invention;
The structural representation of another client that Fig. 9 provides for the embodiment of the present invention;
The structural representation of another client that Figure 10 provides for the embodiment of the present invention;
A kind of terminal hardware structural representation that Figure 11 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, all corresponding the scope of protection of the invention.
The embodiment of the present application provides a kind of data handling system, when user has Operational Visit demand, visitor
First family end determines at least one target download module that business to be visited is corresponding, then, it is judged that local cache
In whether there is the module data of above-mentioned target download module, when local cache has the described target of part
During the module data of download module, the download of the module data generating the target download module of remainder please
Ask.Download request is also sent to server by client, and server is asked according to the download received, to
Client sends the module data of the target download module of remainder.Visible, the embodiment of the present invention without
Download existing module data in local cache, save downloading flow, and improve the response of client
Speed.
Refer to the structured flowchart of the data handling system that Fig. 1, Fig. 1 provide for the embodiment of the present invention, this
The data pull method that bright embodiment provides can realize based on system shown in Figure 1, and with reference to Fig. 1, the present invention is real
The data handling system that executing example provides may include that server 10, at least one client 20;
Server 10 can be setting of the data of the download module corresponding for storage service that network side is arranged
Standby, server 10 can be single server, it is also possible to for the server farm being made up of multiple servers
Or a cloud computing service center.Server 10 can also be after receiving download request, from network
Side acquisition module data.
The equipment for sending service request that at least one client 20 is user side, such as mobile phone, flat board
Computer, notebook computer etc..In this programme, client 20 can specially have the visitor of display module
Family end, display module can be the browser of loading, QQ, wechat etc. in client.
Based on system shown in Figure 1, Fig. 2 shows the signaling of the data handling system that the embodiment of the present invention provides
Flow chart, this data handling system includes: client and server, shown in Fig. 1 and Fig. 2, this letter
Interaction is made to may include that
Step S100, determine at least one target download module that business to be visited is corresponding.
Business to be visited is the instruction that client triggers, and the webpage being specifically as follows user is opened
Request, it is also possible to be in certain specific scene, an operational order of user, as entered a certain game
The business that the click action of scene is triggered.
In the present embodiment, each business to be visited at least one target download module corresponding, permissible
It is interpreted as that each business to be visited is required for the data of multiple target download module and is supported, e.g.,
Client have sent an access request, and now, server end can be according to this access request, to client
Feed back the data that this access request is corresponding, and these data fed back are the forms by multiple download modules
Presenting, therefore, this step is contemplated to determine which the target download module corresponding to business to be visited has
A little processes.
Step S101, judge the module data whether in local cache with described target download module.
Generally, the data of the download module loaded before can be cached by client, defines this locality
Caching, here, is that to search whether to comprise business to be visited in step S100 in local cache corresponding
Download module.It should be noted that target download module is multiple, then, client can be in this locality
Making a look up target download module one by one in caching, the business correspondence target accessed such as user downloads mould
Block a, target download module b and target download module c, then, this step is to download each target
Module is searched in local cache, or, search in local cache simultaneously and whether comprise under single target
Carry in module rather than lookup local cache and comprise target download module a, target download module the most simultaneously
B and the composite module of target download module c.
Step S102, when local cache has the module data of part described target download module, generate
The download request of the module data of the target download module of remainder.
In conjunction with above-mentioned steps, it is the most emphatically not wrap according in target download module corresponding to business to be visited
The module data of the download module being contained in local cache generates at least one and downloads request, concrete, false
Determine business correspondence target download module a, target download module b and target download module c that user accesses,
Target download module a is only comprised, then need under of generation target download module b in local cache
Carry request, and a download request of target download module c.Certainly, in order to save downloading flow further,
The download request downloading request and target download module c of target download module b can also be merged into one
Downloading request, it implements step and see below embodiment.
Step S103, client send and download request to server.
Step S104, receive described download request, to described client send remainder target download
The module data of module.
Server is after the download receiving client is asked, by the mould of the target download module of remainder
Blocks of data is sent to client, and in conjunction with above-mentioned steps, the most herein, server is by target download module b and mesh
The module data of mark download module c is sent to client.
It can be seen that in the embodiment of the present invention, when client has Operational Visit to ask, client only needs
The module data of each target download module not comprised local cache is downloaded from server, it is not necessary to
Download existing module data in local cache, save downloading flow, and improve the response of client
Speed.
In another embodiment of the application, how client is determined that business to be visited is corresponding at least
The process of one target download module is introduced.With reference to another data that Fig. 3, Fig. 3 are the application example
The Signalling exchange schematic diagram of server, this signalling interactive process includes:
Step S200, determine the module id of each target download module corresponding to business to be visited.
It should be noted that the corresponding module id of each target download module, this module id
It is unique, in the present embodiment, can be fixed by the character of the predeterminated position of the summary info of download module
Justice becomes module id, such as latter four of MD5 value.
Step S201, travel through preset caching mapping table, it is judged that whether local cache has and described mould
The module data that block identification is identical.
Mistake described above, the data of the download module loaded before can be cached by client, is formed
Local cache, meanwhile, also stores caching mapping table, and this caching mapping table record has in local cache
The module id of the download module of caching and the corresponding relation of module data.I.e. search corresponding to access service
Module data can by search caching mapping table in whether comprise module id.Such as the business pair accessed
Answer target download module a, target download module b and target download module c, its module id be followed successively by a,
B, c, then in caching mapping table, directly search whether that there is a, b, c can realize searching target download
The purpose of module.
Step S202, when local cache has the module data of part described target download module, generate
The download request of the module data of the target download module of remainder.
This step is identical with the principle of step S102, concrete, it is assumed that the business correspondence target that user accesses
Download module a, target download module b and target download module c, only comprise under target in local cache
Carry module a, then need the download generating target download module b to ask, and target download module c
Download request for one.Certainly, in order to save downloading flow further, it is also possible to by target download module b's
The download request downloading request and target download module c is merged into a download request, and it implements step
See below embodiment.
Step S203, client send and download request to server.
Step S204, receive described download request, to described client send remainder target download
The module data of module.
Server is after the download receiving client is asked, by the mould of the target download module of remainder
Blocks of data is sent to client, and in conjunction with above-mentioned steps, the most herein, server is by target download module b and mesh
The module data of mark download module c is sent to client.
In another embodiment of the application, to how by the module of the target download module of remainder
The process that the request of downloading of data merges is introduced.With reference to Fig. 4, Fig. 4 be the application example again
A kind of Signalling exchange schematic diagram of data server, this signalling interactive process includes:
Step S300, determine at least one target download module that business to be visited is corresponding.
Business to be visited is the instruction that client triggers, and the webpage being specifically as follows user is opened
Request, it is also possible to be in certain specific scene, an operational order of user, as entered a certain game
The business that the click action of scene is triggered.
In the present embodiment, each business to be visited at least one target download module corresponding, permissible
It is interpreted as that each business to be visited is required for the data of multiple target download module and is supported, e.g.,
Client have sent an access request, and now, server end can be according to this access request, to client
Feed back the data that this access request is corresponding, and these data fed back are the forms by multiple download modules
Presenting, therefore, this step is contemplated to determine which the target download module corresponding to business to be visited has
A little processes.
Step S301, judge the module data whether in local cache with described target download module.
Generally, the data of the download module loaded before can be cached by client, defines this locality
Caching, here, is that to search whether to comprise business to be visited in step S100 in local cache corresponding
Download module.It should be noted that target download module is multiple, then, client can be in this locality
Making a look up target download module one by one in caching, the business correspondence target accessed such as user downloads mould
Block a, target download module b and target download module c, then, this step is to download each target
Module is searched in local cache, or, search in local cache simultaneously and whether comprise under single target
Carry in module rather than lookup local cache and comprise target download module a, target download module the most simultaneously
B and the composite module of target download module c.
Step S302, when local cache has the module data of part described target download module, generate
The download request of the module data of the target download module of remainder.
In conjunction with above-mentioned steps, it is the most emphatically not wrap according in target download module corresponding to business to be visited
The module data of the download module being contained in local cache generates at least one and downloads request, concrete, false
Determine business correspondence target download module a, target download module b and target download module c that user accesses,
Target download module a is only comprised, then need under of generation target download module b in local cache
Carry request, and a download request of target download module c.
Step S303, client send the request of download.
Step S304, each of the module data of the target download module of described remainder is downloaded request phase
Merge.
As, there are request and the request of target download module c of target download module b at present, specific as follows:
Target download module b:http: //imgcache.qq.com/music/qzone/music_qzone.js;
Target download module c:http: //imgcache.qq.com/qzone/v6/navigation/music.js;
So the two can be merged into:
Http:// imgcache.qq.com/c/=/music/qzone/music_qzone.js ,/qzone/v6/navigatio
n/music.js
It should be noted that the access request of multiple CSS, JavaScript file to be become a request,
The number of times of HTTP request can be reduced, it is to avoid unnecessary TCP connects the transmission consumed with HTTP head, thus
Reduce response time and improve Consumer's Experience.
Step S305, transmission merge the request of download.
Step S306, receive described download request, to described client send remainder target download
The module data of module.
Server is after the download receiving client is asked, by the mould of the target download module of remainder
Blocks of data is sent to client, and in conjunction with above-mentioned steps, the most herein, server is by target download module b and mesh
The module data of mark download module c is sent to client.
In another embodiment of the application, each target download corresponding to how determining business to be visited
The process of the module id of module is introduced.With reference to another data that Fig. 5, Fig. 5 are the application example
The Signalling exchange schematic diagram of server, this signalling interactive process includes:
Step S400, to server send inquiry request.
Step S401, server receive described inquiry request, and the version with described business that will inquire
Number corresponding module id sends to client.
It should be noted that server prestores the corresponding relation of business release number and module id, this
Place, inventor is more in view of business release number, and the version number of the described business received is carried out pre-place
The corresponding relation of reason, regeneration version number and module id, particularly as follows:
The field representing version information in the version number of target download module is removed, e.g., QQv1.0,
QQv1.5, is translated into QQ, it is achieved unify the target download module of different editions.
Step S402, determine at least one target download module that business to be visited is corresponding.
Business to be visited is the instruction that client triggers, and the webpage being specifically as follows user is opened
Request, it is also possible to be in certain specific scene, an operational order of user, as entered a certain game
The business that the click action of scene is triggered.
In the present embodiment, each business to be visited at least one target download module corresponding, permissible
It is interpreted as that each business to be visited is required for the data of multiple target download module and is supported, e.g.,
Client have sent an access request, and now, server end can be according to this access request, to client
Feed back the data that this access request is corresponding, and these data fed back are the forms by multiple download modules
Presenting, therefore, this step is contemplated to determine which the target download module corresponding to business to be visited has
A little processes.
Step S403, when local cache has the module data of part described target download module, generate
The download request of the module data of the target download module of remainder.
In conjunction with above-mentioned steps, it is the most emphatically not wrap according in target download module corresponding to business to be visited
The module data of the download module being contained in local cache generates at least one and downloads request, concrete, false
Determine business correspondence target download module a, target download module b and target download module c that user accesses,
Target download module a is only comprised, then need under of generation target download module b in local cache
Carry request, and a download request of target download module c.Certainly, in order to save downloading flow further,
The download request downloading request and target download module c of target download module b can also be merged into one
Download request.
Step S404, client send and download request to server.
Step S405, receive described download request, to described client send remainder target download
The module data of module.
Server is after the download receiving client is asked, by the mould of the target download module of remainder
Blocks of data is sent to client, and in conjunction with above-mentioned steps, the most herein, server is by target download module b and mesh
The module data of mark download module c is sent to client.
Except this, the present embodiment is in the number of modules of the target download module obtaining the remainder that server sends
According to rear, local cache store the module data of described remainder object module, and updates described slow
Deposit mapping table.
It can be seen that in the embodiment of the present invention, when client has Operational Visit to ask, client only needs
The module data of each target download module not comprised local cache is downloaded from server, it is not necessary to
Download existing module data in local cache, save downloading flow, and improve the response of client
Speed.
Concrete, introduce the principle of the data handling system that the application provides with a specific embodiment, as with
A page load request is opened by browser in family, it is assumed that this page load request needs acquisition module a, mould
Block b and the data of module c, then, first the local cache interface of browser can be searched in local cache and be
No module a that comprises, module b and module c, it is assumed that local cache comprises the data of module a and module d,
So, browser local cache interface will send request and the acquisition module c of acquisition module b to server
Request, after the data of module b and module c are sent to browser local cache interface by device to be serviced, clear
Look at device local cache storage module b and the data of module c, and the mapping table in local cache be updated,
The most original mapping table have recorded a and d, after renewal, be recorded as a, b, c, d.
Then, when user has again a page load request, such as request of loading module b, module d and mould
Whether block e, then comprise b, d, e in local cache interface lookup mapping table, and record in mapping table now
A, b, c, d, then ask the download of e to be sent to server, the data of acquisition module e, incite somebody to action this simultaneously
The data feedback of b and d comprised in ground caching is to browser.
The fictitious assets configuration device provided the embodiment of the present application below is described, void described below
Intending Asset Allocation device can be mutually to should refer to above-described fictitious assets collocation method.
Seeing Fig. 6, Fig. 6 is the structural representation of a kind of client disclosed in the embodiment of the present application.This client
End includes:
Business determines module 100, for determining at least one target download module that business to be visited is corresponding;
Caching judge module 200, for judging the mould whether in local cache with described target download module
Blocks of data;
Download request generation module 300, for when local cache has part described target download module
Module data, generates the download request of the module data of the target download module of remainder;
Request sending module 400, for downloading request, to the mesh of server request remainder according to described
The module data of mark download module.
Preferably, as it is shown in fig. 7, described business determines that module 100 includes:
Module id determines unit 101, for determining the mould of each target download module corresponding to business to be visited
Block identification;
Accordingly, described caching judge module 200 includes:
Search mark unit 201, for traveling through preset caching mapping table, it is judged that whether local cache has
There is the module data identical with described module id;Caching mapping table record has in local cache under caching
Carry module id and the corresponding relation of module data of module.
Preferably, as shown in Figure 8, described request sending module 400 includes:
Request combining unit 401, each for by the module data of the target download module of described remainder
The request of download merges mutually;
Transmitting element 402, the download request after merging is sent to server, with to server request
The module data of the target download module of remainder.
Preferably, as it is shown in figure 9, this client also includes:
Data acquisition module 500, for obtaining the mould of the target download module of the remainder that server sends
Blocks of data;
Data memory module 600, for storing the module of described remainder object module in local cache
Data.
Preferably, as shown in Figure 10, described business determines that module 100 includes:
Inquiry request transmitting element 102, sends inquiry request for user end to server, and described inquiry please
Seeking the module id for inquiring about target download module corresponding to business to be visited, described inquiry request is carried
Need the business release number of access service;
Module id receives unit 103, for that receive described server lookup with described business release phase
The module id answered, obtains the module id of each target download module corresponding to business to be visited.
The hardware configuration of the server that the embodiment of the present invention provides can as shown in figure 11, including processor 1,
Communication interface 2, memorizer 3 and communication bus 4;
Wherein processor 1, communication interface 2, memorizer 3 complete mutual communication by communication bus 4;
Optionally, communication interface 2 can be the interface of communication module, such as the interface of gsm module;
Processor 1, is used for performing program;
Memorizer 3, is used for depositing program;
Program can include that program code, described program code include computer-managed instruction.
Processor 1 is probably a central processor CPU, or specific integrated circuit ASIC
(Application Specific Integrated Circuit), or be configured to implement the embodiment of the present invention
One or more integrated circuits.
Memorizer 3 may comprise high-speed RAM memorizer, it is also possible to also includes nonvolatile memory
(non-volatile memory), for example, at least one disk memory.
Wherein, program can be specifically for:
Determine at least one target download module that business to be visited is corresponding;
Judge the module data whether in local cache with described target download module;
If local cache has the module data of part described target download module, generate remainder
Target download module module data download request;
Request is downloaded, to the module data of the target download module of server request remainder according to described.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so describing
Fairly simple, relevant part sees method part and illustrates.
Professional further appreciates that, respectively shows in conjunction with what the embodiments described herein described
The unit of example and algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in,
In order to clearly demonstrate the interchangeability of hardware and software, the most general according to function
Describe composition and the step of each example.These functions perform with hardware or software mode actually,
Depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can be to each specific
Should be used for use different methods to realize described function, but this realization is it is not considered that beyond this
The scope of invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can directly use hardware,
The software module that processor performs, or the combination of the two implements.Software module can be placed in and deposit at random
Reservoir (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electric erasable can
Well known in programming ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses this
Invention.Multiple amendment to these embodiments will be apparent for those skilled in the art
, generic principles defined herein can without departing from the spirit or scope of the present invention,
Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein,
And it is to fit to the widest scope consistent with principles disclosed herein and features of novelty.
Claims (16)
1. a data handling system, including: client and server, it is characterised in that
Described client is used for, and determines at least one target download module that business to be visited is corresponding, it is judged that this
Whether ground caching has the module data of described target download module, when local cache has part institute
State the module data of target download module, under the module data of the target download module generating remainder
Carry request, the described request of downloading is sent to described server;
Described server is used for, and receives described download and asks, sends the mesh of remainder to described client
The module data of mark download module.
Data handling system the most according to claim 1, it is characterised in that also include CDN,
Described CDN is used for, please by each download of the module data of the target download module of described remainder
Ask and merge mutually, and will merge after download request be sent to server;
The most described server is receiving described download request, sends the target of remainder to described client
During the module data of download module specifically for:
Server receives the download request after merging, and the target sending remainder to described client is downloaded
The module data of module.
Data handling system the most according to claim 1, it is characterised in that
Described client is additionally operable to, and travels through preset caching mapping table, it is judged that whether have in local cache
The module data identical with described module id;Caching mapping table record has the download of caching in local cache
The module id of module and the corresponding relation of module data.
Data handling system the most according to claim 1, it is characterised in that
Described client is additionally operable to, and sends inquiry request to server, and server receives described inquiry request,
And the corresponding module id of the version number with described business inquired is sent to client.
Data handling system the most according to claim 4, it is characterised in that
Described server is additionally operable to, and the version number of the described business received is carried out pretreatment, generates version
This number and the corresponding relation of module id.
6. a data pull method, it is characterised in that including:
Determine at least one target download module that business to be visited is corresponding;
Judge the module data whether in local cache with described target download module;
If local cache has the module data of part described target download module, generate remainder
Target download module module data download request;
Request is downloaded, to the module data of the target download module of server request remainder according to described.
Data pull method the most according to claim 6, it is characterised in that under each described target
Carry the corresponding module id of module, the described at least one target download module bag determining that business to be visited is corresponding
Include:
Determine the module id of each target download module corresponding to business to be visited;
Judge that the module data whether in local cache with described target download module includes:
Travel through preset caching mapping table, it is judged that whether local cache has identical with described module id
Module data;Caching mapping table record has module id and the mould of the download module of caching in local cache
The corresponding relation of blocks of data.
Data pull method the most according to claim 7, it is characterised in that described module id is
The character of the predeterminated position of the summary info of download module.
Data pull method the most according to claim 6, it is characterised in that described to server please
The module data seeking the target download module of remainder includes:
Each request of downloading of the module data of the target download module of described remainder is merged, mutually to clothes
The module data of the target download module of business device request remainder.
Data pull method the most according to claim 6, it is characterised in that also include:
Obtain the module data of the target download module of the remainder that server sends, and at local cache
The module data of middle storage described remainder object module, and update described caching mapping table.
11. data pull methods according to claim 7, it is characterised in that described determine wait to visit
The module id of each target download module that business of asking is corresponding includes:
User end to server sends inquiry request, and it is corresponding that described inquiry request is used for inquiring about business to be visited
The module id of target download module, described inquiry request carries the business release number of business to be visited;
Receive the module id corresponding with described business release number of described server lookup, obtain to be visited
The module id of each target download module that business is corresponding.
12. 1 kinds of clients, it is characterised in that including:
Business determines module, for determining at least one target download module that business to be visited is corresponding;
Caching judge module, for judging the module whether in local cache with described target download module
Data;
Download request generation module, for when the mould in local cache with part described target download module
Blocks of data, generates the download request of the module data of the target download module of remainder;
Request sending module, for downloading request, to the target of server request remainder according to described
The module data of download module.
13. clients according to claim 12, it is characterised in that each described target downloads mould
The corresponding module id of block, described business determines that module includes:
Module id determines unit, for determining the module of each target download module corresponding to business to be visited
Mark;
Accordingly, described caching judge module includes:
Search mark unit, for traveling through preset caching mapping table, it is judged that whether local cache has
The module data identical with described module id;Caching mapping table record has the download of caching in local cache
The module id of module and the corresponding relation of module data.
14. clients according to claim 12, it is characterised in that described request sending module bag
Include:
Request combining unit, for by the module data of the target download module of described remainder each under
The request of load merges mutually;
Transmitting element, the download request after merging is sent to server, to remain to server request
The module data of the target download module that remaining part is divided.
15. data client according to claim 12, it is characterised in that also include:
Data acquisition module, for obtaining the module of the target download module of the remainder that server sends
Data;
Data memory module, for storing the number of modules of described remainder object module in local cache
According to.
16. clients according to claim 12, it is characterised in that described business determines module bag
Include:
Inquiry request transmitting element, sends inquiry request, described inquiry request for user end to server
For inquiring about the module id of target download module corresponding to business to be visited, described inquiry request carries
The business release number of business to be visited;
Module id receives unit, for receiving the corresponding to described business release number of described server lookup
Module id, obtain the module id of each target download module corresponding to business to be visited.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610393062.2A CN105897754A (en) | 2016-06-03 | 2016-06-03 | Data processing system, data pulling method and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610393062.2A CN105897754A (en) | 2016-06-03 | 2016-06-03 | Data processing system, data pulling method and client |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105897754A true CN105897754A (en) | 2016-08-24 |
Family
ID=56710278
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610393062.2A Pending CN105897754A (en) | 2016-06-03 | 2016-06-03 | Data processing system, data pulling method and client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105897754A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107809448A (en) * | 2016-09-09 | 2018-03-16 | 腾讯科技(北京)有限公司 | A kind of data processing method and terminal |
CN108234638A (en) * | 2017-12-29 | 2018-06-29 | 北京奇虎科技有限公司 | A kind of data processing method and device based on content distributing network CDN |
CN109358794A (en) * | 2018-10-10 | 2019-02-19 | 平安普惠企业管理有限公司 | WEB application program page furbishing method, device, computer equipment and storage medium |
CN113347218A (en) * | 2020-02-18 | 2021-09-03 | 北京沃东天骏信息技术有限公司 | Module downloading method and device |
CN115442440A (en) * | 2022-09-02 | 2022-12-06 | 上海识装信息科技有限公司 | Communication method, communication device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127783A (en) * | 2007-09-28 | 2008-02-20 | 北京金山软件有限公司 | A website buffering method and device |
CN101358851A (en) * | 2007-08-03 | 2009-02-04 | 北京灵图软件技术有限公司 | Method for navigating data in local caching, system and customer terminal device |
US20110282835A1 (en) * | 2010-05-11 | 2011-11-17 | International Business Machines Corporation | Migration of metadata and storage management of data in a first storage environment to a second storage environment |
CN102685220A (en) * | 2012-04-28 | 2012-09-19 | 苏州阔地网络科技有限公司 | Method and system for data interaction based on WEB page |
CN103092581A (en) * | 2011-10-28 | 2013-05-08 | 阿里巴巴集团控股有限公司 | Method and device for setting up Web front-end local development environment |
CN103607441A (en) * | 2013-11-12 | 2014-02-26 | 浪潮集团有限公司 | WEB-based server remote management system |
CN103701929A (en) * | 2014-01-02 | 2014-04-02 | 中安消技术有限公司 | Method and device for realizing business data caching |
-
2016
- 2016-06-03 CN CN201610393062.2A patent/CN105897754A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101358851A (en) * | 2007-08-03 | 2009-02-04 | 北京灵图软件技术有限公司 | Method for navigating data in local caching, system and customer terminal device |
CN101127783A (en) * | 2007-09-28 | 2008-02-20 | 北京金山软件有限公司 | A website buffering method and device |
US20110282835A1 (en) * | 2010-05-11 | 2011-11-17 | International Business Machines Corporation | Migration of metadata and storage management of data in a first storage environment to a second storage environment |
CN103092581A (en) * | 2011-10-28 | 2013-05-08 | 阿里巴巴集团控股有限公司 | Method and device for setting up Web front-end local development environment |
CN102685220A (en) * | 2012-04-28 | 2012-09-19 | 苏州阔地网络科技有限公司 | Method and system for data interaction based on WEB page |
CN103607441A (en) * | 2013-11-12 | 2014-02-26 | 浪潮集团有限公司 | WEB-based server remote management system |
CN103701929A (en) * | 2014-01-02 | 2014-04-02 | 中安消技术有限公司 | Method and device for realizing business data caching |
Non-Patent Citations (4)
Title |
---|
(美)查德威克: "《ASP.NET MVC 4 Web编程》", 31 July 2013, 华中科技大学出版社 * |
CSDN: "《https://blog.csdn.net/function_basi/article/details/8809378》", 16 April 2013 * |
博客园: "《https://www.cnblogs.com/zhengyun_ustc/archive/2012/07/18/combo.html》", 18 July 2012 * |
麦新杰: "《https://www.maixj.net/ict/liulanqifangwenwangye-6806》", 19 June 2014 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107809448A (en) * | 2016-09-09 | 2018-03-16 | 腾讯科技(北京)有限公司 | A kind of data processing method and terminal |
CN107809448B (en) * | 2016-09-09 | 2021-05-11 | 腾讯科技(北京)有限公司 | Data processing method and terminal |
CN108234638A (en) * | 2017-12-29 | 2018-06-29 | 北京奇虎科技有限公司 | A kind of data processing method and device based on content distributing network CDN |
CN109358794A (en) * | 2018-10-10 | 2019-02-19 | 平安普惠企业管理有限公司 | WEB application program page furbishing method, device, computer equipment and storage medium |
CN113347218A (en) * | 2020-02-18 | 2021-09-03 | 北京沃东天骏信息技术有限公司 | Module downloading method and device |
CN115442440A (en) * | 2022-09-02 | 2022-12-06 | 上海识装信息科技有限公司 | Communication method, communication device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105897754A (en) | Data processing system, data pulling method and client | |
CN103248684B (en) | Resource acquiring method and device in a kind of the Internet | |
US20180088760A1 (en) | Updating assets rendered in a virtual world environment based on detected user interactions in another world | |
CN105791341B (en) | Application release processing method, device and system | |
CN106843755B (en) | Data balancing method and device for server cluster | |
CN106446174A (en) | Method for page loading in application | |
CN109391664A (en) | System and method for the deployment of more cluster containers | |
CN109992406B (en) | Picture request method, picture request response method and client | |
CN109408751A (en) | A kind of data processing method, terminal, server and storage medium | |
CN106817388B (en) | Method and device for acquiring data by virtual machine and host machine and system for accessing data | |
CN104714965A (en) | Static resource weight removing method, and static resource management method and device | |
CN105095313A (en) | Data access method and equipment | |
CN108509152A (en) | A kind of method and device for realizing the storage of container runtime data | |
CN109005232A (en) | Method for down loading, providing method and the equipment of container image file | |
CN109558378A (en) | File management method, device, equipment and storage medium | |
CN107197359A (en) | Video file caching method and device | |
CN108228206A (en) | A kind of application management method and device | |
CN110267077B (en) | Offline caching method, device, terminal and readable storage medium | |
CN108055320A (en) | Processing method, terminal device and the computer readable storage medium of resource downloading | |
CN110365745A (en) | Data processing system, method, apparatus, server and computer-readable medium | |
CN109241099A (en) | A kind of data query method and terminal device | |
CN107968807A (en) | Automatically update the method and device of local cache resource | |
CN107634854B (en) | Service data processing method and device | |
CN109150927A (en) | File delivery method and device for document storage system | |
CN113536168A (en) | Component processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20160824 |
|
RJ01 | Rejection of invention patent application after publication |