Unlock instant, AI-driven research and patent intelligence for your innovation.

Data storage method and device, computer equipment and storage medium

A data storage and data technology, applied in the computer field, can solve the problems of slow data sending and receiving speed, low message efficiency, and high performance of Redis full memory storage, and achieve the effect of improving sending and receiving speed and efficiency, and improving storage efficiency.

Pending Publication Date: 2021-10-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the access performance of Mysql database is limited, and the speed of data sending and receiving is relatively slow; Redis full memory storage performance is high, but the storage capacity is limited
The efficiency of real-time sending and receiving of messages in the existing method is low

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 storage method and device, computer equipment and storage medium
  • Data storage method and device, computer equipment and storage medium
  • Data storage method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] 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.

[0040] The data storage 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. The server 104 acquires the data to be written sent by the terminal 102, writes the data to be written into the first attribute memory table of the memory according to the time stamp sequence; performs attribute conversion on the first attribute memory table according to the data amount of the first attribute memory table , to obtain the second attribute memory ...

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 relates to a data storage method and device, computer equipment and a storage medium. The method comprises the steps: acquiring to-be-written data, wherein the to-be-written data comprises an account identifier and a timestamp sequence; writing the to-be-written data into a first attribute memory table of a memory according to the timestamp sequence; performing attribute conversion on the first attribute memory table according to the data volume of the first attribute memory table to obtain a second attribute memory table; determining a hierarchical directory of the data according to a timestamp sequence and an account identifier of the data in the second attribute memory table, wherein the hierarchical directory is a hierarchical directory corresponding to a hierarchical storage library in a disk, and the disk comprises at least two hierarchical storage libraries; and migrating the data in the second attribute memory table to the corresponding hierarchical storage libraries in the disk according to the timestamp sequence and the hierarchical directory. The method can effectively improve the data storage efficiency.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data storage method, device, computer equipment and storage medium. Background technique [0002] With the rapid development of Internet communication technology, various instant messaging software emerges in an endless stream. As the number of users and the number of messages increase, the system will generate massive amounts of data. For example, in an IM system (Instant Messenger, instant messaging system), there is a relatively high requirement on the real-time performance of message sending and receiving. However, how to maintain the real-time performance of message sending and receiving in massive data and high concurrency scenarios has become a difficult problem. In traditional technologies, the message storage system is usually built on open source storage components, such as Mysql, Redis (Remote Dictionary Server, remote dictionary service) and other data...

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/22
CPCG06F16/2282
Inventor 陈云云李斌曾楚伟
Owner TENCENT TECH (SHENZHEN) CO LTD