Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data updating method, and data query method and apparatus

A data update and data technology, which is applied in the field of Internet communication, can solve the problems of fragmented data summary timeout, database failure, locking, etc., and achieve the effect of ensuring data consistency, improving system performance, and improving system performance

Active Publication Date: 2017-11-03
ADVANCED NEW TECH CO LTD
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the existing pure database solution, the summary data is directly updated and read in the database. Although the high consistency of data can be guaranteed, the performance in high concurrency scenarios is poor, and there will be database failures and the need for data storage update operations in the database. Locking data objects leads to problems such as data hotspots and insufficient system availability
The data sharding scheme can optimize the hotspot issues of update requests through shard updates, but the update and query data still directly operate the database, and there are time-consuming extensions for update requests, summary timeout of shard data, and initialization for projects that have already been launched. There are problems such as difficulty in summarizing data in fragments, and the performance in high-concurrency scenarios has not been improved.

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
  • Data updating method, and data query method and apparatus
  • Data updating method, and data query method and apparatus
  • Data updating method, and data query method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] Embodiments of the present application provide a data update method, a data query method, and an apparatus.

[0055] In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described The embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.

[0056] The specific implementation of the embodiments of the present application is described in detail below with several specific examples.

[0057] The following first introduces an embodimen...

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

Embodiments of the invention disclose a data updating method, and a data query method and apparatus. The data updating method comprises the steps of storing to-be-updated data corresponding to a received data updating request in a preset number of data fragmentation queues based on a preset fragmentation rule; traversing each data fragmentation queue in response to a preset fragmented data summarization triggering instruction, and updating fragment summarization data in a fragment summarization data cache corresponding to the data fragmentation queue based on the to-be-updated data in the data fragmentation queue when each data fragmentation queue is traversed; and obtaining the fragment summarization data from the fragment summarization data cache in response to a preset data summarization triggering instruction, and updating the summarization data in the summarization data cache based on the fragment summarization data. By utilizing the data updating method, the system performance can be improved on the basis of ensuring data consistency, and the system availability in a high-concurrency scene is greatly improved.

Description

technical field [0001] The present application relates to the field of Internet communication technologies, and in particular, to a data update method, data query method and device. Background technique [0002] With the rapid development of Internet communication technology, some large-scale Internet systems will have a large number of distributed scenarios due to complex business and other reasons. A large number of high concurrency scenarios often appear in distributed transaction scenarios. In high concurrency scenarios, the summary data needs to be updated in time to ensure data consistency when subsequent queries read the data. [0003] In the prior art, there are mainly the following two schemes for updating and reading summary data in high concurrency scenarios: the first is a pure database scheme, in which the summary data is directly stored in the database, and the summary data is directly updated and read in the database. data. The second is the data sharding s...

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
IPC IPC(8): G06F17/30
CPCG06F16/23G06F16/2365G06F16/24539G06F16/24552G06F16/2471
Inventor 钟晓峰詹浩
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products