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

Process processing method and device and electronic equipment

A process and processor technology, applied in the field of process processing, can solve problems such as limited capacity, only synchronous messages, and slow communication speed

Pending Publication Date: 2020-12-15
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The interactive communication between processes can be realized in a variety of ways, such as pipelines, FIFO (First Input First Output, first-in-first-out), message queues, semaphores, shared memory, etc. Among them, the pipeline is a half-duplex working mode, The communication speed is slow and the capacity is limited, and only the parent-child process can communicate through the pipeline; FIFO can realize the communication between any process, but the speed is slow; the capacity of the message queue is limited by the system; the semaphore cannot transmit complex messages, but can only synchronize messages; Shared memory is easy to control capacity and fast, but there are process security issues
No matter which of the above methods is used, the server can only receive and process the client's requests one by one in sequence. When multiple clients send a large number of requests to the server, the server will respond slowly to the client's request and the request processing performance will be poor. Low

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 processing method and device and electronic equipment
  • Process processing method and device and electronic equipment
  • Process processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0050] If there are multiple target response messages corresponding to the same target client process, the multiple target response messages are combined to obtain a combined message; and the combined message is sent to the target client process.

[0051] Since a target client may send multiple requests to the server at the same time, that is, multiple client processes, after the server process processes the client process and generates a corresponding response message, it can send multiple requests corresponding to the same target client process Target response messages are merged to obtain a merged message, which can contain multiple execution results. Finally, the merged message is sent to the target client process, so that the client can perform subsequent operations according to the received response message, which can reduce the IO interaction between the client and the server and improve processing efficiency.

[0052] In this method, the first queue and the second queu...

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 processing method and device and electronic equipment, and the method comprises the steps of determining a leader process from a first process combination if the firstprocess combination is received in a first time period, and adding processes, except the leader process, in the first process combination to a first queue; sending a notification to the server process through the leader process so as to notify the server process to add the process in the first queue to the second queue, and emptying the process in the first queue; and responding to the leader process and the process in the second queue through the server process. According to the invention, a plurality of client processes are received in batches through the first queue, and the client processes are executed through the second queue, so that the first queue is not influenced to continuously receive subsequent client processes; the client processes can be quickly processed in batches, and the client and the server can quickly and efficiently interact with each other, so the processing efficiency and performance of the client request are improved.

Description

technical field [0001] The present invention relates to the technical field of process processing, in particular to a process processing method, device and electronic equipment. Background technique [0002] The interactive communication between processes can be realized in a variety of ways, such as pipelines, FIFO (First Input First Output, first-in-first-out), message queues, semaphores, shared memory, etc. Among them, the pipeline is a half-duplex working mode, The communication speed is slow and the capacity is limited, and only the parent-child process can communicate through the pipeline; FIFO can realize the communication between any process, but the speed is slow; the capacity of the message queue is limited by the system; the semaphore cannot transmit complex messages, but can only synchronize messages; Shared memory is easy to control capacity and fast, but there are process security issues. No matter which of the above methods is used, the server can only receiv...

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/54
CPCG06F9/546G06F9/544
Inventor 干荣亮
Owner BEIJING KINGSOFT CLOUD 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