A method for interprocess communication and a related device

An inter-process communication and inter-process technology, applied in the field of performance testing, can solve problems such as unreliable communication content between parent and child processes, and achieve the effect of solving unreliable communication content

Active Publication Date: 2019-02-19
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method for inter-process communication and related devices, which are used to solve the problem of unreliable communication content between parent and child processes in the prior art

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 for interprocess communication and a related device
  • A method for interprocess communication and a related device
  • A method for interprocess communication and a related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present invention provide a method for inter-process communication and related devices, which are used to solve the problem of unreliable communication content between parent and child processes in the prior art.

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0030] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a spec...

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 embodiment of the invention discloses a method for inter-process communication and a related device, which are used for solving the problem of unreliable communication content between a parent process and a child process in the prior art. A method for implement an embodiment of that invention includes creatING a shared file in a pressing machine, wherein the shared file is used for sharing information among a plurality of process, the plurality of processes including a daemon process and a plurality of pressure sub-processes; Obtaining a file pipeline corresponding to the shared file, andobtaining a shared memory according to the file pipeline, wherein the shared memory is a readable memory corresponding to the shared file; When the pressurizing sub-process generates a message, serializing the message to form a complete message in the shared file; The message is written to the shared file and the write index field of the shared memory is updated to send the message from the pressurizing child process to the daemon process through the shared memory.

Description

technical field [0001] The invention relates to the field of performance testing, in particular to a method for inter-process communication and related devices. Background technique [0002] The performance test platform stress test is a multi-process and multi-thread model. There are multiple stress processes on one stress machine. After the stress process is launched, it needs to be bound to the server port of the transmission control protocol (transmission control protocol, TCP). The number is passed to the pressure machine daemon process through the single-item inter-process communication between the pressure process and the pressure machine daemon process, and then passed to the control console. [0003] In the prior art, based on the open source stress testing platform NGrinder, java input and output streams are used as the daemon process and the stressing process, that is, a communication channel is established through the input stream of the parent process and the ou...

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/54G06F16/176
CPCG06F9/544G06F9/546
Inventor 付得龙
Owner WUHAN DOUYU NETWORK 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