CN109344349A - A kind of data cache method and device, electronic equipment - Google Patents

A kind of data cache method and device, electronic equipment Download PDF

Info

Publication number
CN109344349A
CN109344349A CN201811141102.XA CN201811141102A CN109344349A CN 109344349 A CN109344349 A CN 109344349A CN 201811141102 A CN201811141102 A CN 201811141102A CN 109344349 A CN109344349 A CN 109344349A
Authority
CN
China
Prior art keywords
data
server
mark
segment
added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811141102.XA
Other languages
Chinese (zh)
Other versions
CN109344349B (en
Inventor
付超群
姚琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201811141102.XA priority Critical patent/CN109344349B/en
Publication of CN109344349A publication Critical patent/CN109344349A/en
Priority to PCT/CN2019/090030 priority patent/WO2020062910A1/en
Application granted granted Critical
Publication of CN109344349B publication Critical patent/CN109344349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a kind of data cache method and device, electronic equipment and computer readable storage medium.Wherein, data cache method includes: that at least one claims corresponding with data segment is obtained from current request;The mark data in the data once returned for corresponding data section on server is added in the data segment that claims include;The claims for being added with mark data are sent to server;Receive the latest data or incremental data that server is returned according to claims.The embodiment of the present disclosure can support single data buffer storage for requesting more data segments, to achieve the purpose that incremental update, and then can save the bandwidth traffic between server and client side, improve the communication speed between server and client side.

Description

A kind of data cache method and device, electronic equipment
Technical field
This disclosure relates to which the communication technology more particularly to a kind of data cache method and device, electronic equipment and computer can Read storage medium.
Background technique
Currently used browser, such as Google's browser (Google Chrome), red fox (Firefox), Microsoft's browsing Device (Internet Explorer) or apple browser (Safari) etc. all support hypertext transfer protocol (HyperText Transfer Protocol, abbreviation HTTP) caching process in/1.1 agreements, it saves bandwidth to reach and improves access speed Purpose.
Wherein, the HTTP/1.1 agreement of standard has the processing logic for HTTP request caching, respectively defines last time and repairs Change (Last-Modified), entity tag (Entity Tag, abbreviation ETag), expired time (Expires) head information are handled HTTP request final updating time, returned content fingerprint, request content expired time.
But the caching process scheme that traditional http protocol provides has following two: first problem is: passing The http protocol of system is based on uniform resource locator (Uniform Resource Locator, URL) dimension and carries out caching process, As long as URL changes, caching fails immediately, and Second Problem is: traditional http protocol caching is in the whole of request Hold, partial content is changed, the data before can not being multiplexed.
Summary of the invention
In view of this, the disclosure provides a kind of data cache method and device, electronic equipment and computer-readable storage medium Matter.
Specifically, the disclosure is achieved by the following technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of data cache method is provided, which comprises
At least one claims corresponding with data segment is obtained from current request;
It is added in the data segment that the claims include in the data once returned for corresponding data section on server Mark data;
The claims for being added with the mark data are sent to the server;
Receive the latest data or incremental data that the server is returned according to the claims.
In one embodiment, the method also includes:
Receive information of the data without update that the server is returned according to the claims.
In one embodiment, the method also includes:
Once it is directed to what corresponding data section returned on server in described add in the data segment that the claims include Before mark data in data, determine that client-cache has the server last time to be directed to the number that corresponding data section returns According to.
In one embodiment, the method also includes:
There is the server last time to be directed to the data that corresponding data section returns if it is determined that client is uncached, then to described Server sends claims;
Receiving the server is the data that the data segment that the claims include returns, and caches the data and correspondence Data segment identification.
In one embodiment, the current request includes that current HTTP request or current transmission control protocol (TCP) are requested, The mark data includes one or a few item datas in last change, entity tag, expired time and version number.
According to the second aspect of an embodiment of the present disclosure, a kind of data buffer storage device is provided, described device includes:
Module is obtained, for obtaining at least one claims corresponding with data segment from current request;
Adding module, for adding server in the data segment that the claims that the acquisition module obtains include Mark data in the primary data returned for corresponding data section;
Sending module, for asking described in after sending the mark data that the adding module is added to the server Seek item;
First receiving module, what the claims sent for receiving the server according to the sending module returned Latest data or incremental data.
In one embodiment, described device further include:
Second receiving module, what the claims sent for receiving the server according to the sending module returned Information of the data without update.
In one embodiment, described device further include:
Determining module, it is primary on server for being added in the data segment that the claims include in the adding module Before the mark data in data returned for corresponding data section, determine that client-cache has the server last time to be directed to The data that corresponding data section returns.
In one embodiment, the sending module, is also used to:
There is the server last time to return for corresponding data section if the determining module determines that client is uncached Data then send claims to the server;
Cache module is received, is the number that the claims that the sending module is sent include for receiving the server According to the data that section returns, and cache the data and corresponding data segment identification.
In one embodiment, the current request includes current HTTP request or current transmission control protocol TCP request, institute Stating mark data includes one or a few item datas in last change, entity tag, expired time and version number.
According to the third aspect of an embodiment of the present disclosure, a kind of computer readable storage medium is provided, the storage medium is deposited Computer program is contained, the computer program is for executing above-mentioned data cache method.
According to a fourth aspect of embodiments of the present disclosure, a kind of electronic equipment is provided, including processor, memory and is stored in On the memory and the computer program that can run on a processor, the processor are realized when executing the computer program Above-mentioned data cache method.
The embodiment of the present disclosure by obtaining at least one claims corresponding with data segment from current request, and is being asked In the data segment for asking item to include add the server last time for corresponding data section return data in mark data, then to Server sends the claims for being added with mark data, and receives latest data or incremental number that server is returned according to claims According to can support single data buffer storage for requesting more data segments, to achieve the purpose that incremental update, and then server can be saved Bandwidth traffic between client improves the communication speed between server and client side.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of data cache method shown in one exemplary embodiment of the disclosure;
Fig. 2 is the flow chart of another data cache method shown in one exemplary embodiment of the disclosure;
Fig. 3 is the flow chart of another data cache method shown in one exemplary embodiment of the disclosure;
Fig. 4 is a kind of hardware configuration of the data buffer storage device place electronic equipment shown in one exemplary embodiment of the disclosure Figure;
Fig. 5 is a kind of block diagram of data buffer storage device shown in one exemplary embodiment of the disclosure;
Fig. 6 is the block diagram of another data buffer storage device shown in one exemplary embodiment of the disclosure;
Fig. 7 is the block diagram of another data buffer storage device shown in one exemplary embodiment of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Fig. 1 is a kind of flow chart of data cache method shown in one exemplary embodiment of the disclosure, as shown in Figure 1, should Method includes:
Step S101 obtains at least one claims corresponding with data segment from current request.
Wherein, current request may include but be not limited to current HTTP request or current transmission control protocol (Transmission Control Protocol, abbreviation TCP) request.
In this embodiment it is possible to obtain one or more claims from current request, wherein each claims can be with Corresponding with one or more data segments, each claims can be distinguished by mark.
Step S102 adds the number once returned for corresponding data section on server in the data segment that claims include Mark data in.
Wherein, mark data is referred to by identifying the data distinguished.
In this embodiment, mark data may include but be not limited to last change (Last-Modified), entity mark One or a few item datas in label (Entity Tag, abbreviation ETag), expired time (Expires) and version number (Version).
In this embodiment, before executing step S102, it can first determine that client-cache has server last time needle To the data that corresponding data section returns, is then added in the data segment that claims include and be once directed to corresponding data on server The mark data in data that section returns.
Step S103 sends the claims for being added with mark data to server.
After client such as browser adds mark data in claims, it can send to server added with mark The claims of data.
Step S104 receives latest data or incremental data that server is returned according to claims.
Optionally, as shown in Fig. 2, after step s 103, this method can also include:
Step S105 receives information of the data without update that server is returned according to claims.
Server, if being added with Last-Modified information in claims, can will ask after receiving claims The modification time of the Last-Modified information carried in item and what be new on server is asked to compare, if in last time Request no data after the Last-Modified time returned to update, then return code (code): 304, to tell customer end contents Without update, is updated if there is data, then return to latest data or incremental data.
Server, if being added with ETag information in claims, can will be taken after receiving claims in claims The ETag information of band and the ETag of server end what be new are compared, if the two is consistent, code:304 are returned to, to tell Client data is without modification, if the two is inconsistent, returns to latest data or incremental data.
Server is after receiving claims, can will be in claims if being added with Version information in claims The Version information of carrying and the Version information of server end what be new compare, if the two is consistent, return Code:304, if the two is inconsistent, returns to latest data or incremental data to tell client data without modification.
It should be noted that server is similar with the above process to the treatment process of other identifier data, it is not described in detail herein.
Since latest data or incremental data can be returned only in the embodiment, without returning to total data, therefore The bandwidth traffic between server and client side can be saved, the communication speed between server and client side is improved.
Above-described embodiment by obtaining at least one claims corresponding with data segment from current request, and is being requested The mark data in data that the addition server last time returns for corresponding data section in the data segment that item includes, then to clothes Device of being engaged in sends the claims for being added with mark data, and receives latest data or incremental number that server is returned according to claims According to can support single data buffer storage for requesting more data segments, to achieve the purpose that incremental update, and then clothes can be saved The bandwidth traffic being engaged between device and client improves the communication speed between server and client side.
Fig. 3 is the flow chart of another data cache method shown in one exemplary embodiment of the disclosure, as shown in figure 3, This method may include:
Step S301 obtains at least one claims corresponding with data segment from current request.
Wherein, current request may include but be not limited to current HTTP request or current transmission control protocol (Transmission Control Protocol, abbreviation TCP) request.
In this embodiment it is possible to obtain one or more claims from current request, wherein each claims can be with Corresponding with one or more data segments, each claims can be distinguished by mark.
Step S302, determines whether client is cached with the server last time for the data of corresponding data section return, if The data are cached with, S303 is thened follow the steps, if uncached there are the data, then follow the steps S306.
Step S303 adds the number once returned for corresponding data section on server in the data segment that claims include Mark data in.
Wherein, mark data is referred to by identifying the data distinguished.
In this embodiment, mark data may include but be not limited to last change (Last-Modified), entity mark One or a few item datas in label (Entity Tag, abbreviation ETag), expired time (Expires) and version number (Version).
Step S304 sends the claims for being added with mark data to server.
Step S305, the latest data or incremental data, operation that reception server is returned according to above-mentioned claims terminate.
In this embodiment, it is necessary first to determine whether client is cached with the server last time and returns for corresponding data section The data returned are added on server once for correspondence if being cached with corresponding data in the data segment that claims include The mark data in data that data segment returns, and the claims for being added with mark data are sent to server, so that server Latest data or incremental data can be returned according to the mark data when determining that data have update.
Since latest data or incremental data can be returned only in the embodiment, without returning to total data, therefore The bandwidth traffic between server and client side can be saved, the communication speed between server and client side is improved.
Step S306 sends claims to server, and receiving server is that the data segment that above-mentioned claims include returns Data, and cache above-mentioned data and corresponding data segment identification.
Wherein, data cached to be distinguished by data segment identification, for example, in multiple HTTP requests, as long as number It is consistent according to segment identification, so that it may accomplish that caching is shared, without being limited to same URL, i.e., the embodiment can support across URL it Between data buffer storage, while can also accomplish update part cache.
In this embodiment, when client is uncached the data for being once directed to the return of corresponding data section on server, Claims directly can be sent to server, receiving server is the data that the data segment that the claims include returns, and is cached Data and corresponding data segment identification, to send claims and reception clothes added with mark data to server to be subsequent The latest data or incremental data that business device is returned according to the claims added with mark data provide condition.
Above-described embodiment, by determining that client-cache has on server the number once returned for corresponding data section According to the mark number in data once returned for corresponding data section on addition server in the data segment that claims include According to, and the claims comprising mark data are sent to server, to receive the latest data that server based on data mark returns Or incremental data, to support single data buffer storage for requesting more data segments, to achieve the purpose that incremental update, and then can be with The bandwidth traffic between server and client side is saved, the communication speed between server and client side is improved;And determining visitor When family end is uncached to have the server last time to be directed to the data that corresponding data section returns, claims directly are sent to server, with The data that server returns are received, to for the subsequent claims to server transmission added with mark data and receive service The latest data or incremental data that device is returned according to the claims added with mark data provide condition.
Corresponding with the embodiment of aforementioned data caching method, the disclosure additionally provides the embodiment of data buffer storage device.
The embodiment of disclosure data buffer storage device can be using on an electronic device.Wherein, which can be Equipment where client.Installation practice can also pass through hardware or the side of software and hardware combining by software realization Formula is realized.As shown in figure 4, being a kind of hardware structure diagram of 400 place electronic equipment of disclosure data buffer storage device, which is set It is standby to include processor 410, memory 420 and be stored in the computer journey that run on memory 420 and on the processor 410 Sequence, the processor 410 realize above-mentioned data cache method when executing the computer program.In addition to processor 410 shown in Fig. 4 and Except memory 420, the electronic equipment in embodiment where device can also be wrapped generally according to the actual functional capability of the data buffer storage Other hardware are included, this is repeated no more.
Fig. 5 is a kind of block diagram of data buffer storage device shown in one exemplary embodiment of the disclosure, as shown in figure 5, the number It include: to obtain module 51, adding module 52, sending module 53 and the first receiving module 54 according to buffer storage.
Module 51 is obtained for obtaining at least one claims corresponding with data segment from current request.
Wherein, current request may include but be not limited to current HTTP request or transmission control protocol (Transmission Control Protocol, abbreviation TCP) request.
In this embodiment it is possible to obtain one or more claims from current request, wherein each claims can be with Corresponding with one or more data segments, each claims can be distinguished by mark.
Adding module 52 is used to add in obtaining the data segment that the claims that module 51 obtains include primary on server The mark data in data returned for corresponding data section.
Wherein, mark data is referred to by identifying the data distinguished.
In this embodiment, mark data may include but be not limited to last change (Last-Modified), entity mark One or a few item datas in label (Entity Tag, abbreviation ETag), expired time (Expires) and version number (Version).
In this embodiment, before executing step S102, it can first determine that client-cache has server last time needle To the data that corresponding data section returns, is then added in the data segment that claims include and be once directed to corresponding data on server The mark data in data that section returns.
Sending module 53 is used to send the claims after the mark data that adding module 52 is added to server.
After adding module adds mark data in claims, asking added with mark data can be sent to server Seek item.
First receiving module 54 is used to receive the latest data that server is returned according to the claims that sending module 53 is sent Or incremental data.
Server is after receiving claims, if Last-Modified information is added in claims, by claims The Last-Modified information of middle carrying and the modification time of what be new on server compare, if requested in last time No data updates after the Last-Modified time of return, then and return code (code): 304, to tell customer end contents without more Newly, it is updated if there is data, then returns to latest data or incremental data.
Server is after receiving claims, if ETag information is added in claims, by what is carried in claims The ETag of ETag information and server end what be new is compared, if the two is consistent, returns to code:304, to tell client End data is without modification, if the two is inconsistent, returns to latest data or incremental data.
Server is after receiving claims, can will be in claims if being added with Version information in claims The Version information of carrying and the Version information of server end what be new compare, if the two is consistent, return Code:304, if the two is inconsistent, returns to latest data or incremental data to tell client data without modification.
It should be noted that server is similar with the above process to the treatment process of other identifier data, it is not described in detail herein.
Since latest data or incremental data can be returned only in the embodiment, without returning to total data, therefore The bandwidth traffic between server and client side can be saved, the communication speed between server and client side is improved.
Above-described embodiment by obtaining at least one claims corresponding with data segment from current request, and is being requested The mark data in data that the addition server last time returns for corresponding data section in the data segment that item includes, then to clothes Business device sends the claims for being added with mark data, and receives latest data or increment that server is returned according to above-mentioned claims Data to achieve the purpose that incremental update, and then can save server to support single data buffer storage for requesting more data segments Bandwidth traffic between client improves the communication speed between server and client side.
Fig. 6 is the block diagram of another data buffer storage device shown in one exemplary embodiment of the disclosure, as shown in fig. 6, On the basis of above-mentioned embodiment illustrated in fig. 5, which can also include: the second receiving module 55.
Second receiving module 55, for receiving the data for the claims return that server is sent according to sending module 53 without more New information.
Wherein, data cached to be distinguished by data segment identification, for example, in multiple HTTP requests, as long as number It is consistent according to segment identification, so that it may accomplish that caching is shared, without being limited to same URL, i.e., the embodiment can support across URL it Between data buffer storage, while can also accomplish update part cache.
In this embodiment, it is necessary first to determine whether client is cached with the server last time and returns for corresponding data section The data returned directly send claims to server if uncached have corresponding data, and reception server is the claims packet The data that the data segment contained returns, and data cached and corresponding data segment identification, to be added for subsequent sent to server There are the claims of mark data and receives latest data or increasing of the server according to the claims return added with mark data Amount data provide condition.
Above-described embodiment, by having on server the number once returned for corresponding data section determining that client is uncached According to when, directly to server send claims, with receive and cache server return data, thus for it is subsequent to server send out It send the claims added with mark data and receives the newest number that server is returned according to the claims added with mark data According to or incremental data provide condition.
Fig. 7 is the block diagram of another data buffer storage device shown in one exemplary embodiment of the disclosure, as shown in fig. 7, On the basis of above-mentioned embodiment illustrated in fig. 5, which can also comprise determining that module 56.
Determining module 56 is once directed to for being added on server in the data segment that claims include in adding module 52 Before the mark data in data that corresponding data section returns, determine that client-cache has the server last time for corresponding data The data that section returns.
Above-described embodiment, by determining that client-cache has the server last time to be directed to the data that corresponding data section returns When, the mark number in the data once returned for corresponding data section on server is added in the data segment that claims include According to be the subsequent claims for being added with mark data and reception server of being sent to server according to added with mark number According to claims return latest data or incremental data provide condition.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, which is stored with calculating Machine program, the computer program is for executing above-mentioned data cache method, wherein the data cache method includes:
At least one claims corresponding with data segment is obtained from current request;
The mark in the data once returned for corresponding data section on server is added in the data segment that claims include Know data;
The claims for being added with mark data are sent to server;
Receive the latest data or incremental data that server is returned according to claims.
Above-mentioned computer readable storage medium can be read-only memory (ROM), random access memory (RAM), CD Read-only memory (CD-ROM), tape, floppy disk and optical data storage devices etc..
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein being used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound In the case that the property made is worked, it can understand and implement.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are wanted by right It asks and points out.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
The above is only the preferred embodiments of the disclosure, not to limit the disclosure, all spirit in the disclosure and Within principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of disclosure protection.

Claims (10)

1. a kind of data cache method, which is characterized in that the described method includes:
At least one claims corresponding with data segment is obtained from current request;
The mark in the data once returned for corresponding data section on server is added in the data segment that the claims include Know data;
The claims for being added with the mark data are sent to the server;
Receive the latest data or incremental data that the server is returned according to the claims.
2. the method according to claim 1, wherein the method also includes:
Receive information of the data without update that the server is returned according to the claims.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
In the data added in the data segment that the claims include and once returned for corresponding data section on server In mark data before, determine client-cache have the server last time be directed to corresponding data section return data.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
There is the server last time to be directed to the data that corresponding data section returns if it is determined that client is uncached, then to the service Device sends claims;
Receiving the server is the data that the data segment that the claims include returns, and caches the data and corresponding number According to segment identification.
5. method according to claim 1-4, which is characterized in that the current request includes that current hypertext passes Defeated protocol HTTP request or current transmission control protocol TCP request, the mark data includes last change, entity tag, mistake One in time phase and version number or a few item datas.
6. a kind of data buffer storage device, which is characterized in that described device includes:
Module is obtained, for obtaining at least one claims corresponding with data segment from current request;
Adding module, it is primary on server for being added in the data segment that the claims that the acquisition module obtains include The mark data in data returned for corresponding data section;
Sending module, the request after the mark data for sending the adding module addition to the server ?;
First receiving module, the claims sent for receiving the server according to the sending module return newest Data or incremental data.
7. device according to claim 6, which is characterized in that described device further include:
Second receiving module, the data returned for receiving the server according to the claims that the sending module is sent Information without update.
8. device according to claim 6 or 7, which is characterized in that described device further include:
Determining module is once directed to for being added on server in the data segment that the claims include in the adding module Before the mark data in data that corresponding data section returns, determine that client-cache has the server last time for correspondence The data that data segment returns.
9. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the calculating Machine program is used to execute any data cache method of the claims 1-5.
10. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can locate The computer program run on reason device, the processor realize that the claims 1-5 is any when executing the computer program The data cache method.
CN201811141102.XA 2018-09-28 2018-09-28 Data caching method and device and electronic equipment Active CN109344349B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811141102.XA CN109344349B (en) 2018-09-28 2018-09-28 Data caching method and device and electronic equipment
PCT/CN2019/090030 WO2020062910A1 (en) 2018-09-28 2019-06-04 Data caching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811141102.XA CN109344349B (en) 2018-09-28 2018-09-28 Data caching method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109344349A true CN109344349A (en) 2019-02-15
CN109344349B CN109344349B (en) 2020-12-29

Family

ID=65307299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811141102.XA Active CN109344349B (en) 2018-09-28 2018-09-28 Data caching method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN109344349B (en)
WO (1) WO2020062910A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062910A1 (en) * 2018-09-28 2020-04-02 北京三快在线科技有限公司 Data caching
CN111404831A (en) * 2020-03-19 2020-07-10 重庆富民银行股份有限公司 Method and system for improving processing performance of wind control system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009516A (en) * 2006-01-26 2007-08-01 华为技术有限公司 A method and system for data synchronization
CN101127960A (en) * 2007-09-20 2008-02-20 中兴通讯股份有限公司 A system and method for differential update of electronic service guidance
CN101159764A (en) * 2007-11-21 2008-04-09 中国电信股份有限公司 Method and system to access door data of mobile service
CN101257485A (en) * 2007-03-02 2008-09-03 华为技术有限公司 Web applied system and method
US20110264650A1 (en) * 2010-04-27 2011-10-27 Salesforce.Com, Inc Methods and Systems for Filtering Data for Interactive Display of Database Data
US20120173485A1 (en) * 2010-07-02 2012-07-05 Salesforce.Com, Inc. Optimizing data synchronization between mobile clients and database systems
CN103064910A (en) * 2012-12-19 2013-04-24 北京奇虎科技有限公司 Device and method for processing fault data
CN103812849A (en) * 2012-11-15 2014-05-21 腾讯科技(深圳)有限公司 Local cache updating method and system, client and server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031543A (en) * 2004-07-20 2006-02-02 Ricoh Co Ltd Information provision device, information provision method, information provision program and storage medium
CN102789470B (en) * 2011-05-20 2016-08-24 腾讯科技(深圳)有限公司 The method and apparatus of the picture in loading webpage
CN103686684A (en) * 2012-09-20 2014-03-26 腾讯科技(深圳)有限公司 Offline cache method and device
CN107145490B (en) * 2016-03-01 2020-10-30 腾讯科技(深圳)有限公司 Webpage loading and displaying method and webpage loading and displaying device
CN109344349B (en) * 2018-09-28 2020-12-29 北京三快在线科技有限公司 Data caching method and device and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009516A (en) * 2006-01-26 2007-08-01 华为技术有限公司 A method and system for data synchronization
CN101257485A (en) * 2007-03-02 2008-09-03 华为技术有限公司 Web applied system and method
CN101127960A (en) * 2007-09-20 2008-02-20 中兴通讯股份有限公司 A system and method for differential update of electronic service guidance
CN101159764A (en) * 2007-11-21 2008-04-09 中国电信股份有限公司 Method and system to access door data of mobile service
US20110264650A1 (en) * 2010-04-27 2011-10-27 Salesforce.Com, Inc Methods and Systems for Filtering Data for Interactive Display of Database Data
US20120173485A1 (en) * 2010-07-02 2012-07-05 Salesforce.Com, Inc. Optimizing data synchronization between mobile clients and database systems
CN103812849A (en) * 2012-11-15 2014-05-21 腾讯科技(深圳)有限公司 Local cache updating method and system, client and server
CN103064910A (en) * 2012-12-19 2013-04-24 北京奇虎科技有限公司 Device and method for processing fault data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062910A1 (en) * 2018-09-28 2020-04-02 北京三快在线科技有限公司 Data caching
CN111404831A (en) * 2020-03-19 2020-07-10 重庆富民银行股份有限公司 Method and system for improving processing performance of wind control system

Also Published As

Publication number Publication date
CN109344349B (en) 2020-12-29
WO2020062910A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
CN105930528B (en) Webpage caching method and server
US8713156B2 (en) Request routing based on class
JP5697675B2 (en) System and method for increasing data communication speed and efficiency
JP5681095B2 (en) Web access using cross-domain cookies
WO2016101763A1 (en) Implementation method and device for downloading resource through cdn, and server and client
CN108494755B (en) Method and device for transmitting Application Programming Interface (API) request
CN113452780B (en) Access request processing method, device, equipment and medium for client
CN108256014B (en) Page display method and device
CN113886743B (en) Method, device and system for refreshing cache resources
JP2011013707A (en) Web page relay apparatus
CN112243013A (en) Method, system, server and storage medium for realizing cross-domain resource caching
CN111931100A (en) Request processing system, method, device, electronic equipment and computer readable medium
CN109344349A (en) A kind of data cache method and device, electronic equipment
CN105556918B (en) A kind of resource downloading method and electronic equipment
CN106411978B (en) Resource caching method and device
CN108063835B (en) Outer net domain name analytic method, server and system
CN112398796B (en) Information processing method, device, equipment and computer readable storage medium
CN108075963B (en) Content transmission method and device
CN110912769B (en) CDN cache hit rate statistical method, system, network device and storage medium
EP3635581A1 (en) System and method for identifying and tagging users
CN115333936A (en) Method, device, medium and equipment for switching back source strategy
CN105610809B (en) The method, apparatus and system of network admittance control
US20210081466A1 (en) Web acceleration via learning
JP5396974B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION MANAGEMENT METHOD
JP2003316743A (en) Network access method and client

Legal Events

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