Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and apparatus for cross-process communication

A cross-process and process technology, applied in the field of cross-process communication, can solve the problems that Mitsubishi PLC cannot communicate with 64-bit host computers, and achieve the effects of improving software performance, reducing overhead, and reducing limitations

Inactive Publication Date: 2019-03-29
BEIJING LUSTER LIGHTTECH
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method and device for cross-process communication to solve the problem that Mitsubishi PLC cannot communicate with 64-bit host computer at present

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 apparatus for cross-process communication
  • A method and apparatus for cross-process communication
  • A method and apparatus for cross-process communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0043] see figure 1 , the application provides a method for cross-process communication, including:

[0044] Step 101, the second process writes PLC communication instructions to the memory shared area, the second process is used to represent the execution of 64-bit host computer software, the memory shared area is established by the first process, and the first process is used for Indicates the execution of 32-bit upper computer software; a process is a program in a computer that runs on a certain data set, is the basic unit for resource allocation and scheduling by the system, and is the basis of the operating system structure. Programs are instructions, data and their The description of t...

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 method and apparatus for cross-process communication are disclosed. The memory sharing area is established by the first process, the instructions of the second process are written into the memory sharing area and can be read by the first process and sent to the PLC. The PLC responds to the instructions and then sends the results to the first process. The first process writes the instructions into the memory sharing area again, and the second process reads the PLC response results in the memory sharing area. The technical proposal of the application takes the first process and the memory sharing area established by the first process as a medium, realizes the cross-process communication between the second process and the PLC, namely, realizes the communication between the 64-bit host computer software and the PLC, and reduces the limitation of the communication between the PLC and the host computer software. In addition, the establishment of memory sharing area through file mapping also reduces the overhead of the entire communication system, which helps to improve software performance.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method and device for cross-process communication. Background technique [0002] In the industrial field, many applications choose Mitsubishi PLC (Programmable Logic Controller) to communicate and cooperate with the host computer software to complete normal production line control. Mitsubishi PLC uses a type of programmable memory for its internal storage program, executes user-oriented instructions such as logic operations, sequence control, timing, counting, and arithmetic operations, and controls various types of devices through digital or analog input / output. machinery or production process. The upper computer refers to the computer that can directly issue control commands. [0003] Usually, the communication process between the upper computer and Mitsubishi PLC is: the upper computer sends control instructions to Mitsubishi PLC, and Mitsubishi PLC receive...

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/54
CPCG06F9/544
Inventor 贺建平姚毅安登奎
Owner BEIJING LUSTER LIGHTTECH