Process communication method and process communication device

A technology of process communication and source process, which is applied in the field of process communication methods and devices, and can solve the problems affecting the execution efficiency of process A, the efficiency of process communication, the efficiency of loading browser pages, etc., and achieve the effect of reading and writing data without confusion and convenient interaction

Active Publication Date: 2012-09-12
BEIJING QIHOO TECH CO LTD
View PDF2 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the above remedial mechanism is adopted, process A cannot write data at any time when it needs to write data, but needs to wait for process B to finish executing before performing the next operation, which seriously affects the execution efficiency of process A and the efficiency of the process. Communication efficiency, such as the efficiency of loading browser pages, etc. will be affected

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
  • Process communication method and process communication device
  • Process communication method and process communication device
  • Process communication method and process communication device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0067] The source process of this application serializes the data sent to the target process to the memory space segment of its virtual address space, and then sends a message to notify the target process.

[0068] refer to figure 2 , showing a schematic flowchart of a process communication method in a shared memory mode of the present application, wherein process A and process B use the same shared memory area, and process A serializes data 1 to memory space segment 1 in the shared memory area, And notify process B to receive. At this time, process B may be busy with other affairs, and does not operate on the data in the shared memory area in time; at this time, if process A serializes data 2 to memory...

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 process communication method and a process communication device. The process communication method comprises the following steps: an original process serializes data sent to a target process into a memory space segment of a virtual address space; and the original process sends a data receiving message to the target process, wherein the data receiving message carries the address information of the memory space segment and the process identification of the original process. According to the process communication method and the process communication device, the execution accuracy, the execution efficiency and the communication efficiency of the process can be improved.

Description

technical field [0001] The present application relates to the technical field of communication, in particular to a process communication method and device. Background technique [0002] With the development of the times, single-process programs can no longer meet people's needs in many occasions. How to write multi-process programs has become the focus of modern programming technology. In a multi-process program, the interaction and sharing of data is inevitable. For example, some browsers support multi-process mode, page A and page B do not run in the same process, but need to frequently share data between them. [0003] Microsoft Win32API provides a variety of process communication methods, such as shared memory, clipboard and so on. refer to figure 1 , shows a schematic flowchart of a process communication method in a shared memory mode in the prior art, wherein process A and process B use the same shared memory area, and process A sends data 1 to the shared memory ar...

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
IPC IPC(8): G06F9/54
Inventor 杭程段培堃谢志宏任寰
Owner BEIJING QIHOO TECH CO LTD
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