Multi-core processor inter-core communication method and device

A technology for multi-core processors and inter-core communication, applied in the field of inter-core communication methods and devices for multi-core processors, capable of solving the problems of CPU processing task capability and low resource utilization

Inactive Publication Date: 2016-11-09
COMBA TELECOM SYST CHINA LTD +3
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides an inter-core communication method of a multi-core processor, which is used to solve the problem of low CPU task processing capability and resource utilization in the prior art

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
  • Multi-core processor inter-core communication method and device
  • Multi-core processor inter-core communication method and device
  • Multi-core processor inter-core communication method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0095] Such as Figure 7 As shown, it is a flowchart of an inter-core communication method for a multi-core processor provided in Embodiment 2 of the present invention, including:

[0096] S701: The sending core determines that a message needs to be sent to the receiving core.

[0097] In a specific implementation, the sending core stores the message to be sent in a certain memory unit of the computer operating system, and the sending process transmits the first address of the memory unit.

[0098] S702: Determine whether the timer of the corresponding sending core when the sending core communicates with the receiving core is turned on. If it is enabled, go to S703; otherwise, go to S704.

[0099] S703: Store the message to be sent in the first sending buffer queue of the sending core, and wait for the timer of the sending core to expire.

[0100] S704: Determine whether there are idle elements in the message receiving queue of the receiving core. If not, go to S705, and i...

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 multi-core processor inter-core communication method and device used for solving the problem that the task processing capacity of a CPU and the resource use ratio in the prior art are low. The method provided by the embodiment includes the steps that a transmitting core reads the value A of a tail pointer of an information receiving queue of a receiving core; the information receiving queue of the receiving core is an information receiving queue special for the receiving core; the value A of a tail pointer of the information receiving queue of the receiving core is modified as A+M, wherein M is a positive integer and represents the number of information to be transmitted currently; the memory address of the information to be transmitted currently is written into the queue position, pointed by the values from the pointer value A+1 to the pointer value A+M, of the information receiving queue of the receiving core.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to an inter-core communication method and device for a multi-core processor. Background technique [0002] Existing computer operating systems basically need to process multiple operating tasks at the same time, which requires a corresponding improvement in the task processing capability of a central processing unit (Central Processing Unit, CPU). With the advent of the big data era, computer operating systems need to process massive amounts of information quickly and accurately all the time, so the need to improve the CPU's ability to process tasks is more urgent. In this case, a multi-core processor is undoubtedly a good choice, which involves the communication between multi-processing cores. [0003] Most of the existing computer operating system multi-processing cores communicate based on a first-in-first-out (First Input First Output, FIFO) queue. Using this te...

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/54G06F15/163
CPCG06F9/544G06F9/546G06F15/163
Inventor 赵剑川王南生
Owner COMBA TELECOM SYST CHINA 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