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

Method and device for message processing

A message processing and message technology, which is applied in the field of communication, can solve problems such as multi-core inability to process tasks in parallel, slow task processing speed, and waste of processor resources, so as to improve task processing speed, alleviate competition and resource interlocking, and avoid The effect of wasting resources

Active Publication Date: 2016-04-20
HUAWEI TECH CO LTD
View PDF5 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a message processing method and device, which are used to solve the problem that the multiple cores in the CPU cannot process tasks in parallel, the task processing speed is slow and The problem of wasting processor resources

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
  • Method and device for message processing
  • Method and device for message processing
  • Method and device for message processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028]In order to solve the problems in the prior art that when the tasks to be processed by the multi-core CPU are processed in order, the multi-cores cannot process the tasks in parallel and processor resources are wasted. In the embodiment of the present invention, a front-end preprocessor is set outside the multi-core CPU, and the front-end preprocessor generates a task to be processed according to the message information of the received message to be processed, and according to the physical port corresponding to the task to be processed The identification and receiving order assign sequence codes to the tasks to be processed, and classify the tasks to be processed according to the message information corresponding to the tasks to be processed; the pre-processor dispatches the classified tasks to be processed to the multi-core CPU and According to the sequence code of the task to be processed, the task processed by the multi-core CPU is sequence-preserved. By adopting the ...

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 discloses a method and a device for message processing. The method comprises: arranging a front pre-processor on the external of a multi-core CPU, the front pre-processor generating a to-be-processed task according to message information of a received to-be-processed message, according to the identification of a physical port corresponding to the to-be-processed task and receiving sequence, distributing a sequence code for the to-be-processed task, scheduling the to-be-processed task to the multi-core CPU, and according to the sequence code of the to-be-processed task, performing order-preserving processing on processed tasks of the multi-core CPU. Using the technical scheme, the front pre-processor realizes scheduling of the messages and an order-preserving function, the multi-core CPU can execute tasks in a parallel manner, competition among the multiple cores and resource interlocking are and relieved, and processing capability of the multi-core CPU is effectively improved. In addition, the multi-core CPU can execute tasks in a parallel manner, and can effectively improve task processing speed and prevents wastes of processor resources, and CPU function uninstallation is realized.

Description

technical field [0001] The present invention relates to the technical field of communications, in particular to a message processing method and device. Background technique [0002] With the continuous development of information technology and the continuous expansion of network communication bandwidth, the requirements for the processing performance of communication equipment are also getting higher and higher. The multi-core central processing unit (Central Processing Unit, referred to as CPU) is Good performance and other characteristics, are widely used in communication equipment. In the existing multi-core CPU, each processing unit (core) is a mutually independent structure, and there is a competition problem between cores in the operation process such as the acquisition and release of tasks and resources between the cores, which affects the performance of the multi-core CPU. Processing performance. The timing of the processing tasks between each core is independent o...

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
IPC IPC(8): G06F9/50G06F9/38
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