WO2022142919A1 - Multi-chip communication system and method, chip and storage medium - Google Patents

Multi-chip communication system and method, chip and storage medium Download PDF

Info

Publication number
WO2022142919A1
WO2022142919A1 PCT/CN2021/133510 CN2021133510W WO2022142919A1 WO 2022142919 A1 WO2022142919 A1 WO 2022142919A1 CN 2021133510 W CN2021133510 W CN 2021133510W WO 2022142919 A1 WO2022142919 A1 WO 2022142919A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
data
communication
initial
identifier
Prior art date
Application number
PCT/CN2021/133510
Other languages
French (fr)
Chinese (zh)
Inventor
苏岚
顾鹏
Original Assignee
深圳云天励飞技术股份有限公司
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 深圳云天励飞技术股份有限公司 filed Critical 深圳云天励飞技术股份有限公司
Publication of WO2022142919A1 publication Critical patent/WO2022142919A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Abstract

Disclosed in the present invention are a multi-chip communication system and method, a chip and a storage medium. The multi-chip communication system comprises a first chip and at least one second chip in communication with the first chip. The first chip comprises a first communication service module and a first communication management module, and the second chip comprises a second communication service module. The first communication service module is configured to receive a data transmission request sent by the second communication service module, receive a target channel group identifier fed back by the first communication management module and target description information corresponding to the target channel group identifier, determine an initial transmission queue corresponding to a target logic channel identifier as a target transmission queue, transfer data to be transmitted to the target transmission queue, and transmit said data according to the request priority by means of the target transmission queue. According to the present invention, said data is transmitted by means of the target transmission queue, the transmission capability of bottom hardware is fully utilized, and the data transmission efficiency is improved.

Description

多芯片通信系统、方法、芯片及存储介质Multi-chip communication system, method, chip and storage medium 技术领域technical field
本发明涉及通信技术领域,尤其涉及一种多芯片通信系统、方法、芯片及存储介质。The present invention relates to the field of communication technologies, and in particular, to a multi-chip communication system, method, chip and storage medium.
本申请要求于2020年12月31日提交中国专利局,申请号为202011639920.X、发明名称为“多芯片通信系统、方法、芯片及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011639920.X and the invention name "multi-chip communication system, method, chip and storage medium", which was submitted to the China Patent Office on December 31, 2020, the entire content of which is approved by Reference is incorporated in this application.
背景技术Background technique
一个完整的人工智能应用系统往往由多个专门用途的芯片分工协作完成,芯片间存在大量的数据通信,数据通信的性能是影响整个人工智能应用系统性能的重要因素。A complete artificial intelligence application system is often completed by the cooperation of multiple specialized chips. There is a large amount of data communication between chips. The performance of data communication is an important factor affecting the performance of the entire artificial intelligence application system.
现有的方案一般通过网络层协议来实现芯片间数据交通信。虽然,通过网络层协议来实现芯片间数据通信,采用的软件接口使用方便。但是,网络层协议处理的开销不可忽略,无法充分利用底层硬件传输能力,使得整个人工智能应用系统的性能往往受限于芯片之间数据通信的效率。Existing solutions generally implement inter-chip data communication through network layer protocols. Although, the data communication between chips is realized through the network layer protocol, and the software interface adopted is easy to use. However, the overhead of network layer protocol processing cannot be ignored, and the underlying hardware transmission capability cannot be fully utilized, so that the performance of the entire artificial intelligence application system is often limited by the efficiency of data communication between chips.
技术解决方案technical solutions
本发明实施例提供一种多芯片通信系统、方法、芯片及存储介质,以解决芯片之间数据通信的效率低问题。Embodiments of the present invention provide a multi-chip communication system, method, chip and storage medium, so as to solve the problem of low efficiency of data communication between chips.
一种多芯片通信系统,所述多芯片通信系统包括第一芯片和与所述第一芯片通信的至少一个第二芯片,所述第一芯片包括第一通信服务模块和第一通信管理模块;所述第二芯片包括第二通信服务模块;A multi-chip communication system, the multi-chip communication system includes a first chip and at least one second chip communicating with the first chip, the first chip includes a first communication service module and a first communication management module; the second chip includes a second communication service module;
所述第一通信服务模块,用于接收第二通信服务模块发送的数据传输请求,所述数据传输请求包括数据地址、数据属性、数据长度、第二芯片标识和请求优先级;The first communication service module is configured to receive a data transmission request sent by the second communication service module, where the data transmission request includes a data address, a data attribute, a data length, a second chip identification and a request priority;
所述第一通信服务模块,还用于将所述第二芯片标识发送给所述第一通信管理模块,接收所述第一通信管理模块反馈的目标通道组标识和与所述目标通道组标识相对应的目标描述信息;The first communication service module is further configured to send the second chip identification to the first communication management module, and receive the target channel group identification fed back by the first communication management module and the target channel group identification Corresponding target description information;
所述第一通信服务模块,还用于将所述数据长度和所述请求优先级,与所述目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将与所述目标逻辑通道标识相对应的初始传输队列确定为目标传输队列;The first communication service module is further configured to perform matching processing on the target description information corresponding to the data length, the request priority, and the target channel group identifier, obtain the successfully matched target logical channel identifier, and use the The initial transmission queue corresponding to the target logical channel identifier is determined as the target transmission queue;
所述第一通信服务模块,还用于根据所述数据地址和所述数据属性,获取待传输数据,将所述待传输数据搬移到所述目标传输队列上;The first communication service module is further configured to acquire data to be transmitted according to the data address and the data attribute, and move the data to be transmitted to the target transmission queue;
所述第一通信服务模块,还用于依据所述请求优先级,通过所述目标传输队列,将所述待传输数据发送给所述第二通信服务模块。The first communication service module is further configured to send the data to be transmitted to the second communication service module through the target transmission queue according to the request priority.
进一步地,所述第一通信服务模块,还用于根据所述数据地址和所述数据属性,获取与所述数据地址和所述数据属性对应的所述待传输数据,采用预设数据传输策略,将所述待传输数据搬移到所述目标传输队列上。Further, the first communication service module is further configured to obtain the data to be transmitted corresponding to the data address and the data attribute according to the data address and the data attribute, and adopt a preset data transmission strategy , and move the data to be transmitted to the target transmission queue.
进一步地,所述第一通信管理模块用于探测与所述第一芯片相连的所述第二芯片,保存所述第二芯片对应的第二芯片属性,所述第二芯片属性包括第二芯片标识和芯片速率信息;Further, the first communication management module is configured to detect the second chip connected to the first chip, and save a second chip attribute corresponding to the second chip, where the second chip attribute includes the second chip identification and chip rate information;
所述第一通信管理模块,还用于给所述第二芯片分配逻辑通道组标识,将所述逻辑通道组标识与所述第二芯片标识关联;The first communication management module is further configured to assign a logical channel group identifier to the second chip, and associate the logical channel group identifier with the second chip identifier;
所述第一通信管理模块,还用于对所述芯片速率信息进行处理,获取所述第二芯片对应的初始通道描述信息,将所述初始通道描述信息发送给第一通信服务模块,所述初始通道描述信息包括与所述第二芯片标识相对应的初始逻辑通道标识,所述初始逻辑通道标识为所述逻辑通道组标识中的一个;The first communication management module is further configured to process the chip rate information, obtain initial channel description information corresponding to the second chip, and send the initial channel description information to the first communication service module, and the The initial channel description information includes an initial logical channel identifier corresponding to the second chip identifier, and the initial logical channel identifier is one of the logical channel group identifiers;
所述第一通信服务模块,还用于创建与所述初始逻辑通道标识相对应的初始传输队列,将所述初始传输队列存储在芯片缓存中。The first communication service module is further configured to create an initial transmission queue corresponding to the initial logical channel identifier, and store the initial transmission queue in the chip cache.
进一步地,,所述第一通信管理模块,还用于根据预设分配逻辑,生成与所述第二芯片对应的所述逻辑通道组标识;所述第一通信管理模块,还用于将所述逻辑通道组标识与所述第二芯片标识关联。Further, the first communication management module is further configured to generate the logical channel group identifier corresponding to the second chip according to a preset allocation logic; the first communication management module is further configured to The logical channel group identifier is associated with the second chip identifier.
进一步地,所述第一通信管理模块,还用于根据预设优先级策略,确定每一所述速率等级对应的初始逻辑通道标识;所述第一通信管理模块,还用于生成与所述初始逻辑通道标识对应的所述初始通道描述信息,将所述初始通道描述信息发送给所述第一通信服务模块。Further, the first communication management module is further configured to determine an initial logical channel identifier corresponding to each of the rate levels according to a preset priority policy; the first communication management module is further configured to generate a The initial channel description information corresponding to the initial logical channel identifier is sent to the first communication service module.
进一步地,所述第一通信服务模块,还用于建立与所述初始逻辑通道标识相对应的传输服务上下文,所述传输服务上下文用于记录所述初始传输队列的当前状态。Further, the first communication service module is further configured to establish a transmission service context corresponding to the initial logical channel identifier, where the transmission service context is used to record the current state of the initial transmission queue.
一种多芯片通信方法,应用于多芯片通信系统中,所述多芯片通信系统包括第一芯片和与所述第一芯片通信的至少一个第二芯片,所述第一芯片包括第一通信服务模块和第一通信管理模块,所述第二芯片包括第二通信服务模块,所述多芯片通信方法包括:A multi-chip communication method, applied in a multi-chip communication system, the multi-chip communication system comprising a first chip and at least one second chip communicating with the first chip, the first chip comprising a first communication service module and a first communication management module, the second chip includes a second communication service module, and the multi-chip communication method includes:
采用所述第一通信服务模块,接收所述第二通信服务模块发送的数据传输请求,所述数据传输请求包括数据地址、数据属性、数据长度、第二芯片标识和请求优先级;Using the first communication service module to receive a data transmission request sent by the second communication service module, where the data transmission request includes a data address, a data attribute, a data length, a second chip identifier and a request priority;
采用所述第一通信服务模块,将所述第二芯片标识发送给所述第一通信管理模块,接收所述第一通信管理模块反馈的目标通道组标识和与所述目标通道组标识相对应的目标描述信息;Using the first communication service module, sending the second chip identification to the first communication management module, and receiving the target channel group identification fed back by the first communication management module and corresponding to the target channel group identification target description information;
采用所述第一通信服务模块,将所述数据长度和所述请求优先级,与所述目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将芯片缓存中与所述目标逻辑通道标识相对应的初始传输队列确定为目标传输队列;Using the first communication service module, the data length, the request priority, and the target description information corresponding to the target channel group identifier are matched to obtain the successfully matched target logical channel identifier, and the chip cache The initial transmission queue corresponding to the target logical channel identifier is determined as the target transmission queue;
采用所述第一通信服务模块,根据所述数据地址和所述数据属性,获取待传输数据,将所述待传输数据搬移到所述目标传输队列上;Using the first communication service module, obtain the data to be transmitted according to the data address and the data attribute, and move the data to be transmitted to the target transmission queue;
采用所述第一通信服务模块,依据所述请求优先级,通过所述目标传输队列,将所述待传输数据发送给所述第二通信服务模块。Using the first communication service module, according to the request priority, the data to be transmitted is sent to the second communication service module through the target transmission queue.
进一步地,所述采用所述第一通信服务模块,根据所述数据地址和所述数据属性,获取待传输数据,将所述待传输数据搬移到所述目标传输队列上,包括:Further, the use of the first communication service module to obtain data to be transmitted according to the data address and the data attribute, and to move the data to be transmitted to the target transmission queue, includes:
采用所述第一通信服务模块,根据所述数据地址和所述数据属性,获取与所述数据地址和所述数据属性对应的所述待传输数据,采用预设数据传输策略,将所述待传输数据搬移到所述目标传输队列上。Using the first communication service module, according to the data address and the data attribute, the to-be-transmitted data corresponding to the data address and the data attribute is acquired, and a preset data transmission strategy is used to transfer the to-be-transmitted data. The transmission data is moved to the target transmission queue.
进一步地,在所述采用第一通信服务模块,接收处理器发送的数据传输请求之前,还包括所述第一芯片执行的如下步骤:Further, before the first communication service module is used to receive the data transmission request sent by the processor, the following steps performed by the first chip are also included:
采用所述第一通信管理模块,探测与所述芯片相连的第二芯片,保存所述第二芯片对应的第二芯片属性,所述第二芯片属性包括第二芯片标识和芯片速率信息;Using the first communication management module, detecting a second chip connected to the chip, and saving a second chip attribute corresponding to the second chip, where the second chip attribute includes a second chip identifier and chip rate information;
采用所述第一通信管理模块,给所述第二芯片分配逻辑通道组标识,将所述逻辑通道组标识与所述第二芯片标识关联;Using the first communication management module, assigning a logical channel group identifier to the second chip, and associating the logical channel group identifier with the second chip identifier;
采用所述第一通信管理模块,对所述芯片速率信息进行处理,获取所述第二芯片对应的初始通道描述信息,将所述初始通道描述信息发送给第一通信服务模块,所述初始通道描述信息包括与所述第二芯片标识相对应的初始逻辑通道标识,所述初始逻辑通道标识为所述逻辑通道组标识中的一个;Using the first communication management module, the chip rate information is processed, the initial channel description information corresponding to the second chip is obtained, and the initial channel description information is sent to the first communication service module, and the initial channel description information is sent to the first communication service module. The description information includes an initial logical channel identifier corresponding to the second chip identifier, and the initial logical channel identifier is one of the logical channel group identifiers;
采用所述第一通信服务模块,创建与所述初始逻辑通道标识相对应的初始传输队列,将所述初始传输队列存储在芯片缓存中。Using the first communication service module, an initial transmission queue corresponding to the initial logical channel identifier is created, and the initial transmission queue is stored in the chip cache.
进一步地,所述采用所述第一通信管理模块给所述第二芯片分配逻辑通道组标识,将所述逻辑通道组标识与所述第二芯片标识关联,包括:Further, using the first communication management module to assign a logical channel group identifier to the second chip, and associating the logical channel group identifier with the second chip identifier, includes:
采用所述第一通信管理模块,根据预设分配逻辑,生成与所述第二芯片对应的所述逻辑通道组标识;Using the first communication management module to generate the logical channel group identifier corresponding to the second chip according to preset allocation logic;
采用所述第一通信管理模块,将所述逻辑通道组标识与所述第二芯片标识关联。Using the first communication management module, the logical channel group identifier is associated with the second chip identifier.
进一步地,所述芯片速率信息包括至少一个速率等级;Further, the chip rate information includes at least one rate level;
所述采用所述第一通信管理模块,对所述芯片速率信息进行处理,获取所述第二芯片对应的初始通道描述信息,将所述初始通道描述信息发送给第一通信服务模块,包括:The step of using the first communication management module to process the chip rate information, acquiring the initial channel description information corresponding to the second chip, and sending the initial channel description information to the first communication service module, includes:
采用所述第一通信管理模块,根据预设优先级策略,确定每一所述速率等级对应的初始逻辑通道标识;Using the first communication management module, according to a preset priority policy, determine the initial logical channel identifier corresponding to each of the rate levels;
采用所述第一通信管理模块,生成与所述初始逻辑通道标识对应的所述初始通道描述信息,将所述初始通道描述信息发送给所述第一通信服务模块。Using the first communication management module, the initial channel description information corresponding to the initial logical channel identifier is generated, and the initial channel description information is sent to the first communication service module.
进一步地,所述采用所述第一通信服务模块,创建与所述初始逻辑通道标识相对应的初始传输队列,将所述初始传输队列存储在芯片缓存中之后,包括:Further, using the first communication service module to create an initial transmission queue corresponding to the initial logical channel identifier, and storing the initial transmission queue in the chip cache, includes:
采用所述第一通信服务模块,建立与所述初始逻辑通道标识相对应的传输服务上下文,所述传输服务上下文用于记录所述初始传输队列的当前状态。Using the first communication service module, a transmission service context corresponding to the initial logical channel identifier is established, and the transmission service context is used to record the current state of the initial transmission queue.
一种计算机可读存储介质,所述计算机可读存储介质存储有系统通信程序,所述系统通信程序被处理器执行时实现上述多芯片通信方法。A computer-readable storage medium stores a system communication program, and when the system communication program is executed by a processor, realizes the above-mentioned multi-chip communication method.
上述多芯片通信系统、方法、芯片及存储介质,该多芯片通信系统包括第一芯片和与所述第一芯片通信的至少一个第二芯片等硬件,所述第一芯片包括第一通信服务模块和第一通信管理模块;所述第二芯片包括第二通信服务模块。第一通信服务模块,将数据长度和请求优先级,与目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将与目标逻辑通道标识相对应的初始传输队列确定为目标传输队列,然而,初始传输队列又是第一芯片中的第一通信管理模块预先创建的队列,因此,第一通信服务模块这一底层硬件,能够从第一通信管理模块预先创建的队列中快速确定目标传输队列,以提高待传输数据的传输效率。第一通信服务模块依据请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块。可以理解地,第一通信服务模块依据请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块,避免数据访问出现冲突。综上所述,多芯片通信系统通过第一芯片中的第一通信服务模块和第二芯片中的第二通信服务模块,充分利用底层硬件传输能力,提高数据传输效率。The above multi-chip communication system, method, chip and storage medium, the multi-chip communication system includes hardware such as a first chip and at least one second chip that communicates with the first chip, and the first chip includes a first communication service module and a first communication management module; the second chip includes a second communication service module. The first communication service module performs matching processing on the data length, request priority, and target description information corresponding to the target channel group identifier, obtains the successfully matched target logical channel identifier, and matches the initial transmission queue corresponding to the target logical channel identifier. Determined to be the target transmission queue, however, the initial transmission queue is a queue pre-created by the first communication management module in the first chip. Therefore, the underlying hardware of the first communication service module can be pre-created from the first communication management module. The target transmission queue is quickly determined in the queue to improve the transmission efficiency of the data to be transmitted. The first communication service module sends the data to be transmitted to the second communication service module through the target transmission queue according to the request priority. Understandably, the first communication service module sends the data to be transmitted to the second communication service module through the target transmission queue according to the request priority, so as to avoid data access conflicts. To sum up, the multi-chip communication system makes full use of the underlying hardware transmission capability and improves data transmission efficiency through the first communication service module in the first chip and the second communication service module in the second chip.
附图说明Description of drawings
图1是本发明一实施例中多芯片通信系统的一示意图;1 is a schematic diagram of a multi-chip communication system in an embodiment of the present invention;
图2是本发明一实施例中第一芯片的一示意图;2 is a schematic diagram of a first chip in an embodiment of the present invention;
图3是本发明一实施例中多芯片通信方法的一流程图;3 is a flowchart of a multi-chip communication method in an embodiment of the present invention;
图4是本发明一实施例中多芯片通信方法的另一流程图;4 is another flowchart of a multi-chip communication method in an embodiment of the present invention;
图5是本发明一实施例中多芯片通信方法的另一流程图;5 is another flowchart of a multi-chip communication method in an embodiment of the present invention;
图6是本发明一实施例中多芯片通信方法的另一流程图。FIG. 6 is another flowchart of a multi-chip communication method according to an embodiment of the present invention.
本发明的实施方式Embodiments of the present invention
本发明实施例提供的多芯片通信系统,如图1所示多芯片通信系统,包括第一芯片和与第一芯片通信的至少一个第二芯片。第一芯片和第二芯片可以是如图2中所示的芯片,该芯片包括但不限于SoC芯片,或其他系统级芯片。第一芯片,包括第一通信管理模块11和第一通信服务模块12。第一通信管理模块11为第一芯片中的管理模块。第一通信服务模块12为第一芯片中的服务模块。第二芯片包括与第一通信管理模块11相同的第二通信管理模块21和与第一通信服务模块12相同的第二通信服务模块22。第二通信管理模块21为第二芯片中的管理模块。第二通信服务模块22为第二芯片中的服务模块。第一芯片和第二芯片包括但不限于SoC芯片,或其他系统级芯片。A multi-chip communication system provided by an embodiment of the present invention, as shown in FIG. 1 , includes a first chip and at least one second chip that communicates with the first chip. The first chip and the second chip may be chips as shown in FIG. 2 , the chips include but are not limited to SoC chips, or other system-on-chips. The first chip includes a first communication management module 11 and a first communication service module 12 . The first communication management module 11 is a management module in the first chip. The first communication service module 12 is a service module in the first chip. The second chip includes a second communication management module 21 identical to the first communication management module 11 and a second communication service module 22 identical to the first communication service module 12 . The second communication management module 21 is a management module in the second chip. The second communication service module 22 is a service module in the second chip. The first chip and the second chip include, but are not limited to, SoC chips, or other system-on-chips.
在一实施例中,如图1所示,提供一种多芯片通信系统,包括第一芯片和与第一芯片通信的至少一个第二芯片。第一芯片包括第一通信服务模块12和第一通信管理模块11。第二芯片包括第二通信服务模块22:In one embodiment, as shown in FIG. 1 , a multi-chip communication system is provided, including a first chip and at least one second chip in communication with the first chip. The first chip includes a first communication service module 12 and a first communication management module 11 . The second chip includes a second communication service module 22:
第一通信服务模块12,用于接收第二通信服务模块22发送的数据传输请求,数据传输请求包括数据地址、数据属性、数据长度、第二芯片标识和请求优先级。The first communication service module 12 is configured to receive a data transmission request sent by the second communication service module 22, where the data transmission request includes data address, data attribute, data length, second chip identification and request priority.
其中,第一通信服务模块12为芯片中的服务模块。数据传输请求为第二通信服务模块22发送的请求,用于获取待传输数据。待传输数据为数据传输请求所要获取的数据。数据地址为待传输数据对应的地址。数据属性为待传输数据对应的属性。例如,数据属性包括但不限于文本数据和图像数据等。数据长度为待传输数据对应的长度。第二芯片标识为第二芯片对应的标识。请求优先级为第一通信服务模块12对数据传输请求进行处理的优先级。The first communication service module 12 is a service module in the chip. The data transmission request is a request sent by the second communication service module 22 for acquiring the data to be transmitted. The data to be transmitted is the data to be acquired by the data transmission request. The data address is the address corresponding to the data to be transmitted. The data attribute is the attribute corresponding to the data to be transmitted. For example, data attributes include, but are not limited to, text data, image data, and the like. The data length is the length corresponding to the data to be transmitted. The second chip identifier is the identifier corresponding to the second chip. The request priority is the priority at which the first communication service module 12 processes the data transmission request.
作为一示例,芯片采用第一通信服务模块12接收接收第二通信服务模块22发送的数据传输请求。例如,数据传输请求可以是一个或者多个。芯片采用第一通信服务模块12对多个数据传输请求进行处理时,根据每一数据传输请求对应的请求优先级,对请求优先级较高的数据传输请求优先进行处理,避免数据访问出现冲突。As an example, the chip uses the first communication service module 12 to receive and receive the data transmission request sent by the second communication service module 22 . For example, the data transfer request may be one or more. When the chip uses the first communication service module 12 to process multiple data transmission requests, according to the request priority corresponding to each data transmission request, the data transmission request with a higher request priority is preferentially processed to avoid data access conflicts.
第一通信服务模块12,还用于将第二芯片标识发送给第一通信管理模块11,接收第一通信管理模块11反馈的目标通道组标识和与目标通道组标识相对应的目标描述信息。The first communication service module 12 is further configured to send the second chip identification to the first communication management module 11, and receive the target channel group identification and target description information corresponding to the target channel group identification fed back by the first communication management module 11.
其中,目标通道组标识为与第二芯片标识相关联的逻辑通道组对应的标识。逻辑通道组为包括多个逻辑通道的通道组。逻辑通道为芯片通过统计信道复用的方式,按实际的待传输数据的传输需求分配信道带宽,当待传输数据要传输时形成的复用到信道中的子信道。目标描述信息为目标通道组标识相对应信息。例如,目标描述信息包括但不限于多个逻辑通道对应的标识、逻辑通道最大传输块大小、逻辑通道优先级和逻辑通道最大连续传输次数。需要说明的是,逻辑通道对应的标识是逻辑通道标识,一个目标通道组标识可以对应多个逻辑通道标识。The target channel group identifier is an identifier corresponding to the logical channel group associated with the second chip identifier. A logical channel group is a channel group that includes multiple logical channels. The logical channel is a sub-channel multiplexed into the channel formed when the data to be transmitted is to be transmitted, and the channel bandwidth is allocated according to the actual transmission requirements of the data to be transmitted by means of statistical channel multiplexing. The target description information is information corresponding to the target channel group identifier. For example, the target description information includes, but is not limited to, identifiers corresponding to multiple logical channels, the maximum transmission block size of the logical channel, the priority of the logical channel, and the maximum number of consecutive transmissions of the logical channel. It should be noted that the identifier corresponding to the logical channel is the logical channel identifier, and one target channel group identifier may correspond to multiple logical channel identifiers.
作为一示例,芯片采用第一通信服务模块12,将第二芯片标识发送给第一通信管理模块11,接收第一通信管理模块11反馈的目标通道组标识和与目标通道组标识相对应的目标描述信息,以便后续步骤中通过目标通道组标识和目标描述信息确定传输待传输数据的逻辑通道,以充分利用底层硬件传输能力,提高数据传输效率。As an example, the chip adopts the first communication service module 12, sends the second chip identification to the first communication management module 11, and receives the target channel group identification and the target corresponding to the target channel group identification fed back by the first communication management module 11. Description information, so that the logical channel for transmitting the data to be transmitted is determined by the target channel group identifier and the target description information in the subsequent steps, so as to make full use of the transmission capability of the underlying hardware and improve the data transmission efficiency.
第一通信服务模块12,还用于将数据长度和请求优先级,与目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将与目标逻辑通道标识相对应的初始传输队列确定为目标传输队列。The first communication service module 12 is also used to perform matching processing on the target description information corresponding to the data length, the request priority, and the target channel group identifier, and obtain the successfully matched target logical channel identifier, which will correspond to the target logical channel identifier. The initial transmission queue is identified as the target transmission queue.
其中,目标逻辑通道标识为目标描述信息中与数据长度和请求优先级相匹配的逻辑通道标识。初始传输队列为第一通信管理模块11预先在内存储器中缓存的、与目标逻辑通道标识相对应的传输队列。目标传输队列为用于传输待传输数据的初始传输队列。The target logical channel identifier is the logical channel identifier matching the data length and the request priority in the target description information. The initial transmission queue is the transmission queue that is cached in the internal memory in advance by the first communication management module 11 and corresponds to the target logical channel identifier. The target transmission queue is an initial transmission queue for transmitting data to be transmitted.
作为一示例,芯片采用第一通信服务模块12,将数据长度和请求优先级,与目标通道组标识相对应的目标描述信息进行匹配处理,例如,将数据长度和请求优先级,与目标描述信息中的逻辑通道最大传输块大小和逻辑通道优先级进行匹配处理,将目标描述信息中与数据长度和请求优先级相匹配的逻辑通道标识确定为目标逻辑通道标识,并将第一通信管理模块11预先在内存储器中缓存的、与目标逻辑通道标识相对应的传输队列确定为目标传输队列。可以理解地,由于目标传输队列在芯片缓存中,当第一通信服务模块12接收到数据传输请求后,能够快速确定目标传输队列,以利用目标传输队列对待传输数据进行传输,充分利用底层硬件传输能力,提高数据传输效率。As an example, the chip uses the first communication service module 12 to match the data length and request priority with the target description information corresponding to the target channel group identifier. For example, the data length and request priority are matched with the target description information. The maximum transmission block size of the logical channel and the priority of the logical channel are matched, and the logical channel identifier that matches the data length and the request priority in the target description information is determined as the target logical channel identifier, and the first communication management module 11 The transmission queue that is cached in the internal memory in advance and corresponding to the target logical channel identifier is determined as the target transmission queue. Understandably, since the target transmission queue is in the chip cache, when the first communication service module 12 receives the data transmission request, it can quickly determine the target transmission queue, so as to use the target transmission queue to transmit the data to be transmitted, and make full use of the underlying hardware transmission. ability to improve data transmission efficiency.
第一通信服务模块12,还用于根据数据地址和数据属性,获取待传输数据,将待传输数据搬移到目标传输队列上。The first communication service module 12 is further configured to acquire the data to be transmitted according to the data address and the data attribute, and move the to-be-transmitted data to the target transmission queue.
其中,目标传输队列为目标逻辑通道标识对应的传输队列。The target transmission queue is the transmission queue corresponding to the target logical channel identifier.
作为一示例,芯片采用第一通信服务模块12,根据数据传输请求中的数据地址和数据属性,从第二芯片标识对应的芯片中获取对应的待传输数据。并将待传输数据搬移到目标传输队列上,通过目标传输队列进行传输。As an example, the chip adopts the first communication service module 12 to obtain the corresponding data to be transmitted from the chip corresponding to the second chip identifier according to the data address and data attribute in the data transmission request. The data to be transmitted is moved to the target transmission queue, and transmitted through the target transmission queue.
第一通信服务模块12,还用于依据请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块22。The first communication service module 12 is further configured to send the data to be transmitted to the second communication service module 22 through the target transmission queue according to the request priority.
作为一示例,为了避免数据访问出现冲突,芯片采用第一通信服务模块12,依据数据传输请求中的请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块22,以实现第一芯片与第二芯片之间的待传输数据的传输,提高数据传输效率。As an example, in order to avoid conflicts in data access, the chip uses the first communication service module 12 to send the data to be transmitted to the second communication service module 22 through the target transmission queue according to the request priority in the data transmission request, so as to achieve The transmission of the data to be transmitted between the first chip and the second chip improves the data transmission efficiency.
在本实施例中,该多芯片通信系统包括第一芯片和与所述第一芯片通信的至少一个第二芯片等硬件,所述第一芯片包括第一通信服务模块12;所述第二芯片包括第二通信服务模块22。第一通信服务模块12,将数据长度和请。求优先级,与目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将与目标逻辑通道标识相对应的初始传输队列确定为目标传输队列,然而,初始传输队列又是第一芯片中的第一通信管理模块11预先创建的队列,因此,第一通信服务模块12这一底层硬件,能够从第一通信管理模块11预先创建的队列中快速确定目标传输队列,以提高待传输数据的传输效率。第一通信服务模块12依据请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块22。可以理解地,第一通信服务模块12依据请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块22,避免数据访问出现冲突。综上所述,多芯片通信系统通过第一芯片中的第一通信服务模块12和第二芯片中的第二通信服务模块22,充分利用底层硬件传输能力,提高数据传输效率。In this embodiment, the multi-chip communication system includes hardware such as a first chip and at least one second chip that communicates with the first chip, the first chip includes a first communication service module 12; the second chip A second communication service module 22 is included. The first communication service module 12 sends the data length and request. The priority is obtained, the target description information corresponding to the target channel group identifier is matched, and the target logical channel identifier that matches successfully is obtained, and the initial transmission queue corresponding to the target logical channel identifier is determined as the target transmission queue. However, the initial transmission queue The queue is again a queue pre-created by the first communication management module 11 in the first chip. Therefore, the underlying hardware of the first communication service module 12 can quickly determine the target transmission queue from the queue pre-created by the first communication management module 11 , to improve the transmission efficiency of the data to be transmitted. The first communication service module 12 sends the data to be transmitted to the second communication service module 22 through the target transmission queue according to the request priority. Understandably, the first communication service module 12 sends the data to be transmitted to the second communication service module 22 through the target transmission queue according to the request priority, so as to avoid data access conflicts. To sum up, the multi-chip communication system makes full use of the underlying hardware transmission capability and improves data transmission efficiency through the first communication service module 12 in the first chip and the second communication service module 22 in the second chip.
可以理解,在其它实施方式中,每一第二芯片可以作为第一芯片,第一芯片也可以作为第二芯片。It can be understood that, in other embodiments, each second chip can be used as a first chip, and the first chip can also be used as a second chip.
在一实施例中,第一通信服务模块12,还用于根据数据地址和数据属性,获取与数据地址和数据属性对应的待传输数据,采用预设数据传输策略,将待传输数据搬移到目标传输队列上。In one embodiment, the first communication service module 12 is further configured to obtain data to be transmitted corresponding to the data address and data attribute according to the data address and data attribute, and to move the data to be transmitted to the target by adopting a preset data transmission strategy. on the transmission queue.
其中,预设数据传输策略为预先预置的待传输数据传输方式。例如,采用DMA(Direct Memory Access,直接存储器访问,简称DMA)对待传输数据进行传输,或者采用预设数据拷贝程序对待传输数据进行传输。优选地,预设数据传输策略可以的采用DMA对待传输数据进行传输,由于DMA允许不同数据传输速率的芯片进行数据传输,而不需要依赖于芯片的处理器中断大量负载,能够提高芯片数据传输性能。The preset data transmission strategy is a preset transmission mode of data to be transmitted. For example, DMA (Direct Memory Access, direct memory access, DMA for short) is used to transmit the data to be transmitted, or a preset data copy program is used to transmit the data to be transmitted. Preferably, the preset data transmission strategy can use DMA to transmit the data to be transmitted, because DMA allows chips with different data transmission rates to transmit data without relying on the processor of the chip to interrupt a large amount of load, which can improve the data transmission performance of the chip .
本实施例中,第一通信服务模块12,还用于根据数据地址和数据属性,获取与数据地址和数据属性对应的待传输数据,采用预设数据传输策略,将待传输数据搬移到目标传输队列上,能够提高芯片数据传输性能。In this embodiment, the first communication service module 12 is further configured to acquire data to be transmitted corresponding to the data address and data attribute according to the data address and data attribute, and to move the to-be-transmitted data to the target transmission by adopting a preset data transmission strategy On the queue, it can improve the data transmission performance of the chip.
在一实施例中,第一通信管理模块11,还用于探测与芯片相连的第二芯片,保存第二芯片对应的第二芯片属性,第二芯片属性包括第二芯片标识和芯片速率信息;In one embodiment, the first communication management module 11 is further configured to detect the second chip connected to the chip, and save the second chip attribute corresponding to the second chip, and the second chip attribute includes the second chip identification and the chip speed information;
其中,第二芯片为与第一芯片相连的芯片。第二芯片可以是一个或者多个。第二芯片属性为第二芯片对应的属性,包括但不限于第二芯片标识和芯片速率信息。第二芯片标识为第二芯片上的标识。芯片速率信息为第二芯片传输速率的信息。例如,芯片速率信息包括但不限于数据传输速率和速率等级。速率等级为数据传输速率对应的等级。The second chip is a chip connected to the first chip. The second chip may be one or more. The second chip attribute is the attribute corresponding to the second chip, including but not limited to the second chip identification and chip speed information. The second chip identification is the identification on the second chip. The chip rate information is information of the transmission rate of the second chip. For example, chip rate information includes, but is not limited to, data transfer rate and rate class. The rate class is the class corresponding to the data transmission rate.
作为一示例,在数据传输过程之前,芯片采用第一通信管理模块11探测与芯片相连的第二芯片,保存每一第二芯片对应的第二芯片属性,也即是,第二芯片标识和芯片速率信息,以便在后续步骤中对针对不同第二芯片属性的芯片确定对应的数据传输方式,提高数据传输效率。As an example, before the data transmission process, the chip uses the first communication management module 11 to detect the second chips connected to the chip, and saves the second chip attributes corresponding to each second chip, that is, the second chip identifier and the chip rate information, so as to determine corresponding data transmission modes for chips with different second chip attributes in subsequent steps, so as to improve data transmission efficiency.
第一通信管理模块11,还用于给第二芯片分配逻辑通道组标识,将逻辑通道组标识与第二芯片标识关联。The first communication management module 11 is further configured to assign a logical channel group identifier to the second chip, and associate the logical channel group identifier with the second chip identifier.
其中,逻辑通道组标识为给第二芯片分配的逻辑通道组对应的标识。 具体地,芯片采用第一通信管理模块11,给每一第二芯片分配对应的逻辑通道组标识,将逻辑通道组标识与第二芯片标识关联。可以理解地,由于每一逻辑通道组标识包括多个逻辑通道标识,第一通信管理模块11将逻辑通道组标识与第二芯片标识关联后,第一通信管理模块11可以根据第二芯片标识对应的第二芯片属性,并为第二芯片分配与第二芯片标识和芯片速率信息对应的逻辑通道标识,如此,芯片能够采用第一通信服务模块12,根据逻辑通道标识对应的逻辑通道,对第二芯片标识对应芯片发送的数据传输请求进行处理,提高数据传输效率。The logical channel group identifier is an identifier corresponding to the logical channel group allocated to the second chip. Specifically, the chip adopts the first communication management module 11, assigns a corresponding logical channel group identifier to each second chip, and associates the logical channel group identifier with the second chip identifier. Understandably, since each logical channel group identifier includes multiple logical channel identifiers, after the first communication management module 11 associates the logical channel group identifier with the second chip identifier, the first communication management module 11 can correspond to the second chip identifier according to the first communication management module 11. the second chip attribute, and assign the second chip a logical channel identifier corresponding to the second chip identifier and the chip rate information. In this way, the chip can use the first communication service module 12, according to the logical channel corresponding to the logical channel identifier, to the second chip. The second chip identification is processed corresponding to the data transmission request sent by the chip to improve the data transmission efficiency.
第一通信管理模块11,还用于对芯片速率信息进行处理,获取第二芯片对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块12,初始通道描述信息包括与第二芯片标识相对应的初始逻辑通道标识,初始逻辑通道标识为逻辑通道组标识中的一个。The first communication management module 11 is further configured to process the chip rate information, obtain the initial channel description information corresponding to the second chip, and send the initial channel description information to the first communication service module 12. The initial logical channel identifier corresponding to the chip identifier, and the initial logical channel identifier is one of the logical channel group identifiers.
其中,初始通道描述信息为逻辑通道组标识对应的描述信息。例如,初始通道描述信息包括但不限于多个逻辑通道对应的标识、逻辑通道最大传输块大小、逻辑通道优先级和逻辑通道最大连续传输次数。初始逻辑通道标识为逻辑通道对应的标识。需要说明的是,一个逻辑通道组标识可以包括多个逻辑通道标识。The initial channel description information is description information corresponding to the logical channel group identifier. For example, the initial channel description information includes, but is not limited to, identifiers corresponding to multiple logical channels, the maximum transmission block size of the logical channel, the priority of the logical channel, and the maximum number of consecutive transmissions of the logical channel. The initial logical channel identifier is the identifier corresponding to the logical channel. It should be noted that one logical channel group identifier may include multiple logical channel identifiers.
作为一示例,芯片采用第一通信管理模块11对芯片速率信息进行处理,获取第二芯片对应的初始通道描述信息,例如,芯片采用第一通信管理模块11对数据传输速率和速率等级进行处理,获取第二芯片对应的逻辑通道标识、逻辑通道最大传输块大小、逻辑通道优先级和逻辑通道最大连续传输次数。芯片采用第一通信管理模块11将初始通道描述信息发送给第一通信服务模块12,以使第一通信服务模块12能够根据数据传输请求中的数据长度和请求优先级,获取目标逻辑通道标识,将芯片缓存中与目标逻辑通道标识相对应的初始传输队列确定为目标传输队列,通过目标传输队列对待传输数据进行传输。As an example, the chip uses the first communication management module 11 to process the chip rate information, and obtains the initial channel description information corresponding to the second chip. For example, the chip uses the first communication management module 11 to process the data transmission rate and rate level, Obtain the logical channel identifier corresponding to the second chip, the maximum transmission block size of the logical channel, the priority of the logical channel, and the maximum number of consecutive transmissions of the logical channel. The chip adopts the first communication management module 11 to send the initial channel description information to the first communication service module 12, so that the first communication service module 12 can obtain the target logical channel identifier according to the data length and request priority in the data transmission request, The initial transmission queue corresponding to the target logical channel identifier in the chip cache is determined as the target transmission queue, and the data to be transmitted is transmitted through the target transmission queue.
第一通信服务模块12,还用于创建与初始逻辑通道标识相对应的初始传输队列,将初始传输队列存储在芯片缓存中。The first communication service module 12 is further configured to create an initial transmission queue corresponding to the initial logical channel identifier, and store the initial transmission queue in the chip cache.
其中,初始传输队列为与初始逻辑通道标识相对应队列。The initial transmission queue is a queue corresponding to the initial logical channel identifier.
作为一示例,芯片采用第一通信服务模块12创建与初始逻辑通道标识相对应的初始传输队列,将初始传输队列存储在芯片缓存中,以使第一通信服务模块12接收到数据传输请求后,能够快速确定目标传输队列,以快速地对待传输数据进行传输,充分利用底层硬件传输能力,提高数据传输效率。As an example, the chip uses the first communication service module 12 to create an initial transmission queue corresponding to the initial logical channel identifier, and stores the initial transmission queue in the chip cache, so that after the first communication service module 12 receives the data transmission request, It can quickly determine the target transmission queue to quickly transmit the data to be transmitted, make full use of the underlying hardware transmission capability, and improve the data transmission efficiency.
在本实施例中,第一通信管理模块11,用于探测与芯片相连的第二芯片,保存第二芯片对应的第二芯片属性,第二芯片属性包括第二芯片标识和芯片速率信息,以便在后续步骤中对针对不同第二芯片属性的芯片确定对应的数据传输方式,提高数据传输效率;第一通信管理模块11,还用于给第二芯片分配逻辑通道组标识,将逻辑通道组标识与第二芯片标识关联,以使芯片能够采用第一通信服务模块12根据逻辑通道标识对应的逻辑通道对第二芯片标识对应芯片发送的数据传输请求进行处理,提高数据传输效率;第一通信管理模块11,还用于对芯片速率信息进行处理,获取第二芯片对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块12,初始通道描述信息包括与第二芯片标识相对应的初始逻辑通道标识,初始逻辑通道标识为逻辑通道组标识中的一个;第一通信服务模块12,还用于创建与初始逻辑通道标识相对应的初始传输队列,将初始传输队列存储在芯片缓存中,以快速地对待传输数据进行传输,充分利用底层硬件传输能力,提高数据传输效率。In this embodiment, the first communication management module 11 is used to detect the second chip connected to the chip, and save the second chip attribute corresponding to the second chip, and the second chip attribute includes the second chip identification and the chip speed information, so as to In the subsequent steps, corresponding data transmission modes are determined for chips with different attributes of the second chip to improve data transmission efficiency; the first communication management module 11 is further configured to assign a logical channel group identifier to the second chip, and assign the logical channel group identifier to the second chip. Associated with the second chip identification, so that the chip can use the first communication service module 12 to process the data transmission request sent by the chip corresponding to the second chip identification according to the logical channel corresponding to the logical channel identification, so as to improve the data transmission efficiency; the first communication management The module 11 is further configured to process the chip rate information, obtain the initial channel description information corresponding to the second chip, and send the initial channel description information to the first communication service module 12. The initial channel description information includes the identifier corresponding to the second chip. The initial logical channel identifier, the initial logical channel identifier is one of the logical channel group identifiers; the first communication service module 12 is also used to create an initial transmission queue corresponding to the initial logical channel identifier, and store the initial transmission queue in the chip cache. In order to quickly transmit the data to be transmitted, make full use of the underlying hardware transmission capability and improve the data transmission efficiency.
在一实施例中,第一通信管理模块11,还用于根据预设分配逻辑,生成与第二芯片对应的逻辑通道组标识;第一通信管理模块11,还用于将逻辑通道组标识与第二芯片标识关联。In one embodiment, the first communication management module 11 is further configured to generate a logical channel group identifier corresponding to the second chip according to the preset allocation logic; the first communication management module 11 is further configured to associate the logical channel group identifier with the logical channel group identifier. The second chip identifies the association.
其中,预设分配逻辑为生成与第二芯片对应的逻辑通道组标识的逻辑。例如,预设分配逻辑可以是根据探测第二芯片标识的顺序给第二芯片分配逻辑通道组标识。或者,根据用户自定义设置标识给第二芯片分配逻辑通道组标识,便于用户对芯片进行管理。The preset allocation logic is logic for generating a logical channel group identifier corresponding to the second chip. For example, the preset allocation logic may be to allocate the logical channel group identifier to the second chip according to the sequence of detecting the identifier of the second chip. Alternatively, the logical channel group identifier is allocated to the second chip according to the user-defined setting identifier, so as to facilitate the user to manage the chip.
作为一示例,芯片采用第一通信管理模块11,将逻辑通道组标识与第二芯片标识关联,例如,将逻辑通道组标识与第二芯片标识对应存储到传输服务上下文中。其中,传输服务上下文为芯片数据通信过程中的所有通信信息的集合。如此,第一通信服务模块12传输服务上下文,获取逻辑通道标识对应的第二芯片标识,并对第二芯片标识对应的芯片发送的数据传输请求进行处理,提高数据传输效率。As an example, the chip uses the first communication management module 11 to associate the logical channel group identifier with the second chip identifier, for example, store the logical channel group identifier and the second chip identifier in the transmission service context correspondingly. Wherein, the transmission service context is a collection of all communication information in the process of chip data communication. In this way, the first communication service module 12 transmits the service context, obtains the second chip identifier corresponding to the logical channel identifier, and processes the data transmission request sent by the chip corresponding to the second chip identifier, thereby improving data transmission efficiency.
在本实施例中,第一通信管理模块11,还用于根据预设分配逻辑,生成与第二芯片对应的逻辑通道组标识;第一通信管理模块11,还用于将逻辑通道组标识与第二芯片标识关联,以使第一通信服务模块12根据传输服务上下文,获取逻辑通道标识对应的第二芯片标识,并对第二芯片标识对应的芯片发送的数据传输请求进行处理,提高数据传输效率。In this embodiment, the first communication management module 11 is further configured to generate a logical channel group identifier corresponding to the second chip according to the preset allocation logic; the first communication management module 11 is further configured to associate the logical channel group identifier with the The second chip identification is associated, so that the first communication service module 12 obtains the second chip identification corresponding to the logical channel identification according to the transmission service context, and processes the data transmission request sent by the chip corresponding to the second chip identification, so as to improve data transmission. efficiency.
在一实施例中,第一通信管理模块11,还用于根据预设优先级策略,确定每一速率等级对应的初始逻辑通道标识;第一通信管理模块11,还用于生成与初始逻辑通道标识对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块12。In one embodiment, the first communication management module 11 is further configured to determine an initial logical channel identifier corresponding to each rate level according to a preset priority policy; the first communication management module 11 is further configured to generate a corresponding initial logical channel The corresponding initial channel description information is identified, and the initial channel description information is sent to the first communication service module 12 .
其中,预设优先级策略为用户自定义的第二芯片对应的请求优先级顺序。例如,为每一速率等级分配一个逻辑通道标识,同一速率等级可以设置多个请求优先级。一个速率等级的一个请求优先级对应的逻辑通道分配一个逻辑通道标识,请求优先级是用户自定义配置的,可以配置一个,也可以配置多个,根据用户实际需要求配置。The preset priority policy is a user-defined request priority order corresponding to the second chip. For example, a logical channel identifier is assigned to each rate level, and multiple request priorities can be set for the same rate level. A logical channel corresponding to a request priority of a rate class is assigned a logical channel identifier. The request priority is user-defined configuration, and one or more can be configured according to the actual needs of the user.
作为一示例,芯片采用第一通信管理模块11,根据预设优先级策略,确定每一速率等级对应的初始逻辑通道标识,并生成与初始逻辑通道标识对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块12,请求优先级较大的第二芯片发送数据传输请求优先进行处理,避免数据访问出现冲突。As an example, the chip uses the first communication management module 11 to determine the initial logical channel identifier corresponding to each rate level according to the preset priority policy, and generates initial channel description information corresponding to the initial logical channel identifier, and describes the initial channel The information is sent to the first communication service module 12, and the second chip with a higher priority is requested to send a data transmission request for processing first, so as to avoid data access conflicts.
在本实施例中,第一通信管理模块11,还用于根据预设优先级策略,确定每一速率等级对应的初始逻辑通道标识;第一通信管理模块11,还用于生成与初始逻辑通道标识对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块12,将初始通道描述信息发送给第一通信服务模块12,避免数据访问出现冲突,提高数据传输的可靠性。In this embodiment, the first communication management module 11 is further configured to determine the initial logical channel identifier corresponding to each rate level according to the preset priority policy; the first communication management module 11 is further configured to generate a corresponding initial logical channel Identify the corresponding initial channel description information, send the initial channel description information to the first communication service module 12, and send the initial channel description information to the first communication service module 12, so as to avoid conflicts in data access and improve the reliability of data transmission.
在一实施例中,第一通信服务模块12,还用于建立与初始逻辑通道标识相对应的传输服务上下文,传输服务上下文用于记录初始传输队列的当前状态。In an embodiment, the first communication service module 12 is further configured to establish a transmission service context corresponding to the initial logical channel identifier, and the transmission service context is used to record the current state of the initial transmission queue.
作为一示例,芯片采用第一通信服务模块12,建立与初始逻辑通道标识相对应的传输服务上下文,传输服务上下文用于记录初始传输队列的当前状态。例如,芯片根据第一通信服务模块12的请求分配最合适的初始传输队列,并标记该初始逻辑通道标识和初始传输队列为占用状态。当待传输数据传输完成后,更改初始逻辑通道标识和初始传输队列为空闲状态。As an example, the chip uses the first communication service module 12 to establish a transmission service context corresponding to the initial logical channel identifier, and the transmission service context is used to record the current state of the initial transmission queue. For example, the chip allocates the most appropriate initial transmission queue according to the request of the first communication service module 12, and marks the initial logical channel identifier and the initial transmission queue as occupied. When the transmission of the data to be transmitted is completed, the initial logical channel identifier and the initial transmission queue are changed to an idle state.
在本实施例中,第一通信服务模块12,还用于建立与初始逻辑通道标识相对应的传输服务上下文,传输服务上下文用于记录初始传输队列的当前状态,便于芯片采用第一通信服务模块12对初始逻辑通道标识和初始传输队列进行关联,提到数据传输效率。In this embodiment, the first communication service module 12 is further configured to establish a transmission service context corresponding to the initial logical channel identifier, and the transmission service context is used to record the current state of the initial transmission queue, which is convenient for the chip to use the first communication service module 12 Associating the initial logical channel identifier with the initial transmission queue, mentioning the data transmission efficiency.
在一实施例中,如图3所示,提供一种多芯片通信方法,应用于图1所示的多芯片通信系统中,多芯片通信系统包括第一芯片和与第一芯片通信的至少一个第二芯片,第一芯片包括第一通信服务模块和第一通信管理模块,第二芯片包括第二通信服务模块。以该方法应用在图2中的第一芯片为例进行说明,在数据传输过程中,包括第一芯片执行的如下步骤:In one embodiment, as shown in FIG. 3, a multi-chip communication method is provided, which is applied to the multi-chip communication system shown in The second chip, the first chip includes a first communication service module and a first communication management module, and the second chip includes a second communication service module. Taking the method applied to the first chip in FIG. 2 as an example, the data transmission process includes the following steps performed by the first chip:
S11:采用第一通信服务模块,接收第二通信服务模块发送的数据传输请求,数据传输请求包括数据地址、数据属性、数据长度、第二芯片标识和请求优先级。S11: Adopt the first communication service module to receive a data transmission request sent by the second communication service module, where the data transmission request includes data address, data attribute, data length, second chip identification and request priority.
作为一示例,芯片采用第一通信服务模块接收第二通信服务模块发送的数据传输请求。例如,数据传输请求可以是一个或者多个。芯片采用第一通信服务模块对多个数据传输请求进行处理时,根据每一数据传输请求对应的请求优先级,对请求优先级较高的数据传输请求优先进行处理,避免数据访问出现冲突。As an example, the chip uses the first communication service module to receive the data transmission request sent by the second communication service module. For example, the data transfer request may be one or more. When the chip uses the first communication service module to process multiple data transmission requests, according to the request priority corresponding to each data transmission request, the data transmission request with a higher request priority is preferentially processed to avoid data access conflicts.
S12:采用第一通信服务模块,将第二芯片标识发送给第一通信管理模块,接收第一通信管理模块反馈的目标通道组标识和与目标通道组标识相对应的目标描述信息。S12: Using the first communication service module, send the second chip identification to the first communication management module, and receive the target channel group identification and target description information corresponding to the target channel group identification fed back by the first communication management module.
作为一示例,芯片采用第一通信服务模块,将第二芯片标识发送给第一通信管理模块,接收第一通信管理模块反馈的目标通道组标识和与目标通道组标识相对应的目标描述信息,以便后续步骤中通过目标通道组标识和目标描述信息确定传输待传输数据的逻辑通道,以充分利用底层硬件传输能力,提高数据传输效率。As an example, the chip adopts the first communication service module, sends the second chip identification to the first communication management module, and receives the target channel group identification and target description information corresponding to the target channel group identification fed back by the first communication management module, In the subsequent steps, the logical channel for transmitting the data to be transmitted is determined by the target channel group identifier and the target description information, so as to make full use of the transmission capability of the underlying hardware and improve the data transmission efficiency.
S13:采用第一通信服务模块,将数据长度和请求优先级,与目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将芯片缓存中与目标逻辑通道标识相对应的初始传输队列确定为目标传输队列。S13: Using the first communication service module, perform matching processing on the data length, request priority, and target description information corresponding to the target channel group identifier, obtain the successfully matched target logical channel identifier, and match the target logical channel identifier in the chip cache with the target logical channel identifier. The corresponding initial transmission queue is determined as the target transmission queue.
作为一示例,芯片采用第一通信服务模块,将数据长度和请求优先级,与目标通道组标识相对应的目标描述信息进行匹配处理,例如,将数据长度和请求优先级,与目标描述信息中的逻辑通道最大传输块大小和逻辑通道优先级进行匹配处理,将目标描述信息中与数据长度和请求优先级相匹配的逻辑通道标识确定为目标逻辑通道标识,并将第一通信管理模块预先在内存储器中缓存的、与目标逻辑通道标识相对应的传输队列确定为目标传输队列。可以理解地,由于目标传输队列在芯片缓存中,当第一通信服务模块接收到数据传输请求后,能够快速确定目标传输队列,以利用目标传输队列对待传输数据进行传输,充分利用底层硬件传输能力,提高数据传输效率。As an example, the chip adopts the first communication service module, and performs matching processing on the data length and request priority with the target description information corresponding to the target channel group identifier. For example, the data length and request priority are matched with the target description information. The maximum transmission block size of the logical channel and the priority of the logical channel are matched, the logical channel identifier matching the data length and the request priority in the target description information is determined as the target logical channel identifier, and the first communication management module The transmission queue cached in the internal memory and corresponding to the target logical channel identifier is determined as the target transmission queue. Understandably, since the target transmission queue is in the chip cache, when the first communication service module receives the data transmission request, it can quickly determine the target transmission queue, so as to use the target transmission queue to transmit the data to be transmitted, and make full use of the underlying hardware transmission capability. , improve data transmission efficiency.
S14:采用第一通信服务模块,根据数据地址和数据属性,获取待传输数据,将待传输数据搬移到目标传输队列上。S14: Using the first communication service module, obtain the data to be transmitted according to the data address and the data attribute, and move the to-be-transmitted data to the target transmission queue.
作为一示例,芯片采用第一通信服务模块,根据数据传输请求中的数据地址和数据属性,从第二芯片标识对应的芯片中获取对应的待传输数据。并将待传输数据搬移到目标传输队列上,通过目标传输队列进行传输。As an example, the chip adopts the first communication service module, and obtains the corresponding data to be transmitted from the chip corresponding to the second chip identifier according to the data address and data attribute in the data transmission request. The data to be transmitted is moved to the target transmission queue, and transmitted through the target transmission queue.
S15:采用第一通信服务模块,依据请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块。S15: Using the first communication service module, according to the request priority, the data to be transmitted is sent to the second communication service module through the target transmission queue.
作为一示例,为了避免数据访问出现冲突,芯片采用第一通信服务模块,依据数据传输请求中的请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块,提高数据传输效率。As an example, in order to avoid conflicts in data access, the chip uses the first communication service module to send the data to be transmitted to the second communication service module through the target transmission queue according to the request priority in the data transmission request, so as to improve the data transmission efficiency .
在本实施例中,芯片采用第一通信服务模块,接收第二通信服务模块发送的数据传输请求,数据传输请求包括数据地址、数据属性、数据长度、第二芯片标识和请求优先级;采用第一通信服务模块,将第二芯片标识发送给第一通信管理模块,接收第一通信管理模块反馈的目标通道组标识和与目标通道组标识相对应的目标描述信息,以便后续步骤中通过目标通道组标识和目标描述信息确定传输待传输数据的逻辑通道,以充分利用底层硬件传输能力;采用第一通信服务模块,将数据长度和请求优先级,与目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将芯片缓存中与目标逻辑通道标识相对应的初始传输队列确定为目标传输队列,能够快速确定目标传输队列,以快速地对待传输数据进行传输,采用第一通信服务模块,根据数据地址和数据属性,获取待传输数据,将待传输数据搬移到目标传输队列上,采用第一通信服务模块,依据请求优先级,通过目标传输队列,将待传输数据发送给第二通信服务模块,充分利用底层硬件传输能力,同时,提高数据传输效率。In this embodiment, the chip adopts the first communication service module to receive the data transmission request sent by the second communication service module, and the data transmission request includes data address, data attribute, data length, second chip identification and request priority; A communication service module, sending the second chip identification to the first communication management module, and receiving the target channel group identification and target description information corresponding to the target channel group identification fed back by the first communication management module, so that the target channel can be passed in the subsequent steps. The group identifier and the target description information determine the logical channel for transmitting the data to be transmitted, so as to make full use of the underlying hardware transmission capability; using the first communication service module, the data length and request priority, and the target description information corresponding to the target channel group identifier are processed. Matching processing, obtaining the target logical channel identifier that matches successfully, and determining the initial transmission queue corresponding to the target logical channel identifier in the chip cache as the target transmission queue, which can quickly determine the target transmission queue to transmit the data to be transmitted quickly. The first communication service module obtains the data to be transmitted according to the data address and data attribute, moves the data to be transmitted to the target transmission queue, and uses the first communication service module to pass the target transmission queue according to the priority of the request. Send to the second communication service module, make full use of the underlying hardware transmission capability, and at the same time improve the data transmission efficiency.
在一实施例中,步骤S14中,采用第一通信服务模块,根据数据地址和数据属性,获取待传输数据,将待传输数据搬移到目标传输队列上,包括:采用第一通信服务模块,根据数据地址和数据属性,获取与数据地址和数据属性对应的待传输数据,采用预设数据传输策略,将待传输数据搬移到目标传输队列上。In one embodiment, in step S14, adopting the first communication service module, obtaining the data to be transmitted according to the data address and the data attribute, and moving the data to be transmitted to the target transmission queue, including: adopting the first communication service module, according to the Data address and data attribute, obtain the data to be transmitted corresponding to the data address and data attribute, and use a preset data transmission strategy to move the to-be-transmitted data to the target transmission queue.
作为一示例,采用DMA(Direct Memory Access,直接存储器访问,简称DMA)对待传输数据进行传输,或者采用预设数据拷贝程序对待传输数据进行传输。优选地,预设数据传输策略可以的采用DMA对待传输数据进行传输,由于DMA允许不同数据传输速率的芯片进行数据传输,而不需要依赖于芯片的处理器中断大量负载,能够提高芯片数据传输性能。As an example, DMA (Direct Memory Access, direct memory access, DMA for short) is used to transmit the data to be transmitted, or a preset data copy program is used to transmit the data to be transmitted. Preferably, the preset data transmission strategy can use DMA to transmit the data to be transmitted, because DMA allows chips with different data transmission rates to transmit data without relying on the processor of the chip to interrupt a large amount of load, which can improve the data transmission performance of the chip .
本实施例中,芯片采用第一通信服务模块,根据数据地址和数据属性,获取与数据地址和数据属性对应的待传输数据,采用预设数据传输策略,将待传输数据搬移到目标传输队列上,能够提高芯片数据传输性能。In this embodiment, the chip adopts the first communication service module, obtains the data to be transmitted corresponding to the data address and data attribute according to the data address and data attribute, and adopts a preset data transmission strategy to move the to-be-transmitted data to the target transmission queue , which can improve the data transmission performance of the chip.
在一实施例中,如图4所示,在所述采用第一通信服务模块,接收处理器发送的数据传输请求之前,,包括第一芯片执行的如下步骤:In one embodiment, as shown in FIG. 4 , before the first communication service module is used to receive the data transmission request sent by the processor, the following steps are performed by the first chip:
S21:采用第一通信管理模块,探测与芯片相连的第二芯片,保存第二芯片对应的第二芯片属性,第二芯片属性包括第二芯片标识和芯片速率信息。S21: Use the first communication management module to detect the second chip connected to the chip, and save the second chip attribute corresponding to the second chip, where the second chip attribute includes the second chip identification and the chip speed information.
作为一示例,在数据传输过程之前,芯片采用第一通信管理模块探测与芯片相连的第二芯片,保存每一第二芯片对应的第二芯片属性,也即是,第二芯片标识和芯片速率信息,以便在后续步骤中对针对不同第二芯片属性的芯片确定对应的数据传输方式,提高数据传输效率。As an example, before the data transmission process, the chip uses the first communication management module to detect the second chips connected to the chip, and saves the second chip attributes corresponding to each second chip, that is, the second chip ID and the chip speed information, so as to determine the corresponding data transmission mode for chips with different second chip attributes in subsequent steps, so as to improve the data transmission efficiency.
S22:采用第一通信管理模块,给第二芯片分配逻辑通道组标识,将逻辑通道组标识与第二芯片标识关联。S22: Using the first communication management module, assign a logical channel group identifier to the second chip, and associate the logical channel group identifier with the second chip identifier.
具体地,由于每一逻辑通道组标识包括多个逻辑通道标识,第一通信管理模块将逻辑通道组标识与第二芯片标识关联后,第一通信管理模块可以根据第二芯片标识对应的第二芯片属性,并为第二芯片分配与第二芯片标识和芯片速率信息对应的逻辑通道标识,如此,芯片能够采用第一通信服务模块,根据逻辑通道标识对应的逻辑通道,对第二芯片标识对应芯片发送的数据传输请求进行处理,提高数据传输效率。Specifically, since each logical channel group identifier includes multiple logical channel identifiers, after the first communication management module associates the logical channel group identifier with the second chip identifier, the first communication management module can The chip attribute is assigned to the second chip, and the logical channel identifier corresponding to the second chip identifier and the chip rate information is allocated to the second chip. In this way, the chip can use the first communication service module, according to the logical channel corresponding to the logical channel identifier, to the second chip identifier. The data transmission request sent by the chip is processed to improve the data transmission efficiency.
S23:采用第一通信管理模块,对芯片速率信息进行处理,获取第二芯片对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块,初始通道描述信息包括与第二芯片标识相对应的初始逻辑通道标识,初始逻辑通道标识为逻辑通道组标识中的一个。S23: Use the first communication management module to process the chip rate information, obtain initial channel description information corresponding to the second chip, and send the initial channel description information to the first communication service module, where the initial channel description information includes the identifier of the second chip The corresponding initial logical channel identifier, the initial logical channel identifier is one of the logical channel group identifiers.
作为一示例,芯片采用第一通信管理模块对芯片速率信息进行处理,获取第二芯片对应的初始通道描述信息,例如,芯片采用第一通信管理模块对数据传输速率和速率等级进行处理,获取第二芯片对应的逻辑通道标识、逻辑通道最大传输块大小、逻辑通道优先级和逻辑通道最大连续传输次数。芯片采用第一通信管理模块将初始通道描述信息发送给第一通信服务模块,以使第一通信服务模块能够根据数据传输请求中的数据长度和请求优先级,获取目标逻辑通道标识,将芯片缓存中与目标逻辑通道标识相对应的初始传输队列确定为目标传输队列,通过目标传输队列对待传输数据进行传输。As an example, the chip uses the first communication management module to process the chip rate information, and obtains initial channel description information corresponding to the second chip. For example, the chip uses the first communication management module to process the data transmission rate and rate level, and obtains the first communication management module. The logical channel identifiers corresponding to the two chips, the maximum transmission block size of the logical channel, the priority of the logical channel, and the maximum number of consecutive transmissions of the logical channel. The chip uses the first communication management module to send the initial channel description information to the first communication service module, so that the first communication service module can obtain the target logical channel identifier according to the data length and request priority in the data transmission request, and cache the chip. The initial transmission queue corresponding to the target logical channel identifier is determined as the target transmission queue, and the data to be transmitted is transmitted through the target transmission queue.
S24:采用第一通信服务模块,创建与初始逻辑通道标识相对应的初始传输队列,将初始传输队列存储在芯片缓存中。S24: Using the first communication service module, create an initial transmission queue corresponding to the initial logical channel identifier, and store the initial transmission queue in the chip cache.
作为一示例,芯片采用第一通信服务模块创建与初始逻辑通道标识相对应的初始传输队列,将初始传输队列存储在芯片缓存中,以使第一通信服务模块接收到数据传输请求后,能够快速确定目标传输队列,以快速地对待传输数据进行传输,充分利用底层硬件传输能力,提高数据传输效率。As an example, the chip uses the first communication service module to create an initial transmission queue corresponding to the initial logical channel identifier, and stores the initial transmission queue in the chip cache, so that after the first communication service module receives the data transmission request, it can quickly Determine the target transmission queue to transmit the data to be transmitted quickly, make full use of the underlying hardware transmission capability, and improve the data transmission efficiency.
在本实施例中,芯片采用第一通信管理模块探测与芯片相连的第二芯片,保存第二芯片对应的第二芯片属性,第二芯片属性包括第二芯片标识和芯片速率信息,以便在后续步骤中对针对不同第二芯片属性的芯片确定对应的数据传输方式,提高数据传输效率;采用第一通信管理模块给第二芯片分配逻辑通道组标识,将逻辑通道组标识与第二芯片标识关联,以使芯片能够采用第一通信服务模块根据逻辑通道标识对应的逻辑通道对第二芯片标识对应芯片发送的数据传输请求进行处理,提高数据传输效率;采用第一通信管理模块对芯片速率信息进行处理,获取第二芯片对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块,初始通道描述信息包括与第二芯片标识相对应的初始逻辑通道标识,初始逻辑通道标识为逻辑通道组标识中的一个,采用第一通信服务模块创建与初始逻辑通道标识相对应的初始传输队列,将初始传输队列存储在芯片缓存中,以快速地对待传输数据进行传输,充分利用底层硬件传输能力,提高数据传输效率。In this embodiment, the chip uses the first communication management module to detect the second chip connected to the chip, and saves the second chip attribute corresponding to the second chip. In the step, the corresponding data transmission mode is determined for chips with different second chip attributes, so as to improve the data transmission efficiency; the first communication management module is used to assign a logical channel group identifier to the second chip, and the logical channel group identifier is associated with the second chip identifier. , so that the chip can use the first communication service module to process the data transmission request sent by the chip corresponding to the second chip identification according to the logical channel corresponding to the logical channel identification, so as to improve the data transmission efficiency; use the first communication management module to process the chip rate information. Process, obtain the initial channel description information corresponding to the second chip, and send the initial channel description information to the first communication service module, where the initial channel description information includes the initial logical channel identifier corresponding to the second chip identifier, and the initial logical channel identifier is logical One of the channel group identifiers, the first communication service module is used to create an initial transmission queue corresponding to the initial logical channel identifier, and the initial transmission queue is stored in the chip cache to transmit the data to be transmitted quickly and make full use of the underlying hardware transmission. ability to improve data transmission efficiency.
在一实施例中,如图5所示,在步骤S22中,采用第一通信管理模块,给第二芯片分配逻辑通道组标识,将逻辑通道组标识与第二芯片标识关联,包括:In one embodiment, as shown in FIG. 5 , in step S22, a first communication management module is used to assign a logical channel group identifier to the second chip, and to associate the logical channel group identifier with the second chip identifier, including:
S31:采用第一通信管理模块,根据预设分配逻辑,生成与第二芯片对应的逻辑通道组标识。S31: Using the first communication management module, according to the preset allocation logic, generate a logical channel group identifier corresponding to the second chip.
S32:采用第一通信管理模块,将逻辑通道组标识与第二芯片标识关联。S32: Using the first communication management module, associate the logical channel group identifier with the second chip identifier.
作为一示例,芯片采用第一通信管理模块,将逻辑通道组标识与第二芯片标识关联,例如,将逻辑通道组标识与第二芯片标识对应存储到传输服务上下文中。其中,传输服务上下文为芯片数据通信过程中的所有通信信息的集合。如此,第一通信服务模块传输服务上下文,获取逻辑通道标识对应的第二芯片标识,并对第二芯片标识对应的芯片发送的数据传输请求进行处理,提高数据传输效率。As an example, the chip uses the first communication management module to associate the logical channel group identifier with the second chip identifier, for example, stores the logical channel group identifier and the second chip identifier in the transmission service context correspondingly. Wherein, the transmission service context is a collection of all communication information in the process of chip data communication. In this way, the first communication service module transmits the service context, obtains the second chip identifier corresponding to the logical channel identifier, and processes the data transmission request sent by the chip corresponding to the second chip identifier, thereby improving data transmission efficiency.
在本实施例中,芯片采用第一通信管理模块,根据预设分配逻辑,生成与第二芯片对应的逻辑通道组标识;采用第一通信管理模块,将逻辑通道组标识与第二芯片标识关联,以使第一通信服务模块根据传输服务上下文,获取逻辑通道标识对应的第二芯片标识,并对第二芯片标识对应的芯片发送的数据传输请求进行处理,提高数据传输效率。In this embodiment, the chip adopts the first communication management module, and generates the logical channel group identifier corresponding to the second chip according to the preset allocation logic; the first communication management module is used to associate the logical channel group identifier with the second chip identifier , so that the first communication service module obtains the second chip identification corresponding to the logical channel identification according to the transmission service context, and processes the data transmission request sent by the chip corresponding to the second chip identification, so as to improve the data transmission efficiency.
在一实施例中,如图6所示,芯片速率信息包括至少一个速率等级;在步骤S23中,采用第一通信管理模块,对芯片速率信息进行处理,获取第二芯片对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块,初始通道描述信息包括与第二芯片标识相对应的初始逻辑通道标识,初始逻辑通道标识为逻辑通道组标识中的一个,包括:In one embodiment, as shown in FIG. 6 , the chip rate information includes at least one rate level; in step S23, the first communication management module is used to process the chip rate information to obtain the initial channel description information corresponding to the second chip. , send the initial channel description information to the first communication service module, the initial channel description information includes the initial logical channel identifier corresponding to the second chip identifier, and the initial logical channel identifier is one of the logical channel group identifiers, including:
S41:采用第一通信管理模块,根据预设优先级策略,确定每一速率等级对应的初始逻辑通道标识。S41: Using the first communication management module, according to a preset priority policy, determine the initial logical channel identifier corresponding to each rate level.
S42:采用第一通信管理模块,生成与初始逻辑通道标识对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块。S42: Use the first communication management module to generate initial channel description information corresponding to the initial logical channel identifier, and send the initial channel description information to the first communication service module.
作为一示例,芯片采用第一通信管理模块,根据预设优先级策略,确定每一速率等级对应的初始逻辑通道标识,并生成与初始逻辑通道标识对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块,请求优先级较大的第二芯片发送数据传输请求优先进行处理,避免数据访问出现冲突。As an example, the chip adopts the first communication management module, determines the initial logical channel identifier corresponding to each rate level according to the preset priority policy, generates initial channel description information corresponding to the initial logical channel identifier, and converts the initial channel description information It is sent to the first communication service module to request the second chip with a higher priority to send a data transmission request to be processed first, so as to avoid data access conflicts.
在本实施例中,芯片采用第一通信管理模块,根据预设优先级策略,确定每一速率等级对应的初始逻辑通道标识;采用第一通信管理模块,生成与初始逻辑通道标识对应的初始通道描述信息,将初始通道描述信息发送给第一通信服务模块,避免数据访问出现冲突,提高数据传输的可靠性。In this embodiment, the chip uses a first communication management module to determine an initial logical channel identifier corresponding to each rate level according to a preset priority policy; and uses the first communication management module to generate an initial channel corresponding to the initial logical channel identifier description information, and send the initial channel description information to the first communication service module, so as to avoid conflicts in data access and improve the reliability of data transmission.
在一实施例中,在步骤S24之后,在采用第一通信服务模块创建与初始逻辑通道标识相对应的初始传输队列,将初始传输队列存储在芯片缓存中之后,包括:采用第一通信服务模块,建立与初始逻辑通道标识相对应的传输服务上下文,传输服务上下文用于记录初始传输队列的当前状态。In one embodiment, after step S24, after using the first communication service module to create an initial transmission queue corresponding to the initial logical channel identifier, and storing the initial transmission queue in the chip cache, the method includes: using the first communication service module , establishes a transmission service context corresponding to the initial logical channel identifier, and the transmission service context is used to record the current state of the initial transmission queue.
作为一示例,芯片采用第一通信服务模块,建立与初始逻辑通道标识相对应的传输服务上下文,传输服务上下文用于记录初始传输队列的当前状态。例如,芯片根据第一通信服务模块的请求分配最合适的初始传输队列,并标记该初始逻辑通道标识和初始传输队列为占用状态。当待传输数据传输完成后,更改初始逻辑通道标识和初始传输队列为空闲状态。As an example, the chip uses the first communication service module to establish a transmission service context corresponding to the initial logical channel identifier, and the transmission service context is used to record the current state of the initial transmission queue. For example, the chip allocates the most appropriate initial transmission queue according to the request of the first communication service module, and marks the initial logical channel identifier and the initial transmission queue as occupied. When the transmission of the data to be transmitted is completed, the initial logical channel identifier and the initial transmission queue are changed to an idle state.
在本实施例中,芯片采用第一通信服务模块,建立与初始逻辑通道标识相对应的传输服务上下文,传输服务上下文用于记录初始传输队列的当前状态,便于芯片采用第一通信服务模块对初始逻辑通道标识和初始传输队列进行关联,提到数据传输效率。In this embodiment, the chip uses the first communication service module to establish a transmission service context corresponding to the initial logical channel identifier, and the transmission service context is used to record the current state of the initial transmission queue, which is convenient for the chip to use the first communication service module for initial The logical channel identifier is associated with the initial transmission queue, and the data transmission efficiency is mentioned.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
在一个实施例中,提供了一种芯片,该芯片可以是包括但不限于SoC芯片,或其他系统级芯片,其内部结构图可以如图2所示。该芯片包括通过系统总线连接的处理器、存储器、网络接口、多个第一通信管理模块11和多个第一通信服务模块12。其中,该芯片的处理器用于提供计算和控制能力。该芯片的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有计算机程序和数据库,所述计算机程序包括操作系统程序和系统通信程序。该内存储器为非易失性存储介质中的操作系统程序和系统通信程序的运行提供环境。该芯片的数据库用于存储多芯片通信过程中传输的数据。该芯片的网络接口用于与外部的终端通过网络连接通信。该系统通信程序被处理器执行时以实现一种多芯片通信方法。In one embodiment, a chip is provided, and the chip may include, but is not limited to, a SoC chip, or other system-on-chip, and its internal structure diagram may be as shown in FIG. 2 . The chip includes a processor, a memory, a network interface, a plurality of first communication management modules 11 and a plurality of first communication service modules 12 connected through a system bus. Among them, the chip's processor is used to provide computing and control capabilities. The memory of the chip includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores a computer program and a database, and the computer program includes an operating system program and a system communication program. The internal memory provides an environment for the operation of the operating system program and the system communication program in the non-volatile storage medium. The chip's database is used to store data transmitted during multi-chip communication. The chip's network interface is used to communicate with external terminals through a network connection. The system communication program implements a multi-chip communication method when executed by the processor.
在一个实施例中,提供了一种芯片,包括存储器、第一通信管理模块11、第一通信服务模块12、处理器及存储在存储器上并可在处理器上运行的系统通信程序,处理器执行系统通信程序时实现多芯片通信系统这一实施例中的第一通信管理模块11和第一通信服务模块12的功能,为避免重复,这里不再赘述。或者,处理器执行系统通信程序时实现上述实施例中多芯片通信方法,例如步骤S11至步骤S15,为避免重复,这里不再赘述。In one embodiment, a chip is provided, including a memory, a first communication management module 11, a first communication service module 12, a processor, and a system communication program stored in the memory and running on the processor, the processor The functions of the first communication management module 11 and the first communication service module 12 in this embodiment of the multi-chip communication system are implemented when the system communication program is executed, and to avoid repetition, details are not repeated here. Alternatively, when the processor executes the system communication program, the multi-chip communication method in the above-mentioned embodiment is implemented, for example, steps S11 to S15, which are not repeated here to avoid repetition.
在一实施例中,提供一计算机可读存储介质,该计算机可读存储介质上存储有系统通信程序,该系统通信程序被处理器执行时实现上述多芯片通信系统这一实施例中的各模块/单元的功能,例如第一通信管理模块11和第一通信服务模块12,为避免重复,这里不再赘述。或者,该系统通信程序被处理器执行时实现上述实施例中多芯片通信方法,例如步骤S11至步骤S15,为避免重复,这里不再赘述。In one embodiment, a computer-readable storage medium is provided, and a system communication program is stored on the computer-readable storage medium. When the system communication program is executed by a processor, each module in this embodiment of the above-mentioned multi-chip communication system is implemented. The functions of the /units, such as the first communication management module 11 and the first communication service module 12, are not repeated here to avoid repetition. Alternatively, when the system communication program is executed by the processor, the multi-chip communication method in the above embodiment is implemented, for example, steps S11 to S15, which are not repeated here to avoid repetition.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过系统通信程序来指令相关的硬件来完成,所述的系统通信程序可存储于一非易失性计算机可读取存储介质中,该系统通信程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink) DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing the relevant hardware through a system communication program, and the system communication program can be stored in a non-volatile computer readable In the storage medium, when the system communication program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM) and so on.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated to different functional units, Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.

Claims (13)

  1. 一种多芯片通信系统,其特征在于,所述多芯片通信系统包括第一芯片和与所述第一芯片通信的至少一个第二芯片,所述第一芯片包括第一通信服务模块和第一通信管理模块;所述第二芯片包括第二通信服务模块;A multi-chip communication system, characterized in that the multi-chip communication system includes a first chip and at least one second chip that communicates with the first chip, the first chip includes a first communication service module and a first a communication management module; the second chip includes a second communication service module;
    所述第一通信服务模块,用于接收第二通信服务模块发送的数据传输请求,所述数据传输请求包括数据地址、数据属性、数据长度、第二芯片标识和请求优先级;The first communication service module is configured to receive a data transmission request sent by the second communication service module, where the data transmission request includes a data address, a data attribute, a data length, a second chip identification and a request priority;
    所述第一通信服务模块,还用于将所述第二芯片标识发送给所述第一通信管理模块,接收所述第一通信管理模块反馈的目标通道组标识和与所述目标通道组标识相对应的目标描述信息;The first communication service module is further configured to send the second chip identification to the first communication management module, and receive the target channel group identification fed back by the first communication management module and the target channel group identification Corresponding target description information;
    所述第一通信服务模块,还用于将所述数据长度和所述请求优先级,与所述目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将与所述目标逻辑通道标识相对应的初始传输队列确定为目标传输队列;The first communication service module is further configured to perform matching processing on the target description information corresponding to the data length, the request priority, and the target channel group identifier, obtain the successfully matched target logical channel identifier, and use the The initial transmission queue corresponding to the target logical channel identifier is determined as the target transmission queue;
    所述第一通信服务模块,还用于根据所述数据地址和所述数据属性,获取待传输数据,将所述待传输数据搬移到所述目标传输队列上;The first communication service module is further configured to acquire data to be transmitted according to the data address and the data attribute, and move the data to be transmitted to the target transmission queue;
    所述第一通信服务模块,还用于依据所述请求优先级,通过所述目标传输队列,将所述待传输数据发送给所述第二通信服务模块。The first communication service module is further configured to send the data to be transmitted to the second communication service module through the target transmission queue according to the request priority.
  2. 如权利要求1所述的多芯片通信系统,其特征在于,所述第一通信服务模块,还用于根据所述数据地址和所述数据属性,获取与所述数据地址和所述数据属性对应的所述待传输数据,采用预设数据传输策略,将所述待传输数据搬移到所述目标传输队列上。The multi-chip communication system according to claim 1, wherein the first communication service module is further configured to, according to the data address and the data attribute, obtain information corresponding to the data address and the data attribute The data to be transmitted is moved to the target transmission queue by adopting a preset data transmission strategy.
  3. 如权利要求1所述的多芯片通信系统,其特征在于,所述第一通信管理模块还用于探测与所述第一芯片相连的所述第二芯片,保存所述第二芯片对应的第二芯片属性,所述第二芯片属性包括第二芯片标识和芯片速率信息;The multi-chip communication system according to claim 1, wherein the first communication management module is further configured to detect the second chip connected to the first chip, and save the second chip corresponding to the second chip. Two chip attributes, the second chip attributes include second chip identification and chip speed information;
    所述第一通信管理模块,还用于给所述第二芯片分配逻辑通道组标识,将所述逻辑通道组标识与所述第二芯片标识关联;The first communication management module is further configured to assign a logical channel group identifier to the second chip, and associate the logical channel group identifier with the second chip identifier;
    所述第一通信管理模块,还用于对所述芯片速率信息进行处理,获取所述第二芯片对应的初始通道描述信息,将所述初始通道描述信息发送给第一通信服务模块,所述初始通道描述信息包括与所述第二芯片标识相对应的初始逻辑通道标识,所述初始逻辑通道标识为所述逻辑通道组标识中的一个;The first communication management module is further configured to process the chip rate information, obtain initial channel description information corresponding to the second chip, and send the initial channel description information to the first communication service module, and the The initial channel description information includes an initial logical channel identifier corresponding to the second chip identifier, and the initial logical channel identifier is one of the logical channel group identifiers;
    所述第一通信服务模块,还用于创建与所述初始逻辑通道标识相对应的初始传输队列,将所述初始传输队列存储在芯片缓存中。The first communication service module is further configured to create an initial transmission queue corresponding to the initial logical channel identifier, and store the initial transmission queue in the chip cache.
  4. 如权利要求3所述的多芯片通信系统,其特征在于,所述第一通信管理模块,还用于根据预设分配逻辑,生成与所述第二芯片对应的所述逻辑通道组标识;所述第一通信管理模块,还用于将所述逻辑通道组标识与所述第二芯片标识关联。The multi-chip communication system according to claim 3, wherein the first communication management module is further configured to generate the logical channel group identifier corresponding to the second chip according to preset allocation logic; the The first communication management module is further configured to associate the logical channel group identifier with the second chip identifier.
  5. 如权利要求3所述的多芯片通信系统,其特征在于,所述第一通信管理模块,还用于根据预设优先级策略,确定每一所述速率等级对应的初始逻辑通道标识;所述第一通信管理模块,还用于生成与所述初始逻辑通道标识对应的所述初始通道描述信息,将所述初始通道描述信息发送给所述第一通信服务模块。The multi-chip communication system according to claim 3, wherein the first communication management module is further configured to determine an initial logical channel identifier corresponding to each of the rate levels according to a preset priority policy; the The first communication management module is further configured to generate the initial channel description information corresponding to the initial logical channel identifier, and send the initial channel description information to the first communication service module.
  6. 如权利要求3所述的多芯片通信系统,其特征在于,所述第一通信服务模块,还用于建立与所述初始逻辑通道标识相对应的传输服务上下文,所述传输服务上下文用于记录所述初始传输队列的当前状态。The multi-chip communication system according to claim 3, wherein the first communication service module is further configured to establish a transmission service context corresponding to the initial logical channel identifier, and the transmission service context is used for recording The current state of the initial transmit queue.
  7. 一种多芯片通信方法,其特征在于,应用于多芯片通信系统中,所述多芯片通信系统包括第一芯片和与所述第一芯片通信的至少一个第二芯片,所述第一芯片包括第一通信服务模块和第一通信管理模块,所述第二芯片包括第二通信服务模块,所述多芯片通信方法包括:A multi-chip communication method, characterized by being applied to a multi-chip communication system, the multi-chip communication system comprising a first chip and at least one second chip communicating with the first chip, the first chip comprising A first communication service module and a first communication management module, the second chip includes a second communication service module, and the multi-chip communication method includes:
    采用所述第一通信服务模块,接收所述第二通信服务模块发送的数据传输请求,所述数据传输请求包括数据地址、数据属性、数据长度、第二芯片标识和请求优先级;Using the first communication service module to receive a data transmission request sent by the second communication service module, where the data transmission request includes a data address, a data attribute, a data length, a second chip identifier and a request priority;
    采用所述第一通信服务模块,将所述第二芯片标识发送给所述第一通信管理模块,接收所述第一通信管理模块反馈的目标通道组标识和与所述目标通道组标识相对应的目标描述信息;Using the first communication service module, sending the second chip identification to the first communication management module, and receiving the target channel group identification fed back by the first communication management module and corresponding to the target channel group identification target description information;
    采用所述第一通信服务模块,将所述数据长度和所述请求优先级,与所述目标通道组标识相对应的目标描述信息进行匹配处理,获取匹配成功的目标逻辑通道标识,将芯片缓存中与所述目标逻辑通道标识相对应的初始传输队列确定为目标传输队列;Using the first communication service module, the data length, the request priority, and the target description information corresponding to the target channel group identifier are matched to obtain the successfully matched target logical channel identifier, and the chip cache The initial transmission queue corresponding to the target logical channel identifier is determined as the target transmission queue;
    采用所述第一通信服务模块,根据所述数据地址和所述数据属性,获取待传输数据,将所述待传输数据搬移到所述目标传输队列上;Using the first communication service module, obtain the data to be transmitted according to the data address and the data attribute, and move the data to be transmitted to the target transmission queue;
    采用所述第一通信服务模块,依据所述请求优先级,通过所述目标传输队列,将所述待传输数据发送给所述第二通信服务模块。Using the first communication service module, according to the request priority, the data to be transmitted is sent to the second communication service module through the target transmission queue.
  8. 如权利要求7所述的多芯片通信方法,其特征在于,所述采用所述第一通信服务模块,根据所述数据地址和所述数据属性,获取待传输数据,将所述待传输数据搬移到所述目标传输队列上,包括:The multi-chip communication method according to claim 7, wherein the first communication service module is used to acquire the data to be transmitted according to the data address and the data attribute, and move the data to be transmitted to the target transmission queue, including:
    采用所述第一通信服务模块,根据所述数据地址和所述数据属性,获取与所述数据地址和所述数据属性对应的所述待传输数据,采用预设数据传输策略,将所述待传输数据搬移到所述目标传输队列上。Using the first communication service module, according to the data address and the data attribute, the to-be-transmitted data corresponding to the data address and the data attribute is acquired, and a preset data transmission strategy is used to transfer the to-be-transmitted data. The transmission data is moved to the target transmission queue.
  9. 如权利要求7所述的多芯片通信方法,其特征在于,在所述采用第一通信服务模块,接收处理器发送的数据传输请求之前,还包括所述第一芯片执行的如下步骤:The multi-chip communication method according to claim 7, characterized in that, before the first communication service module is used to receive the data transmission request sent by the processor, the method further comprises the following steps performed by the first chip:
    采用所述第一通信管理模块,探测与所述芯片相连的第二芯片,保存所述第二芯片对应的第二芯片属性,所述第二芯片属性包括第二芯片标识和芯片速率信息;Using the first communication management module, detecting a second chip connected to the chip, and saving a second chip attribute corresponding to the second chip, where the second chip attribute includes a second chip identifier and chip rate information;
    采用所述第一通信管理模块,给所述第二芯片分配逻辑通道组标识,将所述逻辑通道组标识与所述第二芯片标识关联;Using the first communication management module, assigning a logical channel group identifier to the second chip, and associating the logical channel group identifier with the second chip identifier;
    采用所述第一通信管理模块,对所述芯片速率信息进行处理,获取所述第二芯片对应的初始通道描述信息,将所述初始通道描述信息发送给第一通信服务模块,所述初始通道描述信息包括与所述第二芯片标识相对应的初始逻辑通道标识,所述初始逻辑通道标识为所述逻辑通道组标识中的一个;Using the first communication management module, the chip rate information is processed, the initial channel description information corresponding to the second chip is obtained, and the initial channel description information is sent to the first communication service module, and the initial channel description information is sent to the first communication service module. The description information includes an initial logical channel identifier corresponding to the second chip identifier, and the initial logical channel identifier is one of the logical channel group identifiers;
    采用所述第一通信服务模块,创建与所述初始逻辑通道标识相对应的初始传输队列,将所述初始传输队列存储在芯片缓存中。Using the first communication service module, an initial transmission queue corresponding to the initial logical channel identifier is created, and the initial transmission queue is stored in the chip cache.
  10. 如权利要求9的多芯片通信方法,其特征在于,所述采用所述第一通信管理模块给所述第二芯片分配逻辑通道组标识,将所述逻辑通道组标识与所述第二芯片标识关联,包括:The multi-chip communication method according to claim 9, wherein the first communication management module is used to assign a logical channel group identifier to the second chip, and the logical channel group identifier is associated with the second chip identifier. associations, including:
    采用所述第一通信管理模块,根据预设分配逻辑,生成与所述第二芯片对应的所述逻辑通道组标识;Using the first communication management module to generate the logical channel group identifier corresponding to the second chip according to preset allocation logic;
    采用所述第一通信管理模块,将所述逻辑通道组标识与所述第二芯片标识关联。Using the first communication management module, the logical channel group identifier is associated with the second chip identifier.
  11. 如权利要求9的多芯片通信方法,其特征在于,所述芯片速率信息包括至少一个速率等级;The multi-chip communication method of claim 9, wherein the chip rate information includes at least one rate level;
    所述采用所述第一通信管理模块,对所述芯片速率信息进行处理,获取所述第二芯片对应的初始通道描述信息,将所述初始通道描述信息发送给第一通信服务模块,包括:The step of using the first communication management module to process the chip rate information, acquiring the initial channel description information corresponding to the second chip, and sending the initial channel description information to the first communication service module, includes:
    采用所述第一通信管理模块,根据预设优先级策略,确定每一所述速率等级对应的初始逻辑通道标识;Using the first communication management module, according to a preset priority policy, determine the initial logical channel identifier corresponding to each of the rate levels;
    采用所述第一通信管理模块,生成与所述初始逻辑通道标识对应的所述初始通道描述信息,将所述初始通道描述信息发送给所述第一通信服务模块。Using the first communication management module, the initial channel description information corresponding to the initial logical channel identifier is generated, and the initial channel description information is sent to the first communication service module.
  12. 如权利要求9所述的多芯片通信方法,其特征在于,所述采用所述第一通信服务模块,创建与所述初始逻辑通道标识相对应的初始传输队列,将所述初始传输队列存储在芯片缓存中之后,包括:The multi-chip communication method according to claim 9, wherein the first communication service module is used to create an initial transmission queue corresponding to the initial logical channel identifier, and the initial transmission queue is stored in a After the chip cache, including:
    采用所述第一通信服务模块,建立与所述初始逻辑通道标识相对应的传输服务上下文,所述传输服务上下文用于记录所述初始传输队列的当前状态。Using the first communication service module, a transmission service context corresponding to the initial logical channel identifier is established, and the transmission service context is used to record the current state of the initial transmission queue.
  13. 一种芯片,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的系统通信程序,其特征在于,所述处理器执行所述系统通信程序时实现如权利要求7至12任一项所述多芯片通信方法。A chip comprising a memory, a processor, and a system communication program stored in the memory and running on the processor, wherein the processor implements the system communication program as claimed in claim 7 when the processor executes the system communication program The multi-chip communication method described in any one of to 12.
    一种计算机可读存储介质,所述计算机可读存储介质存储有系统通信程序,其特征在于,所述系统通信程序被处理器执行时实现如权利要求7至12任一项所述多芯片通信方法。A computer-readable storage medium storing a system communication program, characterized in that, when the system communication program is executed by a processor, the multi-chip communication according to any one of claims 7 to 12 is implemented method.
      
PCT/CN2021/133510 2020-12-31 2021-11-26 Multi-chip communication system and method, chip and storage medium WO2022142919A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011639920.X 2020-12-31
CN202011639920.XA CN112822124B (en) 2020-12-31 2020-12-31 Multi-chip communication system, method, chip and storage medium

Publications (1)

Publication Number Publication Date
WO2022142919A1 true WO2022142919A1 (en) 2022-07-07

Family

ID=75858073

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/133510 WO2022142919A1 (en) 2020-12-31 2021-11-26 Multi-chip communication system and method, chip and storage medium

Country Status (2)

Country Link
CN (1) CN112822124B (en)
WO (1) WO2022142919A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115600539A (en) * 2022-11-10 2023-01-13 上海威固信息技术股份有限公司(Cn) Chip packaging modular design method and system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116583B (en) * 2021-11-17 2022-08-26 德力西(杭州)变频器有限公司 Serial communication method of double chips and system with double chips
CN114297130A (en) * 2021-12-28 2022-04-08 深圳云天励飞技术股份有限公司 Data transmission processing method in chip system and related device
CN115291812B (en) * 2022-09-30 2023-01-13 北京紫光青藤微系统有限公司 Data storage method and device of communication chip
CN116841929B (en) * 2023-08-29 2024-01-02 北京紫光芯能科技有限公司 Method and device for transmitting data, electronic equipment and storage medium
CN116866883B (en) * 2023-09-05 2023-11-24 中国兵器装备集团兵器装备研究所 Method and system for improving timeliness of data transmission

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878203A (en) * 2015-12-11 2017-06-20 中国航空工业集团公司西安航空计算技术研究所 For the fast-forwarding circuit and method of FC exchanger chips
CN106941484A (en) * 2017-01-23 2017-07-11 斑马信息科技有限公司 The multi-chip communication protocol system and its method of internet automobile
US20190363717A1 (en) * 2018-05-25 2019-11-28 Xilinx, Inc. Multi-chip structure having configurable network-on-chip
US10698825B1 (en) * 2019-03-12 2020-06-30 Arm Limited Inter-chip communication in a multi-chip system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636949B2 (en) * 2000-06-10 2003-10-21 Hewlett-Packard Development Company, L.P. System for handling coherence protocol races in a scalable shared memory system based on chip multiprocessing
US8782485B2 (en) * 2012-01-19 2014-07-15 International Business Machines Corporation Hierarchical channel marking in a memory system
US9946674B2 (en) * 2016-04-28 2018-04-17 Infineon Technologies Ag Scalable multi-core system-on-chip architecture on multiple dice for high end microcontroller
CN107920025B (en) * 2017-11-20 2021-09-14 北京工业大学 Dynamic routing method for CPU-GPU heterogeneous network on chip
CN109039949B (en) * 2018-07-24 2021-11-09 合肥工业大学 Dynamic wireless medium access control method based on priority in wireless network on chip
CN110413536B (en) * 2019-06-12 2021-12-31 北京空间飞行器总体设计部 High-speed parallel NandFlash storage device with multiple data formats

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878203A (en) * 2015-12-11 2017-06-20 中国航空工业集团公司西安航空计算技术研究所 For the fast-forwarding circuit and method of FC exchanger chips
CN106941484A (en) * 2017-01-23 2017-07-11 斑马信息科技有限公司 The multi-chip communication protocol system and its method of internet automobile
US20190363717A1 (en) * 2018-05-25 2019-11-28 Xilinx, Inc. Multi-chip structure having configurable network-on-chip
US10698825B1 (en) * 2019-03-12 2020-06-30 Arm Limited Inter-chip communication in a multi-chip system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115600539A (en) * 2022-11-10 2023-01-13 上海威固信息技术股份有限公司(Cn) Chip packaging modular design method and system
CN115600539B (en) * 2022-11-10 2024-01-26 上海威固信息技术股份有限公司 Chip packaging modularized design method and system

Also Published As

Publication number Publication date
CN112822124A (en) 2021-05-18
CN112822124B (en) 2022-11-22

Similar Documents

Publication Publication Date Title
WO2022142919A1 (en) Multi-chip communication system and method, chip and storage medium
CN110691370B (en) Data transmission method, device and system
EP0889622B1 (en) Apparatus and method for remote buffer allocation and management for message passing between network nodes
EP0889623A2 (en) System and method for efficient remote disk I/O
CN111427517A (en) Data processing method and NVMe memory
CN111966446B (en) RDMA virtualization method in container environment
WO2015180648A1 (en) Resource allocation method and device
WO2015027806A1 (en) Read and write processing method and device for memory data
US20040085959A1 (en) Data transmission method
TWI392261B (en) Method of radio resource allocation and related communication apparatus
WO2015062228A1 (en) Method and device for accessing shared memory
WO2021244155A1 (en) Inter-process communication method and inter-process communication apparatus
CN101039333A (en) Method and apparatus for dynamically adjusting bandwidth of advanced data link control channel
US11316916B2 (en) Packet processing method, related device, and computer storage medium
CN113127139B (en) Memory allocation method and device based on DPDK of data plane development kit
CN113360077B (en) Data storage method, computing node and storage system
EP3051426B1 (en) Method, device, and system for accessing memory
WO2014000463A1 (en) Multimode baseband resource processing method and device
CN109167740B (en) Data transmission method and device
WO2023098050A1 (en) Remote data access method and apparatus
KR20220008754A (en) Systems, methods, and devices for time synchronized storage delivery
WO2018127013A1 (en) Method and device for concurrent transmission of stream data
WO2017177400A1 (en) Data processing method and system
WO2016074179A1 (en) Data processing method and multi-core processor system
US10187330B2 (en) High-speed packet processing system and control method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21913661

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913661

Country of ref document: EP

Kind code of ref document: A1