Efficient message routing method and system of independent gateway controller
By combining dynamic routing protocols with static configuration, parsing the protocol frame structure, selecting differentiated routing strategies, and employing ring network protocols and load balancing algorithms, the dynamic adaptability and reliability issues of traditional message routing methods in complex network systems are solved, achieving efficient and flexible message routing and stable transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-12
- Publication Date
- 2026-04-10
AI Technical Summary
Traditional message routing methods suffer from several problems in complex network systems, including a lack of dynamic adaptability in routing table construction, inflexible message processing to adapt to multiple protocols, routing policies that do not distinguish between message types, poor link reliability and easy interruption, and the inability to dynamically optimize routing policies based on real-time network conditions.
The routing table is constructed by combining dynamic routing protocols with static configuration. The payload data is extracted by parsing the source protocol frame structure, the routing strategy is selected according to the message type, the link redundancy is implemented by using a ring network protocol, and the routing strategy is dynamically adjusted by monitoring the network load and device status in real time.
It improves the efficiency of routing table lookups, achieves high efficiency and reliability of cross-protocol data transmission, ensures the real-time performance and stability of network communication, and adapts to complex and ever-changing network environments.
Smart Images

Figure CN121842091A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of network communication technology, specifically relating to an efficient packet routing method and system for an independent gateway controller. Background Technology
[0002] In complex network systems such as automotive electronics and industrial automation, independent gateway controllers play a crucial role, responsible for data interaction and communication between different networks, with message routing being one of their core functions. Traditional message routing methods have several limitations. Firstly, in terms of routing table construction and management, relying solely on static configuration makes it difficult to adapt to dynamically changing network topologies. Frequent occurrences of device additions / removals and link failures mean that static routing cannot update routing information in a timely manner, leading to unreasonable data transmission paths, low query efficiency, and impacting communication real-time performance and accuracy. Secondly, message processing methods are limited. Faced with messages from different protocols, traditional methods lack flexible conversion mechanisms, making it difficult to accurately extract and repackage payload data, and unable to adapt to multiple protocol specifications. For low-bandwidth signals, effective packaging and reassembly are not possible, resulting in resource waste and low transmission efficiency. In terms of routing strategy selection, traditional methods are relatively crude, failing to fully consider differences in message types. Using a uniform processing mode for event-based, periodic, and diagnostic messages cannot meet the different real-time and reliability requirements of various messages. Furthermore, link reliability is also a weakness of traditional methods. The lack of effective link redundancy and dynamic routing mechanisms means that the system cannot quickly switch to a backup link when the primary link fails, which can easily lead to communication interruptions. Furthermore, the failure to dynamically adjust routes based on load balancing can easily cause network congestion and affect overall transmission performance.
[0003] Existing technologies have shortcomings such as lack of dynamic adaptability in routing table construction, inability to flexibly adapt to multiple protocols in packet processing, lack of differentiation between packet types in routing policies, insufficient guarantee of link reliability, and difficulty in dynamically optimizing routing policies based on network conditions. Summary of the Invention
[0004] To address the aforementioned issues, this invention provides a highly efficient packet routing method and system for independent gateway controllers. This method solves the problems of low routing table lookup efficiency, difficulty in adapting packets to multiple protocol specifications, lack of differentiated routing policies for different packet types, poor link reliability leading to frequent interruptions, and inability to dynamically optimize routing policies based on real-time network conditions. To achieve the above objectives, this invention adopts the following technical solution: The efficient packet routing method for an independent gateway controller includes the following steps: A combination of dynamic routing protocols and static configuration is used. A routing table is constructed by analyzing the network topology, mapping and storing the target address and forwarding path. The storage structure is optimized to improve query efficiency, resulting in a dynamically queried routing table. Payload data is extracted by parsing the source protocol frame structure. The data is repackaged according to the target protocol specification, and the transmission rate is adjusted for matching. Low-bandwidth signals are reassembled to obtain reconstructed packets adapted to the target protocol. A routing strategy is selected based on the packet type: event-driven packets are sent immediately, periodic packets are sent according to a preset period, and diagnostic packets are processed in transparent and conversion modes. The correct route is obtained by querying the routing table and forwarding the packets. A ring network protocol is used to achieve link redundancy. When the primary link fails, a backup link is automatically switched to, maintaining an equivalent path. Dynamic routing is performed based on a load balancing algorithm to obtain a highly reliable and stable transmission link. By monitoring network load and device status in real time, traffic trends and performance data are obtained. The routing strategy is dynamically adjusted based on the data, and performance reports are generated periodically to obtain a continuously optimized routing scheme.
[0005] Furthermore, the method of combining dynamic routing protocols with static configuration, constructing a routing table by analyzing network topology, mapping and storing target addresses and forwarding paths, and optimizing the storage structure to improve query efficiency, resulting in a highly efficient dynamic routing table, includes the following steps: constructing the routing table using a collaborative approach of dynamic routing protocols and static configuration; the dynamic routing protocol includes periodically exchanging network information and automatically sensing changes in network topology; combined with static configuration, manually setting the routing information of nodes, analyzing the collected network topology data, and extracting the correspondence between target addresses and reachable forwarding paths; storing the correspondence between target addresses and forwarding paths according to an optimized storage structure, including a hash table, to obtain a highly efficient dynamic routing table.
[0006] Furthermore, the step of extracting payload data by parsing the source protocol frame structure, re-encapsulating the data according to the target protocol specification, adjusting the transmission rate for matching, and reassembling low-bandwidth signals to obtain a reassembled message adapted to the target protocol includes the following steps: Cross-protocol communication is achieved using protocol parsing and reassembly techniques; payload data is extracted from the frame header, frame trailer, and checksum field by parsing the source protocol frame structure layer by layer to obtain the original information content; according to the target protocol specification, the extracted data is re-encapsulated according to the new protocol frame format, and the corresponding target frame header, frame trailer, and checksum information are added; the data transmission frequency and bandwidth usage are adjusted according to the target network transmission rate requirements; for low-bandwidth signals, the signals are reassembled into a composite message according to time and logical relationships to obtain a reassembled message adapted to the target protocol.
[0007] Furthermore, the step of selecting a routing strategy based on message type—instantly triggering transmission for event-type messages, transmitting periodically according to a preset period, and processing diagnostic messages in transparent and conversion modes—and obtaining correctly routed messages by querying the routing table, includes the following steps: A differentiated routing mechanism based on message type is adopted. By parsing the message header identifier field, message type feature information is extracted to determine whether it is an event-type, periodic, or diagnostic message. For event-type messages, the transmission process is triggered according to real-time requirements. For periodic messages, the transmission operation is executed on time according to the pre-configured transmission period parameters. Diagnostic messages are processed differently: in transparent mode, the original data is directly forwarded; in conversion mode, protocol conversion is performed before transmission. By querying the dynamic routing table, the target address and forwarding path are determined, and the message is accurately delivered to its destination.
[0008] Furthermore, the method of using a ring network protocol to achieve link redundancy, automatically switching to a backup link when the primary link fails, maintaining equivalent paths, and dynamically selecting routes based on a load balancing algorithm to obtain a highly reliable and stable transmission link includes the following steps: Constructing a network architecture using a ring network protocol with link redundancy capabilities; enabling network nodes to automatically perceive the topology through the protocol mechanism, forming a ring connection, extracting link status information, and updating it in real time; obtaining a list of primary and backup links; the primary link undertakes data transmission tasks when operating normally; when a primary link failure is detected, a switching mechanism is immediately triggered to automatically transfer the transmission task to the backup link; maintaining multiple equivalent paths; analyzing the real-time load of different paths based on a load balancing algorithm; dynamically selecting the optimal path to transmit data; and obtaining a network link with high reliability and stable data transmission capability.
[0009] Furthermore, the method of obtaining continuously optimized routing solutions by real-time monitoring of network load and device status, acquiring traffic trends and performance data, dynamically adjusting routing strategies based on the data, and periodically generating performance reports includes the following steps: Real-time collection of network load data, including bandwidth utilization and packet transmission latency, through monitoring modules deployed on network nodes; acquisition of device status information, including interface error rate and hardware operating temperature; extraction of core data reflecting network and device operating status, performance bottlenecks, and potential risks from the monitoring data; analysis to obtain traffic change trends and device performance fluctuation data; dynamic adjustment of routing strategies based on the analysis results to avoid high-load and faulty links; periodic summarization of monitoring data to generate performance reports, detailing the effects of routing adjustments; and continuous iterative optimization based on report feedback to obtain a routing solution that adapts to dynamic network changes and continuously improves performance.
[0010] The second aspect of this invention provides a high-efficiency packet routing system for an independent gateway controller. This system includes the following modules: a dynamic routing table module, used to construct a routing table by analyzing network topology using a combination of dynamic routing protocols and static configuration, mapping and storing target addresses and forwarding paths, optimizing the storage structure to improve query efficiency, and obtaining a dynamically queried routing table; a protocol conversion module, used to extract payload data by parsing the source protocol frame structure, re-encapsulating the data according to the target protocol specification, adjusting the transmission rate for matching, and reassembling low-bandwidth signals to obtain reassembled packets adapted to the target protocol; and an execution forwarding module, used for... The routing strategy is selected based on message type: event-driven messages are sent immediately, while periodic messages are sent according to a preset period. Diagnostic messages are processed in transparent or conversion modes, and forwarded by querying the routing table to obtain the correct route. The fault switching module is used to implement link redundancy using a ring network protocol. When the primary link fails, it automatically switches to the backup link, maintains the equal-cost path, and dynamically selects routes based on the load balancing algorithm to obtain a highly reliable and stable transmission link. The dynamic adjustment module is used to obtain traffic trend and performance data by monitoring network load and device status in real time. Based on the data, it dynamically adjusts the routing strategy, generates performance reports periodically, and obtains a continuously optimized routing scheme.
[0011] A third aspect of the present invention provides an efficient packet routing device for an independent gateway controller, the efficient packet routing device for an independent gateway controller including a memory and at least one processor, the memory storing instructions; the at least one processor invokes the instructions in the memory to cause the efficient packet routing device for an independent gateway controller to perform the steps of the efficient packet routing method for an independent gateway controller as described in any of the preceding claims.
[0012] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions, characterized in that, when executed by a processor, the instructions implement the steps of the efficient packet routing method for an independent gateway controller as described in any of the preceding claims.
[0013] In the technical solution provided by this invention, a combination of dynamic routing protocols and static configuration is adopted. A routing table is constructed by analyzing the network topology, mapping and storing target addresses and forwarding paths. The storage structure is optimized to improve query efficiency, resulting in a highly efficient dynamic routing table. Payload data is extracted by parsing the source protocol frame structure, and the data is repackaged according to the target protocol specification. The transmission rate is adjusted for matching, and low-bandwidth signals are reassembled to obtain reconstructed packets adapted to the target protocol. Routing strategies are selected based on packet type: event-driven packets are sent immediately, periodic packets are sent according to a preset period, and diagnostic packets are processed in transparent and conversion modes. The correct route is obtained by querying the routing table and forwarding the packets. A ring network protocol is used to achieve link redundancy. When the primary link fails, a backup link is automatically switched to, maintaining an equivalent path. Dynamic routing is performed based on a load balancing algorithm to obtain a highly reliable and stable transmission link. By monitoring network load and device status in real time, traffic trends and performance data are obtained. Routing strategies are dynamically adjusted based on the data, and performance reports are generated periodically to obtain a continuously optimized routing scheme. This invention solves the problems of low routing table lookup efficiency, difficulty in adapting packets to multiple protocol specifications, lack of differentiated processing of routing strategies for different packet types, poor link reliability and easy interruption, and inability to dynamically optimize routing strategies based on real-time network status in traditional methods. Attached Figure Description
[0014] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention.
[0015] Figure 1 This is a schematic diagram of a first embodiment of an efficient packet routing method for an independent gateway controller according to an embodiment of the present invention.
[0016] Figure 2 This is a schematic diagram of a second embodiment of an efficient packet routing method for an independent gateway controller according to an embodiment of the present invention.
[0017] Figure 3 This is a schematic diagram of a third embodiment of an efficient packet routing method for an independent gateway controller according to an embodiment of the present invention.
[0018] Figure 4 This is a schematic diagram of the fourth embodiment of an efficient packet routing method for an independent gateway controller according to the present invention.
[0019] Figure 5 This is a schematic diagram of the fifth embodiment of an efficient packet routing method for an independent gateway controller according to the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0021] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this specification means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0022] An efficient packet routing method for independent gateway controllers, such as Figure 1 As shown, the process includes the following steps: A combination of dynamic routing protocols and static configuration is used. A routing table is constructed by analyzing the network topology, mapping and storing the target address and forwarding path. The storage structure is optimized to improve query efficiency, resulting in a dynamic routing table with high-efficiency query capabilities. Payload data is extracted by parsing the source protocol frame structure. The data is repackaged according to the target protocol specification, and the transmission rate is adjusted for matching. Low-bandwidth signals are reassembled to obtain reconstructed packets adapted to the target protocol. Routing strategies are selected based on packet type: event-driven packets are sent immediately, periodic packets are sent according to a preset period, and diagnostic packets are processed in transparent and conversion modes. The correct route is obtained by querying the routing table and forwarding the packets. A ring network protocol is used to achieve link redundancy. When the primary link fails, a backup link is automatically switched to, maintaining an equivalent path. Dynamic routing is performed based on a load balancing algorithm to obtain a highly reliable and stable transmission link. By monitoring network load and device status in real time, traffic trends and performance data are obtained. Routing strategies are dynamically adjusted based on the data, and performance reports are generated periodically to obtain a continuously optimized routing scheme.
[0023] like Figure 2 As shown, in this embodiment, a routing table is constructed by working in conjunction with a dynamic routing protocol and static configuration. The dynamic routing protocol includes periodically exchanging network information and automatically sensing changes in network topology. Combined with static configuration, the routing information of nodes is manually set, the collected network topology data is analyzed, and the correspondence between the target address and the reachable forwarding path is extracted. The correspondence between the target address and the forwarding path is stored in an optimized storage structure, including a hash table, to obtain a dynamic routing table with efficient query capabilities.
[0024] The combined use of dynamic routing protocols and static configuration to construct routing tables yields significant and crucial results. Dynamic routing protocols periodically exchange network information, automatically sensing network topology changes and promptly grasping network dynamics; static configuration allows manual setting of node routing information. The combination of these two methods enables comprehensive analysis of network topology data, accurately extracting the correspondence between destination addresses and reachable forwarding paths. Optimized storage structures such as hash tables are used to store these relationships, greatly improving the query efficiency of the routing table. This dynamically constructed routing table adapts to network changes while enabling rapid lookups, ensuring the accuracy and efficiency of packet routing.
[0025] Dynamic routing protocols are communication protocols in computer networks that automatically exchange routing information and dynamically update routing tables between routers. They can adjust data forwarding paths in real time based on network topology changes, such as link failures or device additions / removals, ensuring efficient and reliable data transmission. Their core functions include route discovery, path calculation, and link failure recovery, implemented using distance-vector algorithms (such as RIP) or link-state algorithms (such as OSPF). Dynamic routing protocols reduce the configuration burden on administrators, quickly adapt to network changes, and are the preferred routing management method in medium to large-scale network environments, significantly improving network reliability and flexibility.
[0026] Static configuration is a routing management method that involves manually setting network routing information in advance. Network administrators directly configure fixed routing entries on network devices such as routers, explicitly specifying the target network address and its corresponding next-hop address, based on the network topology and communication needs. This configuration method is simple and direct, suitable for small network environments with relatively stable topologies. It requires no complex protocol interactions and ensures accurate data transmission along predetermined paths. However, when the network topology changes, the administrator needs to manually update the configuration, lacking automatic adaptation capabilities and resulting in a relatively large maintenance workload.
[0027] like Figure 3 As shown, in this embodiment, protocol parsing and reassembly technology is used to achieve cross-protocol communication. By parsing the source protocol frame structure layer by layer, payload data is extracted from the frame header, frame trailer, and check field to obtain the original information content. According to the target protocol specification, the extracted data is repackaged according to the new protocol frame format, and the corresponding target frame header, frame trailer, and check information are added. The data transmission frequency and bandwidth usage are adjusted according to the target network transmission rate requirements. For low-bandwidth signals, the signals are packaged and reassembled into a composite message according to time and logical relationships to obtain a reassembled message adapted to the target protocol.
[0028] The application of protocol parsing and reassembly techniques for cross-protocol communication is highly effective and crucial. Layer-by-layer parsing of the source protocol frame structure accurately extracts payload data, ensuring complete acquisition of original information without loss or distortion. Re-encapsulation of data according to the target protocol specification seamlessly adapts to different protocol environments, guaranteeing smooth data transmission. Adjusting the transmission frequency and bandwidth usage according to the target network requirements optimizes network resource utilization. Packaging and reassembling low-bandwidth signals into composite messages effectively improves the transmission efficiency of low-bandwidth signals, enabling efficient and stable transmission of data with different protocols and bandwidth requirements across the network.
[0029] like Figure 4 As shown, in this embodiment, a differentiated routing mechanism based on message type is adopted. By parsing the message header identifier field, message type feature information is extracted to determine whether it is an event-type, periodic, or diagnostic message. For event-type messages, the sending process is triggered according to real-time requirements. For periodic messages, the sending operation is executed on time according to the pre-configured sending period parameters. Diagnostic messages are processed differently: in transparent mode, the original data is forwarded directly, and in conversion mode, the protocol is converted before being sent. By querying the dynamic routing table, the target address and forwarding path are determined, and the message is accurately delivered to the destination.
[0030] A differentiated routing mechanism based on message type is employed, demonstrating outstanding effectiveness and playing a crucial role. By accurately determining the message type through parsing the message header identifier field, the characteristics and requirements of different messages can be quickly identified. Event-based messages are triggered for timely transmission, meeting their real-time requirements; periodic messages are sent according to a preset cycle, ensuring the regularity of data transmission; diagnostic messages are processed differently, guaranteeing the accuracy and integrity of information transmission. Finally, a dynamic routing table is queried to accurately deliver messages, avoiding problems such as misdelivery and missed delivery. This effectively improves the efficiency and accuracy of message routing, enhances the reliability and stability of network communication, and adapts to complex and ever-changing network environments.
[0031] like Figure 5 As shown, in this embodiment, a ring network protocol with link redundancy is used to construct the network architecture. Through the protocol mechanism, network nodes automatically perceive the topology, form a ring connection, extract link status information, and update it in real time. A list of primary and backup links is obtained. When the primary link is running normally, it undertakes the data transmission task. When a failure of the primary link is detected, a switching mechanism is immediately triggered to automatically transfer the transmission task to the backup link. Multiple equivalent paths are maintained. Based on the load balancing algorithm, the real-time load of different paths is analyzed, and the optimal path is dynamically selected to transmit data, resulting in a network link with high reliability and stable data transmission.
[0032] The network architecture constructed using a ring network protocol with link redundancy features demonstrates significant effectiveness and outstanding performance. Network nodes automatically perceive the topology and form a ring connection, capable of extracting and updating link status information in real time, ensuring the timeliness and accuracy of network information. The establishment of a primary and backup link list enables a rapid switching mechanism to be triggered in the event of a primary link failure, seamlessly transferring transmission tasks and ensuring uninterrupted data transmission. Simultaneously, maintaining multiple equal-cost paths and combining them with load balancing algorithms allows for dynamic optimization based on real-time load, rationally allocating network resources. This network structure possesses high reliability and stability, effectively enhancing the network's ability to cope with faults.
[0033] In this embodiment, a monitoring module deployed on network nodes collects network load data in real time, including bandwidth utilization and packet transmission latency. Device status information is also acquired, including interface error rate and hardware operating temperature. Core data reflecting network and device operating status, performance bottlenecks, and potential risks are extracted from the monitoring data. Traffic change trends and device performance fluctuation data are analyzed. Based on the analysis results, routing strategies are dynamically adjusted to avoid high-load and faulty links. Monitoring data is periodically summarized to generate performance reports, detailing the effects of routing adjustments. Based on report feedback, continuous iterative optimization is performed to obtain a routing scheme that adapts to dynamic network changes and continuously improves performance.
[0034] The monitoring module deployed at network nodes can collect network load data such as bandwidth utilization and packet transmission latency in real time, as well as device status information such as interface error rate and hardware operating temperature. It accurately extracts core data and analyzes traffic trends and performance fluctuations. Based on these analyses, routing strategies are dynamically adjusted to effectively avoid high-load and faulty links, ensuring smooth and stable data transmission. Regularly generated performance reports record the effects of routing adjustments in detail, and continuous iteration and optimization based on feedback enable the routing solution to quickly adapt to dynamic network changes.
[0035] This invention also provides a high-efficiency packet routing system for an independent gateway controller, comprising the following modules: a dynamic routing table module, used to construct a routing table by analyzing network topology using a combination of dynamic routing protocols and static configuration, mapping and storing target addresses and forwarding paths, optimizing the storage structure to improve query efficiency, and obtaining a dynamic routing table for efficient querying; a protocol conversion module, used to extract payload data by parsing the source protocol frame structure, re-encapsulating the data according to the target protocol specification, adjusting the transmission rate for matching, and reassembling low-bandwidth signals to obtain reassembled packets adapted to the target protocol; and an execution forwarding module, used to forward packets according to the target protocol. The message type selection routing strategy includes event-driven messages that are sent immediately and periodic messages that are sent according to a preset period. Diagnostic messages are processed in transparent and conversion modes, and are forwarded by querying the routing table to obtain the correct route. The fault switching module is used to implement link redundancy using a ring network protocol. When the primary link fails, it automatically switches to the backup link, maintains the equal-cost path, and dynamically selects routes based on the load balancing algorithm to obtain a highly reliable and stable transmission link. The dynamic adjustment module is used to obtain traffic trend and performance data by monitoring network load and device status in real time. Based on the data, it dynamically adjusts the routing strategy, generates performance reports periodically, and obtains a continuously optimized routing scheme.
[0036] This invention also provides a high-efficiency packet routing device for an independent gateway controller. This device may further include one or more power supplies, one or more wired or wireless network interfaces, one or more input / output interfaces, and / or one or more operating systems, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that the structure of this high-efficiency packet routing device for an independent gateway controller does not constitute a limitation on the computer device provided by this invention, and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0037] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the various steps of the efficient packet routing method for an independent gateway controller provided in the above embodiments.
[0038] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely preferred examples and are not intended to limit the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. A high-efficiency packet routing method for an independent gateway controller, characterized in that, The efficient packet routing method for the independent gateway controller includes the following steps: By combining dynamic routing protocols with static configuration, a routing table is constructed by analyzing the network topology, and the destination address and forwarding path are mapped and stored. The storage structure is optimized to improve query efficiency, resulting in a dynamic routing table with high efficiency for querying. The payload data is extracted by parsing the source protocol frame structure, the data is repackaged according to the target protocol specification, the transmission rate is adjusted for matching, and low-bandwidth signals are packaged and reassembled to obtain a reassembled message adapted to the target protocol. The routing strategy is selected based on the message type. Event-type messages are sent immediately, while periodic messages are sent according to a preset period. Diagnostic messages are processed in transparent or conversion modes. The correct route is obtained by forwarding the message through a query of the routing table. A ring network protocol is used to achieve link redundancy. When the main link fails, the backup link is automatically switched to maintain the equivalent path. Dynamic routing is based on the load balancing algorithm to obtain a highly reliable and stable transmission link. By monitoring network load and device status in real time, traffic trends and performance data are obtained, routing strategies are dynamically adjusted based on the data, and performance reports are generated regularly to obtain continuously optimized routing solutions.
2. The efficient packet routing method for an independent gateway controller according to claim 1, characterized in that, The method of combining dynamic routing protocols with static configuration involves analyzing network topology to construct a routing table, mapping and storing destination addresses with forwarding paths, optimizing the storage structure to improve query efficiency, and obtaining a dynamic routing table with high efficiency for querying. This includes the following steps: The routing table is constructed by using a combination of dynamic routing protocols and static configuration. The dynamic routing protocol includes periodically exchanging network information and automatically sensing changes in network topology. By combining static configuration with manual setting of node routing information, analyzing the collected network topology data, and extracting the correspondence between target addresses and reachable forwarding paths; The mapping between target addresses and forwarding paths is stored in an optimized storage structure, including a hash table, to obtain a dynamic routing table for efficient querying.
3. The efficient packet routing method for an independent gateway controller according to claim 1, characterized in that, The process of extracting payload data by parsing the source protocol frame structure, re-encapsulating the data according to the target protocol specification, adjusting the transmission rate for matching, and reassembling low-bandwidth signals to obtain a reassembled message adapted to the target protocol includes the following steps: Cross-protocol communication is achieved by using protocol parsing and reassembly technology. By parsing the source protocol frame structure layer by layer, payload data is extracted from the frame header, frame trailer and check field to obtain the original information content. According to the target protocol specification, the extracted data is re-encapsulated according to the new protocol frame format, and the corresponding target frame header, frame trailer and check information are added. The data transmission frequency and bandwidth usage are adjusted according to the target network transmission rate requirements. For low-bandwidth signals, the signals are packaged and reassembled into a composite message according to time and logical relationships to obtain a reassembled message adapted to the target protocol.
4. The efficient packet routing method for an independent gateway controller according to claim 1, characterized in that, The process of selecting a routing strategy based on message type, triggering immediate transmission for event-driven messages, sending periodic messages according to a preset period, processing diagnostic messages in transparent or conversion modes, and forwarding messages by querying the routing table to obtain the correctly routed message includes the following steps: A differentiated routing mechanism based on message type is adopted. By parsing the message header identifier field, message type feature information is extracted to determine whether it belongs to event-type, periodic-type, or diagnostic message. For event-type messages, the sending process is triggered according to real-time requirements. For periodic messages, the sending operation is executed on time according to the pre-configured sending period parameters. Diagnostic messages are processed differently. In the transparent transmission mode, the original data is forwarded directly, and in the conversion mode, the protocol is converted and then sent. By querying the dynamic routing table, the target address and forwarding path are determined, and the packet is accurately delivered to the destination.
5. The efficient packet routing method for an independent gateway controller according to claim 1, characterized in that, The method of using a ring network protocol to achieve link redundancy, automatically switching to a backup link when the primary link fails, maintaining an equal-cost path, and dynamically selecting routes based on a load balancing algorithm to obtain a highly reliable and stable transmission link includes the following steps: A network architecture with link redundancy is constructed using a ring network protocol. Through the protocol mechanism, network nodes can automatically perceive the topology, form a ring connection, extract link status information, and update it in real time. Obtain the list of primary and backup links. When the primary link is running normally, it undertakes the data transmission task. When a failure of the primary link is detected, the switching mechanism is immediately triggered to automatically transfer the transmission task to the backup link. By maintaining multiple equivalent paths and analyzing the real-time load of different paths based on load balancing algorithms, the optimal path is dynamically selected to transmit data, resulting in a network link with high reliability and stable data transmission.
6. The efficient packet routing method for an independent gateway controller according to claim 1, characterized in that, The process of obtaining a continuously optimized routing solution by real-time monitoring of network load and device status, acquiring traffic trends and performance data, dynamically adjusting routing strategies based on the data, and periodically generating performance reports includes the following steps: By deploying monitoring modules on network nodes, network load data is collected in real time, including bandwidth utilization and packet transmission delay. Obtain device status information, including interface error rate and hardware operating temperature. Extract core data reflecting network and device operating status, performance bottlenecks and potential risks from monitoring data, and analyze and obtain traffic change trends and device performance fluctuation data. Based on the analysis results, the routing strategy is dynamically adjusted to avoid high-load and faulty links. Monitoring data is regularly summarized to generate performance reports, and the effects of routing adjustments are recorded in detail. Based on the feedback from the reports, continuous iteration and optimization are carried out to obtain a routing solution that adapts to dynamic network changes and continuously improves performance.
7. A high-efficiency packet routing system with an independent gateway controller, characterized in that, The high-efficiency packet routing system of the independent gateway controller includes the following modules: The dynamic routing table module is used to combine dynamic routing protocols with static configuration. By analyzing the network topology, it constructs a routing table, maps and stores the destination address and forwarding path, optimizes the storage structure to improve query efficiency, and obtains a dynamic routing table with high efficiency. The protocol conversion module is used to extract payload data by parsing the source protocol frame structure, repackage the data according to the target protocol specification, adjust the transmission rate for matching, and reassemble low-bandwidth signals to obtain reassembled messages adapted to the target protocol. The execution forwarding module is used to select a routing strategy based on the message type. Event-type messages are sent immediately, while periodic messages are sent according to a preset period. Diagnostic messages are processed in transparent transmission and conversion modes. By querying the routing table, the correct route is obtained for the forwarding. The fault switching module is used to achieve link redundancy using a ring network protocol. When the main link fails, it automatically switches to the backup link, maintains the equal-cost path, and dynamically selects routes based on the load balancing algorithm to obtain a highly reliable and stable transmission link. The dynamic adjustment module is used to obtain traffic trends and performance data by monitoring network load and device status in real time, dynamically adjust routing strategies based on the data, generate performance reports periodically, and obtain continuously optimized routing solutions.
8. A high-efficiency packet routing device with an independent gateway controller, characterized in that, The efficient packet routing device of the independent gateway controller includes a memory and at least one processor. The memory stores instructions, and the at least one processor invokes the instructions in the memory to cause the efficient packet routing device of the independent gateway controller to perform the steps of the efficient packet routing method of the independent gateway controller as described in any one of claims 1-6.
9. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions are executed by the processor, they implement the steps of the efficient packet routing method for an independent gateway controller as described in any one of claims 1-6.
Citation Information
Cited By
Gateway routing method and device, electronic equipment and medium
CN122120197A