A broadband and narrow routing fusion system, method and product
By integrating broadband and narrowband routing modules into existing routing switching equipment, automatic fusion and optimization of routing data are achieved, solving the problem of broadband and narrowband channel routing fusion relying on additional equipment, reducing costs and simplifying the networking process.
Patent Information
- Application Number
- CN202311422355.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2043-10-30
AI Technical Summary
In existing technologies, the integration of wideband and narrowband channel routing relies on the deployment of additional equipment, resulting in high costs and complex networking.
It uses broadband routing modules, narrowband routing modules, routing fusion modules and routing management modules to receive routing data from different sources through a unified interface format, determine the optimal route, and implement the fusion and distribution of routing data in existing routing switching equipment.
No additional equipment is required, which reduces network deployment costs, simplifies the networking process, improves the efficiency and reliability of routing information fusion, and adapts to the flexible networking of flat networks.
Smart Images

Figure CN117651016B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of routing fusion technology, and in particular to a broadband and narrowband routing fusion system, method, and product. Background Art
[0002] The goal of network protocols is to generate and update routing information used to guide packet forwarding within the network. Depending on the characteristics of channel transmission, different routing protocols are often deployed in broadband and narrowband networks. In related technologies, the convergence of broadband and narrowband channel routing relies on the deployment of additional converged equipment, which is costly and relatively complex.
[0003] Therefore, it is necessary to develop a broadband and narrow routing fusion system, method and product to save network deployment costs and simplify the networking process. Summary of the Invention
[0004] In view of the above problems, embodiments of the present application provide a broadband and narrow routing fusion system, method, device management software, and product to overcome the above problems or at least partially solve the above problems.
[0005] In a first aspect of an embodiment of the present application, a broadband and narrowband routing fusion system is provided, the system comprising: a broadband routing module, a narrowband routing module, a routing fusion module, and a routing management module;
[0006] The broadband routing module is used to run the broadband routing protocol on demand according to the type of wired channel connected to the device interface, receive broadband routing protocol data, and send it to the routing fusion module;
[0007] The narrowband routing module is used to run the narrowband routing protocol on demand according to the type of wireless channel connected to the device interface, receive narrowband routing protocol data, and send it to the routing fusion module; the narrowband routing module ensures that there are no routing loops by controlling the order of routing updates and deletions;
[0008] The routing fusion module is configured to receive the broadband routing protocol data and the narrowband routing protocol data through a unified interface format, determine an optimal route therefrom, and send the optimal route to the routing management module;
[0009] The routing management module is used to store, search and issue routing data according to the received optimal route.
[0010] In a possible implementation, the routing fusion module is further configured to perform mutual penetration of routing data of different types and sources, including:
[0011] The routing fusion module sends the broadband routing protocol data to the narrowband routing module, and after receiving the broadband routing protocol data, the narrowband routing module spreads the data to the switching device through a wireless channel;
[0012] The routing fusion module sends the narrowband routing protocol data to the broadband routing module. After receiving the narrowband routing protocol data, the broadband routing module diffuses the data to the switching device through a wired channel.
[0013] In a possible implementation manner, the broadband routing protocol data and / or the narrowband routing protocol data at least include: routing source type, routing destination IP, routing output interface information, and cost value.
[0014] In a possible implementation, determining the optimal route includes:
[0015] For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, the routing fusion module determines the routing data with the shortest cost value as the optimal route; or
[0016] For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, the routing fusion module performs priority sorting according to a preset rule and determines the routing data with the highest priority as the optimal route.
[0017] In a possible implementation, the routing management module generates a flow classification forwarding rule table according to preset service feature rules, wherein the preset service feature rules include: UDP port number, destination IP network segment;
[0018] The routing management module generates an openflow protocol message according to the routing table and the flow classification forwarding rule table, and sends it to the forwarding chip to execute forwarding of user data packets.
[0019] In a possible implementation, generating an OpenFlow protocol message based on the routing table and the flow classification forwarding rule table, and sending the message to the forwarding chip to forward the user data packet includes:
[0020] When the routing management module receives a forwarding request for user data, searching the flow classification forwarding rule table;
[0021] If a specified rule is found during the search, a search result is generated according to the specified rule;
[0022] If the specified rule cannot be found, searching the routing table according to the destination IP address to obtain the search result;
[0023] According to the outbound interface channel type of the search result, encapsulate the corresponding IP header to obtain the openflow protocol message;
[0024] The openflow protocol message is sent to the forwarding chip, and the forwarding chip forwards the user data packet through a narrowband channel or a broadband channel.
[0025] In a possible implementation, the system further includes:
[0026] a sending module, configured to send an open flow table according to user classification information, and use the open flow table to guide user data packets to be sent to the routing management module;
[0027] The routing management module performs IP decapsulation on the received user data packet;
[0028] Perform IP header verification and packet assembly on the decapsulated user data packets to obtain complete user data;
[0029] The user data is sent to the target user program.
[0030] A second aspect of the embodiments of the present application further provides a method for merging wide and narrow routing, the method comprising:
[0031] According to the type of wired channel connected to the device interface, the broadband routing protocol is run on demand to obtain broadband routing protocol data;
[0032] Run narrowband routing protocols on demand and receive narrowband routing protocol data based on the type of wireless channel to which the device interface is connected; ensure routing loops are avoided by controlling the order of route updates and deletions;
[0033] receiving the broadband routing protocol data and the narrowband routing protocol data through a unified interface format, and determining an optimal route therefrom;
[0034] According to the determined optimal route, the routing data is stored, searched and issued.
[0035] In one possible implementation, the method further includes:
[0036] Interpenetration of different types of routing data from different sources, including:
[0037] Sending the broadband routing protocol data to a narrowband routing module, which, after receiving the broadband routing protocol data, diffuses the data to a switching device via a wireless channel;
[0038] The narrowband routing protocol data is sent to the broadband routing module. After receiving the narrowband routing protocol data, the broadband routing module diffuses the data to the switching device through a wired channel.
[0039] In a possible implementation manner, the broadband routing protocol data and / or the narrowband routing protocol data at least include: routing source type, routing destination IP, routing output interface information, and cost value.
[0040] In a possible implementation, determining the optimal route includes:
[0041] For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, determining the routing data with the shortest cost value as the optimal route; or
[0042] For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, priority is sorted according to a preset rule, and the routing data with the highest priority is determined as the optimal route.
[0043] In one possible implementation, the method further includes:
[0044] Generate a flow classification forwarding rule table according to preset service feature rules, wherein the preset service feature rules include: UDP port number, destination IP network segment;
[0045] According to the routing table and the flow classification forwarding rule table, an openflow protocol message is generated and sent to the forwarding chip to execute forwarding of user data packets.
[0046] In a possible implementation, generating an OpenFlow protocol message based on the routing table and the flow classification forwarding rule table, and sending the message to the forwarding chip to forward the user data packet includes:
[0047] When receiving a forwarding request for user data, searching the flow classification forwarding rule table;
[0048] If a specified rule is found during the search, a search result is generated according to the specified rule;
[0049] If the specified rule cannot be found, searching the routing table according to the destination IP address to obtain the search result;
[0050] According to the outgoing interface channel type of the search result, encapsulate the corresponding IP header to obtain the openflow protocol message;
[0051] The openflow protocol message is sent to the forwarding chip, and the forwarding chip forwards the user data packet through a narrowband channel or a broadband channel.
[0052] In one possible implementation, the method further includes:
[0053] Issue an open flow table based on user classification information, and use the open flow table to guide user data packets to be sent to the routing management module;
[0054] The routing management module performs IP decapsulation on the received user data packet;
[0055] Perform IP header verification and packet assembly on the decapsulated user data packets to obtain complete user data;
[0056] The user data is sent to the target user program.
[0057] A third aspect of an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement the steps in the wide-narrow routing fusion method described in the second aspect of the embodiment of the present application.
[0058] The fourth aspect of the embodiment of the present application further provides a computer-readable storage medium on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, the steps in the wide-narrow routing fusion method described in the second aspect of the embodiment of the present application are implemented.
[0059] In a fifth aspect, the embodiments of the present application further provide a computer program product. When the computer program product is run on an electronic device, the processor is enabled to implement the steps in the wide-narrow routing fusion method as described in the second aspect of the embodiments of the present application.
[0060] The embodiment of the present application provides a broadband and narrowband routing fusion system, method, device management software and product, the system comprising: a broadband routing module, a narrowband routing module, a routing fusion module and a routing management module; the broadband routing module is used to run the broadband routing protocol on demand according to the type of wired channel connected to the device interface, receive broadband routing protocol data, and send it to the routing fusion module; the narrowband routing module is used to run the narrowband routing protocol on demand according to the type of wireless channel connected to the device interface, receive narrowband routing protocol data, and send it to the routing fusion module; the narrowband routing module ensures that there are no routing loops by controlling the order of routing updates and deletions; the routing fusion module is used to receive the broadband routing protocol data and the narrowband routing protocol data through a unified interface format, determine the optimal route therefrom, and send the optimal route to the routing management module; the routing management module is used to store, search and send routing data based on the received optimal route. The embodiment of the present application receives routing data from different sources through the broadband routing module and the narrowband routing module, then uses the routing fusion module to implement routing data fusion processing, and uses the routing management module to implement routing data sending. As a result, the process of merging broadband and narrowband routing information does not need to be transmitted across devices, which is more efficient and reliable. In addition, the fusion of routing data is directly implemented based on existing routing switching equipment, without the need to deploy additional equipment, saving network deployment costs, simplifying the networking process, and better adapting to the flexible networking and on-demand access characteristics of flat networks, thereby better supporting various networking application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0062] Figure 1 This is a schematic diagram of the structure of a broadband and narrowband routing fusion system provided in an embodiment of the present application;
[0063] Figure 2 This is a schematic diagram comparing routing fusion between a traditional solution and this solution provided in an embodiment of the present application;
[0064] Figure 3 This is a flow chart of forwarding and uploading a user data packet provided by an embodiment of the present application;
[0065] Figure 4 This is a flowchart of a method for merging wide and narrow routing provided by an embodiment of the present application;
[0066] Figure 5 This is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] The exemplary embodiments of the present application will be described in more detail below in conjunction with the accompanying drawings in the embodiments of the present application. Although the accompanying drawings show exemplary embodiments of the present application, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0068] The goal of network protocols is to generate and update routing information used to guide packet forwarding within the network. Depending on the characteristics of channel transmission, different routing protocols are often deployed for broadband and narrowband networks. In related technologies, routing protocols primarily used for broadband links are OSPF and RIP, while routing protocols primarily used for narrowband channels are OLSR and AODV. Currently, achieving consistent routing protocols for both broadband and narrowband channels remains difficult. Furthermore, the convergence of broadband and narrowband channel routing relies heavily on the deployment of additional equipment for convergence, resulting in high costs and relatively complex networking.
[0069] In view of the above problems, the embodiments of the present application provide a broadband and narrow routing fusion system, method, and product to solve the above problems such as the difficulties of broadband and narrow routing fusion. The following, in conjunction with the accompanying drawings, describes in detail a broadband and narrow routing fusion system provided by the embodiments of the present application through some embodiments and their application scenarios.
[0070] The first aspect of the embodiment of the present application provides a broadband and narrow routing fusion system, referring to Figure 1 , Figure 1 A schematic diagram of the structure of a broadband and narrowband routing fusion system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the system includes: a broadband routing module, a narrowband routing module, a routing fusion module and a routing management module;
[0071] The broadband routing module is used to run the broadband routing protocol on demand according to the type of wired channel connected to the device interface, receive broadband routing protocol data, and send it to the routing fusion module;
[0072] The narrowband routing module is used to run the narrowband routing protocol on demand according to the type of wireless channel connected to the device interface, receive narrowband routing protocol data, and send it to the routing fusion module; the narrowband routing module ensures that there are no routing loops by controlling the order of routing updates and deletions;
[0073] The routing fusion module is configured to receive the broadband routing protocol data and the narrowband routing protocol data through a unified interface format, determine an optimal route therefrom, and send the optimal route to the routing management module;
[0074] The routing management module is used to store, search and issue routing data according to the received optimal route.
[0075] Reference Figure 2 , Figure 2 A schematic diagram comparing the routing fusion of a traditional solution and this solution is shown in FIG. Figure 2 As shown, in the related art, in order to realize the fusion of broadband routing and narrowband routing, it is necessary to set up an additional routing fusion device on the basis of the routing switching device, such as Figure 2 As shown on the left, one of the two devices is used to execute the broadband routing protocol to receive the broadband routing protocol data sent by the wired channel, and the other is used to execute the narrowband routing protocol to receive the narrowband routing protocol data sent by the wireless channel. Through the established routing fusion device, the collected narrowband routing protocol data is sent to the routing switching device, and the broadband routing protocol collected by the routing switching device is accepted. According to the above scheme, the routing data needs to be forwarded between the routing switching device and the routing fusion device to achieve fusion, and the additional deployment of routing fusion devices will lead to increased costs and complex networking. According to the broadband and narrow routing fusion system proposed in this application, Figure 2 As shown on the right, it is possible to directly receive routing data from different sources based on existing routing switching equipment through the deployed broadband routing modules and narrowband routing modules, and then use the routing fusion module to realize the fusion processing of routing data, and use the routing management module to realize the distribution of routing data. The data exchange function of wired and wireless channels can be completed in one device, solving the problem that the fusion function in traditional methods requires the deployment of additional independent equipment, thereby reducing the routing switching cost.
[0076] In this embodiment, the broadband routing module and the narrowband routing module serve as input modules of the routing fusion system, utilizing their respective interfaces to receive routing data from different sources. Specifically, the broadband routing module receives broadband routing protocol data, while the narrowband routing module receives narrowband routing protocol data. Furthermore, both modules can also receive user-defined routing data based on actual configuration.
[0077] As the core processing module of the routing fusion system, the routing fusion module prioritizes routing data (broadband routing protocol data and narrowband routing protocol data) with the same destination IP but different sources according to default rules or user-defined rules through a unified interface format, selects the optimal route, and realizes the automatic fusion and optimization of routes of different source types.
[0078] The ultimate goal of routing information is to realize the forwarding of data packets on the switching device. This embodiment uses the routing management module to store, search and send routing data according to the received optimal route. Specifically, the optimal route can be sent to the data exchange module (the optimal route is sent to the switching module of the switching device through a unified interface to generate routing table information), or the optimal route can be reported to other applications on demand (by defining a unified interface, the routing dynamic information is opened to users or upper-layer applications, which can be used for other functional modules such as data packetization and channel bandwidth data collection). The embodiment of the present application solves the problem that the fusion function in the traditional method requires the deployment of additional independent equipment through a system for automatic fusion of broadband and narrowband routing. The broadband routing module, narrowband routing module and routing fusion module in this embodiment can be directly deployed in the routing switching device, integrating the data exchange functions of wired and wireless channels into one device.
[0079] In a possible implementation, the routing fusion module is further configured to perform mutual penetration of routing data of different types and sources, including:
[0080] The routing fusion module sends the broadband routing protocol data to the narrowband routing module, and after receiving the broadband routing protocol data, the narrowband routing module spreads the data to the switching device through a wireless channel;
[0081] The routing fusion module sends the narrowband routing protocol data to the broadband routing module. After receiving the narrowband routing protocol data, the broadband routing module diffuses the data to the switching device through a wired channel.
[0082] In this embodiment, the narrowband routing module learns and diffuses routes through wireless channels. Specifically, after the device is started, the narrowband routing module runs the narrowband routing protocol as needed based on the channel type of the interface. This module learns remote routes (receives narrowband routing protocol data) by running the narrowband routing protocol and sends it to the routing fusion module. Simultaneously, the routing fusion module receives routes learned through wired channels (i.e., broadband routing protocol data) and diffuses them to remote switching devices through wireless channels, ensuring that every device in the network that contains a narrowband channel has the entire network's routes (broadband and narrowband routing).
[0083] The broadband routing module learns and diffuses routes through wired channels. Specifically, the broadband routing module runs the broadband routing protocol on demand based on the channel type to which the device interface is connected, learns remote routes through the broadband routing protocol (receives broadband routing protocol data), and sends this data to the routing fusion module. Furthermore, the broadband routing module can receive routes learned through wireless channels (i.e., narrowband routing protocol data) from the routing fusion module and diffuse them to remote switching devices through wired channels, enabling each device in the network with a wired channel to have full-network routes (both broadband and narrowband).
[0084] In one possible implementation, the broadband routing protocol data and / or the narrowband routing protocol data include at least: a routing source type, a routing destination IP address, routing outbound interface information, and a cost value. Specifically, the routing fusion module provides a unified interface format for receiving broadband and narrowband routes, including the routing source type, the routing destination IP address, the routing outbound interface, and the cost value.
[0085] In a possible implementation, determining the optimal route includes:
[0086] For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, the routing fusion module determines the routing data with the shortest cost value as the optimal route; or
[0087] For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, the routing fusion module performs priority sorting according to a preset rule and determines the routing data with the highest priority as the optimal route.
[0088] In this embodiment, for routes with the same destination IP but different sources, the route fusion module prioritizes them according to the default shortest cost value or user-defined rules (such as giving priority to fiber channels), selects the optimal route, and sends it to the route management module.
[0089] In a possible implementation, the routing management module generates a flow classification forwarding rule table according to preset service feature rules, wherein the preset service feature rules include: UDP port number, destination IP network segment;
[0090] The routing management module generates an openflow protocol message according to the routing table and the flow classification forwarding rule table, and sends it to the forwarding chip to execute forwarding of user data packets.
[0091] In this embodiment, the routing management module receives user-defined forwarding rules based on service characteristics (such as UDP port number and destination IP network segment) and generates a flow classification forwarding rule table. When the router receives an IP packet, it matches the destination IP address of the IP packet between the routing table and the flow classification forwarding rule table to obtain a corresponding routing entry. The router then forwards or sends the packet based on the outgoing interface or next hop information in the entry.
[0092] In a possible implementation, generating an OpenFlow protocol message based on the routing table and the flow classification forwarding rule table, and sending the message to the forwarding chip to forward the user data packet includes:
[0093] When the routing management module receives a forwarding request for user data, searching the flow classification forwarding rule table;
[0094] If a specified rule is found during the search, a search result is generated according to the specified rule;
[0095] If the specified rule cannot be found, searching the routing table according to the destination IP address to obtain the search result;
[0096] According to the outbound interface channel type of the search result, encapsulate the corresponding IP header to obtain the openflow protocol message;
[0097] The openflow protocol message is sent to the forwarding chip, and the forwarding chip forwards the user data packet through a narrowband channel or a broadband channel.
[0098] Reference Figure 3 , Figure 3 A schematic diagram of the process of forwarding and sending a user data packet is shown in FIG. Figure 3 As shown, when the routing management module receives a forwarding request for user data, it first uses the flow classification forwarding rule table to perform a flow classification search. If the specified rule is found, the search result is generated according to the specified rule. If there is no specified rule, the routing table is continued to be searched according to the destination IP in the request. According to the different outgoing interface channel types obtained according to the search results, the module needs to encapsulate different protocol headers to enable user data to be forwarded through narrowband or broadband channels.
[0099] In a possible implementation, the system further includes:
[0100] a sending module, configured to send an open flow table according to user classification information, and use the open flow table to guide user data packets to be sent to the routing management module;
[0101] The routing management module performs IP decapsulation on the received user data packet;
[0102] Perform IP header verification and packet assembly on the decapsulated user data packets to obtain complete user data;
[0103] The user data is sent to the target user program.
[0104] User data packets are sent up through the broadband and narrowband routing fusion system, that is, user data received from the network is sent up to the target user program. Figure 3 As shown in the figure, when the uploading module in the broadband and narrowband routing fusion system receives the uploading request of the user data packet, it sends the open flow table according to the user classification information, and uses the open flow table to guide the user data packet to be uploaded to the routing management module. The routing management module decompresses and repacks the IP header, performs IP verification and packet assembly, thereby obtaining complete user data and uploading the user data to the target user program through a narrowband channel or a broadband channel.
[0105] The embodiment of the present application receives routing data from different sources through a broadband routing module and a narrowband routing module, then uses a routing fusion module to implement fusion processing of routing data, and uses a routing management module to implement the distribution of routing data. As a result, the fusion process of broadband and narrowband routing information does not need to be transmitted across devices, which is more efficient and reliable. Moreover, the fusion of routing data is directly implemented based on existing routing switching equipment, without the need to deploy additional equipment, saving network deployment costs and simplifying the networking process. In addition, the embodiment of the present application concentrates the forwarding exports of different broadband and narrowband channels in the same device, unifies the user sending interface, better adapts to the flexible networking of flat networks, and the characteristics of on-demand access, and better supports a variety of networking application scenarios.
[0106] The second aspect of the embodiment of the present application further provides a method for merging wide and narrow routing, referring to Figure 4 , Figure 4 A flowchart of a wide-narrow routing fusion method is shown. Figure 4 As shown, the method includes:
[0107] Step S401: running a broadband routing protocol as needed based on the type of wired channel to which the device interface is connected, and obtaining broadband routing protocol data;
[0108] Step S402: Run the narrowband routing protocol as needed based on the type of wireless channel to which the device interface is connected, and receive narrowband routing protocol data; ensure that there are no routing loops by controlling the order of routing updates and deletions;
[0109] Step S403, receiving the broadband routing protocol data and the narrowband routing protocol data through a unified interface format, and determining an optimal route therefrom;
[0110] Step S404: storing, searching and issuing routing data according to the determined optimal route.
[0111] In one possible implementation, the method further includes:
[0112] Interpenetration of different types of routing data from different sources, including:
[0113] Sending the broadband routing protocol data to a narrowband routing module, which, after receiving the broadband routing protocol data, diffuses the data to a switching device via a wireless channel;
[0114] The narrowband routing protocol data is sent to the broadband routing module. After receiving the narrowband routing protocol data, the broadband routing module diffuses the data to the switching device through a wired channel.
[0115] In a possible implementation manner, the broadband routing protocol data and / or the narrowband routing protocol data at least include: routing source type, routing destination IP, routing output interface information, and cost value.
[0116] In a possible implementation, determining the optimal route includes:
[0117] For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, determining the routing data with the shortest cost value as the optimal route; or
[0118] For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, priority is sorted according to a preset rule, and the routing data with the highest priority is determined as the optimal route.
[0119] In one possible implementation, the method further includes:
[0120] Generate a flow classification forwarding rule table according to preset service feature rules, wherein the preset service feature rules include: UDP port number, destination IP network segment;
[0121] According to the routing table and the flow classification forwarding rule table, an openflow protocol message is generated and sent to the forwarding chip to execute forwarding of user data packets.
[0122] In a possible implementation, generating an OpenFlow protocol message based on the routing table and the flow classification forwarding rule table, and sending the message to the forwarding chip to forward the user data packet includes:
[0123] When receiving a forwarding request for user data, searching the flow classification forwarding rule table;
[0124] If a specified rule is found during the search, a search result is generated according to the specified rule;
[0125] If the specified rule cannot be found, searching the routing table according to the destination IP address to obtain the search result;
[0126] According to the outgoing interface channel type of the search result, encapsulate the corresponding IP header to obtain the openflow protocol message;
[0127] The openflow protocol message is sent to the forwarding chip, and the forwarding chip forwards the user data packet through a narrowband channel or a broadband channel.
[0128] In a possible implementation, the method further includes:
[0129] Issue an open flow table based on user classification information, and use the open flow table to guide user data packets to be sent to the routing management module;
[0130] The routing management module performs IP decapsulation on the received user data packet;
[0131] Perform IP header verification and packet assembly on the decapsulated user data packets to obtain complete user data;
[0132] The user data is sent to the target user program.
[0133] The present application also provides an electronic device, Figure 5 , Figure 5 Schematic diagram of the electronic device proposed in the embodiment of the present application. Figure 5 As shown, the electronic device 100 includes: a memory 110 and a processor 120. The memory 110 and the processor 120 are connected via a bus communication. A computer program is stored in the memory 110. The computer program can be run on the processor 120 to implement the steps in the wide-narrow routing fusion method disclosed in the embodiment of the present application.
[0134] The embodiment of the present application further provides a computer-readable storage medium having a computer program / instruction stored thereon. When the computer program / instruction is executed by a processor, the steps in the wide-narrow routing fusion method disclosed in the embodiment of the present application are implemented.
[0135] The embodiment of the present application further provides a computer program product, which, when executed on an electronic device, enables a processor to implement the steps of the wide-narrow routing fusion method disclosed in the embodiment of the present application.
[0136] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0137] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, electronic devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0138] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0139] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0140] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0141] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "includes," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements that are inherent to such process, method, article, or terminal device. In the absence of further restrictions, an element defined by the phrase "comprises a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
[0142] The above is a detailed introduction to the wide-narrow routing fusion system, method and product provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. At the same time, for those skilled in the art, based on the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present application.
Claims
1. A broadband and narrow routing fusion system, characterized in that: The system includes: a broadband routing module, a narrowband routing module, a routing fusion module and a routing management module; The broadband routing module is used to run the broadband routing protocol on demand according to the type of wired channel connected to the device interface, receive broadband routing protocol data, and send it to the routing fusion module; The narrowband routing module is used to run the narrowband routing protocol on demand according to the type of wireless channel connected to the device interface, receive narrowband routing protocol data, and send it to the routing fusion module; the narrowband routing module ensures that there are no routing loops by controlling the order of routing updates and deletions; The routing fusion module is used to receive the broadband routing protocol data and the narrowband routing protocol data through a unified interface format; The routing fusion module is further used to interpenetrate routing data from different sources, including: The routing fusion module sends the broadband routing protocol data to the narrowband routing module, and after receiving the broadband routing protocol data, the narrowband routing module spreads the data to the switching device through a wireless channel; The routing fusion module sends the narrowband routing protocol data to the broadband routing module, and after receiving the narrowband routing protocol data, the broadband routing module spreads it to the switching device through a wired channel; The route fusion module determines the optimal route from the received routing protocol data and sends the optimal route to the route management module; The broadband routing module, the narrowband routing module and the routing fusion module are deployed in a routing switching device; The routing management module is used to store, search and issue routing data according to the received optimal route; The determining of the optimal route includes: For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, the routing fusion module performs priority sorting according to a preset rule and determines the routing data with the highest priority as the optimal route.
2. The broadband and narrow routing fusion system according to claim 1, characterized in that: The broadband routing protocol data and / or the narrowband routing protocol data at least include: routing source type, routing destination IP, routing output interface information and cost value.
3. The broadband and narrow routing fusion system according to claim 2, characterized in that: The determining of the optimal route further includes: For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, the routing fusion module determines the routing data with the shortest cost value as the optimal route.
4. The broadband and narrow routing fusion system according to claim 1, characterized in that: The routing management module generates a flow classification forwarding rule table according to preset service feature rules, wherein the preset service feature rules include: UDP port number, destination IP network segment; The routing management module generates an openflow protocol message according to the routing table and the flow classification forwarding rule table, and sends it to the forwarding chip to execute forwarding of user data packets.
5. The broadband and narrow routing fusion system according to claim 4, characterized in that: The process of generating an OpenFlow protocol message based on the routing table and the flow classification forwarding rule table and sending the message to the forwarding chip to forward the user data packet includes: When the routing management module receives a forwarding request for user data, searching the flow classification forwarding rule table; If a specified rule is found during the search, a search result is generated according to the specified rule; If the specified rule cannot be found, searching the routing table according to the destination IP address to obtain the search result; According to the outgoing interface channel type of the search result, encapsulate the corresponding IP header to obtain the openflow protocol message; The openflow protocol message is sent to the forwarding chip, and the forwarding chip forwards the user data packet through a narrowband channel or a broadband channel.
6. The broadband and narrow routing fusion system according to claim 4, characterized in that: The system further includes: a sending module, configured to send an open flow table according to user classification information, and use the open flow table to guide user data packets to be sent to the routing management module; The routing management module performs IP decapsulation on the received user data packet; Perform IP header verification and packet assembly on the decapsulated user data packets to obtain complete user data; The user data is sent to the target user program.
7. A method for integrating wide and narrow routing, characterized in that: The method comprises: According to the type of wired channel connected to the device interface, the broadband routing protocol is run on demand to obtain broadband routing protocol data; Run narrowband routing protocols on demand and receive narrowband routing protocol data based on the type of wireless channel to which the device interface is connected; ensure routing loops are avoided by controlling the order of route updates and deletions; The broadband routing protocol data and the narrowband routing protocol data are received through a unified interface format, and the broadband routing protocol data is sent to the narrowband routing module. After the narrowband routing module receives the broadband routing protocol data, it diffuses the data to the switching device through a wireless channel. The narrowband routing protocol data is sent to the broadband routing module. After the broadband routing module receives the narrowband routing protocol data, it diffuses the data to the switching device through a wired channel to determine the optimal route. Storing, searching, and issuing routing data according to the determined optimal route; The determining of the optimal route includes: For the plurality of narrowband routing data and / or broadband routing data with the same routing destination IP, the routing fusion module performs priority sorting according to a preset rule and determines the routing data with the highest priority as the optimal route.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory, wherein: The processor executes the computer program to implement the steps in the wide-narrow routing fusion method described in claim 7.
9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps in the wide-narrow routing fusion method as claimed in claim 7 are implemented.
Citation Information
Patent Citations
Adaptive dynamic routing method
CN102118299A
Broadband and narrowband integrated communication device and system
CN112468323A