Method for configuring addresses of nodes in multi-node system

By using the address controller and forwarding table in multi -node systems, the problem of the address configuration and target node positioning in the multi -node system is solved, and the security and reliability of data transmission is realized.

WO2025020667A1PCT designated stage expired Publication Date: 2025-01-30NOREL SYSTEMS LIMITED
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/095157
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-26
Filing Date
2024-05-24
Publication Date
2025-01-30

AI Technical Summary

Technical Problem

In a multi-node system, how to easily configure the addresses of multiple nodes in the system and accurately locate the target node during data transmission.

Method used

The address controller is introduced in a multi -node system to send an address configuration command package to the node, which contains the target node address and the target node configuration address. The node parses the command package based on its state (unconfigured or configured status), and uses the conversion to address configuration and data reposting when necessary.

Benefits of technology

The convenient configuration of the address of the node in the multi -node system and the accurate positioning of the target node ensure the security and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024095157_30012025_PF_FP_ABST
    Figure CN2024095157_30012025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention is a method for configuring the addresses of nodes in a multi-node system. A multi-node system comprises a plurality of nodes and an address controller, which is connected to one or more nodes, wherein the address controller sends an address configuration command packet to each node connected to the address controller; the address configuration command packet includes a target node address and a target node configuration address; each node parses the address configuration command packet; if the target node address in the address configuration command packet is equal to an address identifier of the node, the node configures the address identifier as the target node configuration address in the address configuration command packet; and if the target node address is not equal to the address identifier of the node and the node includes a forwarding table, the node uses the target node address to query the forwarding table, and sends by means of a transmission channel indicated by the forwarding table the address configuration command packet to a node connected to the node.
Need to check novelty before this filing date? Find Prior Art

Description

A method for configuring node addresses in a multi-node system Technical Field

[0001] The present invention relates to the fields of communication technology and vehicle-mounted electronic technology, and in particular to a node address configuration method for a multi-node system. Background Art

[0002] In the field of communication technology, especially in the field of automotive electronics, an intelligent car is equipped with more than ten or even dozens of high-definition cameras. The common in-vehicle video transmission system works by encoding the digital signal output by the control terminal Sensor / ISP into a serial data stream, transmitting it to the receiving end through high-speed SerDes. The receiving end decodes and restores it into parallel data and sends it to the main control SOC.

[0003] Numerous control terminals and receiving terminals require an address configuration method to safely and reliably manage video and audio and control data flows.

[0004] Summary of the Invention

[0005] The technical problem to be solved by the present invention is how to conveniently configure the addresses of multiple nodes in a multi-node system and accurately locate the target node during data transmission.

[0006] In order to solve the above technical problems, the technical solution of the present invention provides a method for configuring node addresses in a multi-node system.

[0007] As a node address configuration method for a multi-node system of the present invention, the multi-node system includes multiple nodes and an address controller, the address controller is connected to one or more nodes, the address controller sends an address configuration command packet to the node connected to it, the address configuration command packet includes a target node address and a target node configuration address, each node in the multi-node system is connected to one or more transmission channels, and is connected to one or more other nodes through the transmission channel, the transmission channel has a transmission channel sequence number, the node includes an address identifier for identifying the address of the node where it is located, the node may also selectively include a forwarding table, the input of the forwarding table is the target node address, and the output is the transmission channel sequence number, the state of the node includes an unconfigured state and a configured state, the node parses the address configuration command packet, in the unconfigured state, if the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, in the configured state, if the target node address is not equal to the node address identifier, and the node includes a forwarding table, the node uses the target node address to query the forwarding table, and sends the address configuration command packet to the node connected to it through the transmission channel indicated by the forwarding table.

[0008] Preferably, when the node is in a configured state, if the target node address in the address configuration command packet received by the node is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet.

[0009] Preferably, when the address controller has not configured the node address identifier, the node is in the unconfigured state; when the address controller completes the configuration of the node address identifier, the node is in the configured state.

[0010] Preferably, when the node address identifier is the node default address, the node is in the unconfigured state; when the node address identifier is configured to be different from the node default address, the node is in the configured state; the node default addresses of different nodes in the multi-node system may be the same or different.

[0011] Preferably, the method of sending the address configuration command packet to the node connected thereto through the transmission channel indicated by the forwarding table is: if the forwarding table outputs a valid transmission channel sequence number, the address configuration status packet is sent to the node connected thereto through the transmission channel corresponding to the transmission channel sequence number.

[0012] Preferably, the address configuration command packet further includes a source node address, and the source node address is an address identifier of a node connected to the address controller.

[0013] Furthermore, after receiving the address configuration command packet, the node can choose to return an address configuration status packet, which includes the target node address and status information of the address configuration status packet. The target node address of the address configuration status packet is the source node address of the corresponding address configuration command packet. The node returns the address configuration status packet to the node connected to the address controller, and the node connected to the address controller can choose to return the status information in the address configuration status packet to the address controller connected to it.

[0014] When the node is in an unconfigured state and the target node address in the address configuration command packet is equal to the node address identifier, and the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet is successful, an address configuration status packet is returned, and the status information is status information A.

[0015] When the node is in an unconfigured state and the target node address in the address configuration command packet is equal to the node address identifier, and the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet fails, an address configuration status packet is returned, and the status information is status information B.

[0016] When the node is in an unconfigured state and the target node address in the address configuration command packet is not equal to the node address identifier, the node returns an address configuration status packet, and the status information is status information C.

[0017] When the node is in the configured state and the target node address in the address configuration command packet is equal to the node address identifier, and the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet is successful, the node returns an address configuration status packet, and the status information is status information D.

[0018] When the node is in the configured state and the target node address in the address configuration command packet is equal to the node address identifier, and the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet fails, the node returns an address configuration status packet, and the status information is status information E.

[0019] When the node is in the configured state, the target node address in the address configuration command packet is not equal to the node address identifier, and the transmission channel sequence number returned by the node querying the forwarding table using the target node address is invalid, the node returns an address configuration status packet, and the status information is status information F.

[0020] Preferably, the method by which the node returns the address configuration status packet to the node connected to the address controller is that the node in the address configuration status packet return path parses the address configuration status packet; if the target node address in the address configuration status packet is equal to the node address identifier, the node receives the address configuration status packet; if the target node address in the address configuration status packet is not equal to the node address identifier, the node uses the target node address in the address configuration status packet to query the forwarding table, and sends the address configuration status packet to the node connected to it through the transmission channel indicated by the forwarding table.

[0021] Preferably, the method by which the node returns the address configuration status packet to the node connected to the address controller is that the node in the address configuration status packet return path parses the address configuration status packet; if the target node address in the address configuration status packet is equal to the node address identifier, the node receives the address configuration status packet; if the target node address in the address configuration status packet is not equal to the node address identifier, the node forwards the address configuration status packet to the transmission channel through which the node receives the address configuration command packet corresponding to this address configuration status packet.

[0022] Preferably, the node connected to the address controller further includes a timeout timer. When the address configuration status packet does not return to the node before timeout, the node stops waiting for the address configuration status packet and optionally returns timeout status information to the address controller connected thereto.

[0023] Preferably, the address configuration command packet sent by the address controller also includes forwarding table item configuration information. The node parses the address configuration command packet. In an unconfigured state, if the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and configures the corresponding forwarding table item according to the included forwarding table item configuration information. In a configured state, if the target node address is not equal to the node address identifier, the node uses the target node address to query the forwarding table, and sends the address configuration command packet to the node connected to it through the transmission channel indicated by the forwarding table.

[0024] Preferably, when the node is in a configured state, if the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and configures the corresponding forwarding table entry according to the included forwarding table entry configuration information.

[0025] Preferably, the address controller can also send a forwarding table configuration command packet, which includes a target node address and one or more forwarding table item configuration information. The node parses the forwarding table configuration command packet. In an unconfigured state, if the target node address in the forwarding table configuration command packet is equal to the node address identifier, the node configures the corresponding forwarding table item according to the forwarding table item configuration information. In a configured state, if the target node address is not equal to the node address identifier, the node uses the target node address to query the forwarding table and sends the forwarding table configuration command packet to the node connected to it through the transmission channel indicated by the forwarding table.

[0026] Preferably, when the node is in a configured state, if the target node address in the forwarding table configuration command packet is equal to the node address identifier, the node configures the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet.

[0027] Preferably, the forwarding table configuration command packet further includes a source node address, and the source node address is an address identifier of a node connected to the address controller.

[0028] Furthermore, after receiving the forwarding table configuration command packet, the node can choose to return a forwarding table configuration status packet, which includes the target node address and status information of the forwarding table configuration status packet. The target node address of the forwarding table configuration status packet is the source node address of the corresponding forwarding table configuration command packet. The node returns the forwarding table configuration status packet to the node connected to the address controller, and the node connected to the address controller can choose to return the status information in the forwarding table configuration status packet to the address controller connected to it.

[0029] When the node is in an unconfigured state and the target node address in the forwarding table configuration command packet is equal to the node address identifier, and the result of the node configuring the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet is successful, a forwarding table configuration status packet is returned, and the status information is status information A1.

[0030] When the node is in an unconfigured state and the target node address in the forwarding table configuration command packet is equal to the node address identifier, and the result of the node configuring the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet is failure, a forwarding table configuration status packet is returned, and the status information is status information B1.

[0031] When the node is in an unconfigured state and the target node address in the forwarding table configuration command packet is not equal to the node address identifier, the node returns a forwarding table configuration status packet, and the status information is the status information C1.

[0032] When the node is in the configured state and the target node address in the forwarding table configuration command packet is equal to the node address identifier, and the result of the node configuring the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet is successful, the node returns a forwarding table configuration status packet, and the status information is status information D1.

[0033] When the node is in the configured state and the target node address in the forwarding table configuration command packet is equal to the node address identifier, and the result of the node configuring the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet is failure, the node returns a forwarding table configuration status packet, and the status information is status information E1.

[0034] When the node is in the configured state, the target node address in the forwarding table configuration command packet is not equal to the node address identifier, and the transmission channel sequence number returned by the node querying the forwarding table using the target node address is invalid, the node returns a forwarding table configuration status packet, and the status information is status information F1.

[0035] Preferably, the method by which the node returns the forwarding table configuration status packet to the node connected to the address controller is that the node in the forwarding table configuration status packet return path parses the forwarding table configuration status packet; if the target node address in the forwarding table configuration status packet is equal to the node address identifier, the node receives the forwarding table configuration status packet; if the target node address in the forwarding table configuration status packet is not equal to the node address identifier, the node uses the target node address in the forwarding table configuration status packet to query the forwarding table, and sends the forwarding table configuration status packet to the node connected to it through the transmission channel indicated by the forwarding table.

[0036] Preferably, the method by which the node returns the forwarding table configuration status packet to the node connected to the address controller is that the node in the forwarding table configuration status packet return path parses the forwarding table configuration status packet; if the target node address in the forwarding table configuration status packet is equal to the node address identifier, the node receives the forwarding table configuration status packet; if the target node address in the forwarding table configuration status packet is not equal to the node address identifier, the node forwards the forwarding table configuration status packet to the transmission channel through which the node receives the forwarding table configuration command packet corresponding to this forwarding table configuration status packet.

[0037] Preferably, the node connected to the address controller further includes a timeout timer. When the forwarding table configuration status packet does not return to the node before timeout, the node stops waiting for the forwarding table configuration status packet and optionally returns timeout status information to the address controller connected thereto.

[0038] Preferably, one of the nodes is integrated into one integrated circuit chip.

[0039] Preferably, the address controller is connected to a node, and the address controller and the node connected thereto are integrated into an integrated circuit chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] FIG1 is a block diagram of a multi-node system of a method for configuring node addresses of a multi-node system according to the present invention;

[0041] FIG2 is a forwarding table when node 1 is in an unconfigured state in a multi-node system of a multi-node system node address configuration method of the present invention;

[0042] 3 is an address configuration command packet sent by an address controller in a multi-node system of a multi-node system node address configuration method of the present invention;

[0043] 4 is an address configuration status packet returned by a node in a multi-node system in a multi-node system node address configuration method of the present invention after receiving an address configuration command packet in an unconfigured state and successfully completing the configuration;

[0044] 5 is a block diagram of another multi-node system of the present invention, a method for configuring node addresses in a multi-node system;

[0045] 6 is an address configuration command packet sent by an address controller in another multi-node system of the multi-node system node address configuration method of the present invention;

[0046] 7 is another multi-node system of the present invention, the method for configuring node addresses in a multi-node system, a forwarding table of node 1 after receiving the address configuration command packet and successfully completing the configuration;

[0047] 8 is a forwarding table of another multi-node system in a multi-node system node address configuration method of the present invention, in which node 2 receives an address configuration command packet and successfully completes the configuration;

[0048] 9 is another multi-node system of the present invention, the node address configuration method of the multi-node system, the node 3 receives the address configuration command packet and successfully completes the forwarding table configuration;

[0049] 10 is a block diagram of another multi-node system of the present invention, a method for configuring node addresses in a multi-node system;

[0050] 11 is a forwarding table configuration command packet and an address configuration command packet sent by the address controller in another multi-node system of the multi-node system node address configuration method of the present invention;

[0051] 12 is a forwarding table in a multi-node system in another multi-node system of the present invention, in which node 1 receives a forwarding table configuration command packet and successfully completes the configuration;

[0052] 13 is a multi-node system node address configuration method of the present invention, a multi-node system, node 4 receives the forwarding table configuration command packet and successfully completes the forwarding table configuration;

[0053] 14 is a multi-node system node address configuration method of the present invention, another multi-node system, node 4 receives the forwarding table configuration command packet in the unconfigured state and returns the forwarding table configuration status packet after successfully completing the configuration;

[0054] FIG15 is a structural block diagram of another multi-node system of the multi-node system node address configuration method of the present invention. DETAILED DESCRIPTION

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.

[0056] As shown in FIG1 , in an application embodiment of the present invention, as a node address configuration method of a multi-node system of the present invention, the multi-node system includes an address controller and nodes 1 and 2 .

[0057] The address controller in a multi-node system can be connected to one or more nodes. In this embodiment, the address controller is connected to node 1.

[0058] Each node in a multi-node system can be connected to one or more transmission channels and connected to one or more other nodes through the transmission channels. In this embodiment, node 1 is connected to node 2 through transmission channel 1, and node 2 is connected to node 1 through transmission channel 1.

[0059] The transmission channels in the multi-node system have transmission channel serial numbers. In this embodiment, the serial number of transmission channel 1 is 1.

[0060] A node in a multi-node system includes an address identifier, which is used to identify the address of the node where it is located. The state of a node includes an unconfigured state and a configured state. In this embodiment, when the address controller has not configured the node address identifier, the node is in an unconfigured state. After the address controller completes the configuration of the node address identifier, the node is in a configured state. The node address identifier in the configured state may be the same as or different from the node default address. In other embodiments, when the node address identifier is the node default address, the node is in an unconfigured state. When the node address identifier is configured to be different from the node default address, the node is in a configured state. The node address identifier in the configured state is different from the node default address. The node default addresses of different nodes in a multi-node system may be the same or different. In this embodiment, node 1 and node 2 have the same node default address, and the default addresses are both 0.

[0061] The nodes in the multi-node system can also selectively include a forwarding table, wherein the input of the forwarding table is the destination node address and the output is the transmission channel sequence number. The forwarding table can include one or more forwarding table entries, each of which includes a pair of destination node addresses and transmission channel sequence numbers. The forwarding table searches for a matching forwarding table entry based on the input destination node address and outputs the transmission channel sequence number in the entry. In the present embodiment, node 1 includes a forwarding table, and node 2 does not include a forwarding table, or there is no entry in the forwarding table. When node 1 is in an unconfigured state, the forwarding table of node 1 is shown in Figure 2, and the forwarding table includes two forwarding table entries.

[0062] The address controller in a multi-node system sends an address configuration command packet to the nodes connected to it. The address configuration command packet contains the target node address and the target node configuration address. The address configuration command packet may also optionally include the source node address, which is the address identifier of the node connected to the address controller. Figure 3 shows four address configuration command packets sent by the address controller in this embodiment.

[0063] A node in a multi-node system parses an address configuration command packet after receiving it. When the node is in an unconfigured state, if the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet. When the node is in a configured state, if the target node address is not equal to the node address identifier and the node includes a forwarding table, the node queries the forwarding table using the target node address and sends the address configuration command packet to the node connected to it via the transmission channel indicated by the forwarding table. The method for sending the address configuration command packet to the node connected to it via the transmission channel indicated by the forwarding table is as follows: if the forwarding table outputs a valid transmission channel sequence number, the address configuration status packet is sent to the node connected to it via the transmission channel corresponding to the transmission channel sequence number.

[0064] In this embodiment, when node 1 is in an unconfigured state, its address identifier is the default address 0, and the address controller sends the address configuration command packet shown in Figure 3(a). After receiving the address configuration command packet Figure 3(a), node 1 parses it. Because the target node address 0 in the address configuration command packet Figure 3(a) is equal to the address identifier 0 of node 1, node 1 configures the address identifier to the target node configuration address 1 in the address configuration command packet Figure 3(a).

[0065] Next, the address controller sends the address configuration command packet shown in Figure 3(b). After receiving the address configuration command packet, node 1 parses it and sets the address identifier to 1. This puts node 1 in the configured state. Because the target node address 0 in the address configuration command packet does not equal node 1's address identifier 1, node 1 uses the target node address 0 to query the forwarding table shown in Figure 2. The forwarding table outputs a valid transmission channel sequence number 1. Node 1 then sends the address configuration command packet, Figure 3(b), to node 2 connected to it via transmission channel 1 corresponding to sequence number 1. At this point, node 2 is in the unconfigured state, with its address identifier being the default address 0. After receiving the address configuration command packet, node 2 parses it. Because the target node address 0 in the address configuration command packet, Figure 3(b), equals node 2's address identifier 0, node 2 sets its address identifier to the target node configuration address 2 in the address configuration command packet, Figure 3(b).

[0066] In this embodiment, the address controller completes the address configuration of node 1 and node 2. After the configuration is completed, the address identifier of node 1 is 1, and the address identifier of node 2 is 2.

[0067] In the subsequent data transmission process, if the destination node address of the data packet is 1, node 1 receives the data packet; if the destination node address of the data packet is 2, after receiving the data packet, node 1 queries the forwarding table 2 through the destination node address 2 and obtains the transmission channel sequence number 1. Node 1 will send the data packet to transmission channel 1, and node 2 will receive the data packet through transmission channel 1.

[0068] In this embodiment, when a node is in a configured state, if the target node address in the address configuration command packet received by the node is equal to the node address identifier, the node configures the address identifier to the target node configuration address in the address configuration command packet. For example, after receiving the address configuration command packet Figure 3(b), node 2 configures the address identifier to 2. Node 2 is in a configured state. Then, node 2 receives the address configuration command packet Figure 3(c). Because the target node address 2 in the address configuration command packet Figure 3(c) is equal to the address identifier 2 of node 2, node 2 configures the address identifier to the target node configuration address 5 in the address configuration command packet Figure 3(c). In other embodiments, when a node is in a configured state, if the target node address in the address configuration command packet received by the node is equal to the node address identifier, the node may also choose not to change the address identifier.

[0069] In this embodiment, node 1 and node 2 are respectively integrated into one integrated circuit chip. Node 1 and the address controller may also be integrated into one integrated circuit chip.

[0070] After receiving the address configuration command packet, the node in the multi-node system can choose to return the address configuration status packet. The address configuration status packet contains the target node address and status information of the address configuration status packet. The target node address of the address configuration status packet is the source node address of the corresponding address configuration command packet. The node returns the address configuration status packet to the node connected to the address controller. After receiving the returned address configuration status packet, the node connected to the address controller can choose to return the status information in the address configuration status packet to the address controller connected to it.

[0071] In this embodiment, after receiving the address configuration command packet FIG3(a), node 1 does not need to send an address configuration status packet because node 1 is connected to the address controller, but can choose to send node 1 status information to the address controller.

[0072] The method for a node to return an address configuration status packet to a node connected to an address controller is that a node in a return path of the address configuration status packet parses the address configuration status packet; if the target node address in the address configuration status packet is equal to the address identifier of the node, the node receives the address configuration status packet; if the target node address in the address configuration status packet is not equal to the address identifier of the node, the node forwards the address configuration status packet to a transmission channel through which the node receives the address configuration command packet corresponding to the address configuration status packet.

[0073] In this embodiment, after receiving the address configuration command packet (Figure 3(b)), node 2 returns the address configuration status packet (Figure 4). The destination node address of this address configuration status packet is the source node address 1 of its corresponding address configuration command packet (Figure 3(b)). Therefore, node 2 should return the address configuration status packet to node 1, which is connected to the address controller. Node 2 receives the address configuration command packet (Figure 3(b)) via transmission channel 1, and therefore, node 2 sends the address configuration status packet (Figure 4) to node 1 via transmission channel 1. After receiving the address configuration status packet (Figure 4), node 1 can choose to send the status information A therein to the address controller.

[0074] The status information in the address configuration status packet can be set to different values ​​according to different situations. In this embodiment, 6 status information values ​​can be set: (1) When the node is in the unconfigured state and the target node address in the address configuration command packet is equal to the node address identifier, and the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet is successful, the node returns the address configuration status packet with the status information being status information A; (2) When the node is in the unconfigured state and the target node address in the address configuration command packet is equal to the node address identifier, and the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet is unsuccessful, the node returns the address configuration status packet with the status information being status information B; (3) When the node is in the unconfigured state and the target node address in the address configuration command packet is not equal to the node address identifier, the node returns the address configuration status packet with the status information being Status information C; (4) when the node is in the configured state, and the target node address in the address configuration command packet is equal to the node address identifier, and the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet is successful, the node returns an address configuration status packet with status information D; (5) when the node is in the configured state, and the target node address in the address configuration command packet is equal to the node address identifier, and the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet is unsuccessful, the node returns an address configuration status packet with status information E; (6) when the node is in the configured state, the target node address in the address configuration command packet is not equal to the node address identifier, and the transmission channel sequence number returned by the node querying the forwarding table using the target node address is invalid, the node returns an address configuration status packet with status information F. In other embodiments, the types of status information can be increased or decreased, the meaning of the status information value can be changed, or the address configuration status packet can be chosen not to be sent.

[0075] In this embodiment, node 2 receives the address configuration command packet Figure 3(b) in the unconfigured state (address identifier is 0). The target node address 0 in the address configuration command packet Figure 3(b) is equal to the node 2 address identifier 0. Node 2 configures the address identifier to the target node configuration address 2 in the address configuration command packet Figure 3(b). The result is successful, which meets the above-mentioned situation of the state information value (1). Therefore, the state information in the address configuration state packet Figure 4 returned by node 2 is state information A.

[0076] If node 2 receives the address configuration command packet Figure 3(b) in the unconfigured state (address identifier is 0), the target node address 0 in the address configuration command packet Figure 3(b) is equal to the node 2 address identifier 0, and node 2 configures the address identifier to the target node configuration address 2 in the address configuration command packet Figure 3(b) and the result is failure, it meets the situation of the above-mentioned state information value (2). At this time, the state information in the address configuration state packet returned by node 2 is state information B.

[0077] If node 2 receives the address configuration command packet Figure 3(c) in the unconfigured state (address identifier is 0), the target node address 2 in the address configuration command packet Figure 3(c) is not equal to the node 2 address identifier 0, which meets the above-mentioned state information value situation (3). At this time, the state information in the address configuration state packet returned by node 2 is state information C.

[0078] If node 2 receives the address configuration command packet Figure 3(c) in the configured state (address identifier is 2), the target node address 2 in the address configuration command packet Figure 3(c) is equal to the node 2 address identifier 2, and the result of node 2 configuring the address identifier to the target node configuration address 5 in the address configuration command packet Figure 3(c) is successful, it meets the above-mentioned state information value situation (4). At this time, the state information in the address configuration state packet returned by node 2 is state information D.

[0079] If node 2 receives the address configuration command packet Figure 3(c) in the configured state (address identifier is 2), the target node address 2 in the address configuration command packet Figure 3(c) is equal to the node 2 address identifier 2, and the result of node 2 configuring the address identifier to the target node configuration address 5 in the address configuration command packet Figure 3(c) is a failure, it meets the situation of the above-mentioned state information value (5). At this time, the state information in the address configuration state packet returned by node 2 is state information E.

[0080] If node 2 receives the address configuration command packet Figure 3(d) in the configured state (address identifier is 2), the target node address 6 in the address configuration command packet Figure 3(d) is not equal to the node 2 address identifier 2, and the transmission channel sequence number returned by node 2 using the target node address 6 to query the forwarding table is invalid, which meets the above-mentioned state information value (6). At this time, the state information in the address configuration state packet returned by node 2 is state information F.

[0081] In a multi-node system, a node connected to an address controller may optionally include a timeout timer. When the address configuration status packet does not return to the node before the timeout, the node stops waiting for the address configuration status packet and may optionally return the timeout status information to the address controller connected to it.

[0082] In this embodiment, node 1 includes a timeout timer that begins after node 1 sends the address configuration command packet (Figure 3(b)). If node 2 does not promptly return the address configuration status packet (Figure 4) after receiving the address configuration command packet (Figure 3(b)), and node 1's timeout timer reaches a preset value but still has not received the address configuration status packet returned by node 2, node 1 stops waiting for the address configuration status packet and may choose to return the timeout status information to the address controller. In other embodiments, a node connected to the address controller may not include a timeout timer, or may include a timeout timer but choose not to return the timeout status information to the address controller if it times out without receiving the address configuration status packet.

[0083] As shown in FIG5 , in another application embodiment of the present invention, as a node address configuration method of a multi-node system of the present invention, the multi-node system includes an address controller and node 1 , node 2 , and node 3 .

[0084] In this embodiment, the address controller is connected to node 1. Node 1 is connected to node 2 via transmission channel 1. Node 2 is connected to node 1 via transmission channel 1, and to node 3 via transmission channel 2. Node 3 is connected to node 2 via transmission channel 2. Transmission channel 1 and transmission channel 2 are numbered 1 and 2, respectively. Node 1, node 2, and node 3 have the same default node address, which is 0. In the unconfigured state, nodes 1, 2, and 3 do not have forwarding tables, or their forwarding tables contain no entries.

[0085] In this embodiment, the address controller sends an address configuration command packet to node 1. The address configuration command packet includes not only the target node address and the target node configuration address, but also optionally includes the source node address and forwarding table entry configuration information. Figure 6 shows five address configuration command packets sent by the address controller in this embodiment.

[0086] A node in a multi-node system parses an address configuration command packet after receiving it. When the node is in an unconfigured state, if the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and configures the corresponding forwarding table entry according to the forwarding table entry configuration information contained therein. When the node is in a configured state, if the target node address is not equal to the node address identifier, and the node contains a forwarding table, the node uses the target node address to query the forwarding table, and sends the address configuration command packet to the node connected to it via the transmission channel indicated by the forwarding table. The method of sending the address configuration command packet to the node connected to it via the transmission channel indicated by the forwarding table is as follows: if the forwarding table outputs a valid transmission channel sequence number, the address configuration status packet is sent to the node connected to it via the transmission channel corresponding to the transmission channel sequence number.

[0087] In this embodiment, when node 1 is in an unconfigured state, its address identifier is the default address 0, and the address controller sends the address configuration command packet shown in Figure 6(a). After receiving the address configuration command packet Figure 6(a), node 1 parses it. Since the target node address 0 in the address configuration command packet Figure 6(a) is equal to the address identifier 0 of node 1, node 1 configures the address identifier to the target node configuration address 1 in the address configuration command packet Figure 6(a), and configures the corresponding forwarding table entry of node 1 according to the forwarding table entry configuration information contained in the address configuration command packet Figure 6(a). After the configuration is completed, the forwarding table of node 1 is shown in Figure 7, which contains 3 forwarding table entries.

[0088] Next, the address controller sends the address configuration command packet shown in Figure 6(b). After receiving the address configuration command packet Figure 6(b), node 1 parses it. After node 1 configures the address identifier to 1, node 1 is in the configured state. Because the target node address 0 in the address configuration command packet Figure 6(b) is not equal to the node 1 address identifier 1, node 1 uses the target node address 0 to query the forwarding table shown in Figure 7. The forwarding table outputs the valid transmission channel sequence number 1. Node 1 sends the address configuration command packet Figure 6(b) to the node 2 connected to it through the transmission channel 1 corresponding to sequence number 1. At this time, node 2 is in an unconfigured state, and its address identifier is the default address 0. After receiving the address configuration command packet Figure 6(b), node 2 parses it. Since the target node address 0 in the address configuration command packet Figure 6(b) is equal to the address identifier 0 of node 2, node 2 configures the address identifier to the target node configuration address 2 in the address configuration command packet Figure 6(b). According to the forwarding table entry configuration information contained in the address configuration command packet Figure 6(b), the corresponding forwarding table entry of node 2 is configured. After the configuration is completed, the forwarding table of node 2 is shown in Figure 8, which contains 3 forwarding table entries.

[0089] Next, the address controller sends the address configuration command packet shown in Figure 6(c). After receiving the address configuration command packet, node 1 parses it and sets the address identifier to 1. Node 1 enters the configured state. Because the target node address 0 in the address configuration command packet, Figure 6(c), is not equal to the node 1 address identifier 1, node 1 uses the target node address 0 to query the forwarding table shown in Figure 7. The forwarding table outputs a valid transmission channel sequence number 1. Node 1 sends the address configuration command packet, Figure 6(c), to node 2 connected to it via transmission channel 1 corresponding to sequence number 1. After receiving the address configuration command packet, Figure 6(c), node 2 parses it and sets the address identifier to 2. Node 2 enters the configured state. Because the target node address 0 in the address configuration command packet, Figure 6(c), is not equal to the node 2 address identifier 2, node 2 uses the target node address 0 to query the forwarding table shown in Figure 8. The forwarding table outputs a valid transmission channel sequence number 2. Node 2 sends the address configuration command packet, Figure 6(c), to node 3 connected to it via transmission channel 2 corresponding to sequence number 2. At this time, node 3 is in an unconfigured state, and its address identifier is the default address 0. After receiving the address configuration command packet Figure 6(c), node 3 parses it. Since the target node address 0 in the address configuration command packet Figure 6(c) is equal to the address identifier 0 of node 3, node 3 configures the address identifier to the target node configuration address 3 in the address configuration command packet Figure 6(c), and configures the corresponding forwarding table entry of node 3 according to the forwarding table entry configuration information contained in the address configuration command packet Figure 6(c). After the configuration is completed, the forwarding table of node 3 is shown in Figure 9, which contains 1 forwarding table entry.

[0090] In this embodiment, the address controller completes the address configuration of node 1, node 2, and node 3. After the configuration is completed, the address identifier of node 1 is 1, the address identifier of node 2 is 2, and the address identifier of node 3 is 3. The forwarding tables of node 1, node 2, and node 3 are shown in Figures 7, 8, and 9, respectively.

[0091] In the subsequent data transmission process, if the destination node address of the data packet is 1, node 1 receives the data packet; if the destination node address of the data packet is 2, after node 1 receives the data packet, it queries the forwarding table diagram 7 through the destination node address 2, obtains the transmission channel sequence number 1, and node 1 will send the data packet to transmission channel 1, and node 2 will receive the data packet through transmission channel 1; if the destination node address of the data packet is 3, after node 1 receives the data packet, it queries the forwarding table diagram 7 through the destination node address 3, obtains the transmission channel sequence number 1, and node 1 will send the data packet to transmission channel 1. After node 2 receives the data packet, it queries the forwarding table diagram 8 through the destination node address 3, obtains the transmission channel sequence number 2, and node 2 will send the data packet to transmission channel 2, and node 3 receives the data packet through transmission channel 2.

[0092] In the present embodiment, when a node is in a configured state, if the target node address in the address configuration command packet received by the node is equal to the node address identifier, the node configures the address identifier to the target node configuration address in the address configuration command packet, and configures the corresponding forwarding table item according to the forwarding table item configuration information included. For example, after receiving address configuration command packet Figure 6 (c), node 3 configures the address identifier to 3. Node 3 is in a configured state, and then node 3 receives address configuration command packet Figure 6 (d). Because the target node address 3 in the address configuration command packet Figure 6 (d) is equal to the address identifier 3 of node 3, node 3 configures the address identifier to the target node configuration address 5 in the address configuration command packet Figure 6 (d), and configures the corresponding forwarding table item according to the forwarding table item configuration information included. In other embodiments, when a node is in a configured state, if the target node address in the address configuration command packet received by the node is equal to the node address identifier, the node may also choose to configure the address identifier as the target node configuration address in the address configuration command packet but not change the forwarding table, or configure the corresponding forwarding table entry according to the forwarding table entry configuration information contained in the address configuration command packet but not change the address identifier, or neither change the address identifier nor change the forwarding table.

[0093] In this embodiment, node 1, node 2, and node 3 are respectively integrated into one integrated circuit chip. Node 1 and the address controller may also be integrated into one integrated circuit chip.

[0094] After receiving the address configuration command packet, the node in the multi-node system can choose to return the address configuration status packet. The address configuration status packet contains the target node address and status information of the address configuration status packet. The target node address of the address configuration status packet is the source node address of the corresponding address configuration command packet. The node returns the address configuration status packet to the node connected to the address controller. After receiving the returned address configuration status packet, the node connected to the address controller can choose to return the status information in the address configuration status packet to the address controller connected to it.

[0095] In this embodiment, after receiving the address configuration command packet FIG6(a), node 1 does not need to send an address configuration status packet because node 1 is connected to the address controller, but can choose to send node 1 status information to the address controller.

[0096] Different from the embodiment shown in Figure 1, in this embodiment, the method for the node to return the address configuration status packet to the node connected to the address controller is that the node in the address configuration status packet return path parses the address configuration status packet, if the target node address in the address configuration status packet is equal to the node address identifier, the node receives the address configuration status packet, if the target node address in the address configuration status packet is not equal to the node address identifier, the node uses the target node address in the address configuration status packet to query the forwarding table, and sends the address configuration status packet to the node connected to it through the transmission channel indicated by the forwarding table.

[0097] In this embodiment, after receiving the address configuration command packet Figure 6(b), node 2 returns the address configuration status packet shown in Figure 4. The destination node address of this address configuration status packet is the source node address 1 of its corresponding address configuration command packet Figure 6(b). Therefore, node 2 should return the address configuration status packet to node 1 connected to the address controller. Node 2 uses the destination node address 1 in the address configuration status packet Figure 4 to query the forwarding table Figure 8 and sends the address configuration status packet Figure 4 to node 1 via the transmission channel 1 indicated in the forwarding table Figure 8. After receiving the address configuration status packet Figure 4, node 1 can choose to send the status information A therein to the address controller.

[0098] After receiving the address configuration command packet Figure 6(c), node 3 also returns the address configuration status packet shown in Figure 4. The target node address of this address configuration status packet is the source node address 1 of its corresponding address configuration command packet Figure 6(c). Therefore, node 3 should return the address configuration status packet to node 1 connected to the address controller. Node 3 uses the target node address 1 in the address configuration status packet Figure 4 to query the forwarding table Figure 9 and sends the address configuration status packet Figure 4 to node 2 via the transmission channel 2 indicated by the forwarding table Figure 9. Node 2 uses the target node address 1 in the address configuration status packet Figure 4 to query the forwarding table Figure 8 and sends the address configuration status packet Figure 4 to node 1 via the transmission channel 1 indicated by the forwarding table Figure 8. After receiving the address configuration status packet Figure 4, node 1 can choose to send the status information A therein to the address controller.

[0099] The status information in the address configuration status packet can be set to different values ​​according to different situations. In this embodiment, 6 status information values ​​can be set: (1) When the node is in the unconfigured state and the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and when the result of configuring the corresponding forwarding table entry according to the included forwarding table entry configuration information is successful, the node returns the address configuration status packet with the status information being status information A; (2) When the node is in the unconfigured state and the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and when the result of configuring the corresponding forwarding table entry according to the included forwarding table entry configuration information is unsuccessful, the node returns the address configuration status packet with the status information being status information B; (3) When the node is in the unconfigured state and the target node address in the address configuration command packet is not equal to the node address identifier, the node returns the address configuration status packet with the status information being State information C; (4) when the node is in the configured state, and the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and the result of configuring the corresponding forwarding table entry according to the included forwarding table entry configuration information is successful, the node returns an address configuration state packet, and the state information is state information D; (5) when the node is in the configured state, and the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and the result of configuring the corresponding forwarding table entry according to the included forwarding table entry configuration information is unsuccessful, the node returns an address configuration state packet, and the state information is state information E; (6) when the node is in the configured state, the target node address in the address configuration command packet is not equal to the node address identifier, and the transmission channel sequence number returned by the node using the target node address to query the forwarding table is invalid, the node returns an address configuration state packet, and the state information is state information F. In other embodiments, the types of state information can be increased or decreased, or the meaning of the state information value can be changed, or the address configuration state packet can be selected not to be sent.

[0100] In this embodiment, node 2 receives the address configuration command packet Figure 6(b) in the unconfigured state (address identifier is 0), the target node address 0 in the address configuration command packet Figure 6(b) is equal to the node 2 address identifier 0, node 2 configures the address identifier to the target node configuration address 2 in the address configuration command packet Figure 6(b), and configures the corresponding forwarding table Figure 8 table entry according to the included forwarding table table entry configuration information. The result is successful, which meets the above-mentioned situation of the state information value of type (1), so the state information in the address configuration state packet Figure 4 returned by node 2 is state information A.

[0101] Node 3 receives the address configuration command packet Figure 6(c) in the unconfigured state (address identifier is 0). The target node address 0 in the address configuration command packet Figure 6(c) is equal to the node 3 address identifier 0. Node 3 configures the address identifier to the target node configuration address 3 in the address configuration command packet Figure 6(c), and configures the corresponding forwarding table Figure 9 entry according to the included forwarding table entry configuration information. The result is successful, which meets the above-mentioned state information value (1). Therefore, the state information in the address configuration state packet Figure 4 returned by node 3 is state information A.

[0102] If node 3 receives the address configuration command packet Figure 6(c) in the unconfigured state (address identifier is 0), the target node address 0 in the address configuration command packet Figure 6(c) is equal to the node 3 address identifier 0, node 3 configures the address identifier to the target node configuration address 3 in the address configuration command packet Figure 6(c), and the result of configuring the corresponding forwarding table entry according to the included forwarding table entry configuration information is a failure, which meets the above-mentioned state information value (2). At this time, the state information in the address configuration state packet returned by node 3 is state information B.

[0103] If node 3 receives the address configuration command packet Figure 6(d) in the unconfigured state (address identifier is 0), the target node address 3 in the address configuration command packet Figure 6(d) is not equal to the node 3 address identifier 0, which meets the above-mentioned state information value situation (3). At this time, the state information in the address configuration state packet returned by node 3 is state information C.

[0104] If node 3 receives the address configuration command packet Figure 6(d) in the configured state (address identifier is 3), the target node address 3 in the address configuration command packet Figure 6(d) is equal to the node 3 address identifier 3, node 3 configures the address identifier to the target node configuration address 5 in the address configuration command packet Figure 6(d), and the result of configuring the corresponding forwarding table entry according to the included forwarding table entry configuration information is successful, it meets the above-mentioned state information value (4), and the state information in the address configuration state packet returned by node 3 is state information D.

[0105] If node 3 receives the address configuration command packet Figure 6(d) in the configured state (address identifier is 3), the target node address 3 in the address configuration command packet Figure 6(d) is equal to the node 3 address identifier 3, node 3 configures the address identifier to the target node configuration address 5 in the address configuration command packet Figure 6(d), and the result of configuring the corresponding forwarding table entry according to the included forwarding table entry configuration information is a failure, which meets the above-mentioned state information value (5). At this time, the state information in the address configuration state packet returned by node 3 is state information E.

[0106] If node 3 receives the address configuration command packet Figure 6(e) in the configured state (address identifier is 3), the target node address 6 in the address configuration command packet Figure 6(e) is not equal to the address identifier 3 of node 3, and the transmission channel sequence number returned by node 3 querying the forwarding table using the target node address 6 is invalid, which meets the situation of the above-mentioned state information value (6). At this time, the state information in the address configuration state packet returned by node 3 is state information F.

[0107] As shown in FIG10 , in another application embodiment of the present invention, as a node address configuration method of a multi-node system of the present invention, the multi-node system includes an address controller and nodes 1 , 2 , 3 , and 4 .

[0108] In this embodiment, the address controller is connected to node 1. Node 1 is connected to node 2 via transmission channel 1 and to node 4 via transmission channel 3. Node 2 is connected to node 1 via transmission channel 1 and to node 3 via transmission channel 2. Node 3 is connected to node 2 via transmission channel 2, and node 4 is connected to node 1 via transmission channel 3. The sequence numbers of transmission channel 1, transmission channel 2, and transmission channel 3 are 1, 2, and 3, respectively. Node 1, node 2, node 3, and node 4 have the same default node address, which is 0. In the unconfigured state, node 1, node 2, node 3, and node 4 do not contain a forwarding table, or have no entries in their forwarding tables.

[0109] The address controller in a multi-node system can not only send address configuration command packets to the nodes connected to it, but also send forwarding table configuration command packets. The forwarding table configuration command packets contain the target node address and one or more forwarding table item configuration information. The forwarding table configuration command packets can also optionally contain the source node address, which is the address identifier of the node connected to the address controller.

[0110] In this embodiment, the process of configuring the address identifiers and forwarding tables of Node 1, Node 2, and Node 3 in the initial stage is the same as that of the embodiment shown in Figure 5. The address controller configures the address identifiers and forwarding tables of Node 1, Node 2, and Node 3 respectively by sending three address configuration command packets shown in Figure 6. After the configuration is completed, the address identifier of Node 1 is 1, the address identifier of Node 2 is 2, and the address identifier of Node 3 is 3. The forwarding tables of Node 1, Node 2, and Node 3 are shown in Figures 7, 8, and 9, respectively. After completing the above process, the address controller continues to configure Node 1 and Node 4 by sending a forwarding table configuration command packet and an address configuration command packet. Figure 11 shows four forwarding table configuration command packets and one address configuration command packet sent by the address controller in this embodiment.

[0111] A node in a multi-node system parses a forwarding table configuration command packet after receiving it. When the node is in an unconfigured state, if the target node address in the forwarding table configuration command packet is equal to the node address identifier, the node configures the corresponding forwarding table entry according to the forwarding table entry configuration information. When the node is in a configured state, if the target node address is not equal to the node address identifier, the node queries the forwarding table using the target node address and sends the forwarding table configuration command packet to the node connected to it via the transmission channel indicated by the forwarding table. The method for sending the forwarding table configuration command packet to the node connected to it via the transmission channel indicated by the forwarding table is as follows: if the forwarding table outputs a valid transmission channel sequence number, the forwarding table configuration command packet is sent to the node connected to it via the transmission channel corresponding to the transmission channel sequence number.

[0112] In this embodiment, when the address identifier of node 1 is 1, the forwarding table of node 1 is as shown in Figure 7, and node 1 is in a configured state, the address controller sends the forwarding table configuration command packet shown in Figure 11(a). After receiving the forwarding table configuration command packet Figure 11(a), node 1 parses it. Because the target node address 1 in the forwarding table configuration command packet Figure 11(a) is equal to the address identifier 1 of node 1, node 1 configures the corresponding forwarding table entry of node 1 according to the forwarding table entry configuration information contained in the forwarding table configuration command packet Figure 11(a). After the configuration is completed, the forwarding table of node 1 is shown in Figure 12, which contains 4 forwarding table entries.

[0113] Next, the address controller sends the forwarding table configuration command packet shown in Figure 11(b). After receiving the forwarding table configuration command packet Figure 11(b), node 1 parses it. Node 1 is in the configured state. Since the target node address 0 in the forwarding table configuration command packet Figure 11(b) is not equal to the node 1 address identifier 1, node 1 uses the target node address 0 to query the forwarding table shown in Figure 12. The forwarding table outputs the valid transmission channel sequence number 3. Node 1 sends the forwarding table configuration command packet Figure 11(b) to the connected node 4 through the transmission channel 3 corresponding to sequence number 3. At this time, node 4 is in the unconfigured state, and its address identifier is the default address 0. After receiving the forwarding table configuration command packet Figure 11(b), node 4 parses it. Since the target node address 0 in the forwarding table configuration command packet Figure 11(b) is equal to the node 4 address identifier 0, node 4 configures the corresponding forwarding table entry of node 4 according to the forwarding table entry configuration information contained in the forwarding table configuration command packet Figure 11(b). After the configuration is completed, the forwarding table of node 4 is shown in Figure 13, which contains 1 forwarding table entry.

[0114] Next, the address controller sends the address configuration command packet shown in Figure 11(c). After receiving the address configuration command packet, node 1 parses it. Node 1 is in the configured state. Because the target node address 0 in the address configuration command packet does not equal the node 1 address identifier 1, node 1 uses the target node address 0 to query the forwarding table shown in Figure 12. The forwarding table outputs a valid transmission channel sequence number 3. Node 1 sends the address configuration command packet, Figure 11(c), to node 4 connected to it via transmission channel 3 corresponding to sequence number 3. At this time, node 4 is in the unconfigured state, and its address identifier is the default address 0. After receiving the address configuration command packet, node 4 parses it. Because the target node address 0 in the address configuration command packet, Figure 11(c), equals node 4's address identifier 0, node 4 configures its address identifier to the target node configuration address 4 in the address configuration command packet, Figure 11(c).

[0115] In this embodiment, the address controller completes the address configuration of node 1, node 2, node 3, and node 4. After the configuration is completed, the address identifier of node 1 is 1, the address identifier of node 2 is 2, the address identifier of node 3 is 3, and the address identifier of node 4 is 4. The forwarding tables of node 1, node 2, node 3, and node 4 are shown in Figures 12, 8, 9, and 13, respectively.

[0116] In the subsequent data transmission process, if the destination node address of the data packet is 1, node 1 receives the data packet; if the destination node address of the data packet is 2, after node 1 receives the data packet, it queries the forwarding table 12 through the destination node address 2 to obtain the transmission channel sequence number 1, and node 1 will send the data packet to transmission channel 1, and node 2 will receive the data packet through transmission channel 1; if the destination node address of the data packet is 3, after node 1 receives the data packet, it queries the forwarding table 12 through the destination node address 3 to obtain the transmission channel sequence number 1, and node 1 will send the data packet to transmission channel 1, and node 2 receives the data packet, it queries the forwarding table 8 through the destination node address 3 to obtain the transmission channel sequence number 2, and node 2 will send the data packet to transmission channel 2, and node 3 receives the data packet through transmission channel 2; if the destination node address of the data packet is 4, after node 1 receives the data packet, it queries the forwarding table 12 through the destination node address 4 to obtain the transmission channel sequence number 3, and node 1 will send the data packet to transmission channel 3, and node 4 will receive the data packet through transmission channel 3.

[0117] In the present embodiment, when node was configured state, if the destination node address in the forwarding table configuration command packet that this node received equals this node address mark, the forwarding table item configuration information that this node configures according to the forwarding table configuration command packet that comprises is configured accordingly.For example, node 4 is configured to 4 with the address mark after receiving address configuration command packet figure 11 (c), and node 4 is in configured state, and then node 4 receives forwarding table configuration command packet figure 11 (d) again, because the destination node address 4 in the forwarding table configuration command packet figure 11 (d) equals the address mark 4 of node 4, so node 4 configures the corresponding forwarding table item configuration information that forwarding table configuration command packet figure 11 (d) comprises is configured accordingly.In other embodiments, when node was configured state, if the destination node address in the forwarding table configuration command packet that this node received equals this node address mark, this node also can select not to change forwarding table.

[0118] In this embodiment, node 1, node 2, node 3, and node 4 are respectively integrated into one integrated circuit chip. Node 1 and the address controller may also be integrated into one integrated circuit chip.

[0119] After receiving the forwarding table configuration command packet, the node in the multi-node system can choose to return a forwarding table configuration status packet. The forwarding table configuration status packet contains the target node address and status information of the forwarding table configuration status packet. The target node address of the forwarding table configuration status packet is the source node address of the corresponding forwarding table configuration command packet. The node returns the forwarding table configuration status packet to the node connected to the address controller. After receiving the returned forwarding table configuration status packet, the node connected to the address controller can choose to return the status information in the forwarding table configuration status packet to the address controller connected to it.

[0120] In this embodiment, after receiving the forwarding table configuration command packet Figure 11 (a), node 1 does not need to send a forwarding table configuration status packet because node 1 is a node connected to the address controller, but can choose to send node 1 status information to the address controller.

[0121] The method for a node to return a forwarding table configuration status packet to a node connected to an address controller is as follows: a node in a return path of the forwarding table configuration status packet parses the forwarding table configuration status packet; if the target node address in the forwarding table configuration status packet is equal to the node address identifier, the node receives the forwarding table configuration status packet; if the target node address in the forwarding table configuration status packet is not equal to the node address identifier, the node forwards the forwarding table configuration status packet to a transmission channel through which the node receives a forwarding table configuration command packet corresponding to the forwarding table configuration status packet.

[0122] In this embodiment, after receiving the forwarding table configuration command packet Figure 11 (b), node 4 returns a forwarding table configuration status packet as shown in Figure 14. The target node address of the forwarding table configuration status packet is the source node address 1 of its corresponding forwarding table configuration command packet Figure 11 (b). Therefore, node 4 should return the forwarding table configuration status packet to node 1 connected to the address controller. Node 4 receives the forwarding table configuration command packet Figure 11 (b) via transmission channel 3, so node 4 sends the forwarding table configuration status packet Figure 14 to node 1 via transmission channel 1. After receiving the forwarding table configuration status packet Figure 14, node 1 can choose to send the status information A1 therein to the address controller.

[0123] The method for a node to return a forwarding table configuration status packet to a node connected to an address controller may also be that a node in a return path of the forwarding table configuration status packet parses the forwarding table configuration status packet; if the target node address in the forwarding table configuration status packet is equal to the node address identifier, the node receives the forwarding table configuration status packet; if the target node address in the forwarding table configuration status packet is not equal to the node address identifier, the node uses the target node address in the forwarding table configuration status packet to query the forwarding table, and sends the forwarding table configuration status packet to the node connected to it through the transmission channel indicated by the forwarding table.

[0124] In this embodiment, node 4 may also use the following method to return the forwarding table configuration status packet to node 1: after receiving the forwarding table configuration command packet Figure 11 (b), node 4 returns the forwarding table configuration status packet shown in Figure 14. The destination node address of the forwarding table configuration status packet is the source node address 1 of its corresponding forwarding table configuration command packet Figure 11 (b). Therefore, node 4 should return the forwarding table configuration status packet to node 1 connected to the address controller. Node 4 uses the destination node address 1 in the forwarding table configuration status packet Figure 14 to query the forwarding table diagram 13 and sends the forwarding table configuration status packet Figure 14 to node 1 via the transmission channel 3 indicated by the forwarding table diagram 13. After receiving the forwarding table configuration status packet Figure 14, node 1 may choose to send the status information A1 therein to the address controller.

[0125] The status information in the forwarding table configuration status packet can be set to different values ​​according to different situations. In this embodiment, 6 status information values ​​can be set: (1) When the node is in the unconfigured state and the target node address in the forwarding table configuration command packet is equal to the node address identifier, and the result of the node configuring the corresponding forwarding table item according to the forwarding table item configuration information contained in the forwarding table configuration command packet is successful, the node returns the forwarding table configuration status packet, and the status information is status information A1; (2) When the node is in the unconfigured state and the target node address in the forwarding table configuration command packet is equal to the node address identifier, and the result of the node configuring the corresponding forwarding table item according to the forwarding table item configuration information contained in the forwarding table configuration command packet is unsuccessful, the node returns the forwarding table configuration status packet, and the status information is status information B1; (3) When the node is in the unconfigured state and the target node address in the forwarding table configuration command packet is not equal to the node address identifier, the node returns the forwarding table configuration status packet, and the status information is status information B2. State information C1; (4) when the node is in the configured state, and the target node address in the forwarding table configuration command packet is equal to the node address identifier, and the result of the node configuring the corresponding forwarding table item according to the forwarding table item configuration information contained in the forwarding table configuration command packet is successful, the node returns a forwarding table configuration state packet, and the state information is state information D1; (5) when the node is in the configured state, and the target node address in the forwarding table configuration command packet is equal to the node address identifier, and the result of the node configuring the corresponding forwarding table item according to the forwarding table item configuration information contained in the forwarding table configuration command packet is unsuccessful, the node returns a forwarding table configuration state packet, and the state information is state information E1; (6) when the node is in the configured state, the target node address in the forwarding table configuration command packet is not equal to the node address identifier, and the transmission channel sequence number returned by the node querying the forwarding table using the target node address is invalid, the node returns a forwarding table configuration state packet, and the state information is state information F1. In other embodiments, the types of state information can be increased or decreased, or the meaning of the state information value can be changed, or it can be chosen not to send the forwarding table configuration state packet.

[0126] In this embodiment, node 4 receives the forwarding table configuration command packet Figure 11 (b) in the unconfigured state (address identifier is 0), the target node address 0 in the forwarding table configuration command packet Figure 11 (b) is equal to the node 4 address identifier 0, and the result of node 4 configuring the corresponding forwarding table Figure 13 table entry according to the forwarding table table entry configuration information contained in the forwarding table configuration command packet Figure 11 (b) is successful, which meets the above-mentioned situation of the state information value of type (1), so the state information in the forwarding table configuration state packet Figure 14 returned by node 4 is state information A1.

[0127] If node 4 receives the forwarding table configuration command packet Figure 11(b) in the unconfigured state (address identifier is 0), the target node address 0 in the forwarding table configuration command packet Figure 11(b) is equal to the node 4 address identifier 0, and the result of node 4 configuring the corresponding forwarding table entry according to the forwarding table entry configuration information contained in the forwarding table configuration command packet Figure 11(b) is a failure, which meets the above-mentioned situation of the state information value (2). At this time, the state information in the forwarding table configuration state packet returned by node 4 is state information B1.

[0128] If node 4 receives the forwarding table configuration command packet Figure 11(d) in the unconfigured state (address identifier is 0), the target node address 4 in the forwarding table configuration command packet Figure 11(d) is not equal to the node 4 address identifier 0, which meets the above-mentioned state information value situation (3). At this time, the state information in the forwarding table configuration state packet returned by node 4 is state information C1.

[0129] If node 4 receives the forwarding table configuration command packet Figure 11(d) in the configured state (address identifier is 4), the target node address 4 in the forwarding table configuration command packet Figure 11(d) is equal to the node 4 address identifier 4, and the result of node 4 configuring the corresponding forwarding table entry according to the forwarding table entry configuration information contained in the forwarding table configuration command packet Figure 11(d) is successful, it meets the above-mentioned state information value (4). At this time, the state information in the forwarding table configuration state packet returned by node 4 is state information D1.

[0130] If node 4 receives the forwarding table configuration command packet Figure 11(d) in the configured state (address identifier is 4), the target node address 4 in the forwarding table configuration command packet Figure 11(d) is equal to the node 4 address identifier 4, and the result of node 4 configuring the corresponding forwarding table entry according to the forwarding table entry configuration information contained in the forwarding table configuration command packet Figure 11(d) is a failure, it meets the situation of the above-mentioned state information value (5). At this time, the state information in the forwarding table configuration state packet returned by node 4 is state information E1.

[0131] If node 4 receives the forwarding table configuration command packet Figure 11(e) in the configured state (address identifier is 4), the target node address 6 in the forwarding table configuration command packet Figure 11(e) is not equal to the node 4 address identifier 4, and the transmission channel sequence number returned by node 4 using the target node address 6 to query the forwarding table is invalid, which meets the above-mentioned state information value (6). At this time, the state information in the forwarding table configuration state packet returned by node 4 is state information F1.

[0132] In a multi-node system, a node connected to an address controller may optionally include a timeout timer. When the forwarding table configuration status packet does not return to the node before the timeout, the node stops waiting for the forwarding table configuration status packet and may optionally return the timeout status information to the address controller connected to it.

[0133] In the present embodiment, node 1 comprises a timeout timer, and node 1 starts timing after sending forwarding table configuration command packet Figure 11 (b), if node 4 does not return forwarding table configuration status packet Figure 4 in time after receiving forwarding table configuration command packet Figure 11 (b), the timeout timer timing of node 1 still does not receive the forwarding table configuration status packet that node 4 returns after reaching the preset value, then stops waiting for the forwarding table configuration status packet, and can select to return the timeout status information to the address controller. In other embodiments, the node that links to each other with the address controller also can not comprise a timeout timer, or comprises a timeout timer, but after timeout does not receive the forwarding table configuration status packet, selects not to return the timeout status information to the address controller.

[0134] In the embodiments shown in FIG. 1 , FIG. 5 , and FIG. 10 , the address controller in the multi-node system is connected to one node. In other embodiments, the address controller in the multi-node system may also be connected to multiple nodes.

[0135] As shown in FIG15 , in yet another application embodiment of the present invention, as a node address configuration method of a multi-node system of the present invention, the address controller in the multi-node system is connected to node 1 , node 5 , and node 7 .

[0136] After receiving the address configuration command packet or the forwarding table configuration command packet, node 2, node 3, and node 4 should return the address configuration status packet or the forwarding table configuration status packet to node 1. After receiving the returned address configuration status packet or the forwarding table configuration status packet, node 1 may choose to return the status information therein to the address controller; after receiving the address configuration command packet or the forwarding table configuration command packet, node 6 should return the address configuration status packet or the forwarding table configuration status packet to node 5. After receiving the returned address configuration status packet or the forwarding table configuration status packet, node 5 may choose to return the status information therein to the address controller; after receiving the address configuration command packet or the forwarding table configuration command packet, node 1, node 5, and node 7 may choose to return their own status information to the address controller.

[0137] In this embodiment, node 1, node 2, node 3, node 4, node 5, node 6, and node 7 are respectively integrated into one integrated circuit chip, and the address controller can also be integrated with one or more of node 1, node 5, and node 7 into one integrated circuit chip.

[0138] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or replacements that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed by the present invention should be covered by the scope of protection of the present invention.

Claims

1. A method for configuring node addresses of a multi-node system, wherein the multi-node system comprises a plurality of nodes and an address controller, wherein: The address controller is connected to one or more nodes. The address controller sends an address configuration command packet to the node connected thereto, wherein the address configuration command packet includes a target node address and a target node configuration address. Each node in the multi-node system is connected to one or more transmission channels and is connected to one or more other nodes through the transmission channels. The transmission channels have transmission channel serial numbers. The node includes an address identifier, which is used to identify the address of the node where it is located. The node may also selectively include a forwarding table, the input of which is the target node address, and the output of which is the transmission channel sequence number. The node status includes an unconfigured status and a configured status. The node parses the address configuration command packet. In an unconfigured state, if the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet. In a configured state, if the target node address is not equal to the node address identifier and the node contains a forwarding table, the node uses the target node address to query the forwarding table and sends the address configuration command packet to the node connected to it through the transmission channel indicated by the forwarding table.

2. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: The node is in a configured state. If the target node address in the address configuration command packet received by the node is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet.

3. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: When the address controller does not configure the node address identifier, the node Configuration status, When the address controller completes the configuration of the node address identifier, the node is in the configured state.

4. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: When the node address is identified as the node default address, the node is in the unconfigured state. When the node address identifier is configured to be different from the node default address, the node is in the configured state. The node default addresses of different nodes in the multi-node system may be the same or different.

5. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: The method of sending the address configuration command packet to the node connected thereto through the transmission channel indicated by the forwarding table is as follows: if the forwarding table outputs a valid transmission channel sequence number, the address configuration status packet is sent to the node connected thereto through the transmission channel corresponding to the transmission channel sequence number.

6. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: The address configuration command packet also includes a source node address, where the source node address is a node address identifier connected to the address controller.

7. A method for configuring node addresses of a multi-node system according to claim 6, characterized in that: After receiving the address configuration command packet, the node may choose to return an address configuration status packet, wherein the address configuration status packet includes the target node address and status information of the address configuration status packet, and the target node address of the address configuration status packet is the source node address of the corresponding address configuration command packet. The node returns the address configuration status packet to the node connected to the address controller, The node connected to the address controller can choose to configure the status in the address status packet. The status information is returned to the address controller connected to it.

8. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: The node is in an unconfigured state, and the target node address in the address configuration command packet is equal to the node address identifier. When the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet is successful, an address configuration status packet is returned, and the status information is status information A.

9. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: The node is in an unconfigured state, and the target node address in the address configuration command packet is equal to the node address identifier. When the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet fails, an address configuration status packet is returned, and the status information is status information B.

10. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: The node is in an unconfigured state, and the target node address in the address configuration command packet is not equal to the node address identifier, and the node returns an address configuration status packet, and the status information is status information C.

11. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: The node is in a configured state, and the target node address in the address configuration command packet is equal to the node address identifier. When the result of the node configuring the address identifier as the target node configuration address in the address configuration command packet is successful, the node returns an address configuration status packet, and the status information is status information D.

12. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: The node is in a configured state, and the target node address in the address configuration command packet is equal to the node address identifier, and the node configures the address identifier as the address configuration command packet. When the result of configuring the address of the target node in is failure, the node returns an address configuration status packet, and the status information is status information E.

13. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: When the node is in the configured state, the target node address in the address configuration command packet is not equal to the node address identifier, and the transmission channel sequence number returned by the node querying the forwarding table with the target node address is invalid, the node returns an address configuration status packet, and the status information is status information F.

14. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: The method for the node to return the address configuration status packet to the node connected to the address controller is that the node in the address configuration status packet return path parses the address configuration status packet, if the target node address in the address configuration status packet is equal to the node address identifier, the node receives the address configuration status packet, if the target node address in the address configuration status packet is not equal to the node address identifier, the node uses the target node address in the address configuration status packet to query the forwarding table, and sends the address configuration status packet to the node connected to it through the transmission channel indicated by the forwarding table.

15. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: The method for the node to return the address configuration status packet to the node connected to the address controller is that the node in the address configuration status packet return path parses the address configuration status packet, if the target node address in the address configuration status packet is equal to the node address identifier, the node receives the address configuration status packet, if the target node address in the address configuration status packet is not equal to the node address identifier, the node forwards the address configuration status packet to the transmission channel through which the node receives the address configuration command packet corresponding to the address configuration status packet.

16. A method for configuring node addresses of a multi-node system according to claim 7, characterized in that: The node connected to the address controller also includes a timeout timer. When the status packet is not returned to the node before timeout, the node stops waiting for the address configuration status packet and may choose to return the timeout status information to the address controller connected to it.

17. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: The address configuration command packet sent by the address controller also includes forwarding table entry configuration information. The node parses the address configuration command packet. In an unconfigured state, if the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and configures the corresponding forwarding table entry according to the included forwarding table entry configuration information. In a configured state, if the target node address is not equal to the node address identifier, the node queries the forwarding table with the target node address, and sends the address configuration command packet to the node connected to it through the transmission channel indicated by the forwarding table.

18. A method for configuring node addresses of a multi-node system according to claim 17, characterized in that: When the node is in a configured state, if the target node address in the address configuration command packet is equal to the node address identifier, the node configures the address identifier as the target node configuration address in the address configuration command packet, and configures the corresponding forwarding table entry according to the included forwarding table entry configuration information.

19. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: The address controller may also send a forwarding table configuration command packet, wherein the forwarding table configuration command packet includes a target node address and one or more forwarding table item configuration information. The node parses the forwarding table configuration command packet. In an unconfigured state, if the target node address in the forwarding table configuration command packet is equal to the node address identifier, the node configures the corresponding forwarding table entry according to the forwarding table entry configuration information. In a configured state, if the target node address is not equal to the node address identifier, the node queries the forwarding table with the target node address, and sends the forwarding table configuration command packet to the node corresponding to the forwarding table through the transmission channel indicated by the forwarding table. The connected nodes.

20. A method for configuring node addresses of a multi-node system according to claim 19, characterized in that: The node is in a configured state, and if the target node address in the forwarding table configuration command packet is equal to the node address identifier, the node configures the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet.

21. A method for configuring node addresses of a multi-node system according to claim 19, characterized in that: The forwarding table configuration command packet also includes a source node address, and the source node address is a node address identifier connected to the address controller.

22. A method for configuring node addresses of a multi-node system according to claim 21, characterized in that: After receiving the forwarding table configuration command packet, the node may choose to return a forwarding table configuration status packet, wherein the forwarding table configuration status packet includes a target node address and status information of the forwarding table configuration status packet, and the target node address of the forwarding table configuration status packet is the source node address of the corresponding forwarding table configuration command packet. The node returns the forwarding table configuration status packet to the node connected to the address controller, The node connected to the address controller may choose to return the status information in the forwarding table configuration status packet to the address controller connected thereto.

23. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: The node is in an unconfigured state, and the target node address in the forwarding table configuration command packet is equal to the node address identifier. When the result of the node configuring the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet is successful, the forwarding table configuration status packet is returned, and the status information is status information A1.

24. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: The node is in an unconfigured state, and the target node address in the forwarding table configuration command packet is equal to the node address identifier. When the result of the node configuring the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet fails, the node returns a forwarding table configuration status packet, and the status information is status information B1.

25. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: The node is in an unconfigured state, and the target node address in the forwarding table configuration command packet is not equal to the node address identifier, and the node returns a forwarding table configuration state packet, and the state information is state information C1.

26. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: The node is in the configured state, and the target node address in the forwarding table configuration command packet is equal to the node address identifier. When the result of the node configuring the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet is successful, the node returns a forwarding table configuration status packet, and the status information is status information D1.

27. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: The node is in the configured state, and the target node address in the forwarding table configuration command packet is equal to the node address identifier. When the result of the node configuring the corresponding forwarding table entry according to the forwarding table entry configuration information in the forwarding table configuration command packet fails, the node returns a forwarding table configuration status packet, and the status information is status information E1.

28. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: When the node is in the configured state, the target node address in the forwarding table configuration command packet is not equal to the node address identifier, and the transmission channel sequence number returned by the node querying the forwarding table with the target node address is invalid, the node returns a forwarding table configuration status packet, and the status information is status information F1.

29. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: The method for the node to return the forwarding table configuration status packet to the node connected to the address controller is that the node in the forwarding table configuration status packet return path parses the forwarding table configuration status packet, if the target node address in the forwarding table configuration status packet is equal to the node address identifier, the node receives the forwarding table configuration status packet, if the target node address in the forwarding table configuration status packet is not equal to the node address identifier, the node uses the target node address in the forwarding table configuration status packet to query the forwarding table, and sends the forwarding table configuration status packet to the node connected to it through the transmission channel indicated by the forwarding table.

30. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: The method for the node to return the forwarding table configuration status packet to the node connected to the address controller is that the node in the forwarding table configuration status packet return path parses the forwarding table configuration status packet, if the target node address in the forwarding table configuration status packet is equal to the node address identifier, the node receives the forwarding table configuration status packet, if the target node address in the forwarding table configuration status packet is not equal to the node address identifier, the node forwards the forwarding table configuration status packet to the transmission channel through which the node receives the forwarding table configuration command packet corresponding to the forwarding table configuration status packet.

31. A method for configuring node addresses of a multi-node system according to claim 22, characterized in that: The node connected to the address controller also includes a timeout timer. When the forwarding table configuration status packet does not return to the node before timeout, the node stops waiting for the forwarding table configuration status packet and can choose to return the timeout status information to the address controller connected thereto.

32. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: One of the nodes is integrated into one integrated circuit chip.

33. A method for configuring node addresses of a multi-node system according to claim 1, characterized in that: The address controller is connected to a node, The address controller and the nodes connected thereto are integrated into one integrated circuit chip.

Citation Information

Patent Citations

  • Method and device for achieving system address mapping

    CN103986798A

  • Vehicle-mounted video transmission control method and system

    CN106253931A

  • Heterogeneous industrial network centralized convergence management method based on SDN (Software Defined Network)

    CN108737169A

  • Method and device for transmitting service message

    CN108768861A

  • Data transmission method and device

    CN110048798A