Interconnection system, data transmission method, and chip
This application relates to an interconnection system. In an example, an interconnection system includes a plurality of circular data paths including at least one lateral circular data path and at least one longitudinal circular data path. The interconnection system further includes a data routing component disposed at an intersection on the at least one lateral circular data path and the at least one longitudinal circular data path. The data routing component is separately coupled to the at least one lateral circular data path and the at least one longitudinal circular data path. The interconnection system further includes at least one functional component disposed at a non-intersection corresponding to one of the at least one lateral circular data path and the at least one longitudinal circular data path.
1 . A system, wherein the system comprises:
a plurality of circular data paths comprising a first lateral circular data path, a second lateral circular data path, a first longitudinal circular data path, and a second longitudinal circular data path;
a plurality of data routing components coupled to the plurality of circular data paths, wherein the plurality of data routing components comprise a first data routing component and a second data routing component, the first data routing component is disposed at a first intersection of and is coupled to the first lateral circular data path and the first longitudinal circular data path, and the second data routing component is disposed at a second intersection of and is coupled to the second lateral circular data path and the second longitudinal circular data path; and
at least one functional component disposed at a non-intersection corresponding to one of the first lateral circular data path and the first longitudinal circular data path, wherein the at least one functional component is configured to transmit data to a destination component on another one of the first lateral circular data path and the first longitudinal circular data path through the first data routing component, wherein the at least one functional component is coupled only to the one of the first lateral circular data path and the first longitudinal circular data path;
wherein the data carries a destination address of the destination component; and
wherein the first data routing component is configured to:
store a first address set, wherein the first address set comprises an address of a component coupled to the first lateral circular data path and an address of a component coupled to the first longitudinal circular data path;
determine that the destination address carried in the data is consistent with an address in the first address set; and
in response to determining that the destination address carried in the data is consistent with the address in the first address set, receive the data and forward the data to the destination component.
2 . The system according to claim 1 , wherein the plurality of circular data paths are arranged in a mesh.
3 . The system according to claim 1 , wherein the at least one functional component comprises a plurality of functional components disposed at a plurality of non-intersections on one of the plurality of circular data paths, and the plurality of functional components are arranged on a same side of the one of the plurality of circular data paths.
4 . The system according to claim 1 , wherein the at least one functional component comprises at least one of a computing component and a storage component; and
the computing component is configured to process a computing task, and the storage component is configured to process a storage task.
5 . The system according to claim 4 , wherein:
the at least one functional component comprises at least one computing component and at least one storage component;
each of the at least one computing component is coupled to a corresponding longitudinal circular data path; and
each of the at least one storage component is coupled to a corresponding lateral circular data path.
6 . The system according to claim 4 , wherein the computing component comprises a neural network processor; and the storage component comprises a memory.
7 . The system according to claim 1 , wherein each of the plurality of data routing components is one of a central processing unit (CPU), a network interface controller (NIC), a peripheral component interconnect express (PCIE), or a ring bridge.
8 . The system according to claim 1 , wherein the data further carries one or more forwarding addresses of at least one forwarding component corresponding to the destination component, and the one or more forwarding addresses comprise an address of the first data routing component; and
the first data routing component is further configured to:
determine that one of the one or more forwarding addresses carried in the data is consistent with the address of the first data routing component, receive the data, and forward the data to another circular data path of the plurality of circular data paths to which the first data routing component is coupled.
9 . A method for transmitting data in an interconnection system, wherein the interconnection system comprises:
a plurality of circular data paths comprising a first lateral circular data path, a second lateral circular data path, a first longitudinal circular data path, and a second longitudinal circular data path;
a plurality of data routing components coupled to the plurality of circular data paths, wherein the plurality of data routing components comprise a first data routing component and a second data routing component, the first data routing component is disposed at a first intersection of and is coupled to the first lateral circular data path and the first longitudinal circular data path, and the second data routing component is disposed at a second intersection of and is coupled to the second lateral circular data path and the second longitudinal circular data path; and
at least one functional component disposed at a non-intersection corresponding to one of the first lateral circular data path and the first longitudinal circular data path, and wherein the method comprises:
transmitting, by the at least one functional component, data to another one of the first lateral circular data path and the first longitudinal circular data path;
receiving the data by the first data routing component; and
forwarding, by the first data routing component, the received data to a destination component on the other one of the first lateral circular data path and the first longitudinal circular data path, wherein the at least one functional component is coupled only to the one of the first lateral circular data path and the first longitudinal circular data path;
wherein the data carries a destination address of the destination component; and
wherein the first data routing component is configured to:
store a first address set, wherein the first address set comprises an address of a component coupled to the first lateral circular data path and an address of a component coupled to the first longitudinal circular data path;
determine that the destination address carried in the data is consistent with an address in the first address set; and
in response to determining that the destination address carried in the data is consistent with the address in the first address set, receive the data and forward the data to the destination component.
10 . The method according to claim 9 , wherein the data further carries one or more forwarding addresses of at least one forwarding component; the one or more forwarding addresses of the at least one forwarding component comprise an address of the first data routing component; and
in response to determining that the address of the first data routing component is consistent with one of the one or more forwarding addresses, the first data routing component receives the data and forwards the data to another circular data path to which the first data routing component is coupled.
11 . A system on a chip (SoC) chip, comprising an interconnection system, wherein the interconnection system comprises:
a plurality of circular data paths comprising a first lateral circular data path, a second lateral circular data path, a first longitudinal circular data path, and a second longitudinal circular data path;
a plurality of data routing components coupled to the plurality of circular data paths, wherein the plurality of data routing components comprise a first data routing component and a second data routing component, the first data routing component is disposed at a first intersection of and is coupled to the first lateral circular data path and the first longitudinal circular data path, and the second data routing component is disposed at a second intersection of and is coupled to the second lateral circular data path and the second longitudinal circular data path; and
at least one functional component disposed at a non-intersection corresponding to one of the first lateral circular data path and the first longitudinal circular data path, wherein the at least one functional component is configured to transmit data to a destination component on another one of the first lateral circular data path and the first longitudinal circular data path through the first data routing component, wherein the at least one functional component is coupled only to the one of the first lateral circular data path and the first longitudinal circular data path;
wherein the data carries a destination address of the destination component; and
wherein the first data routing component is configured to:
store a first address set, wherein the first address set comprises an address of a component coupled to the first lateral circular data path and an address of a component coupled to the first longitudinal circular data path;
determine that the destination address carried in the data is consistent with an address in the first address set; and
in response to determining that the destination address carried in the data is consistent with the address in the first address set, receive the data and forward the data to the destination component.
12 . The SoC chip according to claim 11 , wherein the plurality of circular data paths are arranged in a mesh.
13 . The SoC chip according to claim 11 , wherein the at least one functional component comprises a plurality of functional components disposed at a plurality of non-intersections on one of the plurality of circular data paths, and the plurality of functional components are arranged on a same side of the one of the plurality of circular data paths.
14 . The SoC chip according to claim 11 , wherein the at least one functional component comprises at least one of a computing component and a storage component, the computing component is configured to process a computing task, and the storage component is configured to process a storage task.
15 . The SoC chip according to claim 14 , wherein the computing component comprises a neural network processor, and the storage component comprises a memory.