A rapidio doorbell based node id mapping method

CN122802543APending Publication Date: 2026-09-22BEIJING YIHUI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611069229.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-17
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

3)网络拓扑变更时需要大量人工干预,运维效率低下

Benefits of technology

[0017]相较于现有技术,本发明能够实现的技术效果包括:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122802543A_ABST
    Figure CN122802543A_ABST
Patent Text Reader

Abstract

The application provides a RapidIO doorbell-based node ID mapping method, comprising the following steps: S100, starting a RapidIO network and completing initialization, and determining a master node; S200, the master node collecting ID information of all nodes in the network; S300, the master node sending the collected ID information of all nodes to other nodes through a RapidIO doorbell, other nodes updating a local ID mapping table after receiving the ID information and returning synchronization confirmation information; S400, when a node in the RapidIO network changes, the master node updating the ID mapping table according to actual conditions and synchronizing to all other nodes; based on the characteristics of low overhead, hardware acceleration, flexibility, low delay and the like of the RapidIO doorbell, the application simultaneously realizes the automatic mapping function of logical node ID and physical node ID, ensures the reliability of data transmission, and avoids data loss or errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of node ID mapping, and specifically to a node ID mapping method for a RapidIO doorbell. Background Technology

[0002] In traditional network architectures, logical node IDs and physical node IDs are typically strongly bound together, which can lead to the following problems: 1) The equipment must be bound to a specific physical location and cannot be flexibly adjusted; 2) When modifying the device interface, it is necessary to manually modify the mapping relationship between its internal logical node ID and physical node ID; 3) Network topology changes require a lot of manual intervention, resulting in low operation and maintenance efficiency.

[0003] To address the above problems, the following two methods are commonly used in existing technologies: The first method is the physical node ID-only scheme: This scheme does not require mapping, but it requires that the devices must be inserted in the same position and cannot be changed, resulting in poor flexibility; The second approach is a static mapping scheme: a mapping relationship exists between the logical node ID and the physical node ID of the device, but this mapping relationship needs to be pre-configured within the device. When the device interface changes, the mapping relationship within the device needs to be modified, making automation impossible.

[0004] Therefore, neither of the above two solutions can adapt to dynamically changing network topologies, resulting in low operational efficiency.

[0005] Therefore, there is an urgent need to provide a new solution to address the defects and shortcomings of the existing technologies. Summary of the Invention

[0006] To address the shortcomings and deficiencies in the existing technology, this invention provides a node ID mapping method for doorbells based on RapidIO.

[0007] The specific solution provided by this invention is as follows: A node ID mapping method for a RapidIO-based doorbell, characterized by the following steps: S100: Start the RapidIO network and complete initialization, while determining the master node; S200: The master node collects the ID information of all nodes in the network; S300: The master node sends the collected ID information of all nodes to other nodes through the RapidIO doorbell. After receiving the ID information, the other nodes update their local ID mapping table and return synchronization confirmation information. S400: When a node changes within the RapidIO network, the master node updates the ID mapping table based on the actual situation and synchronizes it to all other nodes.

[0008] In a further preferred embodiment of the present invention, in step S100: All nodes can be determined as the master node; Furthermore, once the physical ID information of all nodes within the network has been obtained, the initialization is considered complete.

[0009] As a further preferred embodiment of the present invention, step 200 includes the following steps: S201: The master node sends a request to the first slave node to obtain ID information via the RapidIO doorbell; S202: The first slave node returns its own virtual node ID information via the RapidIO doorbell; S203: The master node records the virtual node ID information of the first slave node and its mapping relationship with the physical node ID information; S204: Repeat the above process until the information of all node IDs in the network is collected.

[0010] As a further preferred embodiment of the present invention, in step 300, when the master node sends the ID information of all collected nodes to other nodes through the RapidIO doorbell, the 16-bit data area of ​​the RapidIO doorbell is divided. The RapidIO doorbell's 16-bit data area includes, from front to back, a protocol identifier field, a request direction field, a message type identifier field, and a data transmission field; wherein... The protocol identifier field uses fixed bits to distinguish between protocols; The request direction field distinguishes the operation type for the actual data being transmitted; The message type identifier field distinguishes between different types of messages; The data transmission field transmits actual data, which includes at least node physical ID information, virtual ID information, and mapping relationships.

[0011] As a further preferred embodiment of the present invention, step S300 includes the following steps: S301: The master node sends the first ID mapping information to the first slave node via the RapidIO doorbell; S302: After receiving the ID mapping information, the first slave node updates its local ID mapping table and returns synchronization confirmation information; S303: After receiving the synchronization confirmation information, the master node continues to send the next number of ID mapping information to the first slave node in sequence according to the above process until all ID mapping information is sent. S304: Repeat the above process until the master node synchronously sends all ID mapping information to all slave nodes in the network.

[0012] As a further preferred embodiment of the present invention, in step 300, when the master node sends the collected ID information of all nodes to other nodes via the RapidIO doorbell: First, send the collected virtual node ID information of all nodes to other nodes; Then, the physical node ID information of all the collected nodes is sent to other nodes.

[0013] As a further preferred embodiment of the present invention, in step 300, When sending the collected virtual node ID information of all nodes to other nodes: First, send the data transmission field of the RapidIO doorbell datagram, then send the protocol identifier field, request direction field, and message type identifier field of the RapidIO doorbell datagram.

[0014] As a further preferred embodiment of the present invention, in step 300, When sending the collected physical node ID information of all nodes to other nodes: First, send the data transmission field of the RapidIO doorbell datagram, then send the protocol identifier field, request direction field, and message type identifier field of the RapidIO doorbell datagram.

[0015] As a further preferred embodiment of the present invention, the changes occurring in the nodes within the RapidIO network in step S400 include at least the following: 1) Insertion of new nodes; 2) Removing old nodes.

[0016] As a further preferred embodiment of the present invention, step S400 includes the following steps: S401: When a new node is inserted, the new node sends an ID request to the master node, and the master node updates its local ID mapping table and synchronizes it to all other nodes; S402: When an old node is removed, the master node deletes the corresponding ID mapping relationship, updates the local ID mapping table, and synchronizes it to all other nodes.

[0017] Compared with existing technologies, the technical effects that this invention can achieve include: 1) This invention provides a node ID mapping method based on RapidIO doorbell. Based on the low overhead, hardware acceleration, flexibility and low latency characteristics of RapidIO doorbell, a fast and reliable information synchronization method with question-and-answer mechanism is proposed. On this basis, the automatic mapping function of logical node ID and physical node ID is realized to ensure the reliability of data transmission and avoid data loss or errors.

[0018] 2) This invention provides a node ID mapping method for doorbells based on RapidIO, which can achieve automated management, quickly and automatically complete address interaction without modifying any middleware, greatly reduce the complexity of operation and maintenance, and solve the problem of rigid operation and maintenance caused by the strong binding relationship between the device logical node ID and physical node ID.

[0019] 3) This invention provides a node ID mapping method for doorbells based on RapidIO, which has strong dynamic adaptability. When the network topology changes, the system can automatically remap the node ID without manual intervention, greatly improving operation and maintenance efficiency.

[0020] 4) This invention provides a node ID mapping method based on RapidIO doorbell, which has low latency and utilizes the hardware acceleration features of RapidIO doorbell to achieve a low-latency ID mapping synchronization process.

[0021] 5) This invention provides a node ID mapping method for doorbells based on RapidIO, which has strong scalability and compatibility, can be applied to large-scale network environments, and can be extended to network scenarios with any number of nodes. Attached Figure Description

[0022] Figure 1 The diagram shows the steps of the mapping method provided by the present invention.

[0023] Figure 2 The diagram shown is a flowchart of steps S300-S400 in the mapping method provided by the present invention.

[0024] Figure 3 The diagram shown is a field structure diagram of the RapidIO doorbell datagram in the mapping method provided by this invention. Detailed Implementation

[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0026] In the description of this invention, it should be noted that the terms "upper," "lower," "inner," "outer," "front end," "rear end," "both ends," "one end," and "the other end," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0027] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installed," "equipped with," "connected," etc., should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0028] [First Embodiment] like Figure 1 The diagram illustrates a node ID mapping method for a doorbell based on RapidIO, provided in the first embodiment of the present invention, comprising the following steps: S100: Start the RapidIO network and complete initialization, while determining the master node; In this embodiment, all nodes can be designated as the master node. Based on this, it is foreseeable that the master node can be determined according to user needs, or based on the current working status and efficiency of each node. Furthermore, initialization is considered complete when the physical ID information of all nodes within the network has been obtained.

[0029] S200: The master node collects the ID information of all nodes in the network; specifically, it includes the following steps: S201: The master node sends a request to the first slave node to obtain ID information via the RapidIO doorbell; S202: The first slave node returns its own virtual node ID information via the RapidIO doorbell; S203: The master node records the virtual node ID information of the first slave node and its mapping relationship with the physical node ID information. Based on this, the master node can obtain the physical node ID information of the first slave node through the virtual node ID information of the first slave node and its mapping relationship with the physical node ID information. S204: Repeat the above process until the information of all node IDs in the network is collected.

[0030] It is worth noting that the master node collects the ID information of all nodes in the network, including its own information. When synchronizing information later, the master node's information also needs to be synchronized with other nodes.

[0031] S300: The master node sends the collected ID information of all nodes to other nodes through the RapidIO doorbell. After receiving the ID information, the other nodes update their local ID mapping table and return synchronization confirmation information. In this embodiment, when the master node sends the ID information of all collected nodes to other nodes through the RapidIO doorbell, it uses RapidIO doorbell datagrams to send the node ID information. Based on the low overhead, hardware acceleration, flexibility, and low latency characteristics of the RapidIO doorbell, a fast and reliable information synchronization method with a question-and-answer mechanism is proposed. On this basis, the automatic mapping function between logical node IDs and physical node IDs is implemented to ensure the reliability of data transmission and avoid data loss or errors. like Figure 3 As shown, when the master node sends the collected ID information of all nodes to other nodes via the RapidIO doorbell, it divides the 16-bit data area of ​​the RapidIO doorbell. The 16-bit data area of ​​the RapidIO doorbell includes, sequentially, a protocol identifier field, a request direction field (DIR), a message type identifier field (MSG), and a data transmission field (DAT). The protocol identifier field uses a fixed bit 0xF to distinguish protocols; The request direction field DIR is used to distinguish the type of operation for the actual data being transmitted, such as a read operation (READ) and a write operation (WRITE). The Message Type Identifier (MSG) field is used to distinguish different types of messages and occupies 3 bits. The data transmission field DAT is used to transmit actual data, which includes at least node physical ID information, virtual ID information, and mapping relationship, and occupies 8 bits.

[0032] Step S300 includes the following steps: S301: The master node sends the first ID mapping information to the first slave node via the RapidIO doorbell; S302: After receiving the ID mapping information, the first slave node updates its local ID mapping table and returns synchronization confirmation information; S303: After receiving the synchronization confirmation information, the master node continues to send the next number of ID mapping information to the first slave node in sequence according to the above process until all ID mapping information is sent. S304: Repeat the above process until the master node synchronously sends all ID mapping information to all slave nodes in the network.

[0033] Meanwhile, in step 300, when the master node sends the collected ID information of all nodes to other nodes via the RapidIO doorbell: First, send the collected virtual node ID information of all nodes to other nodes; Then, the physical node ID information of all the collected nodes is sent to other nodes.

[0034] Since it is necessary to obtain the corresponding physical node ID information through the virtual node ID information and its mapping relationship with the physical node ID information, a node ID information sending method is adopted that sends the virtual node ID information first and then sends the physical node ID information. Based on this, it is worth noting that: When sending the collected virtual node ID information of all nodes to other nodes: First, send the data transmission field of the RapidIO doorbell datagram, then send the protocol identifier field, request direction field, and message type identifier field of the RapidIO doorbell datagram.

[0035] When sending the collected physical node ID information of all nodes to other nodes: First, send the data transmission field of the RapidIO doorbell datagram, then send the protocol identifier field, request direction field, and message type identifier field of the RapidIO doorbell datagram.

[0036] The RapidIO doorbell enables the transmission of 16 bits of data per transmission, thus achieving automated management. It can quickly and automatically complete address interaction without modifying any middleware, significantly reducing the complexity of operation and maintenance, and solving the problem of rigid operation and maintenance caused by the strong binding relationship between the device logical node ID and physical node ID.

[0037] S400: When a node changes within the RapidIO network, the master node updates the ID mapping table based on the actual situation and synchronizes it to all other nodes.

[0038] In step S400, the changes occurring in the nodes within the RapidIO network include at least the following: 1) Insertion of new nodes; 2) Removing old nodes.

[0039] Step S400 includes the following steps: S401: When a new node is inserted, the new node sends an ID request to the master node, and the master node updates its local ID mapping table and synchronizes it to all other nodes; S402: When an old node is removed, the master node deletes the corresponding ID mapping relationship, updates the local ID mapping table, and synchronizes it to all other nodes.

[0040] With strong dynamic adaptability, the system can automatically remap node IDs when the network topology changes, without manual intervention, which greatly improves operation and maintenance efficiency.

[0041] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

Claims

1. A node ID mapping method for a doorbell based on RapidIO, characterized in that: Includes the following steps: S100: Start the RapidIO network and complete initialization, while determining the master node; S200: The master node collects the ID information of all nodes in the network; S300: The master node sends the collected ID information of all nodes to other nodes through the RapidIO doorbell. After receiving the ID information, the other nodes update their local ID mapping table and return synchronization confirmation information. S400: When a node changes within the RapidIO network, the master node updates the ID mapping table based on the actual situation and synchronizes it to all other nodes.

2. The node ID mapping method for a doorbell based on RapidIO according to claim 1, characterized in that: In step S100: All nodes can be determined as the master node; Furthermore, once the physical ID information of all nodes within the network has been obtained, the initialization is considered complete.

3. The node ID mapping method for a doorbell based on RapidIO according to claim 1, characterized in that: Step 200 includes the following steps: S201: The master node sends a request to the first slave node to obtain ID information via the RapidIO doorbell; S202: The first slave node returns its own virtual node ID information via the RapidIO doorbell; S203: The master node records the virtual node ID information of the first slave node and its mapping relationship with the physical node ID information; S204: Repeat the above process until the information of all node IDs in the network is collected.

4. The node ID mapping method for a doorbell based on RapidIO according to claim 1, characterized in that: In step 300, when the master node sends the collected ID information of all nodes to other nodes through the RapidIO doorbell, the 16-bit data area of ​​the RapidIO doorbell is divided. The RapidIO doorbell's 16-bit data area includes, from front to back, a protocol identifier field, a request direction field, a message type identifier field, and a data transmission field; wherein... The protocol identifier field uses fixed bits to distinguish between protocols; The request direction field distinguishes the operation type for the actual data being transmitted; The message type identifier field distinguishes between different types of messages; The data transmission field transmits actual data, which includes at least node physical ID information, virtual ID information, and mapping relationships.

5. The node ID mapping method for a doorbell based on RapidIO according to claim 1, characterized in that: Step S300 includes the following steps: S301: The master node sends the first ID mapping information to the first slave node via the RapidIO doorbell; S302: After receiving the ID mapping information, the first slave node updates its local ID mapping table and returns synchronization confirmation information; S303: After receiving the synchronization confirmation information, the master node continues to send the next number of ID mapping information to the first slave node in sequence according to the above process until all ID mapping information is sent. S304: Repeat the above process until the master node synchronously sends all ID mapping information to all slave nodes in the network.

6. The node ID mapping method for a doorbell based on RapidIO according to claim 5, characterized in that: In step 300, when the master node sends the collected ID information of all nodes to other nodes via the RapidIO doorbell: First, send the collected virtual node ID information of all nodes to other nodes; Then, the physical node ID information of all the collected nodes is sent to other nodes.

7. The node ID mapping method for a doorbell based on RapidIO according to claim 6, characterized in that: In step 300, When sending the collected virtual node ID information of all nodes to other nodes: First, send the data transmission field of the RapidIO doorbell datagram, then send the protocol identifier field, request direction field, and message type identifier field of the RapidIO doorbell datagram.

8. The node ID mapping method for a doorbell based on RapidIO according to claim 6, characterized in that: In step 300, When sending the collected physical node ID information of all nodes to other nodes: First, send the data transmission field of the RapidIO doorbell datagram, then send the protocol identifier field, request direction field, and message type identifier field of the RapidIO doorbell datagram.

9. The node ID mapping method for a doorbell based on RapidIO according to claim 1, characterized in that: In step S400, the changes occurring in the nodes within the RapidIO network include at least the following: 1) Insertion of new nodes; 2) Removing old nodes.

10. A node ID mapping method for a doorbell based on RapidIO according to claim 9, characterized in that: Step S400 includes the following steps: S401: When a new node is inserted, the new node sends an ID request to the master node, and the master node updates its local ID mapping table and synchronizes it to all other nodes; S402: When an old node is removed, the master node deletes the corresponding ID mapping relationship, updates the local ID mapping table, and synchronizes it to all other nodes.