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

A method and related device for inter-process communication

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: 2021-05-28
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 0 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 and related device for inter-process communication
  • A method and related device for inter-process communication
  • A method and related device for inter-process communication

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 an inter-process communication method and a related device, which are used to solve the problem of unreliable communication content between parent and child processes in the prior art. The method in the embodiment of the present invention includes: creating a shared file in the press machine, the shared file is used for information sharing among multiple processes, and the multiple processes include a daemon process and multiple pressure sub-processes; obtaining the share the file pipeline corresponding to the file, and obtain a shared memory according to the file pipeline, and the shared memory is a readable memory corresponding to the shared file; when the pressure subprocess generates a message, sequence the message process to form a complete message in the shared file; write the message into the shared file, and update the write index field of the shared memory to write the message from the implementation through the shared memory Subprocess sends to the daemon process.

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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products