[go: up one dir, main page]

CN118606257B - Multi-core system, communication method thereof, control device and storage medium - Google Patents

Multi-core system, communication method thereof, control device and storage medium Download PDF

Info

Publication number
CN118606257B
CN118606257B CN202411078895.0A CN202411078895A CN118606257B CN 118606257 B CN118606257 B CN 118606257B CN 202411078895 A CN202411078895 A CN 202411078895A CN 118606257 B CN118606257 B CN 118606257B
Authority
CN
China
Prior art keywords
unit
data
frame
target
data interaction
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
CN202411078895.0A
Other languages
Chinese (zh)
Other versions
CN118606257A (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.)
Hunan Jinxin Electronic Technology Co ltd
Original Assignee
Hunan Jinxin Electronic Technology Co ltd
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 Hunan Jinxin Electronic Technology Co ltd filed Critical Hunan Jinxin Electronic Technology Co ltd
Priority to CN202411078895.0A priority Critical patent/CN118606257B/en
Publication of CN118606257A publication Critical patent/CN118606257A/en
Application granted granted Critical
Publication of CN118606257B publication Critical patent/CN118606257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the invention discloses a multi-core system, a communication method, a control device and a storage medium thereof, wherein the multi-core system comprises: a plurality of processing units; the data interaction units are in one-to-one correspondence with the processing units, each data interaction unit comprises a sending unit and a receiving unit which are respectively connected with the corresponding processing units, the sending unit in each data interaction unit is connected with the receiving unit, and the sending unit in each data interaction unit is connected with the receiving unit in the adjacent data interaction unit, so that the plurality of data interaction units are connected in series to form a closed serial bus; the communication data generated by the initial processing unit are sequentially transmitted through the plurality of data interaction units until the communication data are transmitted to the target processing unit, and the initial processing unit and the target processing unit are any two of the plurality of processing units. The embodiment of the invention can realize low bus complexity, simple circuit structure, small hardware area, good expandability and low expansion cost.

Description

一种多核系统及其通信方法、控制装置和存储介质A multi-core system and its communication method, control device and storage medium

技术领域Technical Field

本发明涉及电子相关技术领域,尤其是涉及一种多核系统及其通信方法、控制装置和存储介质。The present invention relates to the field of electronic related technologies, and in particular to a multi-core system and a communication method, a control device and a storage medium thereof.

背景技术Background Art

随着新能源及机器人技术突飞猛进,处理的信息量及难度也大大增加,对算力及产品的迭代提出了更高的要求,算力要达标,同时产品发布的速度也要跟上。现有技术中通常采用多核处理来提高算力,而对于多核系统,通常采用并口扩展的方式,如总线协议(Advanced eXtensible Interface,AXI)或者其它并行通讯进行核间交换,虽然解决了通讯速度的问题,但如果随着核数量的增加,总线的复杂度也成指数上升,硬件面积大,通讯速度也会开始下降。如果采用通常的设计方案,产品迭代速度慢,无法满足产品迭代速度要求。With the rapid development of new energy and robotics technology, the amount of information processed and the difficulty have also greatly increased, which has put forward higher requirements for computing power and product iteration. The computing power must meet the standards, and the speed of product release must also keep up. In existing technologies, multi-core processing is usually used to improve computing power. For multi-core systems, parallel port expansion is usually used, such as bus protocol (Advanced eXtensible Interface, AXI) or other parallel communications for inter-core exchange. Although the problem of communication speed is solved, as the number of cores increases, the complexity of the bus also increases exponentially, the hardware area is large, and the communication speed will begin to decrease. If the usual design scheme is adopted, the product iteration speed is slow and cannot meet the product iteration speed requirements.

发明内容Summary of the invention

本发明旨在至少解决现有技术中存在的技术问题之一。为此,本发明提出一种多核系统,总线复杂度低,电路结构简单,硬件面积小,可扩展性好,扩展成本低。The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a multi-core system with low bus complexity, simple circuit structure, small hardware area, good scalability and low expansion cost.

本发明还提供了一种多核系统的通信方法、控制装置以及计算机可读存储介质。The present invention also provides a communication method, a control device and a computer-readable storage medium for a multi-core system.

根据本发明的第一方面实施例的多核系统,包括:A multi-core system according to a first aspect of the present invention includes:

多个处理单元;Multiple processing units;

与多个所述处理单元一一对应的多个数据交互单元,每个所述数据交互单元皆包括分别与对应的所述处理单元连接的发送单元和接收单元,每个所述数据交互单元中的所述发送单元与所述接收单元连接,每个所述数据交互单元中的所述发送单元皆与相邻的所述数据交互单元中的所述接收单元连接,以使得多个所述数据交互单元串联成一个闭合的串行总线;初始处理单元生成的通信数据根据通信数据中包含的用于标识目标处理单元的目标帧标记信息通过多个所述数据交互单元依次传输,直至传输至目标处理单元,所述初始处理单元和所述目标处理单元为多个所述处理单元中的任意两个。A plurality of data interaction units corresponding one to one with the plurality of processing units, each of the data interaction units comprising a sending unit and a receiving unit respectively connected to the corresponding processing units, the sending unit in each of the data interaction units being connected to the receiving unit, and the sending unit in each of the data interaction units being connected to the receiving unit in an adjacent data interaction unit, so that the plurality of data interaction units are connected in series to form a closed serial bus; the communication data generated by the initial processing unit is transmitted in sequence through the plurality of data interaction units according to the target frame marking information for identifying the target processing unit contained in the communication data, until it is transmitted to the target processing unit, the initial processing unit and the target processing unit being any two of the plurality of processing units.

根据本发明实施例的多核系统,至少具有如下有益效果:The multi-core system according to the embodiment of the present invention has at least the following beneficial effects:

通过多个数据交互单元串联成一个闭合的串行总线,使得初始处理单元生成的通信数据可以通过多个数据交互单元依次传输,直至传输至目标处理单元,且多个处理单元的通信数据只能在这个串行总线中单向传输。相比传统的并口扩展的方式,本发明实施例的多核系统不论增加多少个处理单元,皆只有一个闭合的串行总线,总线复杂度低,电路结构简单,硬件面积小,可扩展性好,扩展成本低,且数据单向流动,数据传输稳定性好,可靠性高。By connecting multiple data exchange units in series to form a closed serial bus, the communication data generated by the initial processing unit can be transmitted in sequence through the multiple data exchange units until it is transmitted to the target processing unit, and the communication data of the multiple processing units can only be transmitted unidirectionally in this serial bus. Compared with the traditional parallel port expansion method, the multi-core system of the embodiment of the present invention has only one closed serial bus no matter how many processing units are added, with low bus complexity, simple circuit structure, small hardware area, good scalability, low expansion cost, and unidirectional data flow, good data transmission stability and high reliability.

根据本发明的一些实施例,每个所述发送单元皆包括:According to some embodiments of the present invention, each of the sending units includes:

发送控制器,具有第一连接端、第二连接端和第三连接端,所述第一连接端用于接收对应的所述处理单元发送的所述通信数据;A sending controller, comprising a first connection end, a second connection end and a third connection end, wherein the first connection end is used to receive the communication data sent by the corresponding processing unit;

时钟管理单元,其输入端与所述第二连接端连接,所述时钟管理单元用于提供时钟信号;a clock management unit, whose input end is connected to the second connection end, and the clock management unit is used to provide a clock signal;

发送数据缓冲器,具有第一数据交互端和第一数据输出端,所述第一数据交互端与所述第三连接端连接,所述发送数据缓冲器用于存储所述发送控制器发送的所述通信数据;A sending data buffer, comprising a first data interaction end and a first data output end, wherein the first data interaction end is connected to the third connection end, and the sending data buffer is used to store the communication data sent by the sending controller;

协议转换单元,其输入端与所述第一数据输出端连接,所述协议状态机用于将所述发送数据缓冲器发送的所述通信数据进行预设帧格式的转换,得到初始数据帧;A protocol conversion unit, whose input end is connected to the first data output end, and the protocol state machine is used to convert the communication data sent by the sending data buffer into a preset frame format to obtain an initial data frame;

串行转换单元,分别与所述时钟管理单元的输出端和所述协议转换单元的输出端连接,所述串行转换单元用于对所述初始数据帧进行串行化,得到串行数据帧,并将所述串行数据帧和所述时钟信号发送给下一个所述数据交互单元中的所述接收单元。A serial conversion unit is connected to the output end of the clock management unit and the output end of the protocol conversion unit respectively, and is used to serialize the initial data frame to obtain a serial data frame, and send the serial data frame and the clock signal to the receiving unit in the next data exchange unit.

根据本发明的一些实施例,每个所述接收单元皆包括:According to some embodiments of the present invention, each of the receiving units comprises:

并行转换单元,用于接收上一个所述数据交互单元中的所述发送单元发送的所述串行数据帧和所述时钟信号,并将所述串行数据帧转换为并行数据帧;A parallel conversion unit, configured to receive the serial data frame and the clock signal sent by the sending unit in the previous data exchange unit, and convert the serial data frame into a parallel data frame;

协议解析单元,用于对所述并行数据帧进行解析,还原为所述通信数据;A protocol parsing unit, used for parsing the parallel data frames and restoring them to the communication data;

接收数据缓冲器,用于存储由所述协议解析单元发送的所述通信数据;所述通信数据包含用于标识目标处理单元的目标帧标记信息;A receiving data buffer, used for storing the communication data sent by the protocol parsing unit; the communication data includes target frame marking information for identifying a target processing unit;

接收控制器,具有第四连接端、第五连接端、第六连接端和第七连接端,所述第四连接端与对应的所述处理单元连接,所述第五连接端与所述接收数据缓冲器连接,所述第六连接端与当前所述数据交互单元中的所述发送单元的所述发送控制器连接;所述接收控制器用于在所述目标帧标记信息等于当前所述处理单元的当前帧标记信息的情况下,将所述通信数据发送至当前所述处理单元进行数据处理,或者,在所述目标帧标记信息不等于所述当前帧标记信息的情况下,将所述通信数据发送至当前所述数据交互单元中的所述发送单元,以通过当前所述数据交互单元中的所述发送单元发送至下一个所述数据交互单元中的所述接收单元,直至所述通信数据传输至所述目标处理单元;A receiving controller having a fourth connection end, a fifth connection end, a sixth connection end and a seventh connection end, wherein the fourth connection end is connected to the corresponding processing unit, the fifth connection end is connected to the receiving data buffer, and the sixth connection end is connected to the sending controller of the sending unit in the current data exchange unit; the receiving controller is used to send the communication data to the current processing unit for data processing when the target frame mark information is equal to the current frame mark information of the current processing unit, or send the communication data to the sending unit in the current data exchange unit when the target frame mark information is not equal to the current frame mark information, so as to send the communication data to the receiving unit in the next data exchange unit through the sending unit in the current data exchange unit until the communication data is transmitted to the target processing unit;

看门狗单元,分别与所述并行转换单元和所述第七连接端连接。The watchdog unit is connected to the parallel conversion unit and the seventh connection end respectively.

根据本发明的第二方面实施例的多核系统的通信方法,应用于如上述第一方面实施例所述的多核系统,所述多核系统的通信方法包括:The communication method of a multi-core system according to the second aspect of the present invention is applied to the multi-core system as described in the first aspect of the present invention, and the communication method of the multi-core system includes:

获取由上一个所述数据交互单元中的所述发送单元发送的目标数据帧,以及当前所述处理单元的当前帧标记信息,所述目标数据帧包含用于标识目标处理单元的目标帧标记信息;Acquire a target data frame sent by the sending unit in the previous data exchange unit and current frame marking information of the current processing unit, wherein the target data frame includes target frame marking information for identifying a target processing unit;

若所述目标帧标记信息等于所述当前帧标记信息,将所述目标数据帧发送至当前所述处理单元进行数据处理;If the target frame mark information is equal to the current frame mark information, sending the target data frame to the current processing unit for data processing;

若所述目标帧标记信息不等于所述当前帧标记信息,将所述目标数据帧发送至当前所述数据交互单元中的所述发送单元,以通过当前所述数据交互单元中的所述发送单元发送至下一个所述数据交互单元中的所述接收单元,直至所述目标数据帧传输至所述目标处理单元。If the target frame marking information is not equal to the current frame marking information, the target data frame is sent to the sending unit in the current data interaction unit, so as to be sent to the receiving unit in the next data interaction unit through the sending unit in the current data interaction unit until the target data frame is transmitted to the target processing unit.

根据本发明实施例的多核系统的通信方法,至少具有如下有益效果:The communication method of the multi-core system according to the embodiment of the present invention has at least the following beneficial effects:

通过多个数据交互单元串联成一个闭合的串行总线,多个处理单元的通信数据只能在这个串行总线中单向传输,通过确认接收到的目标数据帧中的目标帧标记信息和当前处理单元的当前帧标记信息是否一致来决定目标数据帧的去向,若一致,则将目标数据帧发送至当前处理单元进行数据处理,若不一致,则将目标数据帧发送至下一个数据交互单元,直至目标数据帧传输至目标处理单元,不仅可以保证总线复杂度低,电路结构简单,硬件面积小,可扩展性好,扩展成本低,还能保证数据正确传输至目标处理单元进行处理,数据传输稳定性好,可靠性高。By connecting multiple data interaction units in series to form a closed serial bus, the communication data of multiple processing units can only be transmitted unidirectionally in this serial bus. The destination of the target data frame is determined by confirming whether the target frame marking information in the received target data frame is consistent with the current frame marking information of the current processing unit. If they are consistent, the target data frame is sent to the current processing unit for data processing. If they are inconsistent, the target data frame is sent to the next data interaction unit until the target data frame is transmitted to the target processing unit. This not only ensures low bus complexity, simple circuit structure, small hardware area, good scalability and low expansion cost, but also ensures that the data is correctly transmitted to the target processing unit for processing, and the data transmission stability and reliability are high.

根据本发明的一些实施例,在所述获取由上一个所述数据交互单元中的所述发送单元发送的目标数据帧,以及当前所述处理单元的当前帧标记信息之前,所述多核系统的通信方法还包括:According to some embodiments of the present invention, before acquiring the target data frame sent by the sending unit in the previous data exchange unit and the current frame marking information of the current processing unit, the communication method of the multi-core system further includes:

获取由上一个所述数据交互单元中的所述发送单元发送的目标诊断帧,所述目标诊断帧包含诊断标识信息,所述目标诊断帧由主机生成,所述主机为多个所述处理单元中的任意一个;Acquire a target diagnosis frame sent by the sending unit in the previous data exchange unit, wherein the target diagnosis frame includes diagnosis identification information and is generated by a host, which is any one of the multiple processing units;

若所述诊断标识信息等于预设的诊断值,将所述目标诊断帧发送至当前所述数据交互单元中的所述发送单元,以通过当前所述数据交互单元中的所述发送单元发送至下一个所述数据交互单元中的所述接收单元,直至所述目标诊断帧传输到所述主机对应的所述数据交互单元中的所述接收单元。If the diagnostic identification information is equal to the preset diagnostic value, the target diagnostic frame is sent to the sending unit in the current data interaction unit, so as to be sent to the receiving unit in the next data interaction unit through the sending unit in the current data interaction unit, until the target diagnostic frame is transmitted to the receiving unit in the data interaction unit corresponding to the host.

根据本发明的一些实施例,所述多核系统的通信方法还包括:According to some embodiments of the present invention, the communication method of the multi-core system further includes:

若所述主机发送所述目标诊断帧后,在预设的时间段内接收到所述目标诊断帧,向下一个所述数据交互单元发送所述目标数据帧;If the host receives the target diagnostic frame within a preset time period after sending the target diagnostic frame, the host sends the target data frame to the next data exchange unit;

若所述主机发送所述目标诊断帧后,未在预设的时间段内接收到所述目标诊断帧,生成系统报错信号。If the host fails to receive the target diagnostic frame within a preset time period after sending the target diagnostic frame, a system error signal is generated.

根据本发明的一些实施例,在所述将所述目标数据帧发送至当前所述数据交互单元中的所述发送单元之后,所述多核系统的通信方法还包括:According to some embodiments of the present invention, after sending the target data frame to the sending unit in the current data exchange unit, the communication method of the multi-core system further includes:

当前所述数据交互单元中的所述发送单元发送时钟信号至下一个所述数据交互单元中的所述接收单元,以进行时钟同步;The sending unit in the current data exchange unit sends a clock signal to the receiving unit in the next data exchange unit to perform clock synchronization;

当前所述数据交互单元中的所述发送单元发送所述目标数据帧至下一个所述数据交互单元中的所述接收单元。The sending unit in the current data exchange unit sends the target data frame to the receiving unit in the next data exchange unit.

根据本发明的一些实施例,所述当前所述数据交互单元中的所述发送单元发送所述目标数据帧至下一个所述数据交互单元中的所述接收单元,包括:According to some embodiments of the present invention, the sending unit in the current data exchange unit sends the target data frame to the receiving unit in the next data exchange unit, including:

当前所述数据交互单元中的所述发送单元将所述目标数据帧拆分为第一数据帧和第二数据帧;The sending unit in the current data exchange unit splits the target data frame into a first data frame and a second data frame;

在所述时钟信号的上升沿将所述第一数据帧发送至下一个所述数据交互单元中的所述接收单元,在所述时钟信号的下降沿将所述第二数据帧发送至下一个所述数据交互单元中的所述接收单元。The first data frame is sent to the receiving unit in the next data exchange unit at the rising edge of the clock signal, and the second data frame is sent to the receiving unit in the next data exchange unit at the falling edge of the clock signal.

根据本发明的第三方面实施例的控制装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第二方面实施例所述的多核系统的通信方法。由于控制装置采用了上述实施例的多核系统的通信方法的全部技术方案,因此至少具有上述实施例的技术方案所带来的所有有益效果。According to the third aspect of the present invention, the control device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the communication method of the multi-core system as described in the second aspect of the present invention when executing the computer program. Since the control device adopts all the technical solutions of the communication method of the multi-core system of the above embodiment, it has at least all the beneficial effects brought by the technical solutions of the above embodiment.

根据本发明的第四方面实施例的计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如上述第二方面实施例所述的多核系统的通信方法。由于计算机可读存储介质采用了上述实施例的多核系统的通信方法的全部技术方案,因此至少具有上述实施例的技术方案所带来的所有有益效果。The computer-readable storage medium according to the fourth aspect of the present invention stores computer-executable instructions, and the computer-executable instructions are used to execute the communication method of the multi-core system as described in the second aspect of the present invention. Since the computer-readable storage medium adopts all the technical solutions of the communication method of the multi-core system of the above embodiment, it has at least all the beneficial effects brought by the technical solutions of the above embodiment.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

图1是本发明一实施例的多核系统的系统框图;FIG1 is a system block diagram of a multi-core system according to an embodiment of the present invention;

图2是本发明一实施例的发送单元的系统框图;FIG2 is a system block diagram of a sending unit according to an embodiment of the present invention;

图3是本发明一实施例的接收单元的系统框图;FIG3 is a system block diagram of a receiving unit according to an embodiment of the present invention;

图4是本发明一实施例的两个数据交互单元传输数据的示意图;FIG4 is a schematic diagram of data transmission between two data exchange units according to an embodiment of the present invention;

图5是本发明一实施例的目标数据帧和时钟信号的波形图;5 is a waveform diagram of a target data frame and a clock signal according to an embodiment of the present invention;

图6是本发明一实施例的多核系统的通信方法的流程图;FIG6 is a flow chart of a communication method for a multi-core system according to an embodiment of the present invention;

图7是本发明另一实施例的多核系统的通信方法的流程图;7 is a flow chart of a communication method for a multi-core system according to another embodiment of the present invention;

图8是本发明另一实施例的多核系统的通信方法的流程图;FIG8 is a flow chart of a communication method for a multi-core system according to another embodiment of the present invention;

图9是本发明另一实施例的多核系统的通信方法的流程图;9 is a flow chart of a communication method for a multi-core system according to another embodiment of the present invention;

图10是本发明一实施例的目标数据帧的拆分及传输过程的流程图。FIG. 10 is a flow chart of a target data frame splitting and transmission process according to an embodiment of the present invention.

附图标记:Reference numerals:

处理单元100;Processing unit 100;

发送单元200、发送控制器210、时钟管理单元220、发送数据缓冲器230、协议转换单元240、串行转换单元250;The transmitting unit 200, the transmitting controller 210, the clock management unit 220, the transmitting data buffer 230, the protocol conversion unit 240, and the serial conversion unit 250;

接收单元300、并行转换单元310、协议解析单元320、接收数据缓冲器330、接收控制器340、看门狗单元350。The receiving unit 300 , the parallel conversion unit 310 , the protocol analysis unit 320 , the receiving data buffer 330 , the receiving controller 340 , and the watchdog unit 350 .

具体实施方式DETAILED DESCRIPTION

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

在本发明的描述中,如果有描述到第一、第二等只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。In the description of the present invention, if there is a description of first, second, etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

在本发明的描述中,需要理解的是,涉及到方位描述,例如上、下等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it should be understood that descriptions involving orientation, such as orientation or positional relationship indicated as up, down, etc., are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

本发明的描述中,需要说明的是,除非另有明确的限定,设置、安装、连接等词语应做广义理解,所属技术领域技术人员可以结合技术方案的具体内容合理确定上述词语在本发明中的具体含义。In the description of the present invention, it should be noted that, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific content of the technical solution.

下面将结合图1至图10对本发明实施例的多核系统进行清楚、完整的描述,显然,以下所描述的实施例是本发明一部分实施例,并非全部实施例。The multi-core system of an embodiment of the present invention will be clearly and completely described below in conjunction with Figures 1 to 10. Obviously, the embodiment described below is only a part of the embodiments of the present invention, not all of the embodiments.

根据本发明的第一方面实施例的多核系统,包括多个处理单元100,以及与多个处理单元100一一对应的多个数据交互单元。每个数据交互单元皆包括分别与对应的处理单元100连接的发送单元200和接收单元300,每个数据交互单元中的发送单元200与接收单元300连接,每个数据交互单元中的发送单元200皆与相邻的数据交互单元中的接收单元300连接,以使得多个数据交互单元串联成一个闭合的串行总线;初始处理单元100生成的通信数据根据通信数据中包含的用于标识目标处理单元100的目标帧标记信息通过多个数据交互单元依次传输,直至传输至目标处理单元100,初始处理单元100和目标处理单元100为多个处理单元100中的任意两个。According to the multi-core system of the first aspect of the present invention, the embodiment includes a plurality of processing units 100, and a plurality of data exchange units corresponding to the plurality of processing units 100. Each data exchange unit includes a sending unit 200 and a receiving unit 300 respectively connected to the corresponding processing unit 100, the sending unit 200 in each data exchange unit is connected to the receiving unit 300, and the sending unit 200 in each data exchange unit is connected to the receiving unit 300 in the adjacent data exchange unit, so that the plurality of data exchange units are connected in series to form a closed serial bus; the communication data generated by the initial processing unit 100 is transmitted in sequence through the plurality of data exchange units according to the target frame marking information for identifying the target processing unit 100 contained in the communication data, until it is transmitted to the target processing unit 100, and the initial processing unit 100 and the target processing unit 100 are any two of the plurality of processing units 100.

初始处理单元100生成的通信数据中包含用于标识目标处理单元100的目标帧标记信息,通信数据按顺序发送至初始处理单元100对应的数据交互单元中发送单元200,并发送至下一级数据交互单元中的接收单元300,下一级数据交互单元中的接收单元300判断目标帧标记信息是否等于该级数据交互单元对应的处理单元100的当前帧标记信息,若目标帧标记信息等于当前帧标记信息,将通信数据发送至该级数据交互单元对应的处理单元100进行数据处理;若目标帧标记信息不等于当前帧标记信息,则将通信数据发送至该级数据交互单元中的发送单元200,以通过该级数据交互单元中的发送单元200发送至下一个数据交互单元中的接收单元300,直至通信数据传输至目标处理单元100。The communication data generated by the initial processing unit 100 includes target frame marking information for identifying the target processing unit 100. The communication data is sent in sequence to the sending unit 200 in the data interaction unit corresponding to the initial processing unit 100, and is sent to the receiving unit 300 in the next-level data interaction unit. The receiving unit 300 in the next-level data interaction unit determines whether the target frame marking information is equal to the current frame marking information of the processing unit 100 corresponding to the data interaction unit at this level. If the target frame marking information is equal to the current frame marking information, the communication data is sent to the processing unit 100 corresponding to the data interaction unit at this level for data processing; if the target frame marking information is not equal to the current frame marking information, the communication data is sent to the sending unit 200 in the data interaction unit at this level, so as to be sent to the receiving unit 300 in the next data interaction unit through the sending unit 200 in the data interaction unit at this level, until the communication data is transmitted to the target processing unit 100.

通信数据包括目标诊断帧和目标数据帧。本发明实施例的多核系统的串行总线是可扩展总线,在原有多核系统上扩展的处理单元100连接至串行总线后,需要在数据通讯前进行确认,防止连接错误或者由于外部环境变化带来的时序偏差而影响通讯。在数据通讯前主机发送一个目标诊断帧(诊断标识信息为0000)至下一级处理单元100,每一级处理单元100接收到目标诊断帧并确认诊断标识信息为0000后再传输至下一级,依次传输返回至主机。当主机没有接收到目标诊断帧(诊断标识信息为0000),则判断连接错误,系统错误,不能进行数据通讯,反之则可进行目标数据帧的正常通信过程。The communication data includes a target diagnostic frame and a target data frame. The serial bus of the multi-core system of the embodiment of the present invention is an expandable bus. After the processing unit 100 expanded on the original multi-core system is connected to the serial bus, it is necessary to confirm before data communication to prevent connection errors or timing deviations caused by changes in the external environment from affecting communication. Before data communication, the host sends a target diagnostic frame (diagnostic identification information is 0000) to the next level processing unit 100. After each level of processing unit 100 receives the target diagnostic frame and confirms that the diagnostic identification information is 0000, it is transmitted to the next level and then transmitted back to the host in sequence. When the host does not receive the target diagnostic frame (diagnostic identification information is 0000), it is judged that the connection is wrong, the system is wrong, and data communication cannot be performed. Otherwise, the normal communication process of the target data frame can be performed.

需要说明的是,诊断标识信息需要跟目标帧标记信息区别开,具体的诊断标识信息和目标帧标记信息可以根据需要自行定义,在此不作限定。It should be noted that the diagnosis identification information needs to be distinguished from the target frame marking information. The specific diagnosis identification information and target frame marking information can be defined as needed and are not limited here.

在一个实施例中,A处理单元100生成目标诊断帧,目标诊断帧包含诊断标识信息,A处理单元100通过A发送单元200发送目标诊断帧至B接收单元300,B接收单元300确认诊断标识信息等于预设的诊断值后,将目标诊断帧发送至B发送单元200,通过B发送单元200发送至C接收单元300,C接收单元300再确认诊断标识信息是否等于预设的诊断值,以此类推,直至N发送单元200将目标诊断帧发送回A接收单元300,若A处理单元100发送目标诊断帧后在预设的时间段内接收到了目标诊断帧,则进行目标数据帧的传输:A处理单元100生成目标数据帧,目标数据帧包含的目标帧标记信息表示C处理单元100的ID号,A处理单元100通过A发送单元200发送目标数据帧至B接收单元300,B接收单元300确认目标帧标记信息不是B处理单元100的ID号,将目标数据帧发送至B发送单元200,通过B发送单元200发送至C接收单元300,C接收单元300确认目标帧标记信息是C处理单元100的ID号,将目标数据帧发送至C处理单元100进行处理。若A处理单元100发送目标诊断帧后未在预设的时间段内接收到了目标诊断帧,则表示系统出错,生成系统报错信号以提醒工作人员进行维修。In one embodiment, the A processing unit 100 generates a target diagnostic frame, the target diagnostic frame includes diagnostic identification information, the A processing unit 100 sends the target diagnostic frame to the B receiving unit 300 through the A sending unit 200, the B receiving unit 300 confirms that the diagnostic identification information is equal to the preset diagnostic value, and then sends the target diagnostic frame to the B sending unit 200, and then sends it to the C receiving unit 300 through the B sending unit 200, and the C receiving unit 300 confirms whether the diagnostic identification information is equal to the preset diagnostic value, and so on, until the N sending unit 200 sends the target diagnostic frame back to the A receiving unit 300. If the A processing unit 100 receives the target diagnostic frame within a preset time period after sending the target diagnostic frame, After receiving the target diagnostic frame, the target data frame is transmitted: the A processing unit 100 generates a target data frame, the target frame tag information contained in the target data frame indicates the ID number of the C processing unit 100, the A processing unit 100 sends the target data frame to the B receiving unit 300 through the A sending unit 200, the B receiving unit 300 confirms that the target frame tag information is not the ID number of the B processing unit 100, sends the target data frame to the B sending unit 200, and sends it to the C receiving unit 300 through the B sending unit 200, the C receiving unit 300 confirms that the target frame tag information is the ID number of the C processing unit 100, and sends the target data frame to the C processing unit 100 for processing. If the A processing unit 100 does not receive the target diagnostic frame within the preset time period after sending the target diagnostic frame, it means that the system has an error, and a system error signal is generated to remind the staff to perform maintenance.

本发明实施例的多核系统的串行总线集成在产品中,不仅接口简单,占用输入输出接口少,后期可扩展性好,并且不需要在总线上进行逻辑扩展,对芯片的设计提供了便携,降低了成本。The serial bus of the multi-core system of the embodiment of the present invention is integrated into the product, which not only has a simple interface, occupies fewer input and output interfaces, has good future scalability, and does not require logical expansion on the bus, thereby providing portability for chip design and reducing costs.

根据本发明实施例的多核系统,通过多个数据交互单元串联成一个闭合的串行总线,使得初始处理单元100生成的通信数据可以通过多个数据交互单元依次传输,直至传输至目标处理单元100,且多个处理单元100的通信数据只能在这个串行总线中单向传输。相比传统的并口扩展的方式,本发明实施例的多核系统不论增加多少个处理单元100,皆只有一个闭合的串行总线,总线复杂度低,电路结构简单,硬件面积小,可扩展性好,扩展成本低,且数据单向流动,数据传输稳定性好,可靠性高。According to the multi-core system of the embodiment of the present invention, multiple data exchange units are connected in series to form a closed serial bus, so that the communication data generated by the initial processing unit 100 can be transmitted in sequence through multiple data exchange units until it is transmitted to the target processing unit 100, and the communication data of multiple processing units 100 can only be transmitted unidirectionally in this serial bus. Compared with the traditional parallel port expansion method, the multi-core system of the embodiment of the present invention has only one closed serial bus no matter how many processing units 100 are added, with low bus complexity, simple circuit structure, small hardware area, good scalability, low expansion cost, and unidirectional data flow, good data transmission stability and high reliability.

在本发明的一些实施例中,参考图2和图4,每个发送单元200皆包括发送控制器210、时钟管理单元220、发送数据缓冲器230、协议转换单元240和串行转换单元250。In some embodiments of the present invention, referring to FIG. 2 and FIG. 4 , each sending unit 200 includes a sending controller 210 , a clock management unit 220 , a sending data buffer 230 , a protocol conversion unit 240 and a serial conversion unit 250 .

发送控制器210,具有第一连接端、第二连接端和第三连接端,第一连接端用于接收对应的处理单元100发送的通信数据;The sending controller 210 has a first connection end, a second connection end and a third connection end, and the first connection end is used to receive the communication data sent by the corresponding processing unit 100;

时钟管理单元220,其输入端与第二连接端连接,时钟管理单元220用于提供时钟信号;A clock management unit 220, whose input end is connected to the second connection end, and the clock management unit 220 is used to provide a clock signal;

发送数据缓冲器230,具有第一数据交互端和第一数据输出端,第一数据交互端与第三连接端连接,发送数据缓冲器230用于存储发送控制器210发送的通信数据;The sending data buffer 230 has a first data interaction end and a first data output end, the first data interaction end is connected to the third connection end, and the sending data buffer 230 is used to store the communication data sent by the sending controller 210;

协议转换单元240,其输入端与第一数据输出端连接,协议状态机用于将发送数据缓冲器230发送的通信数据进行预设帧格式的转换,得到初始数据帧;A protocol conversion unit 240, whose input end is connected to the first data output end, and a protocol state machine is used to convert the communication data sent by the sending data buffer 230 into a preset frame format to obtain an initial data frame;

串行转换单元250,分别与时钟管理单元220的输出端和协议转换单元240的输出端连接,串行转换单元250用于对初始数据帧进行串行化,得到串行数据帧,并将串行数据帧和时钟信号发送给下一个数据交互单元中的接收单元300。The serial conversion unit 250 is connected to the output end of the clock management unit 220 and the output end of the protocol conversion unit 240 respectively. The serial conversion unit 250 is used to serialize the initial data frame to obtain a serial data frame, and send the serial data frame and the clock signal to the receiving unit 300 in the next data exchange unit.

在本发明实施例中,发送控制器210在发送数据缓冲器230写满时,会提供中断反馈,防止数据溢出。时钟管理单元220对系统时钟进行分频管理,向串行转换单元250及协议转换单元240提供时钟信号。协议转换单元240将通信数据转换为初始数据帧,预设帧格式中包含了用于标识目标处理单元100的目标帧标记信息,每个处理单元100都有各自独有的帧标记信息,以此来确定要发送的数据是发往哪一个处理单元100进行处理。数据在数据交互单元和处理单元100之间皆为并行传输,而在多个数据交互单元之间为串行传输,需要串行转换单元250对数据进行串行化再发往串行总线。In an embodiment of the present invention, when the sending data buffer 230 is full, the sending controller 210 will provide interrupt feedback to prevent data overflow. The clock management unit 220 performs frequency division management on the system clock and provides clock signals to the serial conversion unit 250 and the protocol conversion unit 240. The protocol conversion unit 240 converts the communication data into an initial data frame. The preset frame format includes target frame marking information for identifying the target processing unit 100. Each processing unit 100 has its own unique frame marking information to determine which processing unit 100 the data to be sent is sent to for processing. Data is transmitted in parallel between the data exchange unit and the processing unit 100, and in serial between multiple data exchange units. The serial conversion unit 250 is required to serialize the data before sending it to the serial bus.

在本发明的一些实施例中,参考图2至图4,每个接收单元300皆包括并行转换单元310、协议解析单元320、接收数据缓冲器330、接收控制器340和看门狗单元350。In some embodiments of the present invention, referring to FIGS. 2 to 4 , each receiving unit 300 includes a parallel conversion unit 310 , a protocol parsing unit 320 , a receiving data buffer 330 , a receiving controller 340 and a watchdog unit 350 .

并行转换单元310,用于接收上一个数据交互单元中的发送单元200发送的串行数据帧和时钟信号,并将串行数据帧转换为并行数据帧;The parallel conversion unit 310 is used to receive the serial data frame and the clock signal sent by the sending unit 200 in the previous data exchange unit, and convert the serial data frame into a parallel data frame;

协议解析单元320,用于对并行数据帧进行解析,还原为通信数据;The protocol parsing unit 320 is used to parse the parallel data frames and restore them to communication data;

接收数据缓冲器330,用于存储由协议解析单元320发送的通信数据;通信数据包含用于标识目标处理单元100的目标帧标记信息;The receiving data buffer 330 is used to store the communication data sent by the protocol parsing unit 320; the communication data includes the target frame marking information for identifying the target processing unit 100;

接收控制器340,具有第四连接端、第五连接端、第六连接端和第七连接端,第四连接端与对应的处理单元100连接,第五连接端与接收数据缓冲器330连接,第六连接端与当前数据交互单元中的发送单元200的发送控制器210连接;接收控制器340用于在目标帧标记信息等于当前处理单元100的当前帧标记信息的情况下,将通信数据发送至当前处理单元100进行数据处理,或者,在目标帧标记信息不等于当前帧标记信息的情况下,将通信数据发送至当前数据交互单元中的发送单元200,以通过当前数据交互单元中的发送单元200发送至下一个数据交互单元中的接收单元300,直至通信数据传输至目标处理单元100;The receiving controller 340 has a fourth connection terminal, a fifth connection terminal, a sixth connection terminal and a seventh connection terminal, the fourth connection terminal is connected to the corresponding processing unit 100, the fifth connection terminal is connected to the receiving data buffer 330, and the sixth connection terminal is connected to the sending controller 210 of the sending unit 200 in the current data exchange unit; the receiving controller 340 is used to send the communication data to the current processing unit 100 for data processing when the target frame marking information is equal to the current frame marking information of the current processing unit 100, or, when the target frame marking information is not equal to the current frame marking information, send the communication data to the sending unit 200 in the current data exchange unit, so as to be sent to the receiving unit 300 in the next data exchange unit through the sending unit 200 in the current data exchange unit, until the communication data is transmitted to the target processing unit 100;

看门狗单元350,分别与并行转换单元310和第七连接端连接。The watchdog unit 350 is connected to the parallel conversion unit 310 and the seventh connection terminal respectively.

接收控制器340与当前数据交互单元中的发送单元200的发送控制器210连接,从而可以在目标帧标记信息等于当前处理单元100的当前帧标记信息的情况下,将通信数据发送至当前处理单元100进行数据处理,或者,在目标帧标记信息不等于当前帧标记信息的情况下,将通信数据发送至当前数据交互单元中的发送单元200,以通过当前数据交互单元中的发送单元200发送至下一个数据交互单元中的接收单元300,直至通信数据传输至目标处理单元100,保证数据正确传输至目标处理单元100进行处理,数据传输稳定性好,可靠性高。The receiving controller 340 is connected to the sending controller 210 of the sending unit 200 in the current data interaction unit, so that when the target frame marking information is equal to the current frame marking information of the current processing unit 100, the communication data can be sent to the current processing unit 100 for data processing, or, when the target frame marking information is not equal to the current frame marking information, the communication data can be sent to the sending unit 200 in the current data interaction unit, so as to be sent to the receiving unit 300 in the next data interaction unit through the sending unit 200 in the current data interaction unit until the communication data is transmitted to the target processing unit 100, thereby ensuring that the data is correctly transmitted to the target processing unit 100 for processing, and the data transmission has good stability and high reliability.

看门狗单元350包括帧看门狗和诊断看门狗,帧看门狗用于监听目标数据帧,诊断看门狗用于监听目标诊断帧,监控目标数据帧和目标诊断帧,一旦发生错误就产生中断至接收控制器340,保证系统正常工作。在一些实施例中,可以通过判断目标数据帧和目标诊断帧的帧长度确定是否出错,其中,目标数据帧和目标诊断帧的正常的帧长度需要区分开,以区分目标数据帧和目标诊断帧。也可以通过判断接收到目标数据帧和目标诊断帧的时间是否在正常范围内确定是否出错,不能看作是对本发明的限定。The watchdog unit 350 includes a frame watchdog and a diagnostic watchdog. The frame watchdog is used to monitor the target data frame, and the diagnostic watchdog is used to monitor the target diagnostic frame, monitor the target data frame and the target diagnostic frame, and generate an interrupt to the receiving controller 340 once an error occurs to ensure the normal operation of the system. In some embodiments, it can be determined whether an error occurs by judging the frame length of the target data frame and the target diagnostic frame, wherein the normal frame lengths of the target data frame and the target diagnostic frame need to be distinguished to distinguish the target data frame from the target diagnostic frame. It can also be determined whether an error occurs by judging whether the time of receiving the target data frame and the target diagnostic frame is within the normal range, which cannot be regarded as a limitation of the present invention.

下面将结合图1至图10对本发明实施例的多核系统的通信方法进行清楚、完整的描述,显然,以下所描述的实施例是本发明一部分实施例,并非全部实施例。The communication method of a multi-core system according to an embodiment of the present invention will be described clearly and completely below in conjunction with FIG. 1 to FIG. 10 . Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of them.

根据本发明的第二方面实施例的多核系统的通信方法,应用于如上述第一方面实施例的多核系统,多核系统的通信方法包括:The communication method of a multi-core system according to the second aspect of the present invention is applied to the multi-core system of the first aspect of the present invention. The communication method of the multi-core system includes:

获取由上一个数据交互单元中的发送单元200发送的目标数据帧,以及当前处理单元100的当前帧标记信息,目标数据帧包含用于标识目标处理单元100的目标帧标记信息;Acquire the target data frame sent by the sending unit 200 in the previous data exchange unit and the current frame marking information of the current processing unit 100, wherein the target data frame includes the target frame marking information for identifying the target processing unit 100;

若目标帧标记信息等于当前帧标记信息,将目标数据帧发送至当前处理单元100进行数据处理;If the target frame mark information is equal to the current frame mark information, the target data frame is sent to the current processing unit 100 for data processing;

若目标帧标记信息不等于当前帧标记信息,将目标数据帧发送至当前数据交互单元中的发送单元200,以通过当前数据交互单元中的发送单元200发送至下一个数据交互单元中的接收单元300,直至目标数据帧传输至目标处理单元100。If the target frame marking information is not equal to the current frame marking information, the target data frame is sent to the sending unit 200 in the current data interaction unit, so as to be sent to the receiving unit 300 in the next data interaction unit through the sending unit 200 in the current data interaction unit until the target data frame is transmitted to the target processing unit 100.

初始处理单元100生成的目标数据帧中包含用于标识目标处理单元100的目标帧标记信息,目标数据帧按顺序发送至初始处理单元100对应的数据交互单元中发送单元200,并发送至下一级数据交互单元中的接收单元300,下一级数据交互单元中的接收单元300判断目标帧标记信息是否等于该级数据交互单元对应的处理单元100的当前帧标记信息,若目标帧标记信息等于当前帧标记信息,将目标数据帧发送至该级数据交互单元对应的处理单元100进行数据处理;若目标帧标记信息不等于当前帧标记信息,则将目标数据帧发送至该级数据交互单元中的发送单元200,以通过该级数据交互单元中的发送单元200发送至下一个数据交互单元中的接收单元300,直至目标数据帧传输至目标处理单元100。The target data frame generated by the initial processing unit 100 includes target frame marking information for identifying the target processing unit 100. The target data frame is sent in sequence to the sending unit 200 in the data interaction unit corresponding to the initial processing unit 100, and is sent to the receiving unit 300 in the next-level data interaction unit. The receiving unit 300 in the next-level data interaction unit determines whether the target frame marking information is equal to the current frame marking information of the processing unit 100 corresponding to the data interaction unit at this level. If the target frame marking information is equal to the current frame marking information, the target data frame is sent to the processing unit 100 corresponding to the data interaction unit at this level for data processing; if the target frame marking information is not equal to the current frame marking information, the target data frame is sent to the sending unit 200 in the data interaction unit at this level, so as to be sent to the receiving unit 300 in the next data interaction unit through the sending unit 200 in the data interaction unit at this level, until the target data frame is transmitted to the target processing unit 100.

在一个实施例中,A处理单元100生成目标数据帧,目标数据帧包含的目标帧标记信息表示C处理单元100的ID号,A处理单元100通过A发送单元200发送目标数据帧至B接收单元300,B接收单元300确认目标帧标记信息不是B处理单元100的ID号,将目标数据帧发送至B发送单元200,通过B发送单元200发送至C接收单元300,C接收单元300确认目标帧标记信息是C处理单元100的ID号,将目标数据帧发送至C处理单元100进行处理。In one embodiment, the A processing unit 100 generates a target data frame, and the target frame marking information contained in the target data frame represents the ID number of the C processing unit 100. The A processing unit 100 sends the target data frame to the B receiving unit 300 through the A sending unit 200. The B receiving unit 300 confirms that the target frame marking information is not the ID number of the B processing unit 100, and sends the target data frame to the B sending unit 200, and sends it to the C receiving unit 300 through the B sending unit 200. The C receiving unit 300 confirms that the target frame marking information is the ID number of the C processing unit 100, and sends the target data frame to the C processing unit 100 for processing.

根据本发明实施例的多核系统的通信方法,通过多个数据交互单元串联成一个闭合的串行总线,多个处理单元100的通信数据只能在这个串行总线中单向传输,通过确认接收到的目标数据帧中的目标帧标记信息和当前处理单元100的当前帧标记信息是否一致来决定目标数据帧的去向,若一致,则将目标数据帧发送至当前处理单元100进行数据处理,若不一致,则将目标数据帧发送至下一个数据交互单元,直至目标数据帧传输至目标处理单元100,不仅可以保证总线复杂度低,电路结构简单,硬件面积小,可扩展性好,扩展成本低,还能保证数据正确传输至目标处理单元100进行处理,数据传输稳定性好,可靠性高。According to the communication method of the multi-core system of the embodiment of the present invention, multiple data interaction units are connected in series to form a closed serial bus, and the communication data of multiple processing units 100 can only be transmitted unidirectionally in this serial bus. The destination of the target data frame is determined by confirming whether the target frame marking information in the received target data frame is consistent with the current frame marking information of the current processing unit 100. If they are consistent, the target data frame is sent to the current processing unit 100 for data processing. If they are inconsistent, the target data frame is sent to the next data interaction unit until the target data frame is transmitted to the target processing unit 100. This can not only ensure low bus complexity, simple circuit structure, small hardware area, good scalability and low expansion cost, but also ensure that the data is correctly transmitted to the target processing unit 100 for processing, and the data transmission stability and reliability are high.

在本发明的一些实施例中,参考图1至图7,在获取由上一个数据交互单元中的发送单元200发送的目标数据帧,以及当前处理单元100的当前帧标记信息之前,多核系统的通信方法还包括:In some embodiments of the present invention, referring to FIGS. 1 to 7 , before acquiring the target data frame sent by the sending unit 200 in the previous data exchange unit and the current frame marking information of the current processing unit 100, the communication method of the multi-core system further includes:

获取由上一个数据交互单元中的发送单元200发送的目标诊断帧,目标诊断帧包含诊断标识信息,目标诊断帧由主机生成,主机为多个处理单元100中的任意一个;Acquire a target diagnosis frame sent by the sending unit 200 in the previous data exchange unit, where the target diagnosis frame includes diagnosis identification information and is generated by a host, which is any one of the multiple processing units 100;

若诊断标识信息等于预设的诊断值,将目标诊断帧发送至当前数据交互单元中的发送单元200,以通过当前数据交互单元中的发送单元200发送至下一个数据交互单元中的接收单元300,直至目标诊断帧传输到主机对应的数据交互单元中的接收单元300。If the diagnostic identification information is equal to the preset diagnostic value, the target diagnostic frame is sent to the sending unit 200 in the current data interaction unit, so as to be sent to the receiving unit 300 in the next data interaction unit through the sending unit 200 in the current data interaction unit, until the target diagnostic frame is transmitted to the receiving unit 300 in the data interaction unit corresponding to the host.

本发明实施例的多核系统的串行总线是可扩展总线,在原有多核系统上扩展的处理单元100连接至串行总线后,需要在数据通讯前进行确认,防止连接错误或者由于外部环境变化带来的时序偏差而影响通讯。在数据通讯前主机发送一个目标诊断帧(诊断标识信息为0000)至下一级处理单元100,每一级处理单元100接收到目标诊断帧并确认诊断标识信息为0000后再传输至下一级,依次传输返回至主机。当主机没有接收到目标诊断帧(诊断标识信息为0000),则判断连接错误,系统错误,不能进行数据通讯,反之则可进行目标数据帧的正常通信过程。The serial bus of the multi-core system of the embodiment of the present invention is an expandable bus. After the processing unit 100 expanded on the original multi-core system is connected to the serial bus, it is necessary to confirm before data communication to prevent connection errors or timing deviations caused by changes in the external environment from affecting communication. Before data communication, the host sends a target diagnostic frame (diagnostic identification information is 0000) to the next level processing unit 100. After each level of processing unit 100 receives the target diagnostic frame and confirms that the diagnostic identification information is 0000, it is transmitted to the next level and then transmitted back to the host in sequence. When the host does not receive the target diagnostic frame (diagnostic identification information is 0000), it is judged that the connection is wrong, the system is wrong, and data communication cannot be performed. Otherwise, the normal communication process of the target data frame can be performed.

需要说明的是,诊断标识信息需要跟目标帧标记信息区别开,具体的诊断标识信息和目标帧标记信息可以根据需要自行定义,在此不作限定。It should be noted that the diagnosis identification information needs to be distinguished from the target frame marking information. The specific diagnosis identification information and target frame marking information can be defined as needed and are not limited here.

在本发明的一些实施例中,参考图1、图3和图8,多核系统的通信方法还包括:In some embodiments of the present invention, referring to FIG. 1 , FIG. 3 and FIG. 8 , the communication method of the multi-core system further includes:

若主机发送目标诊断帧后,在预设的时间段内接收到目标诊断帧,向下一个数据交互单元发送目标数据帧;If the host receives the target diagnostic frame within a preset time period after sending the target diagnostic frame, it sends the target data frame to the next data exchange unit;

若主机发送目标诊断帧后,未在预设的时间段内接收到目标诊断帧,生成系统报错信号。If the host fails to receive the target diagnostic frame within a preset time period after sending the target diagnostic frame, a system error signal is generated.

主机发送目标诊断帧后,目标诊断帧会按顺序在串行总线上进行传输,最终回到主机中,预设的时间段表示系统正常运行下目标诊断帧回到主机中应该花费的时长,若预设的时间段内接收到目标诊断帧,表示多核系统可以正常通讯,若未在预设的时间段内接收到目标诊断帧,则表示系统出错,生成系统报错信号以提醒工作人员进行维修。After the host sends the target diagnostic frame, the target diagnostic frame will be transmitted in sequence on the serial bus and finally returned to the host. The preset time period indicates the time it should take for the target diagnostic frame to return to the host under normal system operation. If the target diagnostic frame is received within the preset time period, it means that the multi-core system can communicate normally. If the target diagnostic frame is not received within the preset time period, it means that the system has an error and a system error signal is generated to remind the staff to perform maintenance.

在本发明的一些实施例中,参考图1至图4,以及图9,在将目标数据帧发送至当前数据交互单元中的发送单元200之后,多核系统的通信方法还包括:In some embodiments of the present invention, referring to FIGS. 1 to 4 and 9 , after sending the target data frame to the sending unit 200 in the current data exchange unit, the communication method of the multi-core system further includes:

当前数据交互单元中的发送单元200发送时钟信号至下一个数据交互单元中的接收单元300,以进行时钟同步;The sending unit 200 in the current data exchange unit sends a clock signal to the receiving unit 300 in the next data exchange unit to perform clock synchronization;

当前数据交互单元中的发送单元200发送目标数据帧至下一个数据交互单元中的接收单元300。The sending unit 200 in the current data exchange unit sends the target data frame to the receiving unit 300 in the next data exchange unit.

时钟传输为分级同步,即上一级的发送单元200TCLK传入下一级的接收单元300RCLK,使每一级数据同步传输,也避免了采用单一全局时钟(一个TCLK连接至所有的接收单元300和发送单元200)实现时每个节点产生延时偏差。The clock transmission is hierarchically synchronized, that is, the TCLK of the sending unit 200 of the previous level is transmitted to the RCLK of the receiving unit 300 of the next level, so that the data of each level is transmitted synchronously, and the delay deviation of each node is avoided when a single global clock (one TCLK is connected to all receiving units 300 and sending units 200) is used.

可以理解的是,TCLK和RCLK是为了区分发送单元200和下一级接收单元300的时钟,实质上是同一时钟。It can be understood that TCLK and RCLK are used to distinguish the clocks of the transmitting unit 200 and the next-stage receiving unit 300, and are substantially the same clock.

在本发明的一些实施例中,参考图1至图5,以及图10,当前数据交互单元中的发送单元200发送目标数据帧至下一个数据交互单元中的接收单元300,包括:In some embodiments of the present invention, referring to FIGS. 1 to 5 and 10 , the sending unit 200 in the current data exchange unit sends the target data frame to the receiving unit 300 in the next data exchange unit, including:

当前数据交互单元中的发送单元200将目标数据帧拆分为第一数据帧和第二数据帧;The sending unit 200 in the current data exchange unit splits the target data frame into a first data frame and a second data frame;

在时钟信号的上升沿将第一数据帧发送至下一个数据交互单元中的接收单元300,在时钟信号的下降沿将第二数据帧发送至下一个数据交互单元中的接收单元300。The first data frame is sent to the receiving unit 300 in the next data exchange unit at the rising edge of the clock signal, and the second data frame is sent to the receiving unit 300 in the next data exchange unit at the falling edge of the clock signal.

在本发明的一个实施例中,如图5所示,可以将目标数据帧按奇数位和偶数位拆分,奇数位构成第一数据帧TData0,偶数位构成第二数据帧TData1,然后在时钟信号的上升沿t1将第一数据帧TData0发送至下一个数据交互单元中的接收单元300成为RData0,在时钟信号的下降沿t2将第二数据帧TData1发送至下一个数据交互单元中的接收单元300成为RData1,将一个数据拆分为两个或者是更多数据,可以提高数据传输效率。In one embodiment of the present invention, as shown in Figure 5, the target data frame can be split into odd bits and even bits, the odd bits constitute the first data frame TData0, and the even bits constitute the second data frame TData1, and then at the rising edge t1 of the clock signal, the first data frame TData0 is sent to the receiving unit 300 in the next data exchange unit to become RData0, and at the falling edge t2 of the clock signal, the second data frame TData1 is sent to the receiving unit 300 in the next data exchange unit to become RData1. Splitting one data into two or more data can improve data transmission efficiency.

在此,需要说明的是,还可以按照其他规则对目标数据帧进行拆分,拆分的个数也可以更多,不能看作是对本发明的限定。另外,也可以在时钟信号的上升沿t1将第二数据帧TData1发送至下一个数据交互单元中的接收单元300成为RData1,在时钟信号的下降沿t2将第一数据帧TData0发送至下一个数据交互单元中的接收单元300成为RData0,不能看作是对本发明的限定。Here, it should be noted that the target data frame can also be split according to other rules, and the number of splits can be greater, which cannot be regarded as a limitation of the present invention. In addition, the second data frame TData1 can also be sent to the receiving unit 300 in the next data exchange unit as RData1 at the rising edge t1 of the clock signal, and the first data frame TData0 can be sent to the receiving unit 300 in the next data exchange unit as RData0 at the falling edge t2 of the clock signal, which cannot be regarded as a limitation of the present invention.

可以理解的是,TData和RData只是为了区分发送单元200发送出去的数据和下一级接收单元300接收到的数据,实质上是同一个数据,即TData0和RData0是同一个数据,TData1和RData1是同一个数据。It can be understood that TData and RData are only used to distinguish the data sent by the sending unit 200 and the data received by the next-level receiving unit 300, and are essentially the same data, that is, TData0 and RData0 are the same data, and TData1 and RData1 are the same data.

另外,本发明的一个实施例还提供了一种控制装置,该控制装置包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。处理器和存储器可以通过总线或者其他方式连接。In addition, an embodiment of the present invention further provides a control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor and the memory may be connected via a bus or other means.

存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至该处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

实现上述实施例的多核系统的通信方法所需的非暂态软件程序以及指令存储在存储器中,当被处理器执行时,执行上述实施例中的多核系统的通信方法。The non-transitory software program and instructions required to implement the communication method of the multi-core system in the above embodiment are stored in the memory, and when executed by the processor, the communication method of the multi-core system in the above embodiment is executed.

以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

此外,本发明的一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个处理器或控制器执行,可使得上述处理器或控制器执行上述实施例中的多核系统的通信方法。In addition, an embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or a controller, so that the processor or the controller can execute the communication method of the multi-core system in the above embodiment.

本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

上面结合附图对本发明实施例作了详细说明,但本发明不限于上述实施例,在所属技术领域普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下作出各种变化。The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present invention.

Claims (8)

1. A multi-core system, comprising:
A plurality of processing units;
The data interaction units are in one-to-one correspondence with the processing units, each data interaction unit comprises a sending unit and a receiving unit which are respectively connected with the corresponding processing units, the sending unit in each data interaction unit is connected with the receiving unit, and the sending unit in each data interaction unit is connected with the receiving unit in the adjacent data interaction unit, so that the data interaction units are connected in series to form a closed serial bus; the communication data generated by the initial processing unit are sequentially transmitted through a plurality of data interaction units according to target frame marking information which is contained in the communication data and is used for marking a target processing unit until the communication data are transmitted to the target processing unit, and the initial processing unit and the target processing unit are any two of the plurality of processing units;
each of the transmitting units includes:
The transmission controller is provided with a first connecting end, a second connecting end and a third connecting end, and the first connecting end is used for receiving the communication data transmitted by the corresponding processing unit;
The input end of the clock management unit is connected with the second connecting end, and the clock management unit is used for providing clock signals;
The transmission data buffer is provided with a first data interaction end and a first data output end, the first data interaction end is connected with the third connecting end, and the transmission data buffer is used for storing the communication data transmitted by the transmission controller;
The input end of the protocol conversion unit is connected with the first data output end, and the protocol conversion unit is used for converting the communication data sent by the sending data buffer into a preset frame format to obtain an initial data frame;
The serial conversion unit is respectively connected with the output end of the clock management unit and the output end of the protocol conversion unit, and is used for serializing the initial data frame to obtain a serial data frame and transmitting the serial data frame and the clock signal to the receiving unit in the next data interaction unit;
each of the receiving units includes:
The parallel conversion unit is used for receiving the serial data frame and the clock signal sent by the sending unit in the last data interaction unit and converting the serial data frame into a parallel data frame;
A protocol analysis unit, configured to analyze the parallel data frame and restore the parallel data frame to the communication data;
A received data buffer for storing the communication data transmitted by the protocol parsing unit; the communication data includes target frame marking information for identifying a target processing unit;
The receiving controller is provided with a fourth connecting end, a fifth connecting end, a sixth connecting end and a seventh connecting end, wherein the fourth connecting end is connected with the corresponding processing unit, the fifth connecting end is connected with the receiving data buffer, and the sixth connecting end is connected with the transmitting controller of the transmitting unit in the current data interaction unit; the receiving controller is configured to send the communication data to a current processing unit for data processing if the target frame tag information is equal to current frame tag information of the current processing unit, or send the communication data to the sending unit in the current data interaction unit if the target frame tag information is not equal to the current frame tag information, so as to send the communication data to the receiving unit in a next data interaction unit through the sending unit in the current data interaction unit until the communication data is transmitted to the target processing unit;
And the watchdog unit is respectively connected with the parallel conversion unit and the seventh connecting end.
2. A communication method of a multi-core system, applied to the multi-core system according to claim 1, the communication method of the multi-core system comprising:
Acquiring a target data frame sent by the sending unit in the last data interaction unit and current frame marking information of the current processing unit, wherein the target data frame comprises target frame marking information for identifying a target processing unit;
If the target frame marking information is equal to the current frame marking information, the target data frame is sent to the current processing unit for data processing;
and if the target frame marking information is not equal to the current frame marking information, transmitting the target data frame to the transmitting unit in the current data interaction unit so as to transmit the target data frame to the receiving unit in the next data interaction unit through the transmitting unit in the current data interaction unit until the target data frame is transmitted to the target processing unit.
3. The communication method of a multi-core system according to claim 2, wherein before the acquisition of the target data frame transmitted by the transmitting unit in the last data interaction unit and the current frame marking information of the current processing unit, the communication method of a multi-core system further comprises:
Acquiring a target diagnosis frame sent by the sending unit in the last data interaction unit, wherein the target diagnosis frame comprises diagnosis identification information, the target diagnosis frame is generated by a host, and the host is any one of a plurality of processing units;
And if the diagnosis identification information is equal to a preset diagnosis value, transmitting the target diagnosis frame to the transmitting unit in the current data interaction unit, so as to transmit the target diagnosis frame to the receiving unit in the next data interaction unit through the transmitting unit in the current data interaction unit until the target diagnosis frame is transmitted to the receiving unit in the data interaction unit corresponding to the host.
4. The communication method of a multi-core system according to claim 3, characterized in that the communication method of a multi-core system further comprises:
if the host computer receives the target diagnosis frame within a preset time period after sending the target diagnosis frame, sending the target data frame to the next data interaction unit;
And if the host computer does not receive the target diagnosis frame within a preset time period after sending the target diagnosis frame, generating a system error reporting signal.
5. The communication method of a multi-core system according to claim 2, characterized in that after said transmitting the target data frame to the transmitting unit in the current data interaction unit, the communication method of a multi-core system further comprises:
The sending unit in the current data interaction unit sends a clock signal to the receiving unit in the next data interaction unit so as to perform clock synchronization;
and the sending unit in the current data interaction unit sends the target data frame to the receiving unit in the next data interaction unit.
6. The communication method of the multi-core system according to claim 5, wherein the transmitting unit in the current data interaction unit transmits the target data frame to the receiving unit in the next data interaction unit, comprising:
Splitting the target data frame into a first data frame and a second data frame by the sending unit in the current data interaction unit;
The first data frame is sent to the receiving unit in the next data interaction unit on the rising edge of the clock signal, and the second data frame is sent to the receiving unit in the next data interaction unit on the falling edge of the clock signal.
7. A control device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the communication method of the multi-core system according to any one of claims 2 to 6 when executing the computer program.
8. A computer-readable storage medium storing computer-executable instructions for performing the communication method of the multi-core system of any one of claims 2 to 6.
CN202411078895.0A 2024-08-07 2024-08-07 Multi-core system, communication method thereof, control device and storage medium Active CN118606257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411078895.0A CN118606257B (en) 2024-08-07 2024-08-07 Multi-core system, communication method thereof, control device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411078895.0A CN118606257B (en) 2024-08-07 2024-08-07 Multi-core system, communication method thereof, control device and storage medium

Publications (2)

Publication Number Publication Date
CN118606257A CN118606257A (en) 2024-09-06
CN118606257B true CN118606257B (en) 2024-11-05

Family

ID=92554154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411078895.0A Active CN118606257B (en) 2024-08-07 2024-08-07 Multi-core system, communication method thereof, control device and storage medium

Country Status (1)

Country Link
CN (1) CN118606257B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521201A (en) * 2011-11-16 2012-06-27 刘大可 Multi-core DSP (digital signal processor) system-on-chip and data transmission method
CN106899472A (en) * 2017-04-19 2017-06-27 广州睿嵌电子技术有限公司 A kind of unidirectional ring network controller and its application method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5728088B2 (en) * 2011-06-29 2015-06-03 株式会社日立製作所 Input / output control device and frame processing method of input / output control device
AU2016259012C1 (en) * 2015-05-07 2022-11-17 Pacific Biosciences Of California, Inc. Multiprocessor pipeline architecture
CN107590100B (en) * 2017-09-06 2020-06-19 北京航天发射技术研究所 A method for inter-core data interaction of multi-core processor
CN112559434B (en) * 2019-09-25 2023-12-08 阿里巴巴集团控股有限公司 Multi-core processor and inter-core data forwarding method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521201A (en) * 2011-11-16 2012-06-27 刘大可 Multi-core DSP (digital signal processor) system-on-chip and data transmission method
CN106899472A (en) * 2017-04-19 2017-06-27 广州睿嵌电子技术有限公司 A kind of unidirectional ring network controller and its application method

Also Published As

Publication number Publication date
CN118606257A (en) 2024-09-06

Similar Documents

Publication Publication Date Title
EP3542276B1 (en) Flow control in remote direct memory access data communications with mirroring of ring buffers
CN117081706B (en) Data sharing method, device and system
CN110708133B (en) Method and device for clock synchronization and time synchronization in system based on FPGA
CN111061338A (en) Method, system and equipment for updating time sequence of baseboard management controller
WO2019109299A1 (en) Memory access technique and computer system
CN112163038B (en) Cross-cluster data synchronization method, device, equipment and storage medium
CN107947888B (en) A kind of task level synchronous method based on network communication
CN113468143A (en) Data migration method, system, computing device and storage medium
CN110121694B (en) Log management method, server and database system
CN110868458B (en) Communication method and device for stable control system
CN112596801B (en) Transaction processing method, device, equipment, storage medium and database
US20210367814A1 (en) Communication method and device based on parallel system, and terminal
CN115963891A (en) Method, apparatus, storage medium, and device for synchronous serial communication delay compensation
CN118606257B (en) Multi-core system, communication method thereof, control device and storage medium
CN109194555B (en) An Improved Small Satellite Data Transmission Subsystem Bus Scheduling System
CN112015458A (en) Device upgrade method, terminal device, electronic device and storage medium
CN114301991A (en) Communication method, apparatus, system, and computer-readable storage medium
CN109241362B (en) Block generation method, device, equipment and storage medium
CN106789495B (en) A single-controller master-slave network bus controller online switching method
CN118656333B (en) Storage device communication architecture, method, system, computer device and storage medium
CN115277285B (en) Communication method, communication device, communication system, and computer-readable storage medium
CN116820867B (en) Chip debugging method and device and chip
CN116489536B (en) Efficient point location acquisition method and device based on modbusRTU protocol communication
CN117573588B (en) Device, method and chip for converting parallel APB protocol into serial SCOM protocol
CN116132552B (en) Cross-clock domain communication transmission method and system based on asynchronous handshake protocol

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