Patent ID: 9424101
Filing Date: 2016-08-23
CPC Classification: G06F

Claim Text:
1. A method for synchronous processing based on a multi-core system, comprising: receiving an initialization setting sent by any processing device in a first group of processing devices that synchronously process a same current task; performing initialization, wherein the initialization setting comprises setting a value of a counting semaphore of a current multi-core synchronous processing unit to M and setting content of a control message for the current multi-core synchronous processing unit to enable a second group of processing devices, and wherein M is the number of times that the first group of processing devices synchronously process the current task; receiving a notification message sent by any processing device in the first group of processing devices; subtracting one accordingly from the value of the counting semaphore, wherein content of the notification message is that a processing device sending the notification message completes the current task; and when the value of the counting semaphore is zero, sending the control message to the second group of processing devices through a message sending interface according to the set content of the control message for the current multi-core synchronous processing unit to enable the second group of processing devices such that the second group of processing devices processes the current task, wherein receiving the initialization setting sent by any processing device in the first group of processing devices that synchronously process the same current task comprises receiving, through any channel of an internal cache, the initialization setting sent by any processing device in the first group of processing devices that synchronously process the same current task, wherein performing initialization comprises reading the internal cache corresponding to the channel, updating content in the internal cache to the initialization setting, and saving the initialization setting, and wherein receiving the notification message sent by any processing device in the first group of processing devices and subtracting one accordingly from the value of the counting semaphore comprises: