US 12,277,078 B2
Multi-core processing system and inter-core communication method therefor, and storage medium
Jun Liu, Shanghai (CN)
Assigned to GREATER SHINE LIMITED, New Taipei (CN)
Filed by GREATER SHINE LIMITED, New Taipei (CN)
Filed on Apr. 18, 2023, as Appl. No. 18/135,877.
Application 18/135,877 is a continuation of application No. PCT/CN2021/121312, filed on Sep. 28, 2021.
Claims priority of application No. 202011240281.X (CN), filed on Nov. 9, 2020.
Prior Publication US 2023/0259468 A1, Aug. 17, 2023
Int. Cl. G06F 13/28 (2006.01)
CPC G06F 13/28 (2013.01) [G06F 2213/28 (2013.01)] 4 Claims
OG exemplary drawing
 
1. An inter-core communication method for a multi-core processing system, the method being applied in a receiving core and comprising:
reading from a shared memory a message written by a transmitting core, and parsing the message to obtain a source address of and a data length of data to be transmitted;
performing storage space allocation based on the data length to obtain a destination address of the data to be transmitted; and
transmitting the data to be transmitted from a storage space corresponding to the source address to a storage space corresponding to the destination address by means of Direct Memory Access (DMA), based on the source address, the data length, and the destination address;
wherein the method further comprising:
subsequent to reading from the shared memory the message written by the transmitting core:
recording second position information of a message currently being read from the shared memory, such that the transmitting core writes a message into the shared memory based on the second position information and first position information of a message currently being written into the shared memory.