Data broadcasting method and device, electronic equipment and readable storage medium

By constructing a one-way transmission link in the Mesh topology, the problem of large on-chip network load and poor performance caused by Snoop message broadcast is solved, and more efficient data transmission is achieved.

CN118740708APending Publication Date: 2024-10-01BEIJING INSTITUTE OF OPEN SOURCE CHIP

Patent Information

Application Number
CN202410742953.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the Mesh topology built based on Coherent Hub Interconnect (CHI), Snoop messages lack the Target Identifier (Tgtid) field, resulting in the inability to accurately direct the receiving module and must broadcast, resulting in repeated reception by the same routing node, increasing the on-chip network load, and affecting performance.

Method used

By obtaining the first routing node for sending snoop messages from multiple routing nodes in the mesh topology, connecting routing nodes with the same row coordinates and column coordinates to build a one-way transmission link to avoid repeated reception of Snoop messages .

Benefits of technology

It effectively reduces the on-chip network load, improves the on-chip network performance, and avoids the same routing node repeatedly receiving monitoring messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740708A_ABST
    Figure CN118740708A_ABST
Patent Text Reader

Abstract

The invention provides a data broadcasting method and device, electronic equipment and a readable storage medium, and relates to the technical field of computers, and the method comprises the steps: obtaining a first routing node used for sending a monitoring message from a plurality of routing nodes of a mesh topology structure, and a routing node which is connected with the first routing node and has the same row coordinate as the first routing node, obtaining a first transmission link, and connecting the first routing node and the routing node with the same column coordinate as the first routing node to obtain a second transmission link; and constructing a plurality of one-way transmission links according to the first transmission link and the second transmission link, sending a monitoring message through the first routing node, and broadcasting the monitoring message to the plurality of routing nodes through the plurality of one-way transmission links, so that the second routing node obtains target data, and feeds back the target data to the first routing node. According to the invention, the same routing node can be prevented from repeatedly receiving the monitoring message, the load of the network-on-chip can be reduced, and the performance of the network-on-chip is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data broadcasting method, device, electronic device and readable storage medium. Background Art

[0002] With the advancement of semiconductor technology, the number of processor cores, memories and other dedicated functional modules integrated in the system on chip (SoC) has increased significantly. Through the coherent hub interconnect (CHI) protocol, a network on chip (Network on Chip, NoC) with a mesh topology can be built to achieve interconnection of modules in a multi-core system based on the mesh topology.

[0003] In the Mesh topology built based on CHI, each routing node (Simple Cross Point, SXP) is connected to the adjacent SXP node. There is a SNP channel for transmitting snoop messages between two adjacent SXP nodes. There is no identification field (Target Identifier, Tgtid) in the Snoop message for recording the receiving module that receives the Snoop message. Therefore, it is impossible to determine the routing direction based on Tgtid and transmit the Snoop message to the receiving module based on the routing direction. Instead, the Snoop message needs to be broadcast to the receiving module through the broadcast method.

[0004] However, in the related art, after each SXP node receives a Snoop message, it will transmit the Snoop message to all other SXP nodes connected to the SXP node, which will cause the same SXP node to repeatedly receive the same Snoop message, thereby causing a heavy load on the on-chip network and affecting the performance of the on-chip network. Summary of the invention

[0005] The embodiments of the present application provide a data broadcasting method, device, electronic device and readable storage medium to solve the problems of heavy on-chip network load and poor on-chip network performance in the Snoop message broadcasting method in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a data broadcasting method, comprising: obtaining a first routing node for sending a monitoring message from multiple routing nodes in a mesh topology structure; the monitoring message is used to obtain target data through a second routing node among the multiple routing nodes; connecting the first routing node and a routing node whose row coordinates are the same as those of the first routing node to obtain a first transmission link, and connecting the first routing node and a routing node whose column coordinates are the same as those of the first routing node to obtain a second transmission link; constructing multiple unidirectional transmission links based on the first transmission link and the second transmission link; sending a monitoring message through the first routing node, and broadcasting the monitoring message to multiple routing nodes through multiple unidirectional transmission links, so that the second routing node among the multiple routing nodes can obtain the target data, and feed the target data back to the first routing node.

[0007] In a second aspect, an embodiment of the present application provides a data broadcasting device, characterized in that it includes: a first acquisition module, used to acquire a first routing node for sending a monitoring message from multiple routing nodes in a mesh topology structure; the monitoring message is used to acquire target data through a second routing node among the multiple routing nodes; a second acquisition module, used to connect the first routing node and the routing node with the same row coordinates as the first routing node to obtain a first transmission link, and connect the first routing node and the routing node with the same column coordinates as the first routing node to obtain a second transmission link; a construction module, used to construct multiple unidirectional transmission links based on the first transmission link and the second transmission link; a broadcast module, used to send a monitoring message through the first routing node, and broadcast the monitoring message to all routing nodes through multiple unidirectional transmission links, so that the second routing nodes among all routing nodes can acquire the target data, and feed the target data back to the first routing node, the device includes:

[0008] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method of the first aspect.

[0009] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to execute the method of the first aspect.

[0010] In an embodiment of the present application, a first routing node for sending a snoop message and a routing node with the same row coordinates as the first routing node are connected to obtain a first transmission link, and the first routing node and a routing node with the same column coordinates as the first routing node are connected to obtain a second transmission link. According to the first transmission link and the second transmission link, multiple unidirectional transmission links are constructed, and the Snoop message is broadcast through the unidirectional transmission link, which can avoid the situation where the same routing node repeatedly receives the snoop message, and can effectively reduce the on-chip network load and improve the on-chip network performance. The problem of the same routing node repeatedly receiving the snoop message in the related art is solved, resulting in a large on-chip network load and poor on-chip network performance.

[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 It is a schematic diagram of an application scenario of the data broadcasting method provided in an embodiment of the present application;

[0014] Figure 2 It is a schematic diagram of a message channel between routing nodes provided in an embodiment of the present application;

[0015] Figure 3 It is a flow chart of steps of a data broadcasting method provided by an embodiment of the present application;

[0016] Figure 4 This is a schematic diagram of a Mesh topology structure provided in an embodiment of the present application;

[0017] Figure 5 It is a connection diagram of some RN nodes and HN nodes provided in an embodiment of the present application;

[0018] Figure 6 This is a schematic diagram of a Snoop message broadcast link provided in an embodiment of the present application;

[0019] Figure 7 is a flowchart of another data broadcasting method provided by an embodiment of the present application;

[0020] Figure 8This is another Snoop message broadcast link schematic diagram provided in an embodiment of the present application;

[0021] Fig. 9 is a flowchart of another data broadcasting method provided by an embodiment of the present application;

[0022] Fig.10 is a block diagram of a data broadcasting device provided by an embodiment of the present invention;

[0023] Fig.11 is a block diagram of an electronic device provided by an embodiment of the present invention;

[0024] Fig.12 is a block diagram of another electronic device according to another embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, the term "and / or" in the specification and claims is used to describe the association relationship of associated objects, indicating that three kinds of relationships can exist, for example, A and / or B can be represented: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the front and back associated objects are a kind of "or" relationship. In the embodiment of the present application, the term "multiple" refers to two or more, and other quantifiers are similar.

[0027] Figure 1 This is a schematic diagram of an application scenario of a data broadcast method provided in an embodiment of the present application, referring to Figure 1 The application scenario of the data broadcast method of this embodiment includes a Mesh topology structure constructed when a NoC system is built through the CHI protocol. The Mesh topology structure includes multiple routing nodes (SXP nodes). Each SXP node is connected to an adjacent SXP node to form a mesh Mesh topology structure.

[0028] Each SXP node can be connected to at least one of the following: the initiator of the CHI protocol specification read and write transaction request (Request Node, RN), the home node (HomeNode, HN) in the CHI protocol specification used to receive, process, and reply to the message initiated by the RN, and the subordinate node (Subordinate Node, SN) that can receive the request of the HN and complete the response operation. Figure 1 The Mesh topology structure includes 2 rows and 3 columns of routing nodes, and the routing nodes specifically include SXP0, SXP1, SXP2, SXP3, SXP4, and SXP5. Among them, the routing nodes SXP0, SXP2, SXP3, and SXP5 are all connected to two RNs, SXP1 is connected to one RN and one SN, and SXP4 is connected to one RN and one HN.

[0029] Data packets can be transmitted between adjacent SXP nodes. Two adjacent SXP nodes include the following four types of message channels: a request (REQ) message channel for transmitting request messages (Request), a response (RESP) message channel for transmitting response messages (Response), a snoop (SNP) message channel for transmitting snoop messages (Snoop), and a data (DATA) message channel for transmitting data messages (data). Each channel type includes a transmit (TX) channel for sending the corresponding message and a receive (RX) channel for receiving the corresponding message. The four types of channels include a total of eight channels, through which data transmission and reception between modules in a multi-core system-on-chip can be realized.

[0030] Reference Figure 2 Each SXP node has six routing directions, among which the four routing directions of East (E), South (S), West (W), and North (N) are connected to other SXP nodes, and the P0 direction and P1 node are connected to the peripheral modules in the multi-core system-on-chip, such as RN, HN, or SN.

[0031] Each SXP node has 8 channels in the four routing directions of east, south, west and north, which are: a request message sending channel (Transmit Request, TXREQ) for sending request messages, a response message sending channel (Transmit Response, TXRESP) for sending response messages, a snoop message sending channel (TransmitSnoop, TXSNP) for sending snoop messages, a data message sending channel (Transmit Data, TXDATA) for sending data messages, and a request message receiving channel (Receive Request, RXREQ) for receiving request messages, a response message receiving channel (Receive Response, RXRESP) for receiving response messages, a snoop message receiving channel (Receive Snoop, RXSNP) for receiving snoop messages, and a data message receiving channel (Receive Data, RXDATA) for receiving data messages. Among them, the channels between SXP and HN include: the other 7 channels except the RXSNP channel, and the channels between SXP and RN include: the other 7 channels except the RXREQ channel.

[0032] Among them, REQ message, RESP message and DATA message all have Tgtid field, and the coordinates of the message receiver receiving the corresponding message are recorded in the Tgtid field. When the SXP node receives these three messages, it parses the Tgtid field in the message, obtains the coordinates of the receiver recorded in the Tgtid field, and then determines the routing direction of the message according to the coordinates of the receiver, and sends the corresponding message according to the determined routing direction.

[0033] However, there is no Tgtid field in the Snoop message, and the SNP channel cannot obtain the coordinates of the Snoop message receiver by parsing the Tgtid field, and thus cannot determine the routing direction according to the coordinates of the Snoop message receiver, nor can it send the Snoop message according to the determined routing direction. Therefore, it is necessary to send the Snoop message to all SXP nodes by broadcasting, and the SXP node broadcasts the Snoop message to the module (for example, RN) that can receive the Snoop message. Broadcast routing method (Broadcast Routing) is a commonly used network routing technology used to send data packets to all possible destination nodes in the network. The Snoop message is sent to all SXP nodes by broadcasting, and the receiver is one of the multiple modules of the Mesh topology structure. Therefore, after the Snoop message is sent to all modules by broadcasting, the receiver can also receive the Snoop message. In other words, the Snoop message can be sent to the Snoop message receiver by broadcasting.

[0034] In the related art, after each SXP node receives a Snoop message, it transmits the Snoop message to all other SXP nodes connected to the SXP node. Figure 1 After the HN node generates a Snoop message, it sends the Snoop message to SXP3 through SXP4. SXP3 sends the Snoop message to SXP4 and SXP0 connected to it. In this process, SXP4 receives two Snoop messages. In the method of the related art, there is a situation where the same SXP node repeatedly receives the same Snoop message, which will increase the load of the on-chip network and affect the on-chip network performance.

[0035] To solve the problems in the related art, the present embodiment provides a data sending method, which obtains a first routing node for sending a monitoring message from multiple routing nodes in a mesh topology structure; connects the first routing node and a routing node whose row coordinates are the same as those of the first routing node to obtain a first transmission link, and connects the first routing node and a routing node whose column coordinates are the same as those of the first routing node to obtain a second transmission link; constructs multiple unidirectional transmission links based on the first transmission link and the second transmission link; sends a monitoring message through the first routing node, and broadcasts the monitoring message to the second routing node through multiple unidirectional transmission links. By transmitting the monitoring message based on the unidirectional transmission link, it is possible to avoid the situation where the same routing node repeatedly receives the monitoring message, thereby solving the problem in the related art that the same routing node repeatedly receives the monitoring message, resulting in a heavy load on the on-chip network and poor on-chip network performance.

[0036] It should be noted that the above application scenarios are only exemplary descriptions of the embodiments of the present application. In the present application, the Mesh topology is not limited to Figure 1 The topological structure of 2 rows and 3 columns shown in the figure may also be a topological structure of 5 rows and 5 columns, a topological structure of 5 rows and 6 columns, or a topological structure of other specifications.

[0037] The data broadcasting method provided by the embodiment of the present application is described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0038] Figure 3 is a flowchart of a data broadcasting method provided by an embodiment of the present application, such as Figure 3 As shown, the method may include:

[0039] Step 101: Acquire a first routing node for sending a monitoring message from a plurality of routing nodes in a mesh topology structure.

[0040] Specifically, the snoop message is used to obtain target data through the second routing node among the multiple routing nodes. In this embodiment, the execution subject is the SoC. The NoC of the SoC is built through the CHI protocol. The NoC interconnects the modules in each system-on-chip through a mesh topology structure to improve the data transmission bandwidth and parallel processing capabilities between the modules. Among them, the CHI protocol is a fifth-generation protocol developed for the Advanced Microcontroller Bus Architecture (AMBA). The CHI protocol is a protocol designed for high-performance cache consistency requirements, which is used to provide efficient data transmission and consistency management mechanisms.

[0041] The NoC of SoC built by CHI protocol has a topology that supports cache consistency, high performance, high scalability, high flexibility, and supports quality of service (QoS) and modular design. Compared with the traditional bus structure, the NoC of the system on chip built by CHI protocol can be widely used in multi-core processors and SoCs with a large number of modules. And with the continuous development of SoC, CHI protocol has high applicability in high-performance computing, heterogeneous computing and large-scale multi-core systems.

[0042] The topology is a structural method of multi-core interconnection. The topology may include a ring topology, a mesh topology, or other topologies. In the mesh topology, each routing node is arranged in rows and columns, and each routing node is connected to its adjacent routing nodes. The MESH topology can be two-dimensional or three-dimensional. In the MESH topology, different intellectual property (IP) cores (also known as intellectual property modules) in the SoC system are connected through each routing node. The IP core can be a central processing unit (CPU), a graphics processing unit (GPU), a memory controller, or other modules in the SoC system.

[0043] The CHI protocol can be used to build a mesh topology with multiple rows and columns. The number of rows and columns of the mesh topology can be set according to user needs. For example, the mesh topology can be Figure 4 The topology shown is 5 rows and 5 columns, but it can also be 6 rows and 6 columns, or other specifications. Figure 4The mesh topology includes multiple SXP nodes. Through the mutual connection between adjacent SXP nodes, an on-chip network that can transmit data between each SXP node is formed. The SXP node is a routing node in the Mesh topology, which is used to receive data from the data sender (such as a peripheral device) and send the received data to the data receiver (such as the target peripheral device) through the SXP node. The east direction of the SXP0 node is connected to the west direction of the SXP1 node. Among them, the P0 and P1 directions are used to connect peripheral devices, and the P0 and P1 directions of SXP12 are connected to RN and HN respectively.

[0044] After the entire MESH topology is built, data packets can be routed based on the Mesh topology. Each SXP node will receive data packets from peripheral devices, which can include the following four types: REQ packets, RESP packets, SNP packets, and DATA packets. Except for the SNP channel that transmits Snoop messages, the channels that transmit the other three types of data packets can be routed according to the Tgtid field in the data packet. Among them, the Tgtid field is the Filt (filter) field in the CHI protocol. The Tgtid field is used to record the identifier of the peripheral device that receives the data packet. The SXP node can locate the peripheral device port used to receive the data packet through the Tgtid field.

[0045] The Tgtid field has 7 data bits, wherein bits 6 to 7 (Tgtid[6:5]) of the Tgtid field are used to record the column coordinates (i.e., X coordinates) of the peripheral device port; bits 4 to 5 (Tgtid[4:3]) of the Tgtid field are used to record the row coordinates (i.e., Y coordinates) of the peripheral device port; and bit 1 (Tgtid[0]) of the Tgtid field is used to record the routing direction (P0 or P1) of the peripheral device on the SXP node.

[0046] In the Mesh topology, each SXP node has its own routing node coordinates (X, Y), where X represents the column coordinates of the SXP node in the Mesh topology and Y represents the row coordinates of the SXP node in the Mesh topology. By comparing the routing node coordinates of the SXP with the coordinates in the data packet Tgtid, the routing direction of the data packet can be determined.

[0047] In the Mesh topology, there can be one or more first routing nodes, for example, Figure 4There are two first routing nodes, each of which is connected to a fully coherent home node (HNF). Each HNF is used to manage part of the address space of a part of the SoC, and all HNFs of the SoC jointly manage all storage spaces. Specifically, the two first routing nodes are SXP12 linked to HNF1, and SXP18 linked to HNF2. The following takes SXP12 as an example to illustrate the method for the first routing node to obtain the monitoring message.

[0048] Reference Figure 4 and Figure 5 SXP may include: SXP11 connected to CPU1, SXP13 connected to CPU2, and other SXPs connected to CPU3. CPU1 has two levels of cache L01, namely, L1 cache L11 and L2 cache L12. CPU2 has two levels of cache L02, namely, L1 cache L21 and L2 cache L22, and target data is stored in L02. CPU3 has two levels of cache L04 (including L1 cache L31 and L2 cache L32) in which target data is not stored. SXP12 is connected to the HNF1 module, wherein the HNF1 module has a L3 cache L03.

[0049] CPU1 sends a memory access instruction to its first-level cache L11 for obtaining the target data. The memory access instruction carries the first address add0 of the target data. If the memory access instruction does not hit in L11 (the target data is not obtained in L11), the memory access instruction is sent to the second-level cache L12. If L12 also does not hit, the memory access instruction (REQ instruction) is sent to the third-level cache L03 of HNF1. If the target data is hit in cache L03, the target data is sent to SXP11 through SXP12, and then SXP11 feeds the target data back to CPU1.

[0050] If the cache L03 misses the target data, HNF1 generates a Snoop message and sends the Snoop message to the first routing node SXP12. Because the Snoop message does not have a Tgtid field, it is not possible to obtain the coordinates of SXP13 connected to CPU2 by parsing the Tgtid field and perform Snoop message routing based on the coordinates. The Snoop message can only be sent to all routing nodes including SXP13 by broadcasting.

[0051] All SXPs may include SXP11 connected to CPU1, SXP13 connected to CPU2, and other SXPs connected to CPU3. Therefore, when SXP12 broadcasts the Snoop message to all SXPs, SXP13 may also receive the Snoop message, and SXP13 routes the Snoop message to CPU2. CPU2 responds to the instruction to obtain the target data in the Snoop message, extracts the first address add0 therein, reads the target data from the first address add0 of its cache L02 (first-level cache L21 or second-level cache L22), and then sends the target data to SXP13. SXP13 feeds back the target data to SXP12 in the form of a Data message through the data channel (DATA channel). If there is no target data in L04 of CPU3, CPU3 will not obtain the target data based on the Snoop message and return it to SXP12.

[0052] SXP12 receives the target data, performs cache consistency processing on the target data in the SoC through HNF1, and writes the target data into the third-level cache L03, so that L03 responds to the memory access instruction issued by CPU1 and feeds back the target data in L3 to SXP11 in the form of a Data message, and then SXP11 feeds back to CPU1.

[0053] For example, if the memory access instruction is a read operation instruction, HNF1 obtains the Data message sent by CPU2, and writes the target data therein into the first address add0 of its cache L03.

[0054] For example, if the memory access instruction is a write operation instruction, after HNF1 receives the memory access instruction sent by CPU1, it sends a Snoop message to each SXP12, and SXP12 broadcasts the Snoop message to CPU2, obtains the target data at the first address add0 from the cache L02 of CPU2, and deletes the old target data at the first address add0 of CPU2 to ensure that there is no target data at the first address add0 of other caches in the entire SoC system. And write the target data into cache L03, and after CPU1 performs a write operation on the target data, the new target data can be obtained. After CPU1 performs the write operation to obtain the new target data, it sends the new target data to HNF1 through the Data channel. HNF1 updates the status of the new target data to clean and writes it into cache L03. In this way, it can ensure that the data at the same address is consistent in the entire SoC system, and achieve cache consistency.

[0055] Further, CPU1 issues a REQ instruction for obtaining target data to the third-level cache L03 of HNF1. After HNF1 obtains the target data from CPU2 by broadcasting a Snoop message, HNF1 returns a RESP instruction to CPU1 and exits the current Snoop transaction.

[0056] Step 102, connect the first routing node and the routing node with the same row coordinate as the first routing node to obtain a first transmission link, and connect the first routing node and the routing node with the same column coordinate as the first routing node to obtain a second transmission link.

[0057] For example, taking the first routing node as the starting point, connecting the routing nodes with the same row coordinates as the first routing node to obtain the first transmission link. Figure 6 The first routing node is SXP12. SXP12 is connected with SXP13 and SXP14 to obtain a first transmission link (SXP12, SXP13, SXP14); SXP12 is connected with SXP11 and SXP10 to obtain a first transmission link (SXP12, SXP10, SXP11).

[0058] For example, taking the first routing node as the starting point, connecting the routing nodes with the same column coordinates as the first routing node to obtain the second transmission link. Figure 6 The first routing node is SXP12. SXP12 is connected with SXP17 and SXP22 to obtain a second transmission link (SXP12, SXP17, SXP22); SXP12 is connected with SXP7 and SXP2 to obtain a second transmission link (SXP12, SXP7, SXP2).

[0059] Step 103: construct a plurality of unidirectional transmission links according to the first transmission link and the second transmission link.

[0060] For example, multiple routing nodes are divided into multiple target areas through the first transmission link and the second transmission link. The third routing node other than the first routing node in the first transmission link and the second transmission link is taken as the starting point, and the routing nodes in the target area with the same row coordinates or column coordinates as the third routing node are connected to obtain multiple unidirectional transmission links.

[0061] If the first routing node is taken as the origin, and the axes where the first transmission link and the second transmission link are located are respectively taken as the X-axis and the Y-axis, then the mesh topology structure can be divided into four quadrants according to the first transmission link and the second transmission link. Figure 6SXP13, SXP14, SXP18, SXP19, SXP23 and SXP24 belong to the same target area (the first quadrant), where SXP13 and SXP14 are the third routing nodes on the first transmission link. Connect SXP13 with SXP18 and SXP23 to obtain a unidirectional link, and connect SXP14 with SXP19 and SXP24 to obtain a unidirectional link. Based on the unidirectional link, if the current routing node is a routing node in the first quadrant, the current routing node propagates the Snoop message upward.

[0062] For each third routing node on the first transmission link and the second transmission link, taking the third routing node as the starting point, connecting the routing nodes in the quadrant to which the transmission link belongs, whose row coordinates or column coordinates are the same as those of the third routing node, multiple unidirectional transmission links can be obtained. Therefore, when the Snoop message is transmitted to a routing node in a certain quadrant, the Snoop message can be transmitted along the direction of the unidirectional transmission link.

[0063] For example, refer to Figure 6 , the quadrant where SXP18 is located is the first quadrant, and the unidirectional transmission link with SXP13 as the starting point is (SXP13, SXP18, SXP23). When the current routing node is SXP18, the Snoop message is sent from SXP18 and broadcast upward to SXP23.

[0064] For example, refer to Figure 6 , the quadrant where SXP16 is located is the second quadrant, and the unidirectional transmission link with SXP17 as the starting point is (SXP17, SXP16, SXP15). When the current routing node is SXP16, the Snoop message is sent from SXP16 and broadcast to the left to SXP15.

[0065] For example, refer to Figure 6 , the quadrant where SXP6 is located is the third quadrant, and the unidirectional transmission link with SXP11 as the starting point is (SXP11, SXP6, SXP1). When the current routing node is SXP6, the Snoop message is sent from SXP6 and broadcast downward to SXP1.

[0066] For example, refer to Figure 6 , the quadrant where SXP8 is located is the fourth quadrant, and the unidirectional transmission link with SXP7 as the starting point is (SXP7, SXP8, SXP9). When the current routing node is SXP8, the Snoop message is sent from SXP8 and broadcast to the right to SXP9.

[0067] Step 104, sending a monitoring message through the first routing node, and broadcasting the monitoring message to multiple routing nodes through multiple unidirectional transmission links, so that the second routing node among the multiple routing nodes can obtain the target data and feed the target data back to the first routing node.

[0068] A Snoop message is sent out through the first routing node, and the Snoop message is broadcast to all routing nodes through the first transmission link, the second transmission link and each unidirectional transmission link.

[0069] For example, the routing node coordinates (X, Y) of the first routing node SXP12 are written in the Snoop message, and an identification bit is added to the Snoop message, the maximum and minimum values ​​of the row coordinates in the Mesh topology structure, as well as the maximum and minimum values ​​of the column coordinates are written in the identification bit, and the Snoop message carrying the SXP12 node coordinates and identification bit data is broadcast to the third routing node (including SXP13, SXP17, SXP11, SXP7) connected to SXP12.

[0070] After SXP13 receives the Snoop message, according to the routing node coordinates of the first routing node SXP12 and the routing node coordinates of the current routing node SXP13, it can be determined that the row coordinates of SXP13 are the same as the row coordinates of the first routing node, and SXP13 is the third routing node on the first transmission link, then the Snoop message is broadcast rightward along the first transmission link to the next routing node SXP14 on the first transmission link. And along the unidirectional transmission link with SXP13 as the starting point, the Snoop message is broadcast upward to the next routing node SXP18 on the unidirectional transmission link.

[0071] After SXP18 receives the Snoop message, it can be determined that the row coordinates and column coordinates of SXP18 are different from those of SXP12 based on the routing node coordinates of SXP12 and the routing node coordinates of SXP18. SXP18 is not the third routing node located on the first transmission link or the second transmission link. The Snoop message is then transmitted upward along the unidirectional transmission link to which SXP18 belongs to the next routing node SXP23 in the unidirectional transmission link.

[0072] After receiving the Snoop message, the second routing node obtains the sender identifier (SourceIdentifier, SrcID) carried by the Snoop message, obtains the target data from the RN to which it is connected, sends the SrcID as the Tgtid of the received target data, generates a Data message based on the target data and Tgtid, and transmits the Data message to the first routing node through the DATA channel. SrcID is the Filt field in the CHI protocol, which is used to indicate the sender of the data packet. Figure 6In the illustrated embodiment, the sender of the Snoop message is SXP12, and the SrcID parsed from the Snoop message is the identifier of HNF1, which may be the routing node coordinates of HNF1.

[0073] In a mesh topology, there may be one or more first routing nodes for sending monitoring messages, such as Figure 6 In the example, SXP12 and SXP18 are both connected to a first routing node. In the case where there are multiple first routing nodes, the method of steps 101 to 104 is used for each first routing node to perform broadcast routing of the Snoop message.

[0074] When the entire Mesh network contains multiple HNF peripheral devices, the data packets of the SNP channel may be blocked when broadcasting at the SXP node. For example, if the node SXP22 receives the Snoop messages sent by SXP12 and SXP18 at the same time, blocking will occur. In this case, the Snoop messages sent by the two first routing nodes can be queued and sent. Based on the method of this embodiment, when there are multiple first routing nodes and data packet blocking occurs, the blocked Snoop message is delayed, but it can still ensure that the Snoop message can be successfully broadcast and routed to the second routing node, and it can avoid the situation where the same routing node repeatedly receives the same Snoop message.

[0075] In summary, in an embodiment of the present application, a first routing node for sending a snoop message is obtained from multiple routing nodes in a mesh topology structure, the first routing node and the routing node with the same row coordinates as the first routing node are connected to obtain a first transmission link, and the first routing node and the routing node with the same column coordinates as the first routing node are connected to obtain a second transmission link, and multiple unidirectional transmission links are constructed based on the first transmission link and the second transmission link; a snoop message is sent through the first routing node, and the snoop message is broadcast to all routing nodes through multiple unidirectional transmission links, so that the second routing nodes in all routing nodes can obtain target data, and feed the target data back to the first routing node. Transmitting Snoop messages through unidirectional transmission links can avoid the situation where the same routing node repeatedly receives snoop messages, reduce the on-chip network load, improve the on-chip network performance, and solve the problem in the related art that the same routing node repeatedly receives snoop messages, resulting in a large on-chip network load and poor on-chip network performance.

[0076] Figure 7 is a flowchart of another data broadcasting method provided by an embodiment of the present application, referring to Figure 7 , the method may include the following steps:

[0077] Step 201: Obtain a first routing node for sending a monitoring message from a plurality of routing nodes in a mesh topology structure. The monitoring message is used to obtain target data through a second routing node in the plurality of routing nodes.

[0078] The method of this step has been described in the aforementioned step 101 and will not be repeated here.

[0079] Step 202, connect the first routing node and the routing node with the same row coordinate as the first routing node to obtain a first transmission link, and connect the first routing node and the routing node with the same column coordinate as the first routing node to obtain a second transmission link.

[0080] The method of this step has been described in the aforementioned step 102 and will not be repeated here.

[0081] Step 203: divide the mesh topology structure into a plurality of initial node areas through a plurality of first transmission links and a second transmission link.

[0082] Specifically, the straight line where the first transmission link and the second transmission link are located is used as a dividing line to divide the mesh topology structure into multiple initial areas. Further, a rectangular coordinate system is constructed with the axis where the first transmission link is located as the X-axis, the axis where the second transmission link is located as the Y-axis, and the first routing node as the origin. The X-axis and the Y-axis divide the mesh topology structure into four initial areas.

[0083] Step 204: divide the third routing node in the first transmission link or the second transmission link adjacent to the initial area into the initial area to obtain a target node area.

[0084] Among them, the third routing node is different from the first routing node, that is, the third routing node is a routing node other than the first routing node in the first transmission link or the second transmission link. Further, a target node area includes a third routing node in a transmission link (the first transmission link or the second transmission link), and the third routing node in a transmission link can only be divided into one target node area. In other words, one transmission link corresponds to one target node area.

[0085] For example, refer to Figure 6, the first transmission link adjacent to the initial node area (including SXP18, SXP19, SXP23 and SXP24) includes the third routing nodes SXP13 and SXP14, and the second transmission link adjacent to the initial node area includes the third routing nodes SXP17 and SXP22. The first transmission link including the third routing nodes SXP13 and SXP14 will be divided into the initial node area, and the target area (first quadrant) including SXP13, SXP14, SXP18, SXP19, SXP23 and SXP24 is obtained.

[0086] If the third routing node in the first transmission link has been divided into the initial node area, the third routing node in the second transmission link can no longer be divided into the initial node area. The third routing nodes SXP17 and SXP22 in the second transmission link are divided into the initial node area adjacent to the aforementioned initial node area and the second transmission link, and the target area (second quadrant) including SXP17, SXP22, SXP16, SXP15, SXP21 and SXP20 is obtained.

[0087] Further, the third routing nodes SXP11 and SXP10 included in the first transmission link are divided into the initial node area including SXP5, SXP6, SXP0 and SXP1, and the target area (third quadrant) including SXP11, SXP10, SXP5, SXP6, SXP0 and SXP1 can be obtained. The third routing nodes SXP7 and SXP2 included in the second transmission link are divided into the initial node area including SXP8, SXP9, SXP3 and SXP4, and the target area (fourth quadrant) including SXP7, SXP2, SXP8, SXP9, SXP3 and SXP4 can be obtained.

[0088] Step 205 , connect the third routing node and routing nodes in the target area to which the third routing node belongs whose row coordinates or column coordinates are the same as those of the third routing node, to obtain a unidirectional transmission link with the third routing node as the starting point.

[0089] For example, for each third routing node, the third routing node is used as the starting point, and the third routing node and the routing nodes in the target area to which the third routing node belongs that have the same row coordinates or column coordinates as the third routing node are connected to obtain a unidirectional transmission link with the third routing node as the starting point. For example, the third routing node is SXP13, and its target area includes SXP13, SXP14, SXP18, SXP19, SXP23 and SXP24. Among them, the column coordinates of SXP18 and SXP23 are the same as the column coordinates of SXP13, then SXP13, SXP18 and SXP23 are connected to obtain a unidirectional transmission link with SXP13 as the starting point. Based on the unidirectional transmission link, when the current routing node is a routing node in the target area where the unidirectional transmission link is located, the current routing node can broadcast the Snoop message to the next routing node based on the direction of the unidirectional transmission link.

[0090] Step 206: If it is determined that the current routing node is the third routing node, the monitoring message is transmitted to the next routing node along the first transmission link or the second transmission link to which the current routing node belongs, and the unidirectional transmission link to which the current routing node belongs.

[0091] The current routing node is the routing node that receives the Snoop message and needs to transmit the Snoop message to the next routing node. Figure 6 In the illustrated embodiment, the current routing node is SXP13, and SXP13 belongs to the third routing node on the first transmission link. Then, the Snoop message is transmitted rightward to SXP14 along the first transmission link of SXP13, and the Snoop message is transmitted upward to SXP18 along the unidirectional link starting from SXP13.

[0092] For example, the monitoring message records the row coordinates and column coordinates of the first routing node; correspondingly, step 206 may include the following sub-steps (sub-step 2061):

[0093] Sub-step 2061, if the row coordinates of the current routing node are the same as the row coordinates of the first routing node, or the column coordinates of the current routing node are the same as the column coordinates of the first routing node, determine that the current routing node is the third routing node.

[0094] The first routing node and the routing node with the same row coordinates as the first routing node are connected to obtain the first transmission link, and the first routing node and the routing node with the same column coordinates as the first routing node are connected to obtain the second transmission link. Therefore, if the row coordinates of the current routing node are the same as the row coordinates of the first routing node, it can be determined that the current routing node is the third routing node on the first transmission link; if the column coordinates of the current routing node are the same as the column coordinates of the first routing node, it can be determined that the current routing node is the third routing node on the second transmission link.

[0095] Specifically, the routing node coordinates (X1, Y1) of the first routing node and the node coordinates (X2, Y2) of the current routing node are compared. If Y1 is equal to Y2 or X1 is equal to X2, the Snoop message is transmitted along the first transmission link or the second transmission link to which the current routing node belongs, and the unidirectional link with the current routing node as the starting point.

[0096] Step 207: If it is determined that the current routing node is a routing node other than the first routing node and the third routing node, the monitoring message is transmitted to the next routing node along the unidirectional transmission link to which the current routing node belongs.

[0097] For example, in Figure 6 In the illustrated embodiment, the current routing node is SXP18, and SXP18 is not a third routing node on the first transmission link or the second transmission link. Then, the Snoop message is transmitted upward to SXP23 along the unidirectional transmission link of SXP18.

[0098] After step 205, the method further includes: if it is determined that the current routing node is the first routing node, sending the monitoring message to all routing nodes connected to the first routing node.

[0099] For example, step 207 may include the following sub-steps (sub-step 2071):

[0100] Sub-step 2071, if the row coordinates of the current routing node are different from the row coordinates of the first routing node, and the column coordinates of the current routing node are different from the column coordinates of the first routing node, then determine that the current routing node is a routing node other than the first routing node and the third routing node.

[0101] Compare the row coordinate Y1 and column coordinate X1 of the first routing node, and the row coordinate Y2 and column coordinate X2 of the current routing node. If Y1 is not equal to Y2, and X1 is not equal to X2, then determine that the current routing node is a routing node other than the first routing node and the third routing node, and transmit the Snoop message along the direction of the unidirectional link to which the current routing node belongs.

[0102] Step 208: Acquire target data through the second routing node among the routing nodes, and feed the target data back to the first routing node.

[0103] The method of this step has been described in the aforementioned step 104 and will not be repeated here.

[0104] In summary, in an embodiment of the present application, the mesh topology structure is divided into multiple target areas according to the first transmission link and the second transmission link, and a unidirectional transmission link is constructed according to the third routing node on the first transmission link and the second transmission link and the routing node in the target area. Thus, in different target areas, the Snoop message can be broadcast to all routing nodes in the target area according to the unidirectional link in the target area to avoid the same routing node repeatedly receiving the same Snoop message, thereby solving the problem in the related art that the same routing node repeatedly receives the monitoring message, resulting in heavy on-chip network load and poor on-chip network performance.

[0105] For example, after step 202, the following may also be included:

[0106] Step 209: Acquire a third routing node other than the first routing node on the first transmission link and the second transmission link.

[0107] The first transmission link includes a first routing node and a routing node with the same row coordinates as the first routing node, and the third routing node on the first transmission link is a routing node with the same row coordinates as the first routing node. The second transmission link includes the first routing node and a routing node with the same column coordinates as the first routing node, and the third routing node on the second transmission link is a routing node with the same column coordinates as the first routing node

[0108] Step 210: construct a unidirectional transmission link with each third routing node as a starting point.

[0109] For example, the third routing node is used as a starting point, and the third routing node and routing nodes having the same row coordinate or column coordinate as the third routing node are connected to obtain a unidirectional transmission link.

[0110] Further, the target area to which the third routing node belongs is obtained, and the third routing node and routing nodes in the target area having the same row coordinates or column coordinates as the third routing node are connected to obtain a unidirectional transmission link.

[0111] Multiple unidirectional links may be obtained through steps 203 to 205 , or multiple unidirectional links may be obtained through steps 209 to 210 .

[0112] In one embodiment, step 202 may include the following sub-steps:

[0113] Sub-step 2021, connecting the first routing node and the routing nodes having the same row coordinate as the first routing node and a larger column coordinate than the first routing node, to obtain a first sub-transmission link.

[0114] For example, refer to Figure 6 , the routing node coordinates of SXP are identified as (X, Y), where X is the column coordinate and Y is the row coordinate. Among them, the routing node coordinates of routing node SXP0 are (0, 0), then the routing node coordinates of the first routing node SXP12 are (2, 2), the routing node coordinates of SXP13 are (3, 2), and the routing node coordinates of SXP14 are (4, 2). SXP13 and SXP14 are equal to the row coordinates of the first routing node SXP12, and the column coordinates are greater than the column coordinates of SXP12, then SXP12, SXP13 and SXP14 are connected to obtain the first sub-transmission link (SXP12, SXP13, SXP14).

[0115] Sub-step 2022, connecting the first routing node and the routing nodes having the same row coordinate as the first routing node and smaller column coordinates than the first routing node, to obtain a second sub-transmission link.

[0116] The first transmission link and the second transmission link constitute a plurality of first transmission links. Figure 6 , SXP11 and SXP10 are equal to the row coordinates of the first routing node SXP12, and the column coordinates are all smaller than the column coordinates of SXP12, then SXP12, SXP11 and SXP10 are connected to obtain the first sub-transmission link (SXP12, SXP11, SXP10). Combined with sub-steps 2021 and 2022, the first transmission link includes two, namely (SXP12, SXP13, SXP14) and (SXP12, SXP11, SXP10).

[0117] Sub-step 2023, connecting the first routing node and a routing node having the same column coordinate as the first routing node and a larger row coordinate than the first routing node, to obtain a third sub-transmission link.

[0118] For example, refer to Figure 6 , SXP17 and SXP22 are equal to the column coordinates of the first routing node SXP12, and the row coordinates are greater than the column coordinates of SXP12, then SXP12, SXP17 and SXP22 are connected to obtain the third sub-transmission link (SXP12, SXP17, SXP22).

[0119] Sub-step 2024, connecting the first routing node and the routing nodes having the same column coordinate as the first routing node and smaller row coordinate than the first routing node, to obtain a fourth sub-transmission link.

[0120] The third sub-transmission link and the fourth sub-transmission link constitute a plurality of second transmission links. Figure 6 , SXP7 and SXP2 are equal to the column coordinates of the first routing node SXP12, and the row coordinates are smaller than the column coordinates of SXP12, then SXP12, SXP7 and SXP2 are connected to obtain the fourth sub-transmission link (SXP12, SXP7, SXP2).

[0121] In combination with sub-step 2023 and sub-step 2024, the second transmission link includes two links, namely (SXP12, SXP17, SXP22) and (SXP12, SXP7, SXP2).

[0122] Further, after obtaining the first transmission link and the second transmission link according to sub-steps 2024 to 2024, the data broadcasting method further includes:

[0123] Step 211, connect the fourth routing node except the first routing node in the first sub-link, and all routing nodes having the same column coordinate as the fourth routing node and larger row coordinate than the fourth routing node, to obtain a unidirectional transmission link corresponding to the first sub-link.

[0124] Specifically, for each fourth routing node, the following operation is performed: the fourth routing node and all routing nodes having the same column coordinate as the fourth routing node and larger row coordinate than the fourth routing node are connected to obtain a unidirectional transmission link corresponding to the first sub-link.

[0125] For example, refer to Figure 6 , in the first sub-transmission link (SXP12, SXP13, SXP14), the fourth routing nodes other than the first routing node SXP12 are SXP13 and SXP14. For the fourth routing node SXP13, all routing nodes (including SXP18 and SXP23) with the same column coordinates as SXP13 and larger row coordinates than SXP13 are connected to obtain a unidirectional transmission link (SXP13, SXP18, SXP23). Based on the unidirectional transmission link corresponding to the first sub-link, refer to Figure 6 , the routing nodes in the first quadrant (including SXP13, SXP18, SXP23, SXP14, SXP19, and SXP24) can broadcast the snoop message upward.

[0126] Step 212, connect the fifth routing node in the second sub-link except the first routing node, and all routing nodes having the same column coordinate as the fifth routing node and smaller row coordinate than the fourth routing node, to obtain a unidirectional transmission link corresponding to the second sub-link.

[0127] Specifically, for each fifth routing node, the following operations are performed: connect the fifth routing node and all routing nodes whose column coordinates are the same as the fifth routing node and whose row coordinates are smaller than the fourth routing node, and obtain a unidirectional transmission link corresponding to the second sub-link. Based on the unidirectional transmission link corresponding to the second sub-link, refer to Figure 6 , the routing nodes in the third quadrant (including SXP11, SXP6, SXP1, SXP10, SXP5, and SXP0) can broadcast the Snoop message downward.

[0128] Step 213, connect the sixth routing node in the third sub-link except the first routing node, and all routing nodes having the same row coordinate as the sixth routing node and smaller column coordinate than the sixth routing node, to obtain a unidirectional transmission link corresponding to the third sub-link.

[0129] Specifically, for each sixth routing node, the following operations are performed: the sixth routing node and all routing nodes having the same row coordinate as the sixth routing node and smaller column coordinates than the sixth routing node are connected to obtain a unidirectional transmission link corresponding to the third sub-link. Based on the unidirectional transmission link corresponding to the third sub-link, refer to Figure 6 , the routing nodes in the second quadrant (including SXP17, SXP16, SXP15, SXP22, SXP21, and SXP20) can broadcast the Snoop message to the left.

[0130] Step 214, connect the seventh routing node except the first routing node in the fourth sub-link, and all routing nodes having the same row coordinate as the seventh routing node and larger column coordinate than the seventh routing node, to obtain a unidirectional transmission link corresponding to the fourth sub-link.

[0131] Specifically, for each seventh routing node, the following operations are performed: connect the seventh routing node and all routing nodes whose column coordinates are the same as the seventh routing node and whose column coordinates are larger than the seventh routing node, and obtain a unidirectional transmission link corresponding to the fourth sub-link. Based on the unidirectional transmission link corresponding to the fourth sub-link, refer to Figure 6 , the routing nodes in the fourth quadrant (including SXP7, SXP8, SXP9, SXP2, SXP3, and SXP4) can broadcast the snoop message to the right.

[0132] Further, after obtaining the first transmission link and the second transmission link according to sub-steps 2024 to 2024, the data broadcasting method further includes:

[0133] Step 215, connect the fourth routing node except the first routing node in the first sub-link, and all routing nodes having the same column coordinate as the fourth routing node and smaller row coordinate than the fourth routing node, to obtain a unidirectional transmission link corresponding to the first sub-link.

[0134] Reference Figure 8 SXP13 is the fourth routing node in the first sub-link, and SXP13 and all routing nodes (including SXP8 and SXP3) with the same column coordinates as SXP13 and smaller row coordinates than SXP13 are connected to obtain a unidirectional transmission link (SXP13, SXP8, SXP3). Based on the unidirectional transmission link corresponding to the first sub-link, the routing nodes in the fourth quadrant (including SXP13, SXP8, SXP3, SXP14, SXP9, SXP4) can broadcast the snoop message downward.

[0135] Step 216, connect the fifth routing node in the second sub-link except the first routing node, and all routing nodes having the same column coordinate as the fifth routing node and larger row coordinate than the fifth routing node, to obtain a unidirectional transmission link corresponding to the second sub-link.

[0136] Reference Figure 8 SXP11 is the fourth routing node in the second sub-link, and SXP11 and all routing nodes (including SXP16 and SXP21) with the same column coordinates as SXP11 and larger row coordinates than SXP11 are connected to obtain a unidirectional transmission link (SXP11, SXP16, SXP21). Based on the unidirectional transmission link corresponding to the second sub-link, the routing nodes in the second quadrant (including SXP11, SXP16, SXP21, SXP10, SXP15, SXP20) can broadcast the snoop message upward.

[0137] Step 217, connect the sixth routing node except the first routing node in the third sub-link, and all routing nodes having the same row coordinates as the sixth routing node and larger column coordinates than the sixth routing node, to obtain a unidirectional transmission link corresponding to the third sub-link.

[0138] Reference Figure 8 SXP17 is the sixth routing node in the third sub-link, and SXP17 and all routing nodes (including SXP18 and SXP19) with the same row coordinates as SXP17 and larger column coordinates than SXP17 are connected to obtain a unidirectional transmission link (SXP17, SXP18, SXP19). Based on the unidirectional transmission link corresponding to the third sub-link, the routing nodes in the first quadrant (including SXP17, SXP18, SXP19, SXP22, SXP23, and SXP24) can broadcast the snoop message to the right.

[0139] Step 218, connect the seventh routing node except the first routing node in the fourth sub-link, and all routing nodes having the same row coordinate as the seventh routing node and smaller column coordinate than the seventh routing node, to obtain a unidirectional transmission link corresponding to the fourth sub-link.

[0140] Reference Figure 8 SXP7 is the seventh routing node in the fourth sub-link. SXP7 and all routing nodes (including SXP6 and SXP5) with the same row coordinates as SXP7 and smaller column coordinates than SXP7 are connected to obtain a unidirectional transmission link (SXP7, SXP6, SXP5). Based on the unidirectional transmission link corresponding to the fourth sub-link, the routing nodes in the third quadrant (including SXP7, SXP6, SXP5, SXP2, SXP1, SXP0) can broadcast the snoop message to the left.

[0141] In one embodiment, the first routing node is connected to a first cache, and the second routing node is connected to a second cache. Figure 5 and 6 , the first routing node is SXP12, then the first cache is the third-level cache L03 connected to SXP12. The second routing node is the routing node connected to CPU2, and the second cache is the cache L02 of CPU2 (which may include the first-level cache L21 and the second-level cache L22). Further, before step 201, it also includes:

[0142] Step 218: When a memory access instruction is obtained through the first cache, a hit result of the memory access instruction in the first cache is obtained.

[0143] The memory access instruction is used to perform read and write operations on target data in the cache. For example, the first cache is a third-level cache L3 connected to the first routing node. If the target data exists in the first cache, the memory access instruction can hit, and if the target data does not exist in the first cache, the memory access instruction misses.

[0144] Step 219: If the hit result is a miss, the monitoring message is obtained.

[0145] If the hit result is a miss, a Snoop message is generated through the HN (eg, HNF) module connected to the first routing node, and the Snoop message is sent to the first routing node.

[0146] If the hit result is a hit, the target data after the hit is fed back to the sender (for example, the CPU) of the memory access instruction.

[0147] Correspondingly, after step 207, the following may also be included:

[0148] Step 220, obtaining the target data from the second cache, and feeding back the target data to the first routing node through a data message, and writing the target data into the first cache through the first routing node.

[0149] The method of this step has been described in the aforementioned step 101 and will not be repeated here.

[0150] Reference Fig. 9 The data broadcasting method of this embodiment may further include the following steps:

[0151] Step S1: Obtain a Snoop message sent by a HNF through a first routing node.

[0152] The method of this step has been explained in the aforementioned steps 218 to 219 and will not be repeated here.

[0153] Step S2: The first routing node broadcasts a Snoop message to all routing nodes connected to it.

[0154] For example, refer to Figure 6 , the first routing node is SXP12, then SXP12 obtains the Snoop message sent by HNF1 and broadcasts it to SXP13, SXP17, SXP11 and SXP7.

[0155] Step S3, the current routing node that receives the Snoop message determines the routing direction of the Snoop message according to the coordinates of the first routing node and the coordinates of the current routing node, and broadcasts the Snoop message according to the routing direction.

[0156] For example, according to the aforementioned steps 203 and 204, the mesh topology structure is divided into four quadrants through the first transmission link and the second transmission link. Figure 6 , the row coordinates of the routing node in the first quadrant are greater than or equal to the first routing node, and the column coordinates are greater than the first routing node. The current routing node determines which quadrant the current routing node is in based on its node coordinates (X, Y) and the routing node coordinates of the first routing node, and broadcasts the direction based on the judgment result.

[0157] For example, refer to Figure 6 , each SXP has its own routing node coordinates, for example, the coordinates of SXP0 are (0, 0), and the coordinates of SXP12 are (2, 2). When SXP broadcasts Snoop messages, it adds a flag bit to each Snoop message, and the routing node coordinates of the SXP node that initially receives the HNF (for example, the routing node coordinates of SXP12) are included in the flag bit. The upper limit value of the coordinates of the entire MESH topology network. Figure 6In the illustrated embodiment, the added flag bits are the coordinates (2, 2) of SXP12 and the upper limit value (4, 4) of the coordinates of the topology network.

[0158] By building a MESH topology, an HNF peripheral device is connected to SXP12 and SXP18 respectively to process the target data for consistency. During the consistency data processing, HNF will send SNP type packets to the SXP routing node connected to itself. Because there is no Tgtid in the SNP type packet, it cannot be routed like other channels. When an SXP routing node is connected to the HNF peripheral device and receives a packet of the SNP channel type, the SXP routing node will perform a broadcast operation to broadcast the Snoop message to all routing nodes.

[0159] Reference Figure 6 , when the peripheral device HNF of SXP12 and SXP18 starts to send Snoop messages to the routing node for access, SXP12 and SXP18 receive the Snoop messages of HNF, and SXP12 and SXP18, as the first routing nodes, start broadcasting in the four directions of southeast, northwest and northeast. And the routing node coordinates of the first routing node are added to the SNP channel. For example, if the first routing node is SXP12, the node coordinates are (2, 2), and if the first routing node is SXP18, the node coordinates are (3, 3). Then the upper limit value (4, 4) of the routing node coordinates of the MESH topology network is used as a flag. For example, the routing nodes in the four directions of southeast, northwest and northeast of SXP12 are sxp13, sxp7, sxp11 and sxp17, then SXP12 sends Snoop messages to sxp13, sxp7, sxp11 and sxp17.

[0160] Step S31: If it is determined that the current routing node is located in the first quadrant, a Snoop message is broadcast upward.

[0161] For example, refer to Figure 6 When SXP13 receives the Snoop data packet, it compares the routing node coordinates (3, 2) of SXP13 and the flag bit (2, 2) in the SNP channel to determine that the row coordinates of SXP13 are equal to the row coordinates of SXP12, and the column coordinates are greater than the column coordinates of SXP12, and SXP13 is in the first quadrant. Then SXP13 broadcasts Snoop upward to SXP18. In addition, SXP13 has the same row coordinates (Y coordinates) as the first coordinate node SXP12, and the column coordinates (X coordinates) are greater than the X coordinates of SXP12, so the Snoop message is broadcast to the right to SXP14.

[0162] SXP14 and SXP18 compare their own node coordinates and the flag bit in the data packet to determine that SXP14 and SXP18 are in the first quadrant and need to broadcast upward until the Y coordinate of the broadcasted routing node is the same as the maximum Y coordinate of the MESH in the flag bit, and the broadcast in the first quadrant ends.

[0163] For example, if the row coordinates of the current routing node are the same as those of the first routing node, and the column coordinates are greater than the column coordinates of the first routing node, the Snoop blog post is broadcast upward until the row coordinates are equal to the routing node with the largest row coordinates in the Mesh topology. That is, if the Y coordinates of the current routing node and the first routing node are the same, and the X coordinate is greater than the X coordinate of the first routing node, it is broadcast upward to the routing node with the same Y coordinate as the maximum Y coordinate of the MESH in the flag bit.

[0164] Step S32: If it is determined that the current routing node is located in the second quadrant, a Snoop message is broadcast to the left.

[0165] For example, refer to Figure 6 When SXP17 receives the Snoop data packet, it compares the routing node coordinates (2, 3) of SXP17 and the flag bit (2, 2) in the SNP channel to find out that it is in the second quadrant. Then it broadcasts to the left and sends it to SXP16. In addition, SXP17 has the same X coordinate as the first coordinate node SXP12, and the Y coordinate is greater than the Y coordinate of SXP12, so it broadcasts upward to SXP22. SXP16 and SXP22 compare their own node coordinates and the flag bit in the data packet, and it can be determined that SXP16 and SXP22 are in the second quadrant, and need to broadcast to the left until the X coordinate of the routing node broadcast is 0, and the second quadrant ends the broadcast.

[0166] If the current routing node has the same column coordinates as the first routing node, and the row coordinate is greater than that of the first routing node, broadcast to the left until the routing node with an X coordinate equal to 0. That is, if the current routing node has the same X coordinate as the first routing node, and the Y coordinate is greater than the Y coordinate of the first routing node, broadcast to the left until the routing node with an X coordinate equal to 0.

[0167] Step S33: If it is determined that the current routing node is located in the third quadrant, a Snoop message is broadcast downward.

[0168] For example, refer to Figure 6, when SXP11 receives the Snoop data packet, it can be determined that SXP11 is in the third quadrant by comparing the routing node coordinates (1, 2) of SXP11 and the flag bit (2, 2) in the SNP channel, and then broadcasts it downward to SXP6. In addition, SXP11 has the same Y coordinate as the first coordinate node SXP12, and the X coordinate is smaller than the X coordinate of the first coordinate node SXP12, so it needs to be broadcasted to the left to SXP10. SXP6 and SXP10 have compared their own node coordinates with the flag bit in the data packet, and it can be determined that SXP6 and SXP10 are in the third quadrant, so it needs to broadcast downward until the Y coordinate of the broadcasted routing node is 0, and the broadcast in the third quadrant ends.

[0169] If the row coordinates of the current routing node are the same as those of the first routing node, and the column coordinates are smaller than those of the first routing node, the Snoop message is broadcast downward until the routing node whose row coordinates are equal to 0. That is, if the Y coordinates of the current routing node are the same as those of the first routing node, and the X coordinates are smaller than those of the first routing node, the Snoop message is broadcast downward until the routing node whose Y coordinates are equal to 0.

[0170] Step S34: If it is determined that the current routing node is located in the fourth quadrant, a Snoop message is broadcast to the right.

[0171] For example, refer to Figure 6 , when SXP7 receives the data packet, it can be determined that SXP7 is in the fourth quadrant by comparing the routing node coordinates (2, 1) of SXP7 and the flag bit (2, 2) in the SNP channel, and broadcasts to the right to SXP8. In addition, SXP7 has the same X coordinate as the first coordinate node SXP12, and the Y coordinate is smaller than the Y coordinate of the first coordinate node SXP12, so it is broadcast downward to SXP2. SXP8 compares its own coordinates with the flag bit in the data packet with SXP2, and it can be determined that SXP8 and SXP2 are in the fourth quadrant, so it needs to broadcast to the right until the routing node broadcasted is the same as the routing node with the maximum X coordinate of the MESH in the flag bit, and the broadcast in the fourth quadrant ends.

[0172] If the current routing node has the same column coordinates as the first routing node, and the row coordinates are greater than the row coordinates of the first routing node, broadcast upward until the row coordinates are equal to the routing node with the largest row coordinates in the Mesh topology. That is, if the current routing node has the same X coordinates as the first routing node, and the Y coordinate is less than the Y coordinate of the first routing node, broadcast the Snoop message to the right until the routing node with the same X coordinate as the maximum X coordinate of the MESH.

[0173] In the SNP channel broadcast routing mechanism of this embodiment, the entire MESH network is divided into four quadrants, and the routing nodes in different quadrants are compared with the coordinates of the first routing node, and the flag bit is judged to determine the broadcast direction, and there is no repeated sending of data packets, and the network load caused by the broadcast can be reduced. The following problems in the related art can be solved: each broadcast data packet will be received and processed by all nodes in the network, resulting in broadcasting that increases the network load, and then may cause broadcast storms in large networks, thereby affecting network performance.

[0174] refer to Fig.10 , which shows a data broadcasting device provided by an embodiment of the present application, the device 30 includes:

[0175] The first acquisition module 301 is used to acquire a first routing node for sending a monitoring message from multiple routing nodes in a mesh topology structure; the monitoring message is used to acquire target data through a second routing node among the multiple routing nodes; the second acquisition module 302 is used to connect the first routing node and the routing node whose row coordinates are the same as those of the first routing node to obtain a first transmission link, and connect the first routing node and the routing node whose column coordinates are the same as those of the first routing node to obtain a second transmission link; the construction module 303 is used to construct multiple unidirectional transmission links based on the first transmission link and the second transmission link; the broadcast module 304 is used to send a monitoring message through the first routing node, and broadcast the monitoring message to multiple routing nodes through multiple unidirectional transmission links, so that the second routing node among the multiple routing nodes can acquire the target data, and feed the target data back to the first routing node.

[0176] Optionally, the construction module 303 may include: a first acquisition submodule, used to acquire a third routing node other than the first routing node on the first transmission link and the second transmission link; and a first construction submodule, used to construct a unidirectional transmission link with each third routing node as a starting point.

[0177] Optionally, the construction module 303 may include: a first division module, used to divide the mesh topology structure into multiple initial node areas through multiple first transmission links and second transmission links; a second acquisition submodule, used to divide the third routing node in the first transmission link or the second transmission link adjacent to the initial area into the initial area to obtain a target node area; the third routing node is different from the first routing node; and a third acquisition submodule, used to connect the third routing node and the routing nodes in the target area to which the third routing node belongs whose row coordinates or column coordinates are the same as those of the third routing node, to obtain a unidirectional transmission link with the third routing node as the starting point.

[0178] Optionally, the broadcast module 304 may include: a first transmission submodule, used to transmit the monitoring message to the next routing node along the first transmission link or the second transmission link to which the current routing node belongs, and the unidirectional transmission link to which the current routing node belongs, if the current routing node is determined to be a third routing node; and a second transmission submodule, used to transmit the monitoring message to the next routing node along the unidirectional transmission link to which the current routing node belongs, if the current routing node is determined to be a routing node other than the first routing node and the third routing node.

[0179] Optionally, the monitoring message records the row coordinates and column coordinates of the first routing node; the broadcast module 304 may also include: a first judgment submodule, used to determine that the current routing node is a third routing node if the row coordinates of the current routing node are the same as the row coordinates of the first routing node, or the column coordinates of the current routing node are the same as the column coordinates of the first routing node; a second judgment submodule, used to determine that the current routing node is a routing node other than the first routing node and the third routing node if the row coordinates of the current routing node are different from the row coordinates of the first routing node, and the column coordinates of the current routing node are different from the column coordinates of the first routing node.

[0180] Optionally, the second acquisition module 302 may include: a first connection submodule, used to connect the first routing node, and a routing node whose row coordinates are the same as the first routing node and whose column coordinates are greater than the first routing node, to obtain a first sub-transmission link; a second connection submodule, used to connect the first routing node, and a routing node whose row coordinates are the same as the first routing node and whose column coordinates are less than the first routing node, to obtain a second sub-transmission link; the first sub-transmission link and the second sub-transmission link constitute a plurality of first transmission links; a third connection submodule, used to connect the first routing node, and a routing node whose column coordinates are the same as the first routing node and whose row coordinates are greater than the first routing node, to obtain a third sub-transmission link; a fourth connection submodule, used to connect the first routing node, and a routing node whose column coordinates are the same as the first routing node and whose row coordinates are less than the first routing node, to obtain a fourth sub-transmission link, and the third sub-transmission link and the fourth sub-transmission link constitute a plurality of second transmission links.

[0181] Optionally, the construction module 303 may include: a fifth connection submodule, used to connect the fourth routing node except the first routing node in the first sublink, and all routing nodes whose column coordinates are the same as the fourth routing node and whose row coordinates are larger than the fourth routing node, to obtain a unidirectional transmission link corresponding to the first sublink; a sixth connection submodule, used to connect the fifth routing node except the first routing node in the second sublink, and all routing nodes whose column coordinates are the same as the fifth routing node and whose row coordinates are smaller than the fourth routing node, to obtain a unidirectional transmission link corresponding to the second sublink; a seventh connection submodule, used to connect the sixth routing node except the first routing node in the third sublink, and all routing nodes whose row coordinates are the same as the sixth routing node and whose column coordinates are smaller than the sixth routing node, to obtain a unidirectional transmission link corresponding to the third sublink; an eighth connection submodule, used to connect the seventh routing node except the first routing node in the fourth sublink, and all routing nodes whose row coordinates are the same as the seventh routing node and whose column coordinates are larger than the seventh routing node, to obtain a unidirectional transmission link corresponding to the fourth sublink.

[0182] Optionally, the first routing node is connected to a first cache, and the second routing node is connected to a second cache; the device 30 also includes: a third acquisition module, which is used to obtain a hit result of the memory access instruction in the first cache when the memory access instruction is obtained through the first cache; the memory access instruction is used to perform read and write operations on the target data in the cache; and a fourth acquisition module, which is used to obtain a monitoring message if the hit result is a miss.

[0183] The device 30 also includes a sending module, which is used to obtain target data from the second cache after broadcasting the monitoring message to the second routing node, and feed back the target data to the first routing node through a data message, and write the target data into the first cache through the first routing node.

[0184] In summary, in the embodiments of the present application, the Snoop message is transmitted through a unidirectional transmission link, which can avoid the situation where the same routing node repeatedly receives the snoop message, thereby solving the problem in the related art that the same routing node repeatedly receives the snoop message, resulting in heavy on-chip network load and poor on-chip network performance.

[0185] Fig.11 is a block diagram of an electronic device 700 according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0186] Reference Fig.11, the electronic device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input / output (I / O) interface 712, a sensor component 714, and a communication component 716. The processing component 702 generally controls the overall operation of the electronic device 700. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. The memory 704 is used to store various types of data to support operations in the electronic device 700. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof. The power component 706 provides power to the components of the electronic device 700.

[0187] The multimedia component 708 includes a screen providing an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). The audio component 710 is used to output and / or input audio signals. The received audio signal may be further stored in the memory 704 or sent via the communication component 716. The I / O interface 712 provides an interface between the processing component 702 and the peripheral interface module. The sensor component 714 includes one or more sensors for providing various aspects of state assessment for the electronic device 700. The communication component 716 is used to facilitate the communication between the electronic device 700 and other devices in a wired or wireless manner. The electronic device 700 can access a wireless network based on a communication standard. In an exemplary embodiment, the electronic device 700 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs) controllers, microcontrollers, microprocessors or other electronic components to implement a data broadcasting method provided in an embodiment of the present application.

[0188] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by a processor 720 of an electronic device 700 to perform the above method. For example, the non-transitory storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0189] Fig.12 8 is a block diagram of an electronic device 800 according to an exemplary embodiment. For example, the electronic device 800 may be provided as a server. Fig.12The electronic device 800 includes a processing component 822, which further includes one or more processors, and a memory resource represented by a memory 832 for storing instructions executable by the processing component 822, such as an application. The application stored in the memory 832 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 822 is configured to execute instructions to perform a data broadcasting method provided in an embodiment of the present application.

[0190] The electronic device 800 may also include a power supply component 826 configured to perform power management of the electronic device 800, a wired or wireless network interface 850 configured to connect the electronic device 800 to a network, and an input / output (I / O) interface 858. The electronic device 800 may operate based on an operating system stored in the memory 832, such as Windows Server™, Mac OS X™, or the like.

[0191] An embodiment of the present application also provides a computer program product, including a computer program, and a data broadcasting method implemented when the computer program is executed by a processor.

[0192] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0193] It should be understood that the present application is not limited to the precise structure described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims. The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

[0194] The above is a detailed introduction to a data broadcasting method, device, electronic device and computer-readable storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data broadcasting method, characterized in that: include: Acquire a first routing node for sending a monitoring message from a plurality of routing nodes in a mesh topology structure; The monitoring message is used to obtain target data through a second routing node among the multiple routing nodes; Connecting the first routing node and the routing node having the same row coordinate as the first routing node to obtain a first transmission link, and connecting the first routing node and the routing node having the same column coordinate as the first routing node to obtain a second transmission link; Constructing a plurality of unidirectional transmission links according to the first transmission link and the second transmission link; The monitoring message is sent out through the first routing node, and the monitoring message is broadcast to multiple routing nodes through multiple unidirectional transmission links, so that the second routing node among the multiple routing nodes can obtain the target data and feed the target data back to the first routing node.

2. The method according to claim 1, characterized in that Building a plurality of unidirectional transmission links according to the first transmission link and the second transmission link, including: Acquire a third routing node other than the first routing node on the first transmission link and the second transmission link; A unidirectional transmission link is constructed with each third routing node as a starting point.

3. The method according to claim 1, characterized in that Building a plurality of unidirectional transmission links according to the first transmission link and the second transmission link, including: Dividing the mesh topology structure into a plurality of initial node areas through a plurality of first transmission links and a second transmission link; dividing a third routing node in the first transmission link or the second transmission link adjacent to the initial area into the initial area to obtain a target node area; the third routing node is different from the first routing node; The third routing node and a routing node in the target area to which the third routing node belongs whose row coordinate or column coordinate is the same as that of the third routing node are connected to obtain a unidirectional transmission link with the third routing node as a starting point.

4. The method according to claim 3, characterized in that Broadcast monitoring messages to multiple routing nodes through multiple unidirectional transmission links, including: If it is determined that the current routing node is the third routing node, the monitoring message is transmitted to the next routing node along the first transmission link or the second transmission link to which the current routing node belongs, and the unidirectional transmission link to which the current routing node belongs; If it is determined that the current routing node is a routing node other than the first routing node and the third routing node, the monitoring message is transmitted to the next routing node along the unidirectional transmission link to which the current routing node belongs.

5. The method according to claim 4, characterized in that The monitoring message records the row coordinates and column coordinates of the first routing node; the method further includes: If the row coordinates of the current routing node are the same as the row coordinates of the first routing node, or the column coordinates of the current routing node are the same as the column coordinates of the first routing node, then the current routing node is determined to be the third routing node; If the row coordinates of the current routing node are different from the row coordinates of the first routing node, and the column coordinates of the current routing node are different from the column coordinates of the first routing node, the current routing node is determined to be another routing node except the first routing node and the third routing node.

6. The method according to claim 1, characterized in that Connecting the first routing node and the routing node having the same row coordinate as the first routing node to obtain a first transmission link, and connecting the first routing node and the routing node having the same column coordinate as the first routing node to obtain a second transmission link, including: Connecting the first routing node and a routing node having the same row coordinate as the first routing node and a larger column coordinate than the first routing node to obtain a first sub-transmission link; Connect the first routing node and the routing node having the same row coordinate as the first routing node and a smaller column coordinate than the first routing node to obtain a second sub-transmission link; the first sub-transmission link and the second sub-transmission link constitute a plurality of first transmission links; Connecting the first routing node and a routing node having the same column coordinate as the first routing node and a larger row coordinate than the first routing node to obtain a third sub-transmission link; The first routing node and the routing node having the same column coordinate as the first routing node and a smaller row coordinate than the first routing node are connected to obtain a fourth sub-transmission link; the third sub-transmission link and the fourth sub-transmission link constitute a plurality of second transmission links.

7. The method according to claim 6, characterized in that According to the first transmission link and the second transmission link, a plurality of unidirectional transmission links are constructed, including: Connecting the fourth routing node except the first routing node in the first sub-link and all routing nodes having the same column coordinate as the fourth routing node and a larger row coordinate than the fourth routing node to obtain a unidirectional transmission link corresponding to the first sub-link; Connecting the fifth routing node except the first routing node in the second sub-link, and all routing nodes having the same column coordinate as the fifth routing node and smaller row coordinate than the fourth routing node, to obtain a unidirectional transmission link corresponding to the second sub-link; Connecting the sixth routing node except the first routing node in the third sub-link, and all routing nodes having the same row coordinate as the sixth routing node and smaller column coordinate than the sixth routing node, to obtain a unidirectional transmission link corresponding to the third sub-link; The seventh routing node except the first routing node in the fourth sub-link and all routing nodes having the same row coordinate as the seventh routing node and larger column coordinate than the seventh routing node are connected to obtain a unidirectional transmission link corresponding to the fourth sub-link.

8. The method according to claim 1, characterized in that The first routing node is connected to a first cache, and the second routing node is connected to a second cache; before obtaining the first routing node for sending the monitoring message from the multiple routing nodes in the mesh topology structure, the method further includes: In the case where a memory access instruction is obtained through the first cache, a hit result of the memory access instruction in the first cache is obtained; the memory access instruction is used to perform a read and write operation on target data in the cache; If the hit result is a miss, the monitoring message is obtained; After broadcasting the monitoring message to the second routing node, the method further includes: The target data is obtained from the second cache, and the target data is fed back to the first routing node through a data message, and the target data is written into the first cache through the first routing node.

9. A data broadcasting device, characterized in that: include: A first acquisition module, used to acquire a first routing node for sending a monitoring message from a plurality of routing nodes in a mesh topology structure; The monitoring message is used to obtain target data through a second routing node among the multiple routing nodes; A second acquisition module is used to connect the first routing node and the routing node having the same row coordinate as the first routing node to obtain a first transmission link, and connect the first routing node and the routing node having the same column coordinate as the first routing node to obtain a second transmission link; A construction module, configured to construct a plurality of unidirectional transmission links according to the first transmission link and the second transmission link; The broadcast module is used to send the monitoring message through the first routing node, and broadcast the monitoring message to multiple routing nodes through multiple unidirectional transmission links, so that the second routing node among the multiple routing nodes can obtain the target data and feed the target data back to the first routing node.

10. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method as claimed in any one of claims 1 to 9.

11. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the method as claimed in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Network-on-Chip communication method based on Mesh topological structure

    CN106254254A

  • Directory-based nearest cache monitoring and reading method and system

    CN111858096A

  • Communication system, control node and communication method

    WO2016078071A1

Cited By

  • Message transmission method and device, electronic equipment and storage medium

    CN119865452A