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

Method for managing shared memory

A shared memory and memory technology, which is used in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of difficult data monitoring in shared memory, inconsistent data structure in shared memory, and complex data access methods.

Inactive Publication Date: 2014-03-12
BEIJING SHOUGANG AUTOMATION INFORMATION TECH
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method for implementing structured definition, access and visual management of shared memory data, so as to solve the difficulty of monitoring shared memory data in the process of developing and debugging large-scale use of shared memory , The data structure of the shared memory is not uniform, and the data access method is complicated. The overall process is as follows: figure 1 shown

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
  • Method for managing shared memory
  • Method for managing shared memory
  • Method for managing shared memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Take the example of creating a piece of shared memory for transferring the following data. This piece of shared memory needs to store several data of the following structure:

[0023]

[0024] As shown in the structure design code above, the data structure definition file uses a nested form, that is, when a structure definition file defines a data type, it can refer to another defined data file to represent a nested structure. The name of the structure of the nested basic data unit is SubStruct, which stores data of three types in turn: int (integer type), float (single-precision floating-point type), and double (double-precision floating-point type), such as Figure 4 shown.

[0025] The data file structure defined by the shared memory structure definition file. The shared memory is named ShareMemory. The structure of the basic data unit includes a data with a dimension of 100 and a type of SubStruct, and SubStruct is the defined basic data unit. structure definiti...

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 provides a method for managing a shared memory, and belongs to the technical field of computer internal shared memory management. Through providing the method for realizing the structural definition, the access and the visual management on data of the shared memory, the problems that the monitoring difficulty on the shared memory data is great, the shared memory data structure is nonuniform, and the data access mode is complicated in the process of large-scale use of the shared memory for development and debugging are solved. The visual display on the memory data is simultaneously realized through a shared memory checker, and meanwhile, a reading and modification method of the shared memory is provided, so debugging personnel can realize visual and direct modification on parameters to be modified and tested, and the data management by a gradually debugging method of programming sentences in the program is avoided.

Description

technical field [0001] The invention belongs to the technical field of shared memory management inside a computer, and particularly relates to a method for managing and accessing shared memory in a computer with a nested table structure. Background technique [0002] With the rapid development of computer technology and people's higher and higher requirements for application programs, single-process programs can no longer meet people's needs in many occasions. Writing multi-process and multi-thread programs has become an important feature of modern programming. In multi-process programming, inter-process communication is inevitable. Communication between processes inevitably requires the transfer of large data blocks. The same is true in Windows programs, often need to exchange data between the various processes, data communication. Among them, shared memory in win32API is one of the important ways. However, since the shared memory itself does not have a fixed data struct...

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
IPC IPC(8): G06F17/30
CPCG06F16/176
Inventor 李彦斌周月杰高雷李亮举彭会军
Owner BEIJING SHOUGANG AUTOMATION INFORMATION TECH
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