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

Bus type inter-process communication method

A technology of inter-process communication and process communication, which is applied in the field of bus-type inter-process fast communication under Unix or Linux, can solve the problems that the disk file processing speed cannot be too fast, the system resources are limited, and there is no occurrence, so as to meet the requirements of fast data exchange, The effect of fast data exchange rate and stable performance

Inactive Publication Date: 2006-09-06
BAOSHAN IRON & STEEL CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) The disk file data exchange method is only suitable for occasions where the data exchange rate is not too high, because the I / O to the disk cannot keep up with the CPU rate
[0005] (2) Because the system resources are limited, the problem of file lock management cannot be avoided when using disk files and the data exchange rate is fast; however, the management of file locks is more complicated, and the result is often to reduce the data exchange rate index instead of Bypass file locks
[0006] (3) Because the disk file processing speed cannot be too fast, even if the performance of computer hardware equipment is greatly improved, it cannot fundamentally change the reality that the disk I / O rate is far behind the CPU rate, so the inter-process of the disk file method Data exchange often becomes the bottleneck for the overall improvement of the data exchange rate of the entire application system
[0007] At present, in many application software at home and abroad, memory technology (including shared memory ShareMemory, memory queue MemoryQueue, semaphore, etc.) has been widely used instead of disk file technology to achieve fast data exchange, but there is no fast data exchange between processes. It is a widely versatile and easy-to-use Package (software package) developed for exchange. In fact, in large and medium-sized application systems in the fields of metallurgy, energy, manufacturing, etc., there is a wide demand for fast data exchange functions between processes.

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
  • Bus type inter-process communication method
  • Bus type inter-process communication method
  • Bus type inter-process communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] Now use the following specific examples and combine Figure 1 to Figure 6 , the method for bus-type inter-process communication of the present invention will be described in detail, so as to understand its features and effects.

[0081] In order to realize fast data exchange between processes, shared memory technology and semaphore collection technology are used comprehensively. Shared memory provides a "place" for fast access to data, and the set of semaphores acts as a "semaphore" for data arrival. Such as figure 1 As shown, it is the composition diagram of the entire process communication memory block, and an area with a size of 1024×(8×26+1)=209K bytes is opened in the memory; this memory area is divided into 8×26+1=209 It is a 1K memory slot; the label is 0#-208#, of which the 0# memory slot is dedicated to the status word (101), and the 1#-208# memory slot is used as a data storage area for process communication, and each 8 is divided into 1 group, the address ...

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

A bus type process to process communication method which combines shared internal memory technique and signal lamp integration technique, wherein a shared internal memory area is arranged in the internal memory, the area is divided into a plurality of internal memory slots, among which one is used as the status sign character set storage area, and the rest are used as the process communication data storage area, the internal memory slots are classified into a plurality of groups, each group has different access key number, a signal lamp aggregation is established which contains the same number of signal lamps as the number of the internal memory slots group, then the state sign character initial value and the signal lamp initial value and internal memory slot initial value are set.

Description

technical field [0001] The invention relates to a bus-type inter-process communication method, in particular to a bus-type inter-process fast communication method under Unix or Linux. Background technique [0002] "Process communication" is an indispensable function in large and medium-sized computer application systems, and data exchange between two mutually independent application programs (or task TASK) can be realized through process communication. [0003] In the early process control level computers, data exchange between processes generally uses disk queue files, or even simple disk data files (for the convenience of description, these two files are collectively referred to as "disk files" below) to achieve inter-process data exchange. data exchange. It should be said that disk files are a desirable way to achieve inter-process communication, but this technology is a product of a specific period. With the continuous acceleration of computer operation speed, the requ...

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): G06F15/16G06F13/38
Inventor 张智勇
Owner BAOSHAN IRON & STEEL CO LTD
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