Share memory database access method

A shared memory and access method technology, which is applied in the field of shared memory database access, can solve the problems of processing time consumption and the inability to fully and effectively utilize the advantages of "memory fast access", so as to improve efficiency, realize direct access and operation, and save The effect of access time

Inactive Publication Date: 2012-01-04
北京思特奇信息技术股份有限公司
View PDF1 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since most of the processing time is spent on communication, the advantages of "fast access to memory" cannot be fully and effectively utilized

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
  • Share memory database access method
  • Share memory database access method
  • Share memory database access method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0028] Such as figure 1 As shown, the shared memory database access method of the present invention is applicable to the client program and the memory database service process running on the same host. When the client program wants to access the shared memory database in the shared memory area, it first establishes a socket with the memory database service process. Connection, after authentication, the memory database service process sends the memory ID of the shared memory to the client program, and the client program directly accesses the shared memory according to the memory ID, and adds and / or deletes and / or changes and / or the shared memory database Or check and other operations, thereby bypassing the trouble of...

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 share memory database access method, which comprises the following steps that: a memory database service progress stores memory data into a share memory; then a client program sends a Socket connection request to the memory database service progress; the memory database service progress receives the connection request and sends a memory ID of the share memory to the client program; the client program receives the memory ID and maps the share memory corresponding to the memory ID to an own progress space, so that the client program can directly access the share memory and increase and / or delete and / or modify and / or check the memory data in the share memory; and when the client program quits, the memory database service progress releases the Socket connection with the client program. By the method, the client program can directly access the share memory, so that the Socket communication required by each access can be avoided; therefore, the access time of a memory database can be saved.

Description

technical field [0001] The invention relates to a shared memory database access method avoiding process communication. Background technique [0002] At present, the access to the memory database generally adopts the Socket communication method, that is, when the application program needs to access the memory database, it sends request information to the memory database service process through the Socket communication port. After receiving the Socket request command, the memory database service process queries or modifies In-memory data, and then send the processing result to the application program through Socket, and the application program receives the processing result and completes an access to the memory database. [0003] This Socket communication method seriously restricts the memory access efficiency when deployed on the same host. Generally speaking, the access speed of a process to memory is generally within a few microseconds, and the speed of Socket communicatio...

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): G06F17/30
Inventor 王金山
Owner 北京思特奇信息技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products