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

An apparatus and method for reading and writing shared memory data

A technology of shared memory and data interaction, applied in multi-programming devices, electrical digital data processing, inter-program communication, etc., can solve problems such as unsuccessful operation, and achieve the effect of avoiding excessive frequency

Active Publication Date: 2019-02-01
BEIJING RES INST OF MECHANICAL & ELECTRICAL TECH
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a device and method capable of optimizing the interactive reading and writing of shared memory data, which can solve the problem of unsuccessful operation caused by the port being operated while data is being read and written when the shared memory is reading and writing data in the prior art. technical problem

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
  • An apparatus and method for reading and writing shared memory data
  • An apparatus and method for reading and writing shared memory data
  • An apparatus and method for reading and writing shared memory data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0029] Such as figure 1 , 2 , 3, and 4, the design method and device for interactive reading and writing of shared memory data are des...

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 device and a method capable of optimizing the interactive reading and writing of shared memory data. Firstly, the time test is carried out on a shared memory operation step, then the writing cycle of the data update of the writing end device is determined, and then the reading and writing of the data are carried out. If the password is applied successfully, the reading andwriting are carried out. If the request password fails, the process of requesting and releasing the password is performed in a cycle at fixed intervals within a reasonable time until the request password is successful and the read / write operation is performed. The device and the method of the invention can solve the technical problem of unsuccessful operation caused by reading and writing the data in the operated port when the read and write data exist in the sharing in the prior art, and the device and the method of the invention can solve the technical problem of unsuccessful operation caused by reading and writing the data in the operated port.

Description

technical field [0001] The invention relates to the technical field of data interaction reliability, in particular to a computer data reading device and method. Background technique [0002] When the interaction between multiple devices in the system adopts shared memory access or shared dual-port operation, the shared data operation design process is as follows: A device side applies for signal light n (hard command signal), if the application is successful, the data in the shared area will be updated and the data update flag will be set , Release the semaphore; if the application fails, immediately release the semaphore and judge that the data update fails. The device B applies for signal lamp n. If the application is successful, it judges the data update flag. If the flag is valid, it acquires data and clears the data update flag. If the signal lamp application fails or there is no data update flag, it is judged that the data acquisition fails. [0003] The shared memory...

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): G06F9/54G06F11/32
CPCG06F9/544G06F11/325
Inventor 杨丽霞杨尚霖刘通
Owner BEIJING RES INST OF MECHANICAL & ELECTRICAL 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