CPC G06F 9/546 (2013.01) [G06F 13/36 (2013.01); G06F 15/80 (2013.01)] | 12 Claims |
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.
|