Method for realizing dual-mode interconnection of chips

By arranging interface logic on the chip substrate and setting dual mode operation, direct interconnection between chips and interconnection between servers is achieved, the problems of system complexity and cost in the prior art are solved, power consumption is reduced and improved stability.

CN119226217AActive Publication Date: 2024-12-31SHANGHAI QINGWEI INTELLIGENT TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411029213.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-31
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

Current interconnection technology between computing units or servers requires additional switches and adapters, resulting in increased system complexity and cost and higher latency.

Method used

By arranging interface logic on the chip substrate, including the sending link module, the chip interconnection module, the chip access module, the receiving link module and the communication network port, two working modes are set: the chip interconnection mode and the server interconnection mode, and share the same interface Logic circuits realize direct interconnection between chips and interconnection between servers.

Benefits of technology

Save the chip interface circuit area, reduce communication power consumption, simplify system structure, and improve stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119226217A_ABST
    Figure CN119226217A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of chip communication, and particularly discloses a method for realizing dual-mode interconnection of chips. According to the method, interconnection between chips and interconnection between servers are realized by sharing one set of interface logic, so that the area of a chip interface circuit can be saved, the power consumption of chip communication is reduced, the system structure of chip communication is simplified, and the stability of the system structure is improved.
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 communication, and in particular relates to a method for realizing dual-mode interconnection of chips. Background Art

[0002] With the rapid development of artificial intelligence technology, especially artificial intelligence large model technology, the demand for computing power has shown an explosive growth trend. Generally speaking, large models usually have billions or even hundreds of billions of parameters. Due to the huge amount of calculation of large models, a single computing unit often cannot meet the training needs. Therefore, distributed training technology is widely used to distribute model training tasks to multiple computing units or servers for parallel computing.

[0003] Distributed training is a method of breaking down machine learning or deep learning model training tasks into multiple subtasks and performing training in parallel on multiple computing devices. This technology can make full use of the computing resources of multiple computers, improve training speed, and reduce computing costs. In distributed training, high-speed network connections are required between each computing unit or server to transmit data and synchronize gradient information. Therefore, the interconnection technology between computing units or servers is of great significance to improving training speed and reducing computing costs.

[0004] Currently, different interconnect components and high-speed network technologies are usually used to achieve interconnection between computing units or between servers. However, since the current technology requires additional switches and adapters, it not only increases the complexity and cost of the system, but also leads to higher latency and usage costs. Summary of the invention

[0005] In order to solve at least one of the problems mentioned in the above background technology, the present invention proposes a method for realizing dual-mode interconnection of chips.

[0006] A method for realizing dual-mode interconnection of chips, comprising the steps of:

[0007] Step S1, arranging interface logic on the chip substrate, specifically, arranging interface logic on four ends of the chip substrate: top, bottom, left, and right;

[0008] The interface logic specifically includes a sending link module, a chip interconnection module, a chip access module, a receiving link module and a communication network port. The sending link module is used for link selection when the chip sends data; the chip interconnection module is used for direct communication between chips; the chip access module is used for communication between chips through a switch; the receiving link module is used for link selection when the chip receives data; and the communication network port is used to establish a connection between the chip and the outside.

[0009] Step S2, setting the working mode of the interface logic, and completing the circuit connection of the interface logic according to the set working mode;

[0010] Specifically, the set working modes include two types: one is a chip interconnection mode in which chips are directly interconnected with each other; the other is a server interconnection mode in which chips are interconnected with each other through a switch;

[0011] The specific circuit connection method of the interface logic is:

[0012] One end of the transmission link module is connected to the chip, and the other end is connected to the chip interconnection module and the chip access module respectively;

[0013] The other end of the chip interconnect module and the chip access module is connected to one end of the receiving link module;

[0014] The other end of the receiving link module is connected to one end of the communication network port;

[0015] The other end of the communication network port is connected to the outside;

[0016] Currently, different interconnect components and high-speed network technologies are usually used to realize the interconnection between computing units or between servers. However, since the currently used technology requires additional switches and adapters, it not only increases the complexity and cost of the system, but also leads to higher delays and usage costs. The present invention proposes to realize the interconnection between chips and between servers by sharing a set of interface logic, which not only saves the area of ​​the chip interface circuit and reduces the power consumption of chip communication, but also simplifies the system structure of chip communication and improves the stability of the system structure.

[0017] Step S3, the chip substrates on which the interface logic is arranged are interconnected according to the set working mode, wherein:

[0018] If it is the chip interconnection mode, when the chip sends data, the sending link module sends the data to the chip interconnection module; when the chip receives data, the receiving link module sends the data to the chip interconnection module.

[0019] If it is the server interconnection mode, when the chip sends data, the sending link module sends the data to the chip access module; when the chip receives data, the receiving link module sends the data to the chip access module.

[0020] The present invention proposes a method for realizing dual-mode interconnection of chips, which has the following advantages compared with the existing technology:

[0021] Beneficial effects:

[0022] The present invention proposes to realize the interconnection between chips and between servers by sharing a set of interface logic, which not only saves the area of ​​the chip interface circuit and reduces the power consumption of chip communication, but also simplifies the system structure of chip communication and improves the stability of the system structure. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0024] Figure 2 is a schematic diagram of the layout of the interface logic in an embodiment of the present invention;

[0025] Figure 3 is a circuit connection diagram of the interface logic in an embodiment of the present invention;

[0026] Figure 4 is a schematic diagram of a chip interconnection mode in an embodiment of the present invention;

[0027] Figure 5 It is a schematic diagram of a server interconnection mode in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] 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.

[0029] like Figure 1 As shown, a method for realizing dual-mode interconnection of chips includes the steps of:

[0030] Step S1, arranging interface logic on a chip substrate.

[0031] The interface logic includes a sending link module, a chip interconnection module, a chip access module, a receiving link module and a communication network port. The sending link module is used for link selection when the chip sends data; the chip interconnection module is used for direct communication between chips; the chip access module is used for communication between chips through a switch; the receiving link module is used for link selection when the chip receives data; and the communication network port is used to establish a connection between the chip and the outside.

[0032] like Figure 2 As shown, the interface logic is arranged on the four end sides of the chip substrate: top, bottom, left and right.

[0033] Optionally, a plurality of interface logics may be arranged on each end side.

[0034] Step S2, setting the working mode of the interface logic, and completing the circuit connection of the interface logic according to the set working mode. Specifically, the set working modes include two types, one is a chip interconnection mode in which chips are directly interconnected with each other; the other is a server interconnection mode in which chips are interconnected with each other through a switch.

[0035] In practical applications, the interface logic includes the protocol layer, adaptation layer, physical layer and other related circuits required for chip interconnection, and the two working modes use the same adaptation layer and physical layer circuits.

[0036] Optionally, it can be configured that different control signals correspond to different working modes in the interface logic.

[0037] In actual implementation, the external part includes other chips and switches.

[0038] like Figure 3 As shown, the specific circuit connection method of the interface logic is:

[0039] One end of the transmission link module is connected to the chip, and the other end is connected to the chip interconnection module and the chip access module respectively;

[0040] The other end of the chip interconnect module and the chip access module is connected to one end of the receiving link module;

[0041] The other end of the receiving link module is connected to one end of the communication network port;

[0042] The other end of the communication network port is connected to the outside.

[0043] Step S3, the chip substrates on which the interface logic is arranged are interconnected according to the set working mode.

[0044] The interconnection is performed specifically according to the server interconnection mode and the chip interconnection mode.

[0045] If it is the chip interconnection mode, when the chip sends data, the sending link module sends the data to the chip interconnection module; when the chip receives data, the receiving link module sends the data to the chip interconnection module.

[0046] like Figure 4 As shown, in the actual implementation process, in the chip interconnection mode, each chip can be connected in series and in parallel through the interface logic.

[0047] If it is the server interconnection mode, when the chip sends data, the sending link module sends the data to the chip access module; when the chip receives data, the receiving link module sends the data to the chip access module.

[0048] like Figure 5 As shown, in the actual implementation process, in the server interconnection mode, the chips in the server can be interconnected through a switch, thereby realizing the interconnection between servers.

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

[0050] 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.

[0051] 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.

[0052] 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 method for realizing dual-mode interconnection of chips, characterized in that: Includes steps: Step S1, arranging interface logic on a chip substrate; Step S2, setting the working mode of the interface logic, and completing the circuit connection of the interface logic according to the set working mode; Step S3, the chip substrates on which the interface logic is arranged are interconnected according to the set working mode.

2. A method for realizing dual-mode interconnection of chips according to claim 1, characterized in that: The interface logic described in step S1 specifically includes a sending link module, a chip interconnection module, a chip access module, a receiving link module and a communication network port; Among them, the sending link module is used for link selection when the chip sends data; the chip interconnection module is used for direct communication between chips; the chip access module is used for communication between chips through a switch; the receiving link module is used for link selection when the chip receives data; and the communication network port is used to establish a connection between the chip and the outside.

3. The method for realizing dual-mode interconnection of chips according to claim 1, characterized in that: The working mode set in step S2, specifically, includes two working modes: one is a chip interconnection mode in which chips are directly interconnected with each other; the other is a server interconnection mode in which chips are interconnected with each other through a switch.

4. The method for realizing dual-mode interconnection of chips according to claim 1, characterized in that: The circuit connection of the interface logic described in step S2 is specifically connected in the following manner: One end of the transmission link module is connected to the chip, and the other end is connected to the chip interconnection module and the chip access module respectively; The other end of the chip interconnect module and the chip access module is connected to one end of the receiving link module; The other end of the receiving link module is connected to one end of the communication network port; The other end of the communication network port is connected to the outside.

5. The method for realizing dual-mode interconnection of chips according to claim 1, characterized in that: The interconnection is performed according to the set working mode described in step S3, If it is the chip interconnection mode, when the chip sends data, the sending link module sends the data to the chip interconnection module; when the chip receives data, the receiving link module sends the data to the chip interconnection module; If it is the server interconnection mode, when the chip sends data, the sending link module sends the data to the chip access module; when the chip receives data, the receiving link module sends the data to the chip access module.

Citation Information

Patent Citations

  • Method for reconfiguring communication gateway hardware

    CN105959215A

  • FPGA chip and interconnection control method thereof

    CN112486895A

  • Communication method and device for management chip and chip grid array, equipment and medium

    CN113709039A

  • Network switch based on dual-mode switching

    CN114978788A

  • Test method and test system

    CN117873804A