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

Data manipulation method, device and electronic equipment for memory data

A memory data and data manipulation technology, applied in the input/output process of data processing, electrical digital data processing, instruments, etc., can solve the problems of large memory and large number of hash tables, so as to simplify the process and reduce memory usage The effect of improving the efficiency and improving the high performance and high concurrent processing ability

Active Publication Date: 2021-07-20
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order for the network to have high-performance processing capabilities, in a multi-core / multi-threaded system environment, each core / thread maintains a hash table. The number of hash tables that need to be maintained is large and takes up a lot of memory.

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 manipulation method, device and electronic equipment for memory data
  • Data manipulation method, device and electronic equipment for memory data
  • Data manipulation method, device and electronic equipment for memory data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0073] In order to reduce the memory occupancy rate on the premise of ensuring that the network has high performance and high concurrent processing capability, the embodiments of the present invention provide a data operation method, device and electronic equipment for memory data.

[0074] A data operation method for memory data provided by an embodiment of the present invention is firstly introduced below.

[0075] It should be noted that the data operation method for memory data provided by the embodiment of the present invention can be applied to an electronic device, and the system environment of the electronic device can be a multi-core / multi-thread environment, of course it is not limited to this .

[0076] In addition, the memory data targeted by the data manipulation method for memory data pro...

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 embodiment of the present invention provides a data operation method, device and electronic equipment for memory data. Wherein, the method includes: when receiving a write operation instruction, performing the data write operation indicated by the write operation instruction on the main cache table in the preset memory data cache table group; After the table executes the data write operation, the data content in the main cache table is fully synchronized to the slave cache table with the write identifier; after the synchronization is completed, the identifiers of the two slave cache tables are exchanged; When a read operation instruction is received, the data query operation indicated by the read operation instruction is executed on the slave cache table with the read identifier. This solution can reduce memory usage on the premise of ensuring that the network has high performance and high concurrent processing capabilities.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to a data operation method, device and electronic equipment for memory data. Background technique [0002] A hash table belonging to an in-memory data cache table is a representation of in-memory data. The hash table is a data structure that is directly accessed according to the key value (Key value). Specifically, it accesses records by mapping the key value to a position in the table to speed up the lookup. [0003] Data operations on in-memory data include writing and querying in-memory data. In a multi-core / multi-thread system environment, because multi-core / multi-thread needs to consider the relationship between synchronization and competition in the process of using the hash table, it is usually implemented by adding a read-write lock or a spin lock to the hash table Read and write synchronization. Add a read-write lock or a spin lock to the hash table. When d...

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): G06F3/06
CPCG06F3/0608G06F3/061G06F3/0656G06F3/0679
Inventor 王庆
Owner BEIJING QIYI CENTURY SCI & 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