Memory data management method and device, computer equipment and storage medium
A technology of memory data and management methods, applied in the fields of memory data management methods, devices, computer equipment and storage media, capable of solving problems such as disappearance, loss, and irrecoverability, to ensure persistence, enhance response speed, and avoid data loss Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 It is a flow chart of the memory data management method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of managing memory data in a real-time business system with a large number of users and high concurrency scenarios. The method can be executed by the device for managing memory data provided by the embodiment of the present invention. The device can be implemented by hardware and / or It can be implemented by means of software, which can generally be integrated into computer equipment. Such as figure 1 As shown, it specifically includes the following steps:
[0026] S11. Build an in-memory database. The in-memory database includes a hash table. Each node of the hash table is a doubly linked list, and each node of the doubly linked list is used to point to correspondingly stored memory data.
[0027] Among them, the memory database is a database that puts data in the memory and directly operates it. It can sto...
Embodiment 2
[0060] Figure 5It is a schematic structural diagram of the memory data management device provided by Embodiment 2 of the present invention. The device can be implemented by hardware and / or software, and can generally be integrated into computer equipment. Such as Figure 5 As shown, the device includes:
[0061] The database construction module 51 is used to build an in-memory database, the in-memory database includes a hash table, each node of the hash table is a doubly linked list, and each node of the doubly linked list is used to point to correspondingly stored memory data;
[0062] The file synchronization module 52 is used for associating storage of the memory data in the hard disk file, so as to make the memory data persistent.
[0063] The technical solution provided by the embodiments of the present invention firstly constructs an in-memory database, which is mainly realized through the combined use of a hash table and a doubly-linked list, wherein each node of the...
Embodiment 3
[0094] Figure 6 The schematic structural diagram of the computer device provided for the third embodiment of the present invention shows a block diagram of an exemplary computer device suitable for implementing the embodiment of the present invention. Figure 6 The computer equipment shown is only an example, and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. Such as Figure 6 As shown, the computer equipment includes a processor 61, a memory 62, an input device 63 and an output device 64; the number of processors 61 in the computer equipment can be one or more, Figure 6 Taking a processor 61 as an example, the processor 61, memory 62, input device 63 and output device 64 in the computer equipment can be connected by bus or other methods, Figure 6 Take connection via bus as an example.
[0095] The memory 62, as a computer-readable storage medium, can be used to store software programs, computer-executable p...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com