Distributed service system as well as data updating method and data query method thereof

A distributed service and system data technology, applied in the field of computer network data update, can solve problems such as result errors, achieve the effect of ensuring data consistency and eliminating the risk of data inconsistency

Active Publication Date: 2014-07-30
BEIJING 58 INFORMATION TECH
View PDF3 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, even if the data from the database is synchronized to B later, the data queried thereafter will be the data A queried from the cache, resulting in wrong results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed service system as well as data updating method and data query method thereof
  • Distributed service system as well as data updating method and data query method thereof
  • Distributed service system as well as data updating method and data query method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The objects and functions of the present invention and methods for achieving the objects and functions will be clarified by referring to the exemplary embodiments. However, the present invention is not limited to the exemplary embodiments disclosed below; it can be implemented in various forms. The essence of the description is only to help those skilled in the relevant art comprehensively understand the specific details of the present invention.

[0038] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0039] Figure 1a A structural block diagram of a distributed service system according to an embodiment of the present invention is schematically shown. Such as Figure 1a As shown, the distributed service system according to an embodiment of the present invention includes: a master databa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a data updating method of a distributed service system. The system comprises a main database, a slave database and a cache. The method comprises the following steps of a, deleting data in the cache; b, placing a mark into a marking unit; c, updating data of the main database; d, deleting data in the cache again, and synchronizing the data in the main database to the slave database; e, deleting the mark. The invention also discloses a data query method of the distributed service system and the distributed service system. Consistency of data in the cache and data in the databases is ensured, and the risk of data inconsistency caused by high concurrency and main-slave synchronization delay is eliminated.

Description

technical field [0001] The invention relates to the technical field of computer network data update, in particular to a distributed service system and its data update and data query methods. Background technique [0002] In large-scale distributed web services, as the user base continues to grow, so does the access to the information system. For each query request by the user, the information system performs corresponding operations such as search and data calculation in the database, and then returns the result. As the query volume increases, the data processing volume of the information system also increases linearly. In order to reduce the access pressure of the database server, the database server data caching technology has been developed. The function of this caching technology is to temporarily store data frequently accessed by users. The data in the cache is a copy of the data in the data storage source. The data is acquired from the database server, thereby reduc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/23G06F16/2365G06F16/24552G06F16/2471
Inventor 李晓鹏宋宇鹏
Owner BEIJING 58 INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products