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

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 resource consumption and system performance degradation in message transmission, and achieve improved transmission efficiency, improved transmission efficiency, and fast speed. Effect

Inactive Publication Date: 2008-07-16
HUAWEI TECH CO LTD
View PDF6 Cites 1 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. Among them, the main control process is responsible for creating the message queue, and the main control process also controls each processing process.

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

[0037] In this embodiment, for the convenience of description, only three processing processes are involved: Process 1, Process 2, and Process 3. The three processing processes can perform corresponding message processing, and the specif...

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 consists of service components and message events. Among them, the service components can be independent processes or threads. Each service component usually contains 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 linked 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] "Message" is a unit of data transmitted between computers. The message can be very simple, such as containing only a text string; it can also be more complex, possibly containing embedded objects. The message is sent to the queue. The "message queue" is ...

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