Unlock instant, AI-driven research and patent intelligence for your innovation.

Message distribution method and device based on multi-core processor, equipment and medium

A multi-core processor and message distribution technology, which is applied in the field of communication, can solve the problems of low message processing efficiency and the inability to fully utilize the multi-core performance of multi-core processors, and achieve the effect of improving efficiency

Pending Publication Date: 2022-05-06
NSFOCUS INFORMATION TECHNOLOGY CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the address, port number and other message information of all messages are the same, the Hash value obtained by using the Hash algorithm will also be the same, and then all the messages will be distributed to the same processing core based on the Hash value, and other processing cores will be idle. In this situation, the multi-core performance of the multi-core processor cannot be fully utilized, and the message processing efficiency is 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
  • Message distribution method and device based on multi-core processor, equipment and medium
  • Message distribution method and device based on multi-core processor, equipment and medium
  • Message distribution method and device based on multi-core processor, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application. In the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0053] The terms "first"...

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 relates to the technical field of communication, in particular to a message distribution method and device based on a multi-core processor, equipment and a medium, and is used for improving the message processing efficiency of the multi-core processor. The method comprises the following steps: receiving all first messages in a current period; constructing a decision tree according to the information gain of each multi-element group of the sample messages in the first all messages; sequentially traversing the decision tree according to the first information gain of each multi-element group of the first all messages and the second information gain of each multi-element group of the second all messages in the previous period, and determining a distribution strategy of the first all messages; and distributing the first all messages to each processing core in the multi-core processor according to the distribution strategy, and if the first information gain of any multi-element group in the multi-element groups is equal to the second information gain of any multi-element group, sending the first all messages to the processing cores in the multi-core processor. The distribution strategy is that the first all messages are averagely distributed to each processing core in the multi-core processor.

Description

technical field [0001] The present application relates to the field of communication technology, and in particular to a method, device, device and medium for distributing messages based on a multi-core processor. Background technique [0002] With the continuous development of central processing unit (CPU) technology, more and more network devices use multi-core processors to distribute each message to different processing cores in the multi-core processor for processing, which can improve the document processing efficiency. [0003] At present, the hash (Hash) algorithm is mainly used to calculate the message information such as the address and port number of each message, obtain the hash value of the message, and distribute the message to the processing core corresponding to the hash value to process. However, when the address, port number and other message information of all messages are the same, the Hash value obtained by using the Hash algorithm will also be the same...

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/50G06F9/4401G06K9/62G06N5/00H04L69/22
CPCG06F9/5066G06F9/4401H04L69/22G06N5/01G06F18/241
Inventor 彭晓军张原陈永萍赵粤征叶建伟黄俊叶晓虎
Owner NSFOCUS INFORMATION TECHNOLOGY CO LTD