Method for processing multiprogress message and method for processing multiprogress talk ticket
A technology for bill processing and message processing. It is used in telephone communication, monitoring/monitoring/testing arrangements, electrical components, etc. It can solve problems such as slow performance, limited application program interface, and lost data, and achieves low impact on running performance and computing. Fast and simple, meeting the effect of real-time business
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] The invention provides a multi-process message processing method. The core of the method is: 1) allocate a piece of shared memory for each process; 2) the process reads the message from the allocated shared memory block for processing; The block is currently occupied, and the pending messages are stored in the determined shared memory block according to the preset load balancing rules.
[0029] refer to figure 1 , specifying a preferred embodiment of the method.
[0030] Step 11: Allocate a piece of shared memory for each process and identify it with a unique name.
[0031] The system agrees that each process is assigned a unique identifier (such as 1, 2, 3...n); set the queue name according to the identifier, such as / tmp / BILL_0, / tmp / BILL_1, ... / tmp / BILL_xxx; use ftok function (used to convert the file name into a key value) to obtain a unique key value, according to the key value, combined with the parameters provided by the system (such as memory size, read and wr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 