A method and device for reading and writing data

A technology for data reading and writing and equipment, applied in the field of data processing, can solve problems such as waste and reduce data processing efficiency, and achieve the effect of improving efficiency

Active Publication Date: 2020-03-27
SHENZHEN YIHUA COMP +2
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide a method for reading and writing data and its equipment, aiming to solve the problem of lack of conflict avoidance when different processes read and write the same data area of ​​the shared storage unit in the existing computing equipment. Rules, mutual exclusion of operations will occur, waste more time to re-respond to related read and write operations, and reduce the efficiency of data processing

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
  • A method and device for reading and writing data
  • A method and device for reading and writing data
  • A method and device for reading and writing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0024] The embodiment of the present invention will obtain the data address index numbers in the read and write data instruction information in the two processes, judge whether responding to the two instructions at the same time will cause conflicts, and then judge whether to execute the corresponding conflict avoidance rules, which solves the existing dual-core computing When different processes read and write operations on the same data area of ​​the shared storage unit, due to the lack of conflict avoidance rules, mutual exclusion of operations will occur, which wastes more time to re-respond ...

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 is applicable to the field of data processing technology and provides a data read-write method and equipment thereof. The method comprises the steps that data reading instruction information is acquired; data writing instruction information is acquired; whether a conflict will be generated when a response is made to the data reading instruction information and the data writing instruction information at the same time is judged according to preset operation conflict judgment rules, a first data address index number and a second data address index number; and if a conflict will be generated when a response is made to the data reading instruction information and the data writing instruction information at the same time, conflict avoiding operation is executed. By acquiring the data address index numbers in the data reading instruction information and the data writing instruction information in two processes, whether a conflict will be caused when a response is made to two instructions at the same time is judged, and therefore the problems that according to an existing computing equipment data processing technology, when read-write operation is performed on the same data region of a shared storage unit in different processes, operation exclusion will occur due to a lack of conflict avoiding rules, much time is wasted for making a new response to relevant read-write operation, and data processing efficiency is lowered are solved.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a method for reading and writing data and a device thereof. Background technique [0002] With the continuous improvement of data processing rate requirements, in order to achieve high-speed calculation of data, existing computing equipment and devices often perform data processing in a full-duplex mode, that is, read operation instructions and write operation instructions simultaneously to the shared storage unit to operate. However, in the existing computing device data processing technology, when different processes read and write operations on the same data area of ​​the shared storage unit, due to the lack of conflict avoidance rules, mutual exclusion of operations will occur, and a lot of time will be wasted to re-respond to related read operations. Write operations reduce the efficiency of data processing. Contents of the invention [0003] The purp...

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/06G06F13/16
CPCG06F3/0644G06F3/0659G06F13/1663
Inventor 赵树森
Owner SHENZHEN YIHUA COMP
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