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

Inter-process structured document communication method

A structured document and multi-process technology, applied in the field of computer technology and network communication, can solve problems such as single data format, inability to communicate with the original structure of data, and inability to support multi-format information, so as to achieve the effect of ensuring logic

Active Publication Date: 2012-09-12
WISDRI ENG & RES INC LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among the above methods, the shared memory method supports the communication of large amounts of data among multiple processes best, and has better security, but the existing traditional shared memory method access method is based on the actual physical address plus byte access, cannot communicate according to the original structure of the data
For multi-process communication between different nodes in the communication network, the Sockets method is often used, but the data format for communication is relatively single, and cannot support structured multi-format information, and the communication interface will also vary with the data structure of other processes. Varies with changes, poor scalability

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
  • Inter-process structured document communication method
  • Inter-process structured document communication method
  • Inter-process structured document communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] The method for structured document communication between multiple processes provided in this embodiment is specifically: the communication process searches for the shared memory area of ​​the local communication node, and if it does not exist, submits an application for creating a shared memory for communication and creating a structured document object. After responding, register the content that needs to be communicated in this process, and serialize the document; send the serialized document to the shared memory area for operation application, and wait until authorization; after authorization, deserialize the obtained structured document object to obtain the document Content, read and write structured documents according to requirements and save documents; then serialize the modified structured documents and release management authority; finally, the communication process submits network communication applications to realize communication of structured documents betwee...

Embodiment 2

[0054] In this embodiment, a distributed simulation system under a blast furnace tank is taken as an example, and the data communication between different platforms in the simulation system is used as an application scenario to describe Embodiment 1 in detail.

[0055] The distributed simulation system under the blast furnace tank involved in this embodiment has multiple platforms, and only two of them are used here: the HMI simulation platform and the equipment simulation platform; the function of the human-computer interaction simulation platform is to simulate on-site personnel. The operating status; the equipment simulation platform simulates the running status of each equipment under the slot and the feedback to the operation of the human-computer interaction simulation platform.

[0056] This embodiment also relates to a multi-process structured document communication system. The function of the system is to provide specific implementation means for the present invention,...

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 relates to an inter-process structured document communication method. The method comprises: searching a shared memory zone of local communication nodes by a communication process, submitting the application for creating a shared memory for communication and creating a structured document object if the zone does not exist, registering the content needed to be communicated in the process after the application is responded, and serializing the document; storing the serialized document into the shared memory zone, carrying out application for operation, and waiting for response till authorization is acquired; after being authorized, deserializing the acquired structured document object in order to acquire document content, and reading and writing the structured document and saving the document according to a demand; then serializing the modified structured document, and releasing operation authority; and submitting network communication application by the communication process to realize inter-process structured document communication. The method of the invention is used for multi-process communication in one node or between different nodes, has versatility, and can guarantee the realization of priority communication of the most important data and rapid communication of mass data as well as data structuralization in the multi-process communication process.

Description

technical field [0001] The invention relates to the field of computer technology and network communication, in particular to a method for multi-process communication. Background technique [0002] In the process of Windows application program development, there will be information exchange between multiple processes in different systems or different processes in the same system. These processes may be distributed on the same node of the network, or may be distributed on multiple different nodes. In the face of a small amount of data without a special structure, the existing technology can solve it very well. Once the amount of data is complicated and requires a special organizational structure, it is often necessary to end the huge and expensive resources such as local data files or data. This undoubtedly increases the development cost; and when the internal data structure of a program changes, the communication interface with other processes that may lead to its associatio...

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/54G06F17/30
Inventor 邓维叶理德赵菁欧燕
Owner WISDRI ENG & RES INC 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