[go: up one dir, main page]

CN107590100B - A method for inter-core data interaction of multi-core processor - Google Patents

A method for inter-core data interaction of multi-core processor Download PDF

Info

Publication number
CN107590100B
CN107590100B CN201710793934.9A CN201710793934A CN107590100B CN 107590100 B CN107590100 B CN 107590100B CN 201710793934 A CN201710793934 A CN 201710793934A CN 107590100 B CN107590100 B CN 107590100B
Authority
CN
China
Prior art keywords
core
data
type
buffer
inter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710793934.9A
Other languages
Chinese (zh)
Other versions
CN107590100A (en
Inventor
段祉鸿
陈令刚
狄世超
刘希强
高艳
赵琳
卫瑞
董彦维
朱曦曼
康冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Technology BIT
China Academy of Launch Vehicle Technology CALT
Original Assignee
Beijing Institute of Technology BIT
China Academy of Launch Vehicle Technology CALT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Technology BIT, China Academy of Launch Vehicle Technology CALT filed Critical Beijing Institute of Technology BIT
Priority to CN201710793934.9A priority Critical patent/CN107590100B/en
Publication of CN107590100A publication Critical patent/CN107590100A/en
Application granted granted Critical
Publication of CN107590100B publication Critical patent/CN107590100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Error Detection And Correction (AREA)

Abstract

The invention discloses an inter-core data interaction method of a multi-core processor, which comprises the following steps: the multiple cores are connected in sequence to form a ring communication structure, wherein each core is connected with the shared data area; one core starts inter-core communication interruption and sends the inter-core communication interruption to the next core, the next core responds to the inter-core communication interruption, reading and/or writing operation is carried out on the shared data area during the interruption response period, and the inter-core communication interruption is sent to the next core along the annular communication structure after the interruption response period is finished; the above processes are circularly carried out along the annular communication structure, and in the circulating process, the data interaction among the cores is completed through the shared data area. The invention provides an internuclear data interaction method with high-speed and high-reliability data transmission function, which can ensure that the read-write operation of a shared data area is only one core at any time, thereby effectively breaking through the bottleneck that the internuclear data is easy to transmit errors, and being applicable to both the presence and absence of an operating system.

Description

一种多核处理器的核间数据交互方法A method for inter-core data interaction of multi-core processor

技术领域technical field

本发明涉及多核处理器技术领域,更为具体来说,本发明涉及一种多核处理器的核间数据交互方法。The present invention relates to the technical field of multi-core processors, and more particularly, the present invention relates to a method for data interaction between cores of a multi-core processor.

背景技术Background technique

目前,在各种电器和各类控制系统中,使用多核处理器已非常普遍。但是,当核间数据交互方法不当时,会造成数据传输错误及数据处理速度降低等问题。现有的解决方法是:开发成熟的操作系统,比如Android、iOS、Windowsphone等。但是,成熟的操作系统会大量的占用系统资源,而且在研制、优化操作系统的过程中会产生高额的研发费用。At present, in various electrical appliances and various control systems, the use of multi-core processors has become very common. However, when the inter-core data exchange method is not appropriate, problems such as data transmission error and data processing speed reduction will be caused. The existing solution is to develop a mature operating system, such as Android, iOS, Windowsphone, etc. However, a mature operating system will occupy a lot of system resources, and will generate high research and development costs in the process of developing and optimizing the operating system.

因此,在不依靠成熟的操作系统前提下,提供一种高可靠性、高传输速率的核间数据交互方法成为了本领域技术人员亟待解决的技术问题和始终研究的重点。Therefore, on the premise of not relying on a mature operating system, providing a method for inter-core data interaction with high reliability and high transmission rate has become a technical problem to be solved urgently by those skilled in the art and a focus of constant research.

发明内容SUMMARY OF THE INVENTION

为解决多核处理器的核间数据易传输错误、数据处理速度低以及依靠成熟的操作系统会受到系统资源和费用的制约等问题,本发明创新地提出了一种具有高速率、高可靠性数据传递功能的核间数据交互方法,从而有效突破核间数据易传输错误的瓶颈,有无操作系统该方法均适用,且易于实现。In order to solve the problems of easy data transmission errors between cores of multi-core processors, low data processing speed, and system resources and cost constraints due to mature operating systems, the present invention innovatively proposes a high-speed, high-reliability data The inter-core data interaction method of the transfer function can effectively break through the bottleneck of easy data transmission errors between the cores. This method is applicable and easy to implement with or without an operating system.

为实现上述技术目的,本发明公开了一种多核处理器的核间数据交互方法,该方法包括如下步骤:In order to achieve the above technical purpose, the present invention discloses a method for inter-core data interaction of a multi-core processor, the method comprising the following steps:

环形通讯结构设置:多个核依次连接且尾核与首核相连,以形成环形通讯结构,且环形通讯结构中的每一个核分别与共享数据区连接;Ring communication structure setting: a plurality of cores are connected in sequence and the tail core is connected with the head core to form a ring communication structure, and each core in the ring communication structure is connected to the shared data area respectively;

启动核间通讯中断:环形通讯结构中的一个核启动核间通讯中断,并将所述核间通讯中断发送至环形通讯结构中的下一个核;Start inter-core communication interruption: one core in the ring communication structure initiates the inter-core communication interruption, and sends the inter-core communication interruption to the next core in the ring communication structure;

响应核间通讯中断:下一个核响应所述核间通讯中断,并在中断响应期间通过核内的缓冲器对共享数据区进行读和/或写操作;Responding to the inter-core communication interrupt: the next core responds to the inter-core communication interrupt, and reads and/or writes the shared data area through the buffer in the core during the interrupt response period;

循环核间通讯中断:在读和/或写操作结束后,沿环形通讯结构向下下一个核发送核间通讯中断;然后沿环形通讯结构循环进行上述响应中断、数据读和/或写、发送中断过程,在循环过程中,各核之间通过共享数据区完成核间数据交互。Circular inter-core communication interruption: After the read and/or write operation is finished, the inter-core communication interruption is sent to the next core along the ring communication structure; During the cycle, each core completes the inter-core data interaction through the shared data area.

本发明创新地设计了一种基于环形通讯结构的核间数据交互方法,该方法通过按顺序循环进行的中断发送、中断响应、数据读写过程而有效地完成了多核处理器的核间数据交互,从而有效地避免了现有技术对成熟的操作系统的依赖,突破核间数据易传输错误的瓶颈,达到核间数据高速率、高可靠性传递的技术目的。The present invention innovatively designs an inter-core data interaction method based on a ring communication structure, which effectively completes the inter-core data interaction of a multi-core processor by cyclically performing interrupt sending, interrupt response, and data reading and writing processes. , thereby effectively avoiding the dependence of the existing technology on the mature operating system, breaking through the bottleneck of easy data transmission errors between cores, and achieving the technical purpose of high-speed and high-reliability transmission of data between cores.

进一步地,每一个核分别设有Ⅰ类缓冲器、Ⅱ类缓冲器、Ⅲ类缓冲器中的至少一种;Further, each core is provided with at least one of a type I buffer, a type II buffer, and a type III buffer;

Ⅰ类缓冲器的作用是周期性的将低优先级中断或主流程中需要发送给其它核的数据通过Ⅰ类缓冲器写入共享数据区;具有所述Ⅰ类缓冲器的核收到低优先级中断或主流程发送的数据指令时,对所述Ⅰ类缓冲器进行周期循环写操作,用于写操作的数据来源于该低优先级中断或主流程;具有所述Ⅰ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,对所述Ⅰ类缓冲器进行周期循环读操作,并将读取的数据写入到共享数据区;The role of the type I buffer is to periodically write the low-priority interrupt or data that needs to be sent to other cores in the main process into the shared data area through the type I buffer; the core with the type I buffer receives the low priority. When the level interrupt or the data instruction sent by the main process, the cycle write operation is performed to the type I buffer, and the data used for the write operation comes from the low-priority interrupt or the main process; the core with the type I buffer When receiving a timing interrupt that initiates an inter-core communication interrupt or a high-priority interrupt that responds to an inter-core communication interrupt, perform a cyclic read operation on the type I buffer, and write the read data into the shared data area;

Ⅱ类缓冲器的作用是随机性的无周期性的将低优先级中断或主流程中需要发送给其它核的数据通过Ⅱ类缓冲器写入共享数据区;具有所述Ⅱ类缓冲器的核收到低优先级中断或主流程发送的数据指令时,对所述Ⅱ类缓冲器进行随机写操作,用于写操作的数据来源于该低优先级中断或主流程;具有所述Ⅱ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,对所述Ⅱ类缓冲器进行周期循环读操作,并将读取的数据写入到共享数据区;The role of the type II buffer is to randomly and aperiodically write the low-priority interrupt or the data that needs to be sent to other cores in the main process into the shared data area through the type II buffer; the core with the type II buffer When receiving a low-priority interrupt or a data command sent by the main process, a random write operation is performed on the type II buffer, and the data used for the write operation comes from the low-priority interrupt or the main process; it has the type II buffer When the core of the processor receives a timing interrupt that initiates an inter-core communication interrupt or a high-priority interrupt that responds to an inter-core communication interrupt, it performs a periodic cyclic read operation on the Type II buffer, and writes the read data to the shared data Area;

Ⅲ类缓冲器的作用是低优先级中断或主流程通过该缓冲器接收其它核传输的数据;具有所述Ⅲ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,将共享数据区中其它核传输的数据写入该缓冲器,用于写操作的数据来源于共享数据区;具有所述Ⅲ类缓冲器的核在响应低优先级中断或主流程时,对该缓冲器进行随机或周期循环读操作,读取其它核传输的数据。The role of the type III buffer is to interrupt the low priority or the main process receives data transmitted by other cores through the buffer; the core with the type III buffer receives the timing interrupt that initiates the inter-core communication interrupt or responds to the inter-core communication interrupt. When the high-priority interrupt occurs, the data transmitted by other cores in the shared data area is written into the buffer, and the data used for the write operation comes from the shared data area; the core with the type III buffer is responding to the low-priority interrupt. Or in the main process, perform random or periodic cyclic read operations on the buffer to read data transmitted by other cores.

基于上述改进的技术方案,本发明创新地为各个核设计了多种缓冲器,从而有效提高了数据读写过程的可靠性和稳定性,避免了可能出现的读写混乱的情况发生。Based on the above improved technical solution, the present invention innovatively designs various buffers for each core, thereby effectively improving the reliability and stability of the data reading and writing process, and avoiding possible read and write confusion.

进一步地,在所述Ⅰ类缓冲器中设置Ⅰ类写数据标识、Ⅰ类数据寄存器单元及Ⅰ类数据寄存器备份单元;Further, a type I write data identification, a type I data register unit and a type I data register backup unit are set in the type I buffer;

对所述Ⅰ类缓冲器进行周期循环写操作时,Ⅰ类写数据标识置位,再将需要写入的数据写入Ⅰ类数据寄存器单元,Ⅰ类写数据标识清零,再将需要写入的数据写入Ⅰ类数据寄存器备份单元;When performing a periodic cyclic write operation to the type I buffer, the type I write data flag is set, and then the data to be written is written into the type I data register unit, the type I write data flag is cleared, and then the data to be written is written. The data is written into the type I data register backup unit;

对所述Ⅰ类缓冲器进行周期循环读操作时,判断Ⅰ类写数据标识状态:如果Ⅰ类写数据标识清零,则读取Ⅰ类数据寄存器单元中数据;如果Ⅰ类写数据标识状态置位,则读取Ⅰ类数据寄存器备份单元中数据。When performing a cyclic read operation on the type I buffer, judge the state of the type I write data flag: if the type I write data flag is cleared, read the data in the type I data register unit; if the type I write data flag state is set. bit, then read the data in the backup unit of type I data register.

进一步地,在所述Ⅱ类缓冲器中设置Ⅱ类写数据标识、Ⅱ类数据寄存器单元及新数据标识;Further, a type II write data identification, a type II data register unit and a new data identification are set in the type II buffer;

对所述Ⅱ类缓冲器进行随机写操作时,Ⅱ类写数据标识置位、新数据标识置位,将需要写入的数据写入Ⅱ类数据寄存器单元,Ⅱ类写数据标识清零;When a random write operation is performed on the type II buffer, the type II write data flag is set and the new data flag is set, the data to be written is written into the type II data register unit, and the type II write data flag is cleared;

对所述Ⅱ类缓冲器进行周期循环读操作时,判断Ⅱ类写数据标识状态和新数据标识状态,如果满足Ⅱ类写数据标识清零且新数据标识置位条件,则读取Ⅱ类数据寄存器单元中数据,新数据标识清零。When performing a periodic cyclic read operation on the type II buffer, determine the type II write data identification status and the new data identification status, and read the type II data if the conditions for the type II write data identification to be cleared and the new data identification to be set are met. The data in the register unit, the new data flag is cleared.

进一步地,在所述Ⅲ类缓冲器中设置重写标识和Ⅲ类数据寄存器单元;Further, set a rewrite flag and a type III data register unit in the type III buffer;

对所述Ⅲ类缓冲器进行周期循环写操作时,重写标识置位,将需要写入的数据写入Ⅲ类数据寄存器单元;When the periodic cyclic write operation is performed on the type III buffer, the rewrite flag is set, and the data to be written is written into the type III data register unit;

对所述Ⅲ类缓冲器进行随机或周期循环读操作时,重写标识清零,从Ⅲ类数据寄存器单元中读取数据。When random or periodic cyclic read operation is performed on the type III buffer, the rewriting flag is cleared, and data is read from the type III data register unit.

基于上述改进的技术方案,本发明实现在多个处理器间对各类优先级工作流程进行快速高效的数据交互。通过设置专门的缓冲器,可保证读写操作的顺利进行、避免出现读写混乱的问题。Based on the above improved technical solution, the present invention realizes fast and efficient data interaction among multiple processors for various priority workflows. By setting up a special buffer, the smooth progress of read and write operations can be ensured and the problem of read and write confusion can be avoided.

进一步地,在启动核间通讯中断步骤中,环形通讯结构中的一个核定时启动核间通讯中断;在各个核中启动核间通讯中断的定时中断及响应核间通讯的中断,均为各个核中复位中断外的优先级最高的中断。Further, in the step of starting the communication interruption between the cores, one of the cores in the ring communication structure periodically starts the communication interruption between the cores; the timing interruption of starting the communication interruption between the cores in each core and the interruption of responding to the communication between the cores are both for each core. The highest priority interrupt other than the reset interrupt.

进一步地,核间通讯中断定时的时长为1ms。Further, the duration of the inter-core communication interruption timing is 1 ms.

进一步地,所述多核处理器的核数为四核。Further, the number of cores of the multi-core processor is four cores.

进一步地,所述处理器为DSP处理器。Further, the processor is a DSP processor.

进一步地,所述核间通讯中断为IPC中断。Further, the inter-core communication interruption is an IPC interruption.

本发明的有益效果为:本发明创新地提出了一种具有高速率、高可靠性数据传递功能的核间数据交互方法,能够保证在任何时刻对共享数据区的读写操作只会是一个核,从而本发明有效地突破核间数据易传输错误的瓶颈,有无操作系统该方法均适用,且易于实现。The beneficial effects of the present invention are as follows: the present invention innovatively proposes an inter-core data exchange method with a high-speed and high-reliability data transfer function, which can ensure that the read and write operations on the shared data area at any time will only be performed by one core. , so that the present invention effectively breaks through the bottleneck of easy data transmission errors between cores, and the method is applicable with or without an operating system, and is easy to implement.

附图说明Description of drawings

图1为多核处理器的核间数据交互方法流程示意图。FIG. 1 is a schematic flowchart of a method for data interaction between cores of a multi-core processor.

图2为四核处理器的核间数据交互状态示意图。FIG. 2 is a schematic diagram of a state of data interaction between cores of a quad-core processor.

具体实施方式Detailed ways

下面结合说明书附图对本发明多核处理器的核间数据交互方法进行详细的解释和说明。The data interaction method between the cores of the multi-core processor of the present invention will be explained and described in detail below with reference to the accompanying drawings.

如图1、2所示,本发明具体公开了一种多核处理器的核间数据交互方法,该方法可有效地提高数据传递的速率和可靠性,适用于多核处理器间的数据交互,该方法具体包括如下步骤。As shown in Figures 1 and 2, the present invention specifically discloses a method for data interaction between cores of a multi-core processor, which can effectively improve the rate and reliability of data transmission, and is suitable for data interaction between multi-core processors. The method specifically includes the following steps.

环形通讯结构设置:多个核依次连接且尾核与首核相连,以形成环形通讯结构,且环形通讯结构中的每一个核分别与共享数据区连接。应理解,“尾核”和“首核”是为了描述清楚环形通讯结构的构建过程而用于区分不同核,而不是对多核处理器中某个核的限制,在具体实施的构建过程中,“首核”可认为是第一个被注意到的核,而“尾核”是最后一个被注意到的核,且在构建最后一步需要将“尾核”与“首核”相连,满足二者能够进行中断通讯的需要。Ring communication structure setting: a plurality of cores are connected in sequence and the tail core is connected with the head core to form a ring communication structure, and each core in the ring communication structure is respectively connected with the shared data area. It should be understood that "tail core" and "head core" are used to distinguish different cores in order to describe the construction process of the ring communication structure clearly, rather than to limit a certain core in a multi-core processor. In the construction process of the specific implementation, The "head core" can be considered as the first core to be noticed, and the "tail core" is the last core to be noticed, and in the last step of construction, it is necessary to connect the "tail core" and the "first core" to satisfy the two The need for the user to be able to interrupt the communication.

启动核间通讯中断:环形通讯结构中的一个核启动核间通讯中断,本实施例中,核间通讯中断为IPC中断,环形通讯结构中的一个核定时启动核间通讯中断,而且,本发明在各个核中启动核间通讯中断的定时中断及响应核间通讯的中断,均为各个核中复位中断外的优先级最高的中断,本实施例中,核间通讯中断定时的时长可以为1ms,当然,在本发明的启示下,具体的定时时长可根据需要进行合理设置,并将核间通讯中断发送至环形通讯结构中的下一个核。应当理解,“环形通讯结构中的一个核”是指多个核中的任一个核,在具体实施时,可根据实际需要而指定环形通讯结构中的一个核;“下一个核”则是指在环形通讯结构中处于当前核下一个的核,如图2所示。Start the inter-core communication interruption: a core in the ring communication structure starts the inter-core communication interruption, in this embodiment, the inter-core communication interruption is an IPC interruption, and a core in the ring communication structure periodically starts the inter-core communication interruption, and the present invention In each core, the timing interrupt for initiating the inter-core communication interruption and for responding to the inter-core communication interruption are interrupts with the highest priority other than the reset interruption in each core. In this embodiment, the duration of the inter-core communication interruption timing may be 1ms. , of course, under the inspiration of the present invention, the specific timing duration can be reasonably set as required, and the inter-core communication interruption is sent to the next core in the ring communication structure. It should be understood that "a core in the ring communication structure" refers to any one of the multiple cores. During specific implementation, a core in the ring communication structure can be specified according to actual needs; "the next core" refers to The core next to the current core in the ring communication structure, as shown in Figure 2.

响应核间通讯中断:下一个核响应核间通讯中断,并在中断响应期间通过核内的缓冲器对共享数据区进行读和/或写操作。如果核内具有多类缓冲器,则可通过各类缓冲器轮询读写共享数据区。本实施例中,给出了三类缓冲器,具体说明如下。Responding to the Inter-Core Communication Interrupt: The next core responds to the inter-core communication interrupt and performs read and/or write operations to the shared data area through the buffer within the core during the interrupt response period. If there are multiple types of buffers in the core, the shared data area can be read and written by polling the various types of buffers. In this embodiment, three types of buffers are provided, and the specific description is as follows.

具体来说,在对共享数据区进行读操作和/或写操作过程,即对核进行写操作和/或读操作。本发明中,每一个核分别设有Ⅰ类缓冲器、Ⅱ类缓冲器、Ⅲ类缓冲器中的至少一种;本实施例以核的角度对读写操作进行详细说明,并对各类缓冲器进行了约束定义。Specifically, in the process of performing a read operation and/or a write operation on the shared data area, that is, a write operation and/or a read operation on the core. In the present invention, each core is provided with at least one of a type I buffer, a type II buffer, and a type III buffer. The constraints are defined by the device.

Ⅰ类缓冲器的作用是周期性的将低优先级中断或主流程中需要发送给其它核的数据通过Ⅰ类缓冲器写入共享数据区;具有所述Ⅰ类缓冲器的核收到低优先级中断或主流程发送的数据指令时,对所述Ⅰ类缓冲器进行周期循环写操作,用于写操作的数据来源于该低优先级中断或主流程;具有所述Ⅰ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,对所述Ⅰ类缓冲器进行周期循环读操作,并将读取的数据写入到共享数据区。The role of the type I buffer is to periodically write the low-priority interrupt or data that needs to be sent to other cores in the main process into the shared data area through the type I buffer; the core with the type I buffer receives the low priority. When the level interrupt or the data instruction sent by the main process, the cycle write operation is performed to the type I buffer, and the data used for the write operation comes from the low-priority interrupt or the main process; the core with the type I buffer When receiving a timing interrupt for initiating an inter-core communication interrupt or a high-priority interrupt for responding to an inter-core communication interrupt, a periodic read operation is performed on the type I buffer, and the read data is written into the shared data area.

更为具体地,在Ⅰ类缓冲器中设置Ⅰ类写数据标识、Ⅰ类数据寄存器单元及Ⅰ类数据寄存器备份单元。More specifically, a type I write data flag, a type I data register unit and a type I data register backup unit are set in the type I buffer.

对Ⅰ类缓冲器进行周期循环写操作时,Ⅰ类写数据标识置位,再将需要写入的数据写入Ⅰ类数据寄存器单元,Ⅰ类写数据标识清零,再将需要写入的数据写入Ⅰ类数据寄存器备份单元。When the cyclic write operation is performed to the type I buffer, the type I write data flag is set, and then the data to be written is written into the type I data register unit, the type I write data flag is cleared, and then the data to be written is written. Write to the Type I data register backup unit.

对Ⅰ类缓冲器进行周期循环读操作时,判断Ⅰ类写数据标识状态:如果Ⅰ类写数据标识清零,则读取Ⅰ类数据寄存器单元中数据;如果Ⅰ类写数据标识状态置位,则读取Ⅰ类数据寄存器备份单元中数据。When the type I buffer is read periodically, the state of the type I write data flag is judged: if the type I write data flag is cleared, the data in the type I data register unit is read; if the type I write data flag state is set, Then read the data in the backup unit of type I data register.

Ⅱ类缓冲器的作用是随机性的无周期性的将低优先级中断或主流程中需要发送给其它核的数据通过Ⅱ类缓冲器写入共享数据区;具有所述Ⅱ类缓冲器的核收到低优先级中断或主流程发送的数据指令时,对所述Ⅱ类缓冲器进行随机写操作,用于写操作的数据来源于该低优先级中断或主流程;具有所述Ⅱ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,对所述Ⅱ类缓冲器进行周期循环读操作,并将读取的数据写入到共享数据区。The role of the type II buffer is to randomly and aperiodically write the low-priority interrupt or the data that needs to be sent to other cores in the main process into the shared data area through the type II buffer; the core with the type II buffer When receiving a low-priority interrupt or a data command sent by the main process, a random write operation is performed on the type II buffer, and the data used for the write operation comes from the low-priority interrupt or the main process; it has the type II buffer When the core of the processor receives a timing interrupt that initiates an inter-core communication interrupt or a high-priority interrupt that responds to an inter-core communication interrupt, it performs a periodic cyclic read operation on the Type II buffer, and writes the read data to the shared data Area.

更为具体地,在Ⅱ类缓冲器中设置Ⅱ类写数据标识、Ⅱ类数据寄存器单元及新数据标识。More specifically, a type II write data identifier, a type II data register unit and a new data identifier are set in the type II buffer.

对Ⅱ类缓冲器进行随机写操作时,Ⅱ类写数据标识置位、新数据标识置位,将需要写入的数据写入Ⅱ类数据寄存器单元,Ⅱ类写数据标识清零。When random write operation is performed to the type II buffer, the type II write data flag is set and the new data flag is set, the data to be written is written into the type II data register unit, and the type II write data flag is cleared.

对Ⅱ类缓冲器进行周期循环读操作时,判断Ⅱ类写数据标识状态和新数据标识状态,如果满足Ⅱ类写数据标识清零且新数据标识置位条件,则读取Ⅱ类数据寄存器单元中数据,新数据标识清零;如果不满足上述条件,则取消读操作、向下一步执行。When performing periodic cyclic read operation on the type II buffer, judge the state of the type II write data flag and the new data flag state. If the conditions for the type II write data flag to be cleared and the new data flag to be set are met, read the type II data register unit. If the above conditions are not met, the read operation will be canceled and the next step will be executed.

Ⅲ类缓冲器的作用是低优先级中断或主流程通过该缓冲器接收其它核传输的数据;具有所述Ⅲ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,将共享数据区中其它核传输的数据写入该缓冲器,用于写操作的数据来源于共享数据区;具有所述Ⅲ类缓冲器的核在响应低优先级中断或主流程时,对该缓冲器进行随机或周期循环读操作,读取其它核传输的数据。The role of the type III buffer is to interrupt the low priority or the main process receives data transmitted by other cores through the buffer; the core with the type III buffer receives the timing interrupt that initiates the inter-core communication interrupt or responds to the inter-core communication interrupt. When the high-priority interrupt occurs, the data transmitted by other cores in the shared data area is written into the buffer, and the data used for the write operation comes from the shared data area; the core with the type III buffer is responding to the low-priority interrupt. Or in the main process, perform random or periodic cyclic read operations on the buffer to read data transmitted by other cores.

更为具体地,在Ⅲ类缓冲器中设置重写标识和Ⅲ类数据寄存器单元;More specifically, set the rewrite flag and the type III data register unit in the type III buffer;

对Ⅲ类缓冲器进行周期循环写操作时,重写标识置位,将需要写入的数据写入Ⅲ类数据寄存器单元。When the periodic cyclic write operation is performed to the type III buffer, the rewrite flag is set, and the data to be written is written into the type III data register unit.

对Ⅲ类缓冲器进行随机或周期循环读操作时,重写标识清零,从Ⅲ类数据寄存器单元中读取数据。When random or cycle read operation is performed on the type III buffer, the rewrite flag is cleared and the data is read from the type III data register unit.

循环核间通讯中断:在读和/或写操作结束后,沿环形通讯结构向下下一个核发送核间通讯中断;然后沿环形通讯结构循环进行上述响应中断、数据读和/或写、发送中断过程,在循环过程中,各核之间通过共享数据区完成核间数据交互。本实施例中,如图2所示,多核处理器的核数为四核,且处理器为DSP处理器。Circular inter-core communication interruption: After the read and/or write operation is finished, the inter-core communication interruption is sent to the next core along the ring communication structure; During the cycle, each core completes the inter-core data interaction through the shared data area. In this embodiment, as shown in FIG. 2 , the number of cores of the multi-core processor is four cores, and the processor is a DSP processor.

本发明以TI多核的DSP芯片TMS320C6674作为控制器的激光捷联惯组设备中得到首次验证,如图2所示,TMS320C6674有四个DSP处理器(Core0~Core3),各个处理器分别有独立的总线和数据存储空间,可以分别独立运行,四个DSP处理可共同访问一片共享数据区及共同的外设。本实施例具体实施过程如下:The invention has been verified for the first time in the laser strapdown inertial group equipment using the TI multi-core DSP chip TMS320C6674 as the controller. As shown in Figure 2, TMS320C6674 has four DSP processors (Core0~Core3), and each processor has an independent The bus and data storage space can run independently, and the four DSP processing can jointly access a shared data area and common peripherals. The specific implementation process of this embodiment is as follows:

(1)Core1利用1ms定时器定,通过必要的缓冲器定时读写共享数据区,同时启动Core1—>Core2IPC中断;(1) Core1 uses a 1ms timer to regularly read and write the shared data area through the necessary buffer, and at the same time starts the Core1->Core2IPC interrupt;

(2)Core2响应IPC中断,通过必要的缓冲器读写IPC共享数据区,启动Core2—>Core3IPC中断;(2) Core2 responds to the IPC interrupt, reads and writes the IPC shared data area through the necessary buffer, and starts the Core2—>Core3 IPC interrupt;

(3)Core3响应IPC中断,通过必要的缓冲器读写IPC共享数据区,启动Core3—>Core0IPC中断;(3) Core3 responds to the IPC interrupt, reads and writes the IPC shared data area through the necessary buffer, and starts the Core3—>Core0 IPC interrupt;

(4)Core0响应IPC中断,通过必要的缓冲器读写IPC共享数据区,启动Core0—>Core1IPC中断;(4) Core0 responds to the IPC interrupt, reads and writes the IPC shared data area through the necessary buffer, and starts the Core0—>Core1 IPC interrupt;

(5)Core1响应IPC中断,对核间通讯进行必要的事件记录标记。(5) Core1 responds to the IPC interrupt, and marks the necessary event record for the inter-core communication.

这种核间通讯方式,有效解决了激光捷联惯组设备研发中遇到的核间交互数据异常、快速数据处理过慢以及内存资源消耗过大等一系列问题,实验验证这种通讯方式可靠且高速。This inter-core communication method effectively solves a series of problems encountered in the research and development of laser strapdown inertial group equipment, such as abnormal inter-core interaction data, too slow fast data processing, and excessive memory resource consumption. Experiments have verified that this communication method is reliable. and high speed.

此外,术语“Ⅰ类”、“Ⅱ类”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“Ⅰ类”、“Ⅱ类”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "Class I" and "Class II" are used for descriptive purposes only, and should not be understood as indicating or implying relative importance or implying the number of technical features indicated. Thus, a feature defined as "Class I", "Class II" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.

在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise expressly specified and limited, the terms "installed", "connected", "connected", "fixed" and other terms should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection , or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between the two elements, unless otherwise specified limit. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

在本说明书的描述中,参考术语“本实施例”、“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, reference to the terms "this embodiment", "one embodiment", "some embodiments", "example", "specific example", or "some examples" or the like is meant to be combined with the description of the embodiment A particular feature, structure, material or characteristic described or exemplified is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明实质内容上所作的任何修改、等同替换和简单改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and simple improvements made in the essence of the present invention should be included in the protection scope of the present invention. Inside.

Claims (9)

1.一种多核处理器的核间数据交互方法,其特征在于:该方法包括如下步骤:1. A method for data interaction between cores of a multi-core processor, characterized in that: the method comprises the steps: 环形通讯结构设置:多个核依次连接且尾核与首核相连,以形成环形通讯结构,且环形通讯结构中的每一个核分别与共享数据区连接;Ring communication structure setting: a plurality of cores are connected in sequence and the tail core is connected with the head core to form a ring communication structure, and each core in the ring communication structure is connected to the shared data area respectively; 启动核间通讯中断:环形通讯结构中的一个核启动核间通讯中断,并将所述核间通讯中断发送至环形通讯结构中的下一个核;Start inter-core communication interruption: one core in the ring communication structure initiates the inter-core communication interruption, and sends the inter-core communication interruption to the next core in the ring communication structure; 响应核间通讯中断:下一个核响应所述核间通讯中断,并在中断响应期间通过核内的缓冲器对共享数据区进行读和/或写操作;Responding to the inter-core communication interrupt: the next core responds to the inter-core communication interrupt, and reads and/or writes the shared data area through the buffer in the core during the interrupt response period; 循环核间通讯中断:在读和/或写操作结束后,沿环形通讯结构向下下一个核发送核间通讯中断;然后沿环形通讯结构循环进行上述响应中断、数据读和/或写、发送中断过程,在循环过程中,各核之间通过共享数据区完成核间数据交互;Circular inter-core communication interruption: After the read and/or write operation is finished, the inter-core communication interruption is sent to the next core along the ring communication structure; During the cycle, each core completes the inter-core data interaction through the shared data area; 其中,每一个核分别设有Ⅰ类缓冲器、Ⅱ类缓冲器、Ⅲ类缓冲器中的至少一种;Wherein, each core is provided with at least one of a type I buffer, a type II buffer, and a type III buffer; Ⅰ类缓冲器的作用是周期性的将低优先级中断或主流程中需要发送给其它核的数据通过Ⅰ类缓冲器写入共享数据区;具有所述Ⅰ类缓冲器的核收到低优先级中断或主流程发送的数据指令时,对所述Ⅰ类缓冲器进行周期循环写操作,用于写操作的数据来源于该低优先级中断或主流程;具有所述Ⅰ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,对所述Ⅰ类缓冲器进行周期循环读操作,并将读取的数据写入到共享数据区;The role of the type I buffer is to periodically write the low-priority interrupt or data that needs to be sent to other cores in the main process into the shared data area through the type I buffer; the core with the type I buffer receives the low priority. When the level interrupt or the data instruction sent by the main process, the cycle write operation is performed to the type I buffer, and the data used for the write operation comes from the low-priority interrupt or the main process; the core with the type I buffer When receiving a timing interrupt that initiates an inter-core communication interrupt or a high-priority interrupt that responds to an inter-core communication interrupt, perform a cyclic read operation on the type I buffer, and write the read data into the shared data area; Ⅱ类缓冲器的作用是随机性的无周期性的将低优先级中断或主流程中需要发送给其它核的数据通过Ⅱ类缓冲器写入共享数据区;具有所述Ⅱ类缓冲器的核收到低优先级中断或主流程发送的数据指令时,对所述Ⅱ类缓冲器进行随机写操作,用于写操作的数据来源于该低优先级中断或主流程;具有所述Ⅱ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,对所述Ⅱ类缓冲器进行周期循环读操作,并将读取的数据写入到共享数据区;The role of the type II buffer is to randomly and aperiodically write the low-priority interrupt or the data that needs to be sent to other cores in the main process into the shared data area through the type II buffer; the core with the type II buffer When receiving a low-priority interrupt or a data command sent by the main process, a random write operation is performed on the type II buffer, and the data used for the write operation comes from the low-priority interrupt or the main process; it has the type II buffer When the core of the processor receives a timing interrupt that initiates an inter-core communication interrupt or a high-priority interrupt that responds to an inter-core communication interrupt, it performs a periodic cyclic read operation on the Type II buffer, and writes the read data to the shared data Area; Ⅲ类缓冲器的作用是低优先级中断或主流程通过该缓冲器接收其它核传输的数据;具有所述Ⅲ类缓冲器的核收到启动核间通讯中断的定时中断或响应核间通讯中断的高优先级中断时,将共享数据区中其它核传输的数据写入该缓冲器,用于写操作的数据来源于共享数据区;具有所述Ⅲ类缓冲器的核在响应低优先级中断或主流程时,对该缓冲器进行随机或周期循环读操作,读取其它核传输的数据。The role of the type III buffer is to interrupt the low priority or the main process receives data transmitted by other cores through the buffer; the core with the type III buffer receives the timing interrupt that initiates the inter-core communication interrupt or responds to the inter-core communication interrupt. When the high-priority interrupt occurs, the data transmitted by other cores in the shared data area is written into the buffer, and the data used for the write operation comes from the shared data area; the core with the type III buffer is responding to the low-priority interrupt. Or in the main process, perform random or periodic cyclic read operations on the buffer to read data transmitted by other cores. 2.根据权利要求1所述的多核处理器的核间数据交互方法,其特征在于:在所述Ⅰ类缓冲器中设置Ⅰ类写数据标识、Ⅰ类数据寄存器单元及Ⅰ类数据寄存器备份单元;2. The method for data interaction between cores of a multi-core processor according to claim 1, wherein the type I write data identification, the type I data register unit and the type I data register backup unit are set in the type I buffer ; 对所述Ⅰ类缓冲器进行周期循环写操作时,Ⅰ类写数据标识置位,再将需要写入的数据写入Ⅰ类数据寄存器单元,Ⅰ类写数据标识清零,再将需要写入的数据写入Ⅰ类数据寄存器备份单元;When performing a periodic cyclic write operation to the type I buffer, the type I write data flag is set, and then the data to be written is written into the type I data register unit, the type I write data flag is cleared, and then the data to be written is written. The data is written into the type I data register backup unit; 对所述Ⅰ类缓冲器进行周期循环读操作时,判断Ⅰ类写数据标识状态:如果Ⅰ类写数据标识清零,则读取Ⅰ类数据寄存器单元中数据;如果Ⅰ类写数据标识状态置位,则读取Ⅰ类数据寄存器备份单元中数据。When performing a cyclic read operation on the type I buffer, judge the state of the type I write data flag: if the type I write data flag is cleared, read the data in the type I data register unit; if the type I write data flag state is set. bit, then read the data in the backup unit of type I data register. 3.根据权利要求2所述的多核处理器的核间数据交互方法,其特征在于:在所述Ⅱ类缓冲器中设置Ⅱ类写数据标识、Ⅱ类数据寄存器单元及新数据标识;3. The method for data interaction between cores of a multi-core processor according to claim 2, characterized in that: a class II write data identification, a class II data register unit and a new data identification are set in the class II buffer; 对所述Ⅱ类缓冲器进行随机写操作时,Ⅱ类写数据标识置位、新数据标识置位,将需要写入的数据写入Ⅱ类数据寄存器单元,Ⅱ类写数据标识清零;When a random write operation is performed on the type II buffer, the type II write data flag is set and the new data flag is set, the data to be written is written into the type II data register unit, and the type II write data flag is cleared; 对所述Ⅱ类缓冲器进行周期循环读操作时,判断Ⅱ类写数据标识状态和新数据标识状态,如果满足Ⅱ类写数据标识清零且新数据标识置位条件,则读取Ⅱ类数据寄存器单元中数据,新数据标识清零。When performing a periodic cyclic read operation on the type II buffer, determine the type II write data identification status and the new data identification status, and read the type II data if the conditions for the type II write data identification to be cleared and the new data identification to be set are met. The data in the register unit, the new data flag is cleared. 4.根据权利要求3所述的多核处理器的核间数据交互方法,其特征在于:在所述Ⅲ类缓冲器中设置重写标识和Ⅲ类数据寄存器单元;4. The method for data interaction between cores of a multi-core processor according to claim 3, characterized in that: a rewrite flag and a type III data register unit are set in the type III buffer; 对所述Ⅲ类缓冲器进行周期循环写操作时,重写标识置位,将需要写入的数据写入Ⅲ类数据寄存器单元;When the periodic cyclic write operation is performed on the type III buffer, the rewrite flag is set, and the data to be written is written into the type III data register unit; 对所述Ⅲ类缓冲器进行随机或周期循环读操作时,重写标识清零,从Ⅲ类数据寄存器单元中读取数据。When random or periodic cyclic read operation is performed on the type III buffer, the rewriting flag is cleared, and data is read from the type III data register unit. 5.根据权利要求1-4中任一权利要求所述的多核处理器的核间数据交互方法,其特征在于:5. The method for data interaction between cores of a multi-core processor according to any one of claims 1-4, wherein: 在启动核间通讯中断步骤中,环形通讯结构中的一个核定时启动核间通讯中断;In the step of initiating inter-core communication interruption, one of the cores in the ring communication structure periodically initiates inter-core communication interruption; 在各个核中启动核间通讯中断的定时中断及响应核间通讯的中断,均为各个核中复位中断外的优先级最高的中断。In each core, the timing interrupt for initiating the inter-core communication interruption and for responding to the inter-core communication interruption are interrupts with the highest priority except the reset interrupt in each core. 6.根据权利要求5所述的多核处理器的核间数据交互方法,其特征在于:核间通讯中断定时的时长为1ms。6 . The method for inter-core data interaction of a multi-core processor according to claim 5 , wherein the duration of the inter-core communication interruption timing is 1 ms. 7 . 7.根据权利要求1或6所述的多核处理器的核间数据交互方法,其特征在于:所述多核处理器的核数为四核。7 . The method for data interaction between cores of a multi-core processor according to claim 1 or 6 , wherein the number of cores of the multi-core processor is four cores. 8 . 8.根据权利要求7所述的多核处理器的核间数据交互方法,其特征在于:所述处理器为DSP处理器。8 . The method for inter-core data interaction of a multi-core processor according to claim 7 , wherein the processor is a DSP processor. 9 . 9.根据权利要求1或8所述的多核处理器的核间数据交互方法,其特征在于:所述核间通讯中断为IPC中断。9 . The method for inter-core data interaction of a multi-core processor according to claim 1 or 8 , wherein the inter-core communication interruption is an IPC interruption. 10 .
CN201710793934.9A 2017-09-06 2017-09-06 A method for inter-core data interaction of multi-core processor Active CN107590100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710793934.9A CN107590100B (en) 2017-09-06 2017-09-06 A method for inter-core data interaction of multi-core processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710793934.9A CN107590100B (en) 2017-09-06 2017-09-06 A method for inter-core data interaction of multi-core processor

Publications (2)

Publication Number Publication Date
CN107590100A CN107590100A (en) 2018-01-16
CN107590100B true CN107590100B (en) 2020-06-19

Family

ID=61051077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710793934.9A Active CN107590100B (en) 2017-09-06 2017-09-06 A method for inter-core data interaction of multi-core processor

Country Status (1)

Country Link
CN (1) CN107590100B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113192237B (en) * 2020-01-10 2023-04-18 阿里巴巴集团控股有限公司 Internet of things equipment supporting TEE and REE and method for realizing communication between TEE and REE
CN113220541B (en) * 2021-06-10 2021-09-07 北京全路通信信号研究设计院集团有限公司 Memory inspection method and system of multi-core processor
CN116881182B (en) * 2023-06-21 2025-03-18 河北金博电梯智能设备有限公司 An embedded data reading and writing method
CN118606257B (en) * 2024-08-07 2024-11-05 湖南进芯电子科技有限公司 Multi-core system, communication method thereof, control device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013383A (en) * 2007-02-13 2007-08-08 杭州华为三康技术有限公司 System and method for implementing packet combined treatment by multi-core CPU
CN101132336A (en) * 2007-10-17 2008-02-27 中国人民解放军国防科学技术大学 Heterogeneous multi-core processor high-speed asynchronous interconnection communication network
CN102141974A (en) * 2011-04-11 2011-08-03 复旦大学 Internuclear communication method of multinuclear processor and circuit structure thereof
CN102270189A (en) * 2011-06-17 2011-12-07 西安电子科技大学 Inter-core communication method based on FPGA (Field Programmable Gate Array) multi-core system
CN102521201A (en) * 2011-11-16 2012-06-27 刘大可 Multi-core DSP (digital signal processor) system-on-chip and data transmission method
CN102855214A (en) * 2011-06-27 2013-01-02 上海华为技术有限公司 Method for implementing data consistency and multi-core system
CN102929834A (en) * 2012-11-06 2013-02-13 无锡江南计算技术研究所 Many-core processor and inter-core communication method thereof and main core and auxiliary core
CN105893320A (en) * 2016-03-29 2016-08-24 浙江大学 Remote task function calling method oriented at multi-core processor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9519943B2 (en) * 2010-12-07 2016-12-13 Advanced Micro Devices, Inc. Priority-based command execution

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013383A (en) * 2007-02-13 2007-08-08 杭州华为三康技术有限公司 System and method for implementing packet combined treatment by multi-core CPU
CN101132336A (en) * 2007-10-17 2008-02-27 中国人民解放军国防科学技术大学 Heterogeneous multi-core processor high-speed asynchronous interconnection communication network
CN102141974A (en) * 2011-04-11 2011-08-03 复旦大学 Internuclear communication method of multinuclear processor and circuit structure thereof
CN102270189A (en) * 2011-06-17 2011-12-07 西安电子科技大学 Inter-core communication method based on FPGA (Field Programmable Gate Array) multi-core system
CN102855214A (en) * 2011-06-27 2013-01-02 上海华为技术有限公司 Method for implementing data consistency and multi-core system
CN102521201A (en) * 2011-11-16 2012-06-27 刘大可 Multi-core DSP (digital signal processor) system-on-chip and data transmission method
CN102929834A (en) * 2012-11-06 2013-02-13 无锡江南计算技术研究所 Many-core processor and inter-core communication method thereof and main core and auxiliary core
CN105893320A (en) * 2016-03-29 2016-08-24 浙江大学 Remote task function calling method oriented at multi-core processor

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Cell处理器上软件缓存的设计与实现;孙守航等;《计算机工程》;20110131;第37卷(第2期);全文 *
The Cell Processor;David T. Wang;《ISSCC 2005》;20051231;全文 *
基于ARM Cortex-A9 MPCore嵌入式多核操作系统内核研究与实现;蔡人和;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170215;第2017卷(第2期);全文 *
多核处理器核间通信技术研究;杨国芳;《中国优秀硕士学位论文全文数据库信息科技辑》;20120515;第2012年卷(第5期);第3节 *

Also Published As

Publication number Publication date
CN107590100A (en) 2018-01-16

Similar Documents

Publication Publication Date Title
US10684670B2 (en) Methods and apparatus for managing power with an inter-processor communication link between independently operable processors
CN107590100B (en) A method for inter-core data interaction of multi-core processor
EP1340135B1 (en) System and method for monitoring and controlling a power manageable resource
US8433833B2 (en) Dynamic reassignment for I/O transfers using a completion queue
JP6064237B2 (en) Method, computer, and apparatus for migrating memory data
CN104620234A (en) Reducing latency in a peripheral component interconnect express link
CN111061587A (en) Communication control method, device, equipment and storage medium of I2C bus
US9684613B2 (en) Methods and systems for reducing spurious interrupts in a data storage system
WO2019109299A1 (en) Memory access technique and computer system
US10841880B2 (en) Apparatus and methods for wake-limiting with an inter-device communication link
US20080010483A1 (en) Computer readable medium storing an error recovery program, error recovery method, error recovery apparatus, and computer system
US10013367B2 (en) I/O processing system including dynamic missing interrupt and input/output detection
KR102714198B1 (en) Storage device and link state control method thereof
WO2006114822A1 (en) Dma controller, node, data transfer control method, and program
JP4620768B2 (en) Control of a computer system having a processor including multiple cores
TWI483117B (en) Device for executing a command, host controller and system for executing a command
US8943238B2 (en) Operations using direct memory access
CN101645057B (en) Method and device for preventing CPU local bus from suspension
WO2013107169A1 (en) Redundant array of independent disks (raid) controller and system
CN107436737A (en) The method and system of suspend operation optimizations is handled in a kind of solid state hard disc
JP5225349B2 (en) Communication apparatus and communication method
CN113342720A (en) High-speed serial port communication method
WO2020014836A1 (en) Method, device and system for acquiring link negotiation information of optical module
CN112199230A (en) Storage controller supporting multi-core system exception handling
EP2800003B1 (en) Method and device for realizing end-to-end hardware message passing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant