CN111221861B - Method and device for synchronizing local cache and database data - Google Patents

Method and device for synchronizing local cache and database data Download PDF

Info

Publication number
CN111221861B
CN111221861B CN201911401158.9A CN201911401158A CN111221861B CN 111221861 B CN111221861 B CN 111221861B CN 201911401158 A CN201911401158 A CN 201911401158A CN 111221861 B CN111221861 B CN 111221861B
Authority
CN
China
Prior art keywords
data
local cache
remote database
local
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911401158.9A
Other languages
Chinese (zh)
Other versions
CN111221861A (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.)
Heading Data Intelligence Co Ltd
Original Assignee
Heading Data Intelligence 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 Heading Data Intelligence Co Ltd filed Critical Heading Data Intelligence Co Ltd
Priority to CN201911401158.9A priority Critical patent/CN111221861B/en
Publication of CN111221861A publication Critical patent/CN111221861A/en
Application granted granted Critical
Publication of CN111221861B publication Critical patent/CN111221861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides a local cache and database data synchronization method and device, when local cache data or remote database data are used, whether local Redis is empty or not and whether the data storage time of the local cache and the remote database is consistent or not are judged; if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, updating the remote database based on the local cache when the local cache data is used; when the local cache data is used, the local cache is emptied, and the data is downloaded from the remote database to the local cache. Comprehensively considering the data change condition of the current service scene, and realizing the requirement of the data consistency of the local cache and the remote database by the mode of synchronous combination of the existing data; the method solves the problem that in the prior art, when other personnel modify the current data, the current operation data is inconsistent with the remote database data.

Description

Method and device for synchronizing local cache and database data
Technical Field
The embodiment of the invention relates to the technical field of data storage, in particular to a method and a device for synchronizing local cache and database data.
Background
With the continuous development and progress of the computer information age, the number of users of the network application service is increased, the data volume to be processed by the network application service system is increased, and the requirements of the users on the service quality of the application service are also increased. In order to improve the reliability and maintainability of the network application service, the service range of the network application service is expanded, and the distributed service system is widely used nowadays. The distributed service system generally adopts a plurality of application servers to receive and respond to service requests from users, adopts a database server to store service data, and distributes the application servers in different areas and performs data communication connection with the database server through a data communication network so as to provide network application service for users in different areas more conveniently, and the database server uniformly manages the service data and is also more convenient for maintenance and upgrading of the service data.
In the existing data synchronization scheme, whether the data exist or not is mainly judged, if yes, the cached data are directly returned, if not, the database data are read, and the data are cached to the Redis, and the scene is only suitable for the situation that the data volume is large, but the data are not updated frequently. The method is difficult to meet the current requirement of processing a large amount of data updating business.
In the current business scenario, making a data sync once at the time of data submission does not meet the current business requirements. When other personnel modify the current data, the current operation data is inconsistent with the data of the remote database, and the data is not synchronous.
Disclosure of Invention
The embodiment of the invention provides a method and a device for synchronizing local cache and database data, which are used for solving the problem that the prior art cannot meet the current business requirement when data is submitted once. When other personnel modify the current data, the current operation data is inconsistent with the remote database data, and the data is not synchronous.
In a first aspect, an embodiment of the present invention provides a method for synchronizing local cache and database data, including:
if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, updating the remote database based on the local cache when the local cache data is used.
Preferably, the method further comprises:
if judging that the local Redis is empty, emptying the local cache, and downloading data from a remote database to the local cache;
if the local Redis is not empty and the data storage time of the local cache is consistent with that of the remote database, the local cache is emptied, and the data is downloaded from the remote database to the local cache.
Preferably, the method further comprises:
if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, selecting to use the local cache data or the remote database data based on a salesman.
Preferably, the local cache data or the remote database data is selected to be used based on a salesman, which specifically comprises:
if judging that the operator selects to use the remote database data, emptying the local cache, and downloading the data from the remote database to the local cache;
and if judging that the service personnel select to use the local cache data, updating the remote database based on the local cache.
Preferably, updating the remote database based on the local cache specifically includes:
comparing all data of the local cache and the remote database, and if the target data is judged to exist in the local cache and not exist in the remote database, inserting the target data into the remote database.
Preferably, updating the remote database based on the local cache specifically includes:
comparing all data of the local cache and the remote database, and updating the remote database based on the local cache data if the target data are judged to exist in both the local cache and the remote database.
Preferably, updating the remote database based on the local cache specifically includes:
comparing all data of the local cache and the remote database, and deleting the target data in the remote database if the target data is judged to be not in the local cache and is in the remote database.
In a second aspect, an embodiment of the present invention provides a local cache and database data synchronization apparatus, including:
the comparison module is used for judging whether the local Redis is empty or not and whether the data preservation time of the local cache is consistent with that of the remote database or not when the local cache data or the remote database data are used;
the synchronization module is used for updating the remote database based on the local cache when the local cache data is used if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database;
if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, the local cache is emptied and the data is downloaded from the remote database to the local cache when the local cache data is used.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements the steps of the local cache and database data synchronization method according to the embodiment of the first aspect of the present invention when the processor executes the program.
In a fourth aspect, embodiments of the present invention provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a method for local cache and database data synchronization according to embodiments of the first aspect of the present invention.
According to the method and the device for synchronizing the local cache and the database data, which are provided by the embodiment of the invention, the data change condition of the current service scene is comprehensively considered, and the requirement of the data consistency of the local cache and the remote database can be met by the mode of synchronous combination of the existing data; the method solves the problems that in the prior art, the data synchronization is not performed once when the data is submitted, and when other personnel modify the current data, the data is inconsistent with the data of the remote database, and the data is not synchronized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for synchronizing local cache and database data according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first", "second" in the embodiments of the present application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the terms "comprise" and "have," along with any variations thereof, are intended to cover non-exclusive inclusions. For example, a system, article, or apparatus that comprises a list of elements is not limited to only those elements or units listed but may alternatively include other elements not listed or inherent to such article, or apparatus. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In the existing data synchronization scheme, whether the data exist or not is mainly judged, if yes, the cached data are directly returned, if not, the database data are read, and the data are cached to the Redis, and the scene is only suitable for the situation that the data volume is large, but the data are not updated frequently. The method is difficult to meet the current requirement of processing a large amount of data updating business.
In the current business scenario, making a data sync once at the time of data submission does not meet the current business requirements. When other personnel modify the current data, the current operation data is inconsistent with the data of the remote database, and the data is not synchronous.
Therefore, the embodiment of the invention provides a method and a device for synchronizing local cache and database data, comprehensively considers the data change condition existing in the current service scene, and can realize the requirement of the data consistency of the local cache and the remote database in the mode of synchronous combination of the existing data; the method solves the problems that in the prior art, the data synchronization is not performed once when the data is submitted, and when other personnel modify the current data, the data is inconsistent with the data of the remote database, and the data is not synchronized. The following description and description will be made with reference to various embodiments.
Fig. 1 is a schematic diagram of a method for synchronizing local cache and database data according to an embodiment of the present invention, including:
if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, updating the remote database based on the local cache when the local cache data is used.
In this embodiment, as a preferred implementation manner, in order to meet the data consistency requirements in different scenarios, the data change condition existing in the current service scenario is comprehensively considered, and the requirement of the data consistency between the local cache and the remote database can be realized by the existing data synchronous combination manner; the method solves the problems that in the prior art, the data synchronization is not performed once when the data is submitted, and when other personnel modify the current data, the data is inconsistent with the data of the remote database, and the data is not synchronized.
On the basis of the above embodiment, the method further comprises:
if judging that the local Redis is empty, emptying the local cache, and downloading data from a remote database to the local cache;
if the local Redis is not empty and the data storage time of the local cache is consistent with that of the remote database, the local cache is emptied, and the data is downloaded from the remote database to the local cache.
On the basis of the above embodiments, the method further comprises:
if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, selecting to use the local cache data or the remote database data based on a salesman.
Based on the above embodiments, based on selection of using local cache data or remote database data by a salesman, the method specifically includes:
if judging that the operator selects to use the remote database data, emptying the local cache, and downloading the data from the remote database to the local cache;
and if judging that the service personnel select to use the local cache data, updating the remote database based on the local cache.
Based on the above embodiments, updating the remote database based on the local cache specifically includes:
comparing all data of the local cache and the remote database, and if the target data is judged to exist in the local cache and not exist in the remote database, inserting the target data into the remote database.
Based on the above embodiments, updating the remote database based on the local cache specifically includes:
comparing all data of the local cache and the remote database, and updating the remote database based on the local cache data if the target data are judged to exist in both the local cache and the remote database.
Based on the above embodiments, updating the remote database based on the local cache specifically includes:
comparing all data of the local cache and the remote database, and deleting the target data in the remote database if the target data is judged to be not in the local cache and is in the remote database.
The method for synchronizing the local cache and the database data provided by the above embodiments specifically includes:
step 1, judging whether a local cache Redis is empty, if so, entering step 2, and if not, entering step 3;
step 2, the local cache is emptied, and data is downloaded from a remote database to the local cache;
step 3, comparing the data storage time, if the comparison is consistent, entering the step 2, and if the comparison is inconsistent, entering the step 4;
step 4, providing data for a salesman to select to use (local cache/remote database), selecting a local cache to enter step 5, and selecting a remote database to enter step 2;
step 5, comparing all data of the local cache and the remote database, and inserting the data which exist in the local cache but do not exist in the remote database into the database; the method comprises the steps that data existing in local databases and remote databases are updated by using local cache data; for data that does not exist in the local cache but exists in the remote database, the data in the database is deleted.
In a second aspect, an embodiment of the present invention provides a local cache and database data synchronization device, where the local cache and database data synchronization method based on the above embodiments includes:
the comparison module is used for judging whether the local Redis is empty or not and whether the data preservation time of the local cache is consistent with that of the remote database or not when the local cache data or the remote database data are used;
the synchronization module is used for updating the remote database based on the local cache when the local cache data is used if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database;
if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, the local cache is emptied and the data is downloaded from the remote database to the local cache when the local cache data is used.
The embodiment of the invention provides an electronic device, as shown in fig. 2, the server may include: processor 810, communication interface (Communications Interface) 820, memory 830, and communication bus 840, wherein processor 810, communication interface 820, memory 830 accomplish communication with each other through communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform the local cache and database data synchronization methods provided by the above embodiments, including, for example:
step 1, judging whether a local cache Redis is empty, if so, entering step 2, and if not, entering step 3;
step 2, the local cache is emptied, and data is downloaded from a remote database to the local cache;
step 3, comparing the data storage time, if the comparison is consistent, entering the step 2, and if the comparison is inconsistent, entering the step 4;
step 4, providing data for a salesman to select to use (local cache/remote database), selecting a local cache to enter step 5, and selecting a remote database to enter step 2;
step 5, comparing all data of the local cache and the remote database, and inserting the data which exist in the local cache but do not exist in the remote database into the database; the method comprises the steps that data existing in local databases and remote databases are updated by using local cache data; for data that does not exist in the local cache but exists in the remote database, the data in the database is deleted.
Further, the logic instructions in the memory 830 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the local cache and database data synchronization method provided in the foregoing embodiments, for example, including:
step 1, judging whether a local cache Redis is empty, if so, entering step 2, and if not, entering step 3;
step 2, the local cache is emptied, and data is downloaded from a remote database to the local cache;
step 3, comparing the data storage time, if the comparison is consistent, entering the step 2, and if the comparison is inconsistent, entering the step 4;
step 4, providing data for a salesman to select to use (local cache/remote database), selecting a local cache to enter step 5, and selecting a remote database to enter step 2;
step 5, comparing all data of the local cache and the remote database, and inserting the data which exist in the local cache but do not exist in the remote database into the database; the method comprises the steps that data existing in local databases and remote databases are updated by using local cache data; for data that does not exist in the local cache but exists in the remote database, the data in the database is deleted.
In summary, the method and the device for synchronizing the local cache and the database data provided by the embodiment of the invention comprehensively consider the data change condition existing in the current service scene, and can realize the requirement of the data consistency of the local cache and the remote database in the mode of synchronous combination of the existing data; the method solves the problems that in the prior art, the data synchronization is not performed once when the data is submitted, and when other personnel modify the current data, the data is inconsistent with the data of the remote database, and the data is not synchronized.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. A method for synchronizing local cache and database data, comprising:
if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, updating the remote database based on the local cache when the local cache data is used; if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, selecting to use the local cache data or the remote database data based on a salesman; based on the selection of the service personnel to use the local cache data or the remote database data, the method specifically comprises the following steps: if judging that the operator selects to use the remote database data, emptying the local cache, and downloading the data from the remote database to the local cache; if judging that the service personnel select to use the local cache data, updating a remote database based on the local cache;
if judging that the service personnel select to use the local cache data, updating the remote database based on the local cache, wherein the method specifically comprises the following steps: comparing all data of the local cache and the remote database, and updating the remote database based on the local cache data if judging that the target data exist in both the local cache and the remote database; comparing all data of the local cache and the remote database, and deleting the target data in the remote database if the target data is judged to be not in the local cache and is in the remote database.
2. The method for synchronizing local cache and database data according to claim 1, further comprising:
if judging that the local Redis is empty, emptying the local cache, and downloading data from a remote database to the local cache;
if the local Redis is not empty and the data storage time of the local cache is consistent with that of the remote database, the local cache is emptied, and the data is downloaded from the remote database to the local cache.
3. The method for synchronizing local cache and database data according to claim 1, wherein updating the remote database based on the local cache comprises:
comparing all data of the local cache and the remote database, and if the target data is judged to exist in the local cache and not exist in the remote database, inserting the target data into the remote database.
4. A local cache and database data synchronization device, comprising:
the comparison module is used for judging whether the local Redis is empty or not and whether the data preservation time of the local cache is consistent with that of the remote database or not when the local cache data or the remote database data are used;
the synchronization module is used for updating the remote database based on the local cache when the local cache data is used if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database;
if the local Redis is not empty and the data storage time of the local cache is inconsistent with that of the remote database, the local cache is emptied and the data is downloaded from the remote database to the local cache when the local cache data is used; if judging that the service personnel select to use the local cache data, updating the remote database based on the local cache: comparing all data of the local cache and the remote database, and updating the remote database based on the local cache data if judging that the target data exist in both the local cache and the remote database; comparing all data of the local cache and the remote database, and deleting the target data in the remote database if the target data is judged to be not in the local cache and is in the remote database.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of the method of local caching and database data synchronisation as claimed in any one of claims 1 to 3 when the program is executed.
6. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the local cache and database data synchronization method according to any of claims 1 to 3.
CN201911401158.9A 2019-12-31 2019-12-31 Method and device for synchronizing local cache and database data Active CN111221861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911401158.9A CN111221861B (en) 2019-12-31 2019-12-31 Method and device for synchronizing local cache and database data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911401158.9A CN111221861B (en) 2019-12-31 2019-12-31 Method and device for synchronizing local cache and database data

Publications (2)

Publication Number Publication Date
CN111221861A CN111221861A (en) 2020-06-02
CN111221861B true CN111221861B (en) 2023-06-02

Family

ID=70827957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911401158.9A Active CN111221861B (en) 2019-12-31 2019-12-31 Method and device for synchronizing local cache and database data

Country Status (1)

Country Link
CN (1) CN111221861B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235406A (en) * 2020-10-15 2021-01-15 儒安物联科技集团有限公司 Subnet equipment information synchronization method based on multicast and memory backup
CN113254465B (en) * 2021-05-25 2022-11-01 四川虹魔方网络科技有限公司 Cache final consistency updating method
CN114363361A (en) * 2022-03-17 2022-04-15 武汉中科通达高新技术股份有限公司 Data synchronization method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808643A (en) * 2016-02-25 2016-07-27 浪潮通信信息系统有限公司 Redis memory database refreshing method
CN106649349A (en) * 2015-10-30 2017-05-10 腾讯科技(深圳)有限公司 Method, device and system for data caching, applicable to game application
CN107122410A (en) * 2017-03-29 2017-09-01 武汉斗鱼网络科技有限公司 A kind of buffering updating method and device
CN107741965A (en) * 2017-09-30 2018-02-27 北京奇虎科技有限公司 Database synchronization processing method, device, computing device and computer-readable storage medium
CN109388764A (en) * 2018-09-11 2019-02-26 阿里巴巴集团控股有限公司 A kind of update method of local cache, device, equipment and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180024924A1 (en) * 2016-07-25 2018-01-25 General Electric Company Artificial intelligence-based caching mechanism
US11003632B2 (en) * 2016-11-28 2021-05-11 Open Text Sa Ulc System and method for content synchronization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649349A (en) * 2015-10-30 2017-05-10 腾讯科技(深圳)有限公司 Method, device and system for data caching, applicable to game application
CN105808643A (en) * 2016-02-25 2016-07-27 浪潮通信信息系统有限公司 Redis memory database refreshing method
CN107122410A (en) * 2017-03-29 2017-09-01 武汉斗鱼网络科技有限公司 A kind of buffering updating method and device
CN107741965A (en) * 2017-09-30 2018-02-27 北京奇虎科技有限公司 Database synchronization processing method, device, computing device and computer-readable storage medium
CN109388764A (en) * 2018-09-11 2019-02-26 阿里巴巴集团控股有限公司 A kind of update method of local cache, device, equipment and system

Also Published As

Publication number Publication date
CN111221861A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN111221861B (en) Method and device for synchronizing local cache and database data
CN106911780B (en) Service ID generation method, device and system
CN109391646B (en) Message middleware message acquisition method, device and system
CN107197359B (en) Video file caching method and device
CN105095313B (en) A kind of data access method and equipment
JP7397094B2 (en) Resource configuration method, resource configuration device, computer equipment, and computer program
CN108804234B (en) Data storage system and method of operation thereof
CN109657174A (en) Method and apparatus for more new data
CN104866339B (en) Distributed persistence management method, system and the device of FOTA data
CN108011949B (en) Method and apparatus for acquiring data
CN111190962B (en) File synchronization method and device and local terminal
CN104348859B (en) File synchronisation method, device, server, terminal and system
CN109992406B (en) Picture request method, picture request response method and client
CN110502572A (en) A kind of method and server that data are synchronous
CN106874281A (en) Realize the method and apparatus that data base read-write is separate
CN111001162A (en) Game skin changing method and device, storage medium and processor
CN111782235A (en) Data upgrading and querying method and device
CN110830580A (en) Storage data synchronization method and device
CN106227541A (en) A kind of program updates download process method and mobile terminal
CN102186163A (en) Data synchronizing method of multi-account address book of smart phone
CN110365745A (en) Data processing system, method, apparatus, server and computer-readable medium
CN109271367A (en) Distributed file system multinode snapshot rollback method and system
CN107426314B (en) Data downloading method and device
CN114385570A (en) Data synchronization method and device, electronic equipment and readable medium
CN110147368A (en) Data capture method and device for server

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