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

Method for communication among a plurality of processes, and client

A communication method and client technology, applied in the client field, can solve the problems of message transmission speed and flexibility, low security, mutual communication, etc.

Inactive Publication Date: 2016-08-31
LETV INFORMATION TECH BEIJING
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because even if only one user issues a request, it may cause multiple processes to run in an operating system, and the processes must talk to each other
[0003] At present, the commonly used inter-process communication methods are mainly socket (SOCKET) communication methods or through the registry or local files as exchange media. However, these methods have problems in message transmission speed and flexibility.
In addition, the traditional SOCKET communicates through ports, and most of the current hacking techniques use this port to steal information, so this communication method also has the defect of low security.

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
  • Method for communication among a plurality of processes, and client
  • Method for communication among a plurality of processes, and client

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0023] The present invention provides a method for communicating among multiple processes, the method comprising: a first process stores signaling in a cache area, and broadcasts events to all other processes; and each process in all other processes After receiving the event, read the signaling from the cache area, and determine whether the signaling is for the process, and if the signaling is for the process, execute the signaling indicated by the signaling operation, otherwise the signaling is discarded.

[0024] figure 1 It is a flow chart of the inter-process communication method provided by the present invention. Such as figure 1 As shown, process P1 ca...

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 the technical field of information, and discloses a method for communication among a plurality of processes, and a client using the method. The method comprises: a first process storing a signaling to a cache region, and broadcasting an event to all other processes; after each process in all other processes receives the event, reading the signaling from the cache region, and determining whether the signaling is aimed at the process or not, when the signaling is aimed at the process, executing operation indicated by the signaling, if not, discarding the signaling. Through the above technical scheme, since communication among the processes is performed in cache, information transmission speed is relatively fast, and the information is hard to capture by hackers. The method is relatively high in security.

Description

technical field [0001] The present invention relates to information technology, in particular to a method for communicating among multiple processes and a client for implementing the method. Background technique [0002] Inter Process Communication (IPC, Inter Process communication) is a set of programming interfaces that allow programmers to coordinate different program processes so that they can run simultaneously in an operating system. This enables a program to handle requests from many users at the same time. Because even if only one user issues a request, it may cause multiple processes to run in an operating system, and the processes must talk to each other. [0003] Currently commonly used inter-process communication methods are mainly socket (SOCKET) communication methods or through the registry or local files as exchange media. However, these methods have problems in message transmission speed and flexibility. In addition, the traditional SOCKET communicates thro...

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
CPCG06F9/54G06F9/544G06F9/542
Inventor 韦赞别
Owner LETV INFORMATION TECH BEIJING