News transfer method based on chained list process

A message passing and inter-process technology, applied in transmission systems, multi-programming devices, digital transmission systems, etc., can solve the problems of message passing resource consumption, system performance degradation, etc., to improve transmission efficiency, improve transmission efficiency, and reduce load Effect

Inactive Publication Date: 2006-11-08
HUAWEI TECH CO LTD
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The problem solved by the present invention is that in the prior art, the processing of message transmission between processes consumes a large amount of resources, resulting in a decrease in system performance

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
  • News transfer method based on chained list process
  • News transfer method based on chained list process
  • News transfer method based on chained list process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] figure 2 It is a schematic diagram of the prototype system of the present invention. As shown in the figure, the prototype system includes a main control process, a processing process and an external process. Wherein, the main control process is responsible for creating the message queue, and at the same time, the main control process also controls each processing process.

[0036] The external process inputs the message event into the processing process, and the data structure of the message queue is maintained in the shared memory by the main control process and the processing process. The data structure of the message queue includes: the size of the message queue, the head pointer of the idle node list of the message queue, and the head pointer of the allocated node list of the message queue.

[0037] In this embodiment, for convenience of description, only three processing processes are involved: process 1 , process 2 and process 3 . These three processing proce...

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 present invention discloses linked list based progress message transferring method. It contains main control progress establishing message queue, said message queue including allocated node queue and free node queue; first process progress receiving outer message, applying free node from free node message queue, chaining head and end of message field to sharing memory linked list then transmitting said linked list head pointer to second process progress; when after receiving first process progress transitive sharing memory linked list head pointer, second process progress converting first process progress transitive pointer into said progress address space memory address. Second process progress accesses sharing memory linked list in said memory address, processing and updating result to said linked list, then transmitting head pointer in said linked list to later processing progress. Adopting sharing memory pointer based message transferring technology and sharing memory linked list data structure, said invention effectively raises message transmission efficiency under on stream mode service processing frame.

Description

technical field [0001] The invention relates to an inter-process message transmission method, in particular to an inter-process message transmission method based on a linked list. Background technique [0002] In the prior art, the service framework is composed of service components and message events. Among them, the service components can be independent processes or threads, each service component usually includes an input message queue and an output message queue, and each service component knows its next service name, thus forming a logical end-to-end service list. After the message event flows through each service component, a new message event will be generated and input to the next connected service component. [0003] A "message" is a unit of data transferred between computers. Messages can be as simple as just text strings, or more complex and may contain embedded objects. Messages are sent to the queue. A "message queue" is a container that holds messages duri...

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): H04L12/58G06F9/46
Inventor 孟庆光
Owner HUAWEI 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