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

Data processing method and device, data access method and device and computer equipment

A data processing and data access technology, applied in the computer field, can solve the problems of high time consumption and low data read and write performance

Pending Publication Date: 2020-12-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in such a key-value storage method, to access the data at the end of the hash collision linked list, it is necessary to traverse all the linked list nodes. The longer the data conflict linked list, the greater the time consumption and the lower the read and write performance of the data.

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 processing method and device, data access method and device and computer equipment
  • Data processing method and device, data access method and device and computer equipment
  • Data processing method and device, data access method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0033] The data processing method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. In each hash table of the key-value storage system of the server 104, an ordered linked list is used to store data based on data access heat, and the data access heat in each linked list node of the ordered linked list decreases successively; in each linked list node of the ordered linked list, respectively Store a balanced tree; the server 104, for each data...

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 discloses a data processing method, a data access method, a data access device and computer equipment. The data processing method comprises the following steps: reading the access frequency of each piece of data stored in a key value storage system, wherein in each hash table of the key value storage system, an ordered linked list is adopted to store data, the data access popularityin each linked list node of the ordered linked list is sequentially reduced, and a balance tree is stored in each linked list node of the ordered linked list, performing data storage in each balance tree based on the key value size of the data; when the access frequency of the target data does not belong to an access popularity interval corresponding to the balance tree, searching a target accesspopularity interval corresponding to the access frequency of the target data; and migrating the target data to the balance tree of the linked list node corresponding to the target access popularity interval. According to the method, all the data does not need to be traversed during data access, so the read-write performance of the data can be improved; and the higher the access popularity is, theshorter the search time required for accessing of the data is.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data processing method, device, computer equipment and storage medium, and a data access method, device, computer equipment and storage medium. Background technique [0002] With the development of technology, more and more data needs to be stored; in large-scale applications with frequent interactions (such as large-scale games), data reads and writes are more frequent, and the data read and write efficiency and read and write delay will decrease. It directly affects the user experience. In order to improve the read and write performance of data, a key-value storage system is usually deployed in front of the database to resist peak data access and protect the database from crashing. Therefore, the key-value storage system in this type of application needs to have high performance and high availability. [0003] The key-value storage engine in the prior art usually...

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): G06F16/28G06F16/22
CPCG06F16/2246G06F16/2255G06F16/284
Inventor 谢亚晋
Owner TENCENT TECH (SHENZHEN) 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