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

Method and system for maintaining data in memory

A technology for maintaining data and data, applied in the direction of electronic digital data processing, multi-program device, program control design, etc., can solve the problems of small number of data query tasks, long time-consuming reading/writing data, etc.

Active Publication Date: 2019-08-30
THE FOURTH PARADIGM BEIJING TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Exemplary embodiments of the present invention provide a method and system for managing memory data, a method and system for maintaining data in memory, and computer-readable media and computing devices corresponding to the provided method and system, to solve The time-consuming problem of reading / writing data in the existing technology, and the problem of the small number of data writing tasks and / or data query tasks that can be executed simultaneously per unit time

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
  • Method and system for maintaining data in memory
  • Method and system for maintaining data in memory
  • Method and system for maintaining data in memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like numerals refer to like parts throughout. The embodiments are described below in order to explain the present invention by referring to the figures.

[0050] The first-level skip list and the second-level skip list involved in the exemplary embodiment of the present invention are skiplists, also referred to as skip lists.

[0051] figure 1 A schematic diagram showing a data table according to an exemplary embodiment of the present invention. Such as figure 1 As shown in , the data table according to the exemplary embodiment of the present invention includes fragment 0 to fragment n, wherein, n is a natural number greater than 1. Each of these shards corresponds to a first-level skip table. figure 1 The first-level jump table corresponding to fragment 0 is shown in , and the first-level jump table corresponding to f...

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

Provided are a method and system for managing memory data, a method and system for maintaining data in a memory, and a computer-readable storage medium and a computing device corresponding to the provided methods and systems. The method for managing memory data comprises: setting a data table comprising multiple shards, each shard corresponding to a first-level skip list; setting the first-level skip list to be configured to store a node where a first attribute value of data is used as a keyword and a pointer or an object for indicating a second-level skip list is used as a value corresponding to the keyword; and setting the second-level skip list to be configured to store a node where a second attribute value of the data is used as a keyword and a value corresponding to the keyword comprises at least one attribute value of the data. According to the present disclosure, the time consumed for reading / writing data can be reduced, and the number of data write tasks and / or data query tasks executed simultaneously in the unit time can be increased.

Description

technical field [0001] The present invention generally relates to the field of memory data management and maintenance, and more specifically, to a method and system for managing memory data, a method and system for maintaining data in memory, and corresponding computer-readable media and computing devices . Background technique [0002] Existing databases include relational databases and non-relational databases. Relational databases such as MySQL and SQL Server are mainly used to manage and maintain relational data. Non-relational databases such as Redis and MongoDB are mainly used to manage and maintain non-relational data. Relational data refers to data based on a relational model (Relational Model, RM for short). Non-relational data means data that is not based on a relational model. [0003] In order to process time series data, a time series database (TimeSeries Database, TSDB for short) such as InfluxDB is proposed. In order to manage data in memory, an in-memory...

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 Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/5016
Inventor 邓龙王太泽黄亚建范晓亮
Owner THE FOURTH PARADIGM BEIJING 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