US 11,948,021 B2
Method for inter-core communication, processor, inter-core communication system and computer readable storage medium
Ning Ding, Chengdu (CN); and Wenjian Gou, Chengdu (CN)
Assigned to Black Sesame Technologies Inc., San Jose, CA (US)
Filed by Black Sesame Technologies Inc., San Jose, CA (US)
Filed on Mar. 23, 2022, as Appl. No. 17/702,536.
Claims priority of application No. 202110324554.7 (CN), filed on Mar. 26, 2021.
Prior Publication US 2022/0308947 A1, Sep. 29, 2022
Int. Cl. G06F 9/54 (2006.01); G06F 13/36 (2006.01); G06F 15/80 (2006.01)
CPC G06F 9/546 (2013.01) [G06F 13/36 (2013.01); G06F 15/80 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A method for inter-core communication of a multi-core processor, the multi-core processor comprising a plurality of processor cores, among which an initiating core initiates communication with receiving cores, wherein the method comprises;
receiving a communication request sent by the initiating core for communication with the receiving cores; and
instructing, on the basis of the communication request, the initiating core to communicate with the receiving cores by using a delivery message to invoke interfaces of services in the receiving cores;
periodically receiving load status information sent from each of the receiving cores;
determining, on the basis of the load status information, a first receiving core of the plurality of receiving cores to receive the communication notification;
sending the communication notification only to the first receiving core to instruct the first receiving core to read a delivery message delivered by the initiating core to the receiving cores;
wherein the delivery message is service-oriented and corresponds to the interfaces of the services in the receiving cores; and
wherein the instructing, on the basis of the communication request, the initiating core comprises:
sending a communication notification to the receiving cores on the basis of the communication request, the communication notification being used to instruct the receiving cores to read a delivery message delivered by the initiating core to the receiving cores;
receiving response information sent by the receiving cores after reading the delivery message; and
sending communication completion info ration to the initiating core on the basis of the rest once information.