Method for transmitting messages between network equipment
A technology of message transmission and network equipment, applied in the field of data transmission, can solve the problems of large workload of traversing linked lists, consumption of CPU resources, message accumulation, etc., to achieve the effect of simple and convenient implementation, low resource consumption, and improved efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] 1. First, establish a retransmission array for each communication end node. The retransmission array is used to store the pointer of the message. The data structure of the retransmission array is as follows: figure 1 shown.
[0023] 2. The retransmission array uses the message ID as the unique identifier of the message as the subscript of the array. Through the subscript, the message element can be directly and precisely located in the retransmission array.
[0024] 3. The size of the retransmission array can be set according to the hardware bus structure. When the message ID is 16 bits, if the size of the created array is 65535 (2 to the 16th power), there will be no duplication of message IDs. At this time, you can directly locate in the array by subscript; if limited by the system structure, when the size of the retransmission array is less than 65536, such as 256 (2 to the 8th power), there may be duplication of message IDs, and when message ID conflicts occur, a ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 