Connection diagram establishment method and data transmission mechanism

Establishing connections between chip nodes through configuration lists and prefix IDs solves the problems of low data transmission efficiency and large resource occupation in the existing technology, and achieves efficient data transmission and resource saving.

CN118569150AActive Publication Date: 2024-08-30SHANGHAI QINGWEI INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410467968.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-08-30
Estimated Expiration
2044-04-18

AI Technical Summary

Technical Problem

The existing data transmission method between chip nodes requires a large amount of hardware storage resources, and the handshake matching information transmission efficiency is low, affecting the data transmission efficiency.

Method used

The configuration list and prefix ID are used to establish the connection between the sending node and the receiving node. By marking the upstream and downstream data in the closed connection graph and generating configuration information during the compilation stage, the data transmission process is simplified and online matching information transmission is avoided.

Benefits of technology

It saves hardware resources, simplifies node connection steps, improves data transmission efficiency between chip nodes, and allows sending and receiving nodes to be decoupled and perform other data operations simultaneously.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569150A
    Figure CN118569150A
Patent Text Reader

Abstract

The invention belongs to the technical field of chip development, and particularly discloses a connection diagram establishment method and a data transmission mechanism. According to the method and the mechanism, a configuration list and a prefix ID are used for establishing a relation between a sending node and a receiving node, matching information between the nodes does not need to be cached online, and additional connection is not needed for transmitting the matching information. The method and the mechanism provided by the invention not only save hardware resources, but also simplify the connection step when the upstream node and the downstream node are matched, and improve the efficiency of data transmission between the chip nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of chip development, and in particular relates to a connection diagram establishment method and a data transmission mechanism. Background Art

[0002] Data transmission is a key element throughout the function and implementation of the chip. It not only affects whether the chip can successfully achieve the intended function, but also directly determines the chip's performance indicators, energy consumption levels, reliability, and ability to adapt to different application scenarios.

[0003] At present, the commonly used technical method for data transmission between chip nodes is to add a random and globally unique ID to the data of each sending node in the chip as the identity of the data. Under this scheme, the sending node and the receiving node must first perform a handshake to pre-store matching information before data transmission before data transmission can be performed. This not only requires more hardware storage resources, which not only makes the handshake before data transmission greatly affect the efficiency of data transmission, but also because of the multiple pre-stored matching information, a large amount of hardware storage resources are occupied. Summary of the invention

[0004] In order to solve at least one of the problems mentioned in the above background technology, the present invention proposes a method for establishing a connection graph and a data transmission mechanism.

[0005] A connection graph establishment method and data transmission mechanism, the process is as follows:

[0006] Step S1, in a system on chip, marking all closed connection graphs;

[0007] Specifically, in a system on chip, if the sending node and the receiving node are closed connected, the connection relationship between the sending node and the receiving node is marked as a closed connection graph; the closed connection connection includes: one-to-one connection between the sending node and the receiving node, one-to-many connection between the sending node and the receiving node, many-to-many connection between the sending node and the receiving node, and many-to-one connection between the sending node and the receiving node;

[0008] Step S2, in the compilation phase, generating a configuration list for all sending nodes and receiving nodes in the closed connection graph;

[0009] The configuration list contains the configuration information of each sending node and receiving node. Specifically, the configuration information includes: the receiving address of the data, the sending type of the data and the length of the data.

[0010] Step S3, marking the data in the same closed connection graph;

[0011] Specifically, for the connection relationship that conforms to the closed connection graph, according to the position of the data in the transmission, the data at the front end of the transmission is defined as upstream data, and the data at the back end of the transmission is defined as downstream data, and the upstream data and the downstream data are marked with the same ID as a prefix;

[0012] The ID is globally unique in a closed graph. The present invention proposes to distinguish the upstream and downstream positions of each piece of data by adding prefixes to the upstream and downstream data.

[0013] On this basis, the present invention proposes to use a configuration list and prefix ID to establish a connection between a sending node and a receiving node, without the need for online caching of matching information between nodes, and without the need for additional connections to transmit matching information. The method and mechanism proposed by the present invention not only saves hardware resources, but also simplifies the connection steps when matching upstream and downstream nodes, and improves the efficiency of data transmission between chip nodes.

[0014] Step S4, the marked data is transmitted in the closed connection graph according to the information in the configuration list;

[0015] First, the sending node reads the prefix ID of the data, and reads the receiving address of the data in the configuration list according to the prefix ID;

[0016] Then, the prefix ID of the data and the receiving address of the data are spliced, and the spliced ​​data is sent;

[0017] Next, the receiving node receives the data sent by the sending node, parses the prefix ID of the data from the received data, and searches for the receiving address of the prefix ID locally;

[0018] Finally, the receiving node reads the configuration information of the prefix ID in the configuration list according to the parsed prefix ID, and writes the data according to the receiving address of the prefix ID.

[0019] In the actual implementation process, the sending node and the receiving node are decoupled from each other. There is no need to wait for the completion of data sending and receiving before executing the sending and receiving of other data.

[0020] The present invention has the following beneficial effects compared with the prior art:

[0021] The present invention proposes to use a configuration list and a prefix ID to establish a connection between a sending node and a receiving node, without the need to cache matching information between nodes online, and without the need for an additional connection to transmit matching information. The method and mechanism proposed by the present invention not only saves hardware resources, but also simplifies the connection steps when matching upstream and downstream nodes, and improves the efficiency of data transmission between chip nodes. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of the process of the present invention;

[0023] Figure 2 It is a schematic diagram of the structure of a closed connection graph in an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose and features of the present invention more obvious and easy to understand, the present technical solution is described in detail below through embodiments and in conjunction with the accompanying drawings.

[0025] like Figure 1 As shown, a connection diagram establishment method and data transmission mechanism, the implementation process is as follows:

[0026] Step S1, in a system on chip, marking all closed connection graphs.

[0027] Specifically, in a system on chip, the sending node and the receiving node are closed connected, and the connection relationship between the sending node and the receiving node is marked as a closed connection graph.

[0028] like Figure 2 As shown, the closed connection includes: a one-to-one connection between a sending node and a receiving node, a one-to-many connection between a sending node and a receiving node, a many-to-many connection between a sending node and a receiving node, and a many-to-one connection between a sending node and a receiving node.

[0029] Step S2, in the compilation phase, generates a configuration list for all sending nodes and receiving nodes in the closed connection graph.

[0030] The configuration list contains the configuration information of each sending node and receiving node. Specifically, the configuration information includes: the receiving address of the data, the sending type of the data and the length of the data.

[0031] Step S3, marking the data in the same closed connected graph.

[0032] Specifically, for the connection relationship that conforms to the closed connection graph, according to the position of the data in the transmission, the data at the front end of the transmission is defined as upstream data, and the data at the back end of the transmission is defined as downstream data, and the upstream data and downstream data are marked with the same ID as the prefix.

[0033] Step S4: The marked data is transmitted in the closed connection graph according to the information in the configuration list.

[0034] First, the sending node reads the prefix ID of the data, and reads the receiving address of the data in the configuration list according to the prefix ID.

[0035] Then, the prefix ID of the data and the receiving address of the data are concatenated, and the concatenated data is sent.

[0036] Next, the receiving node receives the data sent by the sending node, parses the prefix ID of the data from the received data, and searches for the receiving address of the prefix ID locally.

[0037] Finally, the receiving node reads the configuration information of the prefix ID in the configuration list according to the parsed prefix ID, and writes the data according to the receiving address of the prefix ID.

[0038] In the actual implementation process, the sending node and the receiving node are decoupled from each other, and other data can be sent and received without waiting for the sending and receiving of data to be completed.

[0039] So far, according to the method disclosed in the present invention, the working process of the present invention has been implemented once.

[0040] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0041] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0042] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A connection diagram establishment method and data transmission mechanism, characterized in that: Includes steps: Step S1, in a system on chip, marking all closed connection graphs; Step S2, in the compilation phase, generating a configuration list for all sending nodes and receiving nodes in the closed connection graph; Step S3, marking the data in the same closed connection graph; Step S4: The marked data is transmitted in the closed connection graph according to the information in the configuration list.

2. A connection diagram establishment method and data transmission mechanism according to claim 1, characterized in that: The closed connection diagram described in step S1, specifically, in a system on a chip, the sending node and the receiving node are closed connected, and the connection relationship between the sending node and the receiving node is marked as a closed connection diagram; the closed connection connection includes: one-to-one connection between the sending node and the receiving node, one-to-many connection between the sending node and the receiving node, many-to-many connection between the sending node and the receiving node, and many-to-one connection between the sending node and the receiving node.

3. A connection diagram establishment method and data transmission mechanism according to claim 1, characterized in that: The configuration list described in step S2, specifically, the configuration information includes: a receiving address of data, a sending type of data and a length of data.

4. A connection diagram establishment method and data transmission mechanism according to claim 1, characterized in that: The data located in the same closed connection graph is marked in step S3. Specifically, for the connection relationship that conforms to the closed connection graph, the data located at the front end of the transmission is defined as upstream data, and the data located at the back end of the transmission is defined as downstream data according to the position of the data in the transmission, and the upstream data and the downstream data are marked with the same ID as the prefix.

5. A connection diagram establishment method and data transmission mechanism according to claim 1, characterized in that: Step S4 comprises the steps of: First, the sending node reads the prefix ID of the data, and reads the receiving address of the data in the configuration list according to the prefix ID; Then, the prefix ID of the data and the receiving address of the data are spliced, and the spliced ​​data is sent; Next, the receiving node receives the data sent by the sending node, parses the prefix ID of the data from the received data, and searches for the receiving address of the prefix ID locally; Finally, the receiving node reads the configuration information of the prefix ID in the configuration list according to the parsed prefix ID, and writes the data according to the receiving address of the prefix ID.

Citation Information

Patent Citations

  • Method and device for determining initial searching node of data packet

    CN106209645A

  • Data transmission method capable of customizing load balance strategy

    CN106533967A

  • Method for discovering neighbor nodes and automatically establishing connection in NDN network

    CN110430088A

  • Configuration distribution method and device, configuration receiving method and device and computer readable storage medium

    CN110798349A

  • Multi-weight group inheritance management method and device based on distributed control

    CN111967036A