Method, device and system for publishing routing information
By using the control plane protocol to receive and transmit routing information in the boundary transmission device of the OTN communication system, the boundary equipment automatically generates forwarding tables, solving the problems of complex routing configuration and high hardware resource pressure in the prior art, realizing resource conservation and Improved configuration efficiency.
Patent Information
- Application Number
- CN202010075539.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-22
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2040-01-22
AI Technical Summary
In existing communication systems that use OTN, when configuring routing tables and ARP tables, the static configuration method leads to high complexity, large workload and time-consuming routing configuration, while the routing flood learning method leads to high pressure on hardware resources and waste of network resources. .
By applying the control plane protocol in the boundary transmission device of the transmission network, the routing information from the controller is received and sent to the boundary device, so that it automatically generates forwarding tables, the need for static configuration and routing flood learning is avoided.
It realizes that the internal control plane of the transmission network can be reached without occupying a large amount of data bandwidth resources, saves network resources of the data plane, reduces the pressure of hardware resource processing, and reduces the complexity and workload of routing configuration.
Smart Images

Figure CN113163276B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device and system for publishing routing information. Background Art
[0002] With the rapid development of communication technology, the widespread use of virtual reality (VR) games, ultra-high-definition video and other services has made users' demand for large bandwidth and low latency more and more urgent. In order to meet user needs, it is proposed to use optical transport network (OTN) to transmit service data.
[0003] For example, Figure 1b As shown, OTN includes multiple OTN pipes (for example, OTN pipe ①, OTN pipe ②, OTN pipe ③ and OTN pipe ④), one end of each OTN pipe is an access OTN device, and the other end is a core OTN device. The optical line terminal (OLT) and the router are connected through the OTN pipe. The optical network terminal (ONT) can include the destination address in the service data and send it to the OLT. The destination address is used to identify the application server. The OLT determines the IP address of the next-hop router from the pre-configured routing table according to the destination address of the service data, and determines the MAC address of the next-hop router according to the pre-configured address resolution protocol (ARP) table. According to the MAC address, the service data is sent to the next-hop router through the OTN pipe. The next-hop router forwards the service data to the corresponding application server according to the destination address of the service data, and the application server processes the service data. Correspondingly, the process of the application server sending service data to the ONT is similar to the above process and will not be repeated.
[0004] In the prior art, the following two methods can be used to configure routing tables and ARP tables for OLTs and routers: 1. Static configuration method, which uses manual or automated configuration tools (such as software defined network (SDN) controllers, network management systems, etc.) to configure routing tables and ARP tables for each OLT and each router. 2. Routing flooding learning method, in which each OLT performs routing flooding learning to obtain routing tables and ARP tables, such as: OLT can obtain routing tables by flooding the interior gateway protocol (IGP) message through the OTN pipe connected to it, and learn the routing table according to the address resolution protocol to obtain the ARP table; similarly, each router can also obtain routing tables and ARP tables by applying routing flooding learning.
[0005] However, in the existing communication system using OTN, the number of OLTs is huge. If the static configuration method is used, the routing configuration work in the entire communication system will be highly complex, labor-intensive and time-consuming. If the route flooding learning method is used, the number of OLTs in the network is huge, and the number of pre-configured OTN pipes is large. When performing route flooding, the pressure on the hardware resources such as the central processing unit (CPU) and memory of each OLT and each router in the communication system is very large. OLTs are generally small devices and it is difficult to support this method. In addition, during the data transmission process, when a certain OTN pipe is not used, since the OTN pipe has been configured, it will still occupy network resources, resulting in a waste of network resources. Summary of the invention
[0006] The present application provides a method, device and system for publishing routing information, which are used to solve the technical problems that when configuring routing tables and ARP in existing communication systems using OTN, the application of a static configuration method will lead to high complexity, heavy workload and time-consuming routing configuration work, and the application of a routing flooding learning method will lead to a large number of pre-established OTN pipes, resulting in a waste of network resources and a high pressure on the hardware resources of each device in the network.
[0007] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:
[0008] In a first aspect, a method for publishing routing information is provided, the method being applied to a border transmission device located in a transmission network, the transmission network being centrally controlled by a controller, the transmission network being used to connect a first network domain and a second network domain, the first network domain including a first border device, the second network domain including a second border device, the border transmission device being connected to the first border device, the method comprising: the border transmission device receiving first routing information including an address of the second border device and a destination address of the second network domain from the controller based on a control plane protocol message, and sending the first routing information to the first border device; the first routing information being used to generate a forwarding table of the first border device for indicating a forwarding relationship between the first network domain and the second network domain.
[0009] Based on the method described in the first aspect, the border transmission device receives the routing information sent by the controller based on the control plane protocol, and sends the received routing information to the border device, and the border device automatically generates a forwarding table according to the received routing information. In this way, the routing information can be sent in the transmission network through the existing control plane protocol to achieve the reachability of the control plane inside the transmission network, without occupying a large amount of data bandwidth resources of the transmission network to send routing information, saving network resources of the data plane of the transmission network; and there is no need to pre-establish a large number of transmission pipelines for routing flooding, and there is no need for the border device and the border transmission device to apply the routing flooding learning method to generate the forwarding table through the transmission pipeline, reducing the hardware resource processing pressure of the border device and the border transmission device to generate the forwarding table by applying the routing flooding method. At the same time, the border device can automatically generate the forwarding table according to the routing information sent by the border transmission device, without the need to configure the forwarding table to the border device through the static configuration method, reducing the complexity and workload of the routing configuration work, and shortening the configuration time.
[0010] In one possible design, in combination with the first aspect, the edge transmission device receives second routing information including an address of the first edge device and a destination address of the first network domain from the first edge device; and sends the second routing information to the controller.
[0011] Based on this possible design, the border transmission device sends the second routing information of the first border device to the controller, so that the controller can send the second routing information of the first border device to the second border device through other border transmission devices connected to the second border device, so that the second border device automatically generates a forwarding table of the second border device according to the received second routing information, and implements forwarding of business data between the first network domain and the second network domain according to the forwarding table. There is no need to configure the forwarding table to the border device through static configuration, which reduces the complexity and workload of routing configuration work and shortens the configuration time.
[0012] In one possible design, in combination with the first aspect or the possible design of the first aspect, the address of the second boundary device includes an IP address and / or a MAC address. For example, the address of the second boundary device includes an IP address and a MAC address of the second boundary device, and the destination address of the second network domain includes an IP address of the second network domain.
[0013] In one possible design, in combination with the first aspect or a possible design of the first aspect, the forwarding table includes a routing table and an ARP table.
[0014] Based on this possible design, the first edge device establishes a routing table and an ARP table according to the first routing information, so that during the transmission of business data, the IP address of the next hop can be determined according to the routing table, and the MAC address corresponding to the IP address of the next hop can be determined according to the ARP table. The business data can be sent to the next hop according to the MAC address, thereby realizing three-layer routing forwarding and layer 2 routing forwarding.
[0015] In one possible design, in combination with the first aspect or the possible design of the first aspect, the first edge device is a user-side network device, and the second edge device is a server-side network device; or the first edge device is a server-side network device, and the second edge device is a user-side network device.
[0016] Based on this possible design, the first boundary device can be a user-side network device, and the second boundary device can be a server-side network device; or the first boundary device can be a server-side network device, and the second boundary device can be a user-side network device, without limitation, that is, the method described in this embodiment can be implemented by a user-side device or by a service-side device, thereby improving the flexibility of the implementation of the method.
[0017] In a possible design, in combination with the first aspect or a possible design of the first aspect, the edge transmission device sends the first routing information to the first edge device based on a control protocol of the network layer or the data link layer.
[0018] Based on this possible design, the border transmission device can send routing information to the border device based on the control protocol of the network layer or data link layer to achieve control plane reachability without occupying a large amount of data bandwidth resources, thus saving network resources of the data plane.
[0019] In a second aspect, a communication device is provided, which can implement the functions performed by the boundary transmission device in the first aspect or the possible design of the first aspect, and the functions can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. For example, the communication device includes: a receiving module and a sending module.
[0020] The receiving module is configured to receive first routing information including an address of a second edge device and a destination address of a second network domain from a controller based on a control plane protocol message.
[0021] The sending module is used to send the first routing information to the first edge device; the first routing information is used to generate a forwarding table of the first edge device for indicating the forwarding relationship between the first network domain and the second network domain.
[0022] Among them, the specific implementation method of the communication device can refer to the behavior function of the border transmission device in the method for publishing routing information provided by the first aspect or any possible design of the first aspect. Based on the communication device described in the second aspect, the border transmission device receives the routing information sent by the controller based on the control plane protocol, and sends the received routing information to the border device, and the border device automatically generates a forwarding table according to the received routing information. In this way, the routing information can be sent in the transmission network through the existing control plane protocol, so that the control plane inside the transmission network can be reached, and there is no need to occupy a large amount of data bandwidth resources of the transmission network to send routing information, saving network resources of the data plane of the transmission network; and there is no need to pre-establish a large number of transmission pipelines for routing flooding, and there is no need for the border device and the border transmission device to apply the routing flooding learning method to generate the forwarding table through the transmission pipeline, reducing the hardware resource processing pressure of the border device and the border transmission device to apply the routing flooding method to generate the forwarding table. At the same time, the border device can automatically generate the forwarding table according to the routing information sent by the border transmission device, and there is no need to configure the forwarding table to the border device through the static configuration method, reducing the complexity and workload of the routing configuration work and shortening the configuration time.
[0023] In a possible design, in combination with the second aspect, the receiving module is further used to receive second routing information including the address of the first boundary device and the destination address of the first network domain from the first boundary device; the sending module is further used to send the second routing information to the controller.
[0024] Based on this possible design, the border transmission device sends the second routing information of the first border device to the controller, so that the controller can send the second routing information of the first border device to the second border device through other border transmission devices connected to the second border device, so that the second border device automatically generates a forwarding table of the second border device according to the received second routing information, and implements forwarding of business data between the first network domain and the second network domain according to the forwarding table. There is no need to configure the forwarding table to the border device through static configuration, which reduces the complexity and workload of routing configuration work and shortens the configuration time.
[0025] In one possible design, in combination with the second aspect or the possible design of the second aspect, the address of the second boundary device includes an IP address and / or a MAC address. For example, the address of the second boundary device includes an IP address and a MAC address of the second boundary device, and the destination address of the second network domain includes an IP address of the second network domain.
[0026] In one possible design, in combination with the second aspect or a possible design of the second aspect, the forwarding table includes a routing table and an ARP table.
[0027] Based on this possible design, the first edge device establishes a routing table and an ARP table according to the first routing information, so that during the transmission of business data, the IP address of the next hop can be determined according to the routing table, and the MAC address corresponding to the IP address of the next hop can be determined according to the ARP table. The business data can be sent to the next hop according to the MAC address, thereby realizing three-layer routing forwarding and layer 2 routing forwarding.
[0028] In one possible design, in combination with the second aspect or the possible design of the second aspect, the first edge device is a user-side network device, and the second edge device is a server-side network device; or the first edge device is a server-side network device, and the second edge device is a user-side network device.
[0029] Based on this possible design, the first boundary device can be a user-side network device, and the second boundary device can be a server-side network device; or the first boundary device can be a server-side network device, and the second boundary device can be a user-side network device, without limitation, that is, the method described in this embodiment can be implemented by a user-side device or by a service-side device, thereby improving the flexibility of the implementation of the method.
[0030] In a possible design, in combination with the second aspect or a possible design of the second aspect, the sending module is further used to send the first routing information to the first edge device based on a control protocol of the network layer or the data link layer.
[0031] Based on this possible design, the border transmission device can send routing information to the border device based on the control protocol of the network layer or data link layer to achieve control plane reachability without occupying a large amount of data bandwidth resources, thus saving network resources of the data plane.
[0032] In a third aspect, a communication device is provided, which may be a border transmission device or a chip or system on chip in the border transmission device. The communication device may implement the functions performed by the border transmission device in the above aspects or possible designs, and the functions may be implemented by hardware. In one possible design, the communication device may include: a transceiver. The transceiver may be used to support the communication device to implement the functions involved in the above first aspect or any possible design of the first aspect. For example: the transceiver may be used to receive first routing information including the address of the second border device and the destination address of the second network domain from the controller based on the control plane protocol message, and the transceiver may also be used to send the first routing information to the first border device; the first routing information is used to generate a forwarding table of the first border device for indicating the forwarding relationship between the first network domain and the second network domain. In another possible design, the communication device may also include a memory, the memory being used to store computer-executable instructions and data necessary for the communication device. When the communication device is running, the transceiver executes the computer-executable instructions stored in the memory, so that the communication device performs the method for publishing routing information as described in the above first aspect or any possible design of the first aspect.
[0033] The specific implementation of the communication device may refer to the behavior function of the border transmission device in the method for publishing routing information provided by the first aspect or any possible design of the first aspect.
[0034] In a fourth aspect, a communication device is provided, which includes one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes or computer instructions; when the one or more processors execute the computer instructions, the communication device executes the method for publishing routing information as described in the first aspect or any possible design of the first aspect.
[0035] In a fifth aspect, a computer-readable storage medium is provided, which stores computer instructions or programs. When the computer instructions or programs are executed on a computer, the computer executes the method for publishing routing information as described in the first aspect or any possible design of the first aspect.
[0036] In a sixth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method for publishing routing information as described in the first aspect or any possible design of the first aspect.
[0037] Among them, the technical effects brought about by any design method from the third aspect to the sixth aspect can refer to the technical effects brought about by any possible design from the first aspect to the second aspect mentioned above, and will not be repeated here.
[0038] In a seventh aspect, a method for publishing routing information is provided, the method being applied to a controller, the controller centrally controlling a transmission network including a first boundary transmission device and a second boundary transmission device, the transmission network being used to connect a first network domain and a second network domain, the first network domain including a first boundary device, the second network domain including a second boundary device, the first boundary transmission device being connected to the first boundary device, and the second boundary transmission device being connected to the second boundary device, the method comprising: the controller receiving first routing information including an address of the second boundary device and a destination address of the second network domain from the second boundary transmission device based on a control plane protocol message; and sending the first routing information to the first boundary transmission device; the first routing information being used to generate a forwarding table of the first boundary device for indicating a forwarding relationship between the first network domain and the second network domain.
[0039] Based on the method described in the seventh aspect, the controller receives routing information based on the control plane protocol message, and sends the received routing information to the border device, and the border device automatically generates a forwarding table according to the received routing information. In this way, the routing information can be sent in the transmission network through the existing control plane protocol to achieve the reachability of the control plane inside the transmission network, without occupying a large amount of data bandwidth resources of the transmission network to send routing information, saving network resources of the data plane of the transmission network; and there is no need to pre-establish a large number of transmission pipelines for routing flooding, and there is no need for the border device and the border transmission device to apply the routing flooding learning method to generate the forwarding table through the transmission pipeline, reducing the hardware resource processing pressure of the border device and the border transmission device to apply the routing flooding method to generate the forwarding table. At the same time, the border device can automatically generate the forwarding table according to the routing information sent by the border transmission device, and there is no need to configure the forwarding table to the border device through the static configuration method, reducing the complexity and workload of the routing configuration work and shortening the configuration time.
[0040] In one possible design, in combination with the seventh aspect, the controller receives second routing information including an address of the first boundary device and a destination address of the first network domain from a first boundary transmission device based on a control plane protocol message; and sends the second routing information to a second boundary transmission device; wherein the second routing information is used to generate a forwarding table of the second boundary device for indicating a forwarding relationship between the first network domain and the second network domain.
[0041] Based on this possible design, the controller receives routing information based on the control plane protocol message, and sends the received routing information to the border device, and the border device automatically generates a forwarding table according to the received routing information. In this way, the routing information can be sent in the transmission network through the existing control plane protocol to achieve the reachability of the control plane inside the transmission network, without occupying a large amount of data bandwidth resources of the transmission network to send routing information, saving network resources of the data plane of the transmission network; and there is no need to pre-establish a large number of transmission pipelines for routing flooding, and there is no need for the border device and the border transmission device to apply the routing flooding learning method to generate the forwarding table through the transmission pipeline, reducing the hardware resource processing pressure of the border device and the border transmission device to apply the routing flooding method to generate the forwarding table. At the same time, the border device can automatically generate the forwarding table according to the routing information sent by the border transmission device, and there is no need to configure the forwarding table to the border device through the static configuration method, reducing the complexity and workload of the routing configuration work and shortening the configuration time.
[0042] In one possible design, in combination with the seventh aspect or the possible design of the seventh aspect, the controller receives first routing information from multiple second boundary transmission devices in the transmission network; and sends the received first routing information of the multiple second boundary transmission devices to the first boundary transmission device based on the same control plane protocol message.
[0043] Based on this possible design, the controller may send the first routing information of multiple second edge transmission devices to the first edge transmission device based on the same control plane protocol message to reduce signaling interaction.
[0044] In one possible design, in combination with the seventh aspect or the possible design of the seventh aspect, the controller receives second routing information from multiple first boundary transmission devices in the transmission network; and sends the received second routing information of the multiple first boundary transmission devices to the second boundary transmission device based on the same control plane protocol message.
[0045] Based on this possible design, the controller may send the second routing information of multiple first edge transmission devices to the first edge transmission device based on the same control plane protocol message, so as to reduce signaling interaction.
[0046] In one possible design, in combination with the seventh aspect or the possible design of the seventh aspect, the first boundary transmission device is a user-side boundary transmission device, and the second boundary transmission device is a server-side boundary transmission device; or, the first boundary transmission device is a server-side boundary transmission device, and the second boundary transmission device is a user-side boundary transmission device.
[0047] Based on this possible design, the first boundary transmission device can be a user-side boundary transmission device, and the second boundary transmission device can be a server-side boundary transmission device; or, the first boundary transmission device can be a server-side boundary transmission device, and the second boundary transmission device can be a user-side boundary transmission device, without limitation, that is, the method described in this embodiment can be implemented by a user-side device or by a service-side device, thereby improving the flexibility of the implementation of the method.
[0048] In one possible design, in combination with the seventh aspect or the possible design of the seventh aspect, the controller sends first routing information to the first border transmission device based on the control plane protocol message; the controller sends second routing information to the second border transmission device based on the control plane protocol message.
[0049] Based on this possible design, the controller can send routing information to the border transmission device based on the control plane protocol message to achieve control plane reachability without occupying a large amount of data bandwidth resources, thus saving network resources of the data plane.
[0050] In an eighth aspect, a communication device is provided, which can implement the functions performed by the controller in the seventh aspect or the possible design of the seventh aspect, and the functions can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. For example, the communication device includes: a receiving module and a sending module.
[0051] The receiving module is configured to receive first routing information including an address of the second edge device and a destination address of the second network domain from the second edge transmission device based on the control plane protocol message.
[0052] The sending module is used to send the first routing information to the first edge transmission device; the first routing information is used to generate a forwarding table of the first edge device for indicating the forwarding relationship between the first network domain and the second network domain.
[0053] Among them, the specific implementation method of the communication device can refer to the behavior function of the controller in the method for publishing routing information provided by the seventh aspect or any possible design of the seventh aspect. Based on the communication device described in the eighth aspect, the controller receives routing information based on the control plane protocol message, and sends the received routing information to the edge device, and the edge device automatically generates a forwarding table according to the received routing information. In this way, the routing information can be sent in the transmission network through the existing control plane protocol, so that the control plane inside the transmission network can be reached, and there is no need to occupy a large amount of data bandwidth resources of the transmission network to send routing information, saving network resources of the data plane of the transmission network; and there is no need to pre-establish a large number of transmission pipelines for routing flooding, and there is no need for the edge device and the edge transmission device to apply the routing flooding learning method to generate the forwarding table through the transmission pipeline, reducing the hardware resource processing pressure of the edge device and the edge transmission device to apply the routing flooding method to generate the forwarding table. At the same time, the edge device can automatically generate the forwarding table according to the routing information sent by the edge transmission device, and there is no need to configure the forwarding table to the edge device through the static configuration method, reducing the complexity and workload of the routing configuration work and shortening the configuration time.
[0054] In one possible design, in combination with the eighth aspect, the receiving module is further used to receive second routing information including the address of the first boundary device and the destination address of the first network domain from the first boundary transmission device based on the control plane protocol message; the sending module is further used to send the second routing information to the second boundary transmission device; the second routing information is used to generate a forwarding table of the second boundary device for indicating the forwarding relationship between the first network domain and the second network domain.
[0055] Based on this possible design, the controller receives routing information based on the control plane protocol message, and sends the received routing information to the border device, and the border device automatically generates a forwarding table according to the received routing information. In this way, the routing information can be sent in the transmission network through the existing control plane protocol to achieve the reachability of the control plane inside the transmission network, without occupying a large amount of data bandwidth resources of the transmission network to send routing information, saving network resources of the data plane of the transmission network; and there is no need to pre-establish a large number of transmission pipelines for routing flooding, and there is no need for the border device and the border transmission device to apply the routing flooding learning method to generate the forwarding table through the transmission pipeline, reducing the hardware resource processing pressure of the border device and the border transmission device to apply the routing flooding method to generate the forwarding table. At the same time, the border device can automatically generate the forwarding table according to the routing information sent by the border transmission device, and there is no need to configure the forwarding table to the border device through the static configuration method, reducing the complexity and workload of the routing configuration work and shortening the configuration time.
[0056] In one possible design, in combination with the eighth aspect or the possible design of the eighth aspect, the receiving module is further used to receive first routing information from multiple second boundary transmission devices in the transmission network; the sending module is further used to send the received first routing information of the multiple second boundary transmission devices to the first boundary transmission device based on the same control plane protocol message.
[0057] Based on this possible design, the controller may send the first routing information of multiple second edge transmission devices to the first edge transmission device based on the same control plane protocol message to reduce signaling interaction.
[0058] In one possible design, in combination with the eighth aspect or the possible design of the eighth aspect, the receiving module is further used to receive second routing information from multiple first boundary transmission devices in the transmission network; the sending module is further used to send the received second routing information of the multiple first boundary transmission devices to the second boundary transmission device based on the same control plane protocol message.
[0059] Based on this possible design, the controller may send the second routing information of multiple first edge transmission devices to the first edge transmission device based on the same control plane protocol message, so as to reduce signaling interaction.
[0060] In one possible design, in combination with the eighth aspect or the possible design of the eighth aspect, the first boundary transmission device is a user-side boundary transmission device, and the second boundary transmission device is a server-side boundary transmission device; or, the first boundary transmission device is a server-side boundary transmission device, and the second boundary transmission device is a user-side boundary transmission device.
[0061] Based on this possible design, the first boundary transmission device can be a user-side boundary transmission device, and the second boundary transmission device can be a server-side boundary transmission device; or, the first boundary transmission device can be a server-side boundary transmission device, and the second boundary transmission device can be a user-side boundary transmission device, without limitation, that is, the method described in this embodiment can be implemented by a user-side device or by a service-side device, thereby improving the flexibility of the implementation of the method.
[0062] In one possible design, in combination with the eighth aspect or the possible design of the eighth aspect, the sending module is further used to send the first routing information to the first border transmission device based on the control plane protocol message; the sending module is further used to send the second routing information to the second border transmission device based on the control plane protocol message.
[0063] Based on this possible design, the controller can send routing information to the border transmission device based on the control plane protocol to achieve control plane reachability without occupying a large amount of data bandwidth resources, thus saving network resources on the data plane.
[0064] In the ninth aspect, a communication device is provided, which may be a controller or a chip or system on chip in the controller. The communication device may implement the functions performed by the controller in the above aspects or possible designs, and the functions may be implemented by hardware. In one possible design, the communication device may include: a transceiver. The transceiver may be used to support the communication device to implement the functions involved in the above seventh aspect or any possible design of the seventh aspect. For example: the transceiver may be used to receive first routing information including the address of the second boundary device and the destination address of the second network domain from the second boundary transmission device based on the control plane protocol message; the transceiver may also be used to send the first routing information to the first boundary transmission device; the first routing information is used to generate a forwarding table of the first boundary device for indicating the forwarding relationship between the first network domain and the second network domain. In another possible design, the communication device may also include a memory, the memory is used to store computer execution instructions and data necessary for the communication device. When the communication device is running, the transceiver executes the computer execution instructions stored in the memory, so that the communication device performs the method for publishing routing information as described in the above seventh aspect or any possible design of the seventh aspect.
[0065] Among them, the specific implementation method of the communication device can refer to the behavior function of the boundary transmission device in the method for publishing routing information provided by the seventh aspect or any possible design of the seventh aspect.
[0066] In the tenth aspect, a communication device is provided, which includes one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes or computer instructions; when the one or more processors execute the computer instructions, the communication device executes the method for publishing routing information as described in the seventh aspect or any possible design of the seventh aspect.
[0067] In the eleventh aspect, a computer-readable storage medium is provided, which stores computer instructions or programs. When the computer instructions or programs are run on a computer, the computer executes the method for publishing routing information as described in the seventh aspect or any possible design of the seventh aspect.
[0068] In a twelfth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method for publishing routing information as described in the seventh aspect or any possible design of the seventh aspect.
[0069] Among them, the technical effects brought about by any design method in the ninth to twelfth aspects can refer to the technical effects brought about by any possible design in the seventh to eighth aspects mentioned above, and will not be repeated here.
[0070] In a thirteenth aspect, a communication system is provided, which includes a communication device as described in the second aspect or any possible design of the second aspect and a communication device as described in the eighth aspect or any possible design of the eighth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1a A simplified schematic diagram of a communication system provided in an embodiment of the present application;
[0072] Figure 1b A simplified schematic diagram of a communication system provided in an embodiment of the present application;
[0073] Figure 2 A schematic diagram of the composition of a communication device provided in an embodiment of the present application;
[0074] Figure 3 A schematic diagram of a method for publishing routing information provided in an embodiment of the present application;
[0075] Figure 4a A schematic diagram of a frame structure of routing information provided in an embodiment of the present application;
[0076] Figure 4b A schematic diagram of a frame structure of a destination address provided in an embodiment of the present application;
[0077] Figure 4c A schematic diagram of a frame structure of routing information provided in an embodiment of the present application;
[0078] Figure 5 A schematic diagram of a method for publishing routing information provided in an embodiment of the present application;
[0079] Figure 6 A schematic diagram of a method for publishing routing information provided in an embodiment of the present application;
[0080] Figure 7 A schematic diagram of a frame structure of second routing information provided in an embodiment of the present application;
[0081] Figure 8 A schematic diagram of a forwarding table provided in an embodiment of the present application;
[0082] Fig. 9 A schematic diagram of the composition of a communication device provided in an embodiment of the present application;
[0083] Fig.10A schematic diagram of the composition of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0084] The following describes the method for publishing routing information provided by the embodiment of the present application in conjunction with the accompanying drawings.
[0085] The method for publishing routing information provided in the embodiment of the present application can be used for Figure 1a In the communication system shown, the communication system includes a first network domain, a transmission network, and a second network domain. The transmission network is used to connect the first network domain and the second network domain to achieve the transmission of service data between the first network domain and the second network domain.
[0086] Specifically, the transmission network may be a network for transmitting service data, such as an optical transport network (OTN), a synchronous digital hierarchy (SDH) network, etc., without limitation. The first network domain and the second network domain may be Internet protocol (IP) networks.
[0087] Below Figure 1a and Figure 1b Taking this as an example, the method for publishing routing information provided in an embodiment of the present application is described.
[0088] Specifically, the transmission network may include a plurality of transmission pipelines, a first edge transmission device, and a second edge transmission device. Figure 1a As shown, the transmission network may include transmission pipeline ①, transmission pipeline ②, transmission pipeline ③ and transmission pipeline ④. One end of each transmission pipeline is a first boundary transmission device, and the other end is a second boundary transmission device. The first boundary transmission device can be connected to at least one first boundary device, and the second boundary transmission device can be connected to at least one second boundary device, that is, the first boundary device and the second boundary device are connected through the transmission pipeline. Different transmission pipelines correspond to different bandwidths and delays. By using different transmission pipelines to transmit different service data, bandwidth isolation and stable delay can be achieved to meet user needs.
[0089] Further, such as Figure 1a As shown, the transport network may further include a controller, through which the transport network is centrally controlled. The controller may be a software defined network (SDN) controller independently deployed outside the transport network or a central control unit (CCU) located in the transport network.
[0090] It should be noted that the controller may not be limited to Figure 1a The transmission pipeline is centrally deployed in the transmission network as shown, and can also be deployed independently of the transmission network. The naming of the transmission pipeline is not limited in the embodiment of the present application. For example, when the transmission network is OTN, the transmission pipeline can be named OTN pipeline.
[0091] Among them, the first network domain may include at least one first boundary device and at least one first device connected to the first boundary device. The first boundary device may be a device for sending / receiving business data including a destination address, and the first boundary device may be a device for transmitting business data between the first device and the transmission network.
[0092] Similarly, the second network domain may include at least one second boundary device and at least one second device connected to the second boundary device. The second boundary device may be a device for sending / receiving business data including a destination address, and the second boundary device may be a device for transmitting business data between the second device and the transmission network.
[0093] In the embodiment of the present application, the first network domain and the second network domain are two network domains that transmit service data to each other through a transmission network. For example, the first network domain sends service data to the second network domain through the transmission network. Figure 1a As shown, the first device sends service data including a destination address to the first edge device, where the destination address is used to identify the second device; the first edge device determines the IP address of the second edge device at the next hop of the first edge device from a pre-configured routing table according to the destination address of the received service data, and determines the MAC address of the second edge device at the next hop of the first edge device according to the pre-configured ARP table, and sends the service data to the second edge device at the next hop of the first edge device through the OTN pipe according to the MAC address; the next-hop second edge device forwards the received service data to the corresponding second device according to the destination address.
[0094] It should be noted that the process of the second network domain sending business data to the first network domain through the transmission network is similar to the above process and will not be repeated here.
[0095] Exemplarily, the first network domain may be a user-side network domain, and the second network domain may be a server-side network domain; or, the first network domain may be a server-side network domain, and the second network domain may be a user-side network domain.
[0096] Take the first network domain as the user-side network domain, the transmission network as OTN, and the second network domain as the server-side network domain as an example: the first device may be a user-side network device, the first boundary device may be a user-side boundary device, the first boundary transmission device may be a user-side boundary OTN device, the second boundary transmission device may be a server-side boundary OTN device, the second boundary device may be a server-side boundary device, and the second device may be a server-side network device. The user-side boundary device may establish a connection with the server-side boundary device through an OTN pipe, one end of the OTN pipe is the user-side boundary OTN device, and the other end is the server-side boundary OTN device.
[0097] Exemplarily, the user-side network device may be Figure 1b The ONT shown; the user-side edge device can be Figure 1b The OLT shown; the user side boundary transmission equipment can be Figure 1b The access OTN device shown; the server side edge transmission device can be Figure 1b The core OTN equipment shown in the figure; the server-side edge equipment can be a gateway or Figure 1b Routers and other routing switching devices shown; server-side network devices can be Figure 1b The application server shown.
[0098] in, Figure 1b The ONT shown may also be connected to at least one user equipment, and the user equipment (UE) may be referred to as a terminal or a mobile station (MS) or a mobile terminal (MT), etc. Specifically, the user equipment may be a mobile phone, a tablet computer, or a computer with a wireless transceiver function. The user equipment may also be a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in a smart grid, a wireless terminal in a smart city, a wireless terminal in a smart home, a vehicle-mounted terminal, etc., without limitation.
[0099] It should be noted that at least one first device, at least one first boundary device, at least one first boundary transmission device, at least one second boundary transmission device, at least one second boundary device, and at least one second device in the embodiments of the present application can be one or more chips, or a system on chip (SOC), etc. Figure 1aThis is only an exemplary figure, and the number of devices included is not limited. Figure 1a In addition to the devices shown, the communication system may also include other devices. Figure 1a The names of the devices and the transmission pipelines are not restricted, except Figure 1a In addition to the names shown, each device and each transmission pipeline can also be named other names. For example, when the first network domain and the second network domain communicate through OTN, the transmission pipeline can also be named OTN pipeline, etc., without limitation.
[0100] by Figure 1b For example, when OLT and router transmit service data through OTN pipes, they need to forward according to the pre-configured routing table and ARP table. In the existing communication system using OTN, static configuration or route flooding learning can be used to configure the forwarding table and ARP table for OLT and router. However, the number of OLTs in the communication system is huge. If the static configuration method is used, the routing configuration work in the entire communication system will be complex, labor-intensive and time-consuming. If the route flooding learning method is used, the number of OLTs in the network is huge, and the number of pre-configured OTN pipes is large. When routing flooding is performed, the pressure on the CPU, memory and other hardware resources of each OLT and each router in the communication system is very large. OLT is generally a small device and it is difficult to support this method. In addition, during the data transmission process, when a certain OTN pipe is not used, since the OTN pipe has been configured, it will still occupy network resources, resulting in a waste of network resources.
[0101] In order to solve the above-mentioned technical problems, an embodiment of the present application provides a method for publishing routing information. The method is applied to a border transmission device located in a transmission network. The border transmission device can be a first border transmission device or a second border transmission device. Taking the border transmission device as the first border transmission device as an example, the method includes: the first border transmission device receives first routing information from a controller based on a control plane protocol message; the first routing information includes the address of the second border device and the destination address of the second network domain; the first border transmission device sends the first routing information to the first border device; so that the first border device generates a forwarding table indicating the forwarding relationship between the first network domain and the second network domain according to the first routing information. Similarly, the operations performed by the second border transmission device are consistent with those performed by the first border transmission device and will not be described in detail. Specifically, the method for publishing routing information provided by an embodiment of the present application can refer to the following Figure 3 , Figure 5 and Figure 6 As described in the corresponding embodiments.
[0102] In this way, the border transmission device can receive the routing information sent by the controller based on the control plane protocol, and send the received routing information to the border device, and the border device automatically generates a forwarding table according to the received routing information. In this way, the routing information can be sent in the transmission network through the existing control plane protocol to achieve the reachability of the control plane inside the transmission network, without occupying a large amount of data bandwidth resources of the transmission network to send routing information, saving network resources of the data plane of the transmission network; and there is no need to pre-establish a large number of transmission pipelines for route flooding, and there is no need for the border device and the border transmission device to apply the route flooding learning method to generate the forwarding table through the transmission pipeline, reducing the hardware resource processing pressure of the border device and the border transmission device to apply the route flooding method to generate the forwarding table. At the same time, the border device can automatically generate the forwarding table according to the routing information sent by the border transmission device, without the need to configure the forwarding table to the border device through the static configuration method, reducing the complexity and workload of the routing configuration work, and shortening the configuration time.
[0103] When implementing it specifically, Figure 1a Each device in the embodiment, such as: a first device, a first boundary device, a first boundary transmission device, a controller, a second boundary transmission device, a second boundary device, and a second device can be applied Figure 2 The structure shown, or including Figure 2 Parts shown. Figure 2 A schematic diagram of the composition of a communication device 200 provided in an embodiment of the present application, wherein the communication device 200 may be a first device or a chip or a system on chip in the first device; may also be a first boundary device or a chip or a system on chip in the first boundary device; may also be a first boundary transmission device or a chip or a system on chip in the first boundary transmission device; may also be a controller or a chip or a system on chip in the controller; may also be a second boundary transmission device or a chip or a system on chip in the second boundary transmission device; may also be a second boundary device or a chip or a system on chip in the second boundary device; may also be a second device or a chip or a system on chip in the second device; as Figure 2 As shown, the communication device 200 includes a processor 201 , a transceiver 202 and a communication line 203 .
[0104] Furthermore, the communication device 200 may further include a memory 204. The processor 201, the memory 204 and the transceiver 202 may be connected via a communication line 203.
[0105] The processor 201 is a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 201 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
[0106] The transceiver 202 is used to communicate with other devices or other communication networks. The other communication networks may be Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The transceiver 202 may be a module, a circuit, a transceiver or any device capable of achieving communication.
[0107] The communication line 203 is used to transmit information between the components included in the communication device 200.
[0108] The memory 204 is used to store instructions, where the instructions may be computer programs.
[0109] The memory 204 may be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, etc., without limitation.
[0110] It should be noted that the memory 204 can exist independently of the processor 201, or can be integrated with the processor 201. The memory 204 can be used to store instructions or program codes or some data, etc. The memory 204 can be located in the communication device 200, or can be located outside the communication device 200, without limitation. The processor 201 is used to execute the instructions stored in the memory 204 to implement the method for publishing routing information provided in the following embodiments of the present application.
[0111] In one example, the processor 201 may include one or more CPUs, such as Figure 2 CPU0 and CPU1 in.
[0112] As an optional implementation, the communication device 200 includes multiple processors, for example, Figure 2 In addition to the processor 201, a processor 207 may also be included.
[0113] As an optional implementation, the communication device 200 further includes an output device 205 and an input device 206. Exemplarily, the input device 206 is a device such as a keyboard, a mouse, a microphone or a joystick, and the output device 205 is a device such as a display screen and a speaker.
[0114] It should be noted that the communication device 200 can be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system or a Figure 2 In addition, Figure 2 The structure shown in the figure does not constitute a limitation on the communication device, except Figure 2 In addition to the components shown, the communication device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0115] In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.
[0116] In addition, the actions, terms, etc. involved in the various embodiments of the present application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiments of the present application is only an example, and other names can also be used in the specific implementation without limitation.
[0117] Combine the following Figure 1a The communication system shown in the figure takes the example that the controller sends the first routing information of the second edge device sent by the second edge transmission device to the first edge device through the first edge transmission device to describe the method for publishing routing information provided by the embodiment of the present application. The second edge transmission device may be Figure 1aAny second border transmission device in the second border transmission device, the second border device can be Figure 1a The first border transmission device may be a second border transmission device connected to the second border transmission device. Figure 1a Any first border transmission device in, the first border device may be Figure 1a The controller, the second border transmission device, the second border device, the first border transmission device and the first border device described in the following embodiments may have Figure 2 Parts shown.
[0118] Figure 3 A flowchart of a method for publishing routing information provided by this application, such as Figure 3 As shown, the method includes:
[0119] Step 301: A second edge device generates first routing information, and sends the first routing information to a second edge transmission device.
[0120] The first routing information may include an address of the second edge device and a destination address of the second network domain. Optionally, the address of the second edge device includes an IP address and a MAC address. The destination address of the second network domain is an address of a second device connected to the second edge device. Specifically, the address of the second device includes an IP address.
[0121] It should be noted that the second device connected to the second boundary device may include one or more second devices. When the second device connected to the second boundary device includes one second device, the second boundary device may include the address of the second device as the destination address of the second network domain in the first routing information. When the second device connected to the second boundary device includes multiple second devices, the second boundary device may include the addresses of the multiple second devices as the destination address of the second network domain in the same first routing information, or the second boundary device may generate multiple first routing information and include the address of at least one second device as the destination address of the second network domain in one first routing information.
[0122] Exemplarily, the second edge device may carry the first routing information in an extended path computation element protocol (PCEP) message and send it to the second edge transmission device.
[0123] In addition to including the address of the second edge device and the destination address of the second network domain, the extended PCEP message may also include other information in its message header, such as Figure 4aAs shown, it may also include a version number field, a flag field, a message type field, a message length field, an object type extension field, an object type field, a reserved field, a P field, an I field and an object length field.
[0124] Among them, the message type field and the object type extension field use new type values to identify that the extensible PCEP message carries the routing information described in this application; the description of the remaining fields in the message header can refer to the description of the PCEP message header in the prior art and will not be repeated here.
[0125] Specifically, Figure 4a As shown, in the extended PCEP message carrying the first routing information, the version number field occupies 3 bits, the flag field occupies 5 bits, the message type field occupies 8 bits, the message length field occupies 16 bits, the object class field occupies 8 bits, the object type field occupies 4 bits, the reserved field occupies 2 bits, the P field occupies 1 bit, the I field occupies 1 bit, the object length field occupies 16 bits, and the address of the second border device occupies 80 bits, wherein the address of the second border device includes an IP address occupying 32 bits and a MAC address occupying 48 bits, and the length of the destination address of the second network domain is variable.
[0126] For example, Figure 4b As shown, the destination address of the second network domain may include, in addition to the IP address of the second device, a type field occupying 16 bits, a length field occupying 16 bits, and an IP address prefix field occupying 8 bits.
[0127] It should be noted that when the destination address of the second network domain in the first routing information includes an address of a second device, Figure 4a When the destination address of the second network domain in the first routing information includes the addresses of multiple second devices, the message format shown in FIG. Figure 4c The message format shown is as follows: Figure 4c As shown, the first routing information may include multiple destination addresses such as destination address 1 of the second network domain and destination address 2 of the second network domain.
[0128] Specifically, the second edge device may generate the first routing information in the following manner: the second edge device may automatically discover the second device connected to itself and obtain the address of the second device, and generate the first routing information according to the address of the second device and its own address.
[0129] It should be noted that the process in which the second edge device automatically discovers the second device may refer to the prior art and will not be described in detail.
[0130] Furthermore, the second edge device can automatically discover the second device in the early stage of network planning, generate the first routing information and send it to the second edge transmission device.
[0131] Step 302: The second edge transmission device receives the first routing information, and sends the first routing information to the controller based on a control plane protocol message.
[0132] The control plane protocol may be a control plane protocol of a physical layer (PHY) or a control plane protocol of a bottom layer, and the control plane protocol may support the second edge transmission device to send the first routing information to the controller through the physical layer or the bottom layer. Exemplarily, the control plane protocol may be PCEP.
[0133] The control plane protocol message may be a message suitable for transmission on the control plane. The control plane protocol may be a protocol between the second edge transmission device and the controller.
[0134] Specifically, the second edge transmission device may receive the first routing information from the second edge device through a control protocol of the network layer or the data link layer, and send the first routing information to the controller based on a control plane protocol message of the physical layer.
[0135] It should be noted that Figure 1a Each of the multiple second edge devices shown can generate the first routing information according to the above step 301, and send the first routing information to the second edge transmission device connected to itself. Figure 1a Each of the multiple second edge transmission devices shown can send the first routing information of at least one second edge device received by itself to the controller according to the above step 302 .
[0136] Step 303: The controller receives the first routing information, and sends the first routing information to the first edge transmission device based on a control plane protocol message.
[0137] The controller can be Figure 1a The controller shown. The relevant description of the control plane protocol message can refer to the description in step 302 and will not be repeated here.
[0138] Furthermore, the controller may receive first routing information sent from multiple second edge transmission devices in the transmission network; and send the received multiple first routing information to the first edge transmission device based on the same control plane protocol message to reduce signaling interaction.
[0139] Step 304: The first edge transmission device receives the first routing information and sends the first routing information to the first edge device.
[0140] The first edge device may be one or more edge devices connected to the first edge transmission device.
[0141] Optionally, the first edge transmission device sends the first routing information to the first edge device based on a control protocol of a network layer or a data link layer.
[0142] Step 305: The first edge device receives the first routing information and generates a forwarding table according to the first routing information.
[0143] The forwarding table may be used to indicate the forwarding relationship between the first network domain and the second network domain. The forwarding table may include a routing table and an ARP table.
[0144] The entry of the routing table may include a destination address, a next hop corresponding to the destination address, and an output interface corresponding to the destination address. The entry of the ARP table may include an IP address of the next hop and a MAC address corresponding to the IP address.
[0145] Specifically, when the first routing information includes the IP address of the second device, the IP address of the second border device, and the MAC address of the second border device, the first border device generating a forwarding table according to the first routing information may include:
[0146] The IP address of the second device is used as the destination address, the IP address of the second border device corresponding to the IP address of the second device is used as the next hop corresponding to the destination address, and the outbound interface of the first border device corresponding to the second border device is used as the outbound interface to generate a routing table. The IP address of the second border device is used as the IP address of the next hop, and the MAC address of the second border device corresponding to the IP address of the second border device is used as the MAC address corresponding to the IP address to generate an ARP table.
[0147] based on Figure 3In the method described, taking the number of the first border devices as m and the number of the second border devices as n as an example, when applying the existing route flooding learning method, it is necessary to pre-establish m*n transmission pipelines to realize route flooding. When applying the method described in the embodiment of the present application, it is only necessary to establish m connections of the first border device to connect to the controller through the first border transmission device and n connections of the second border device to connect to the controller through the second border transmission device. Compared with the m*n transmission pipelines of the existing route flooding learning method, the m+n connections of the embodiment of the present application can realize control plane reachability. Moreover, each connection based on the control plane in the embodiment of the present application only occupies K-level bandwidth, which is compared with the transmission pipeline occupying at least G-level bandwidth. It is not necessary to occupy a large amount of data bandwidth resources, saving network resources of the data plane, and it is not necessary to pre-establish a large number of transmission pipelines for route flooding, which can reduce the processing pressure on hardware resources of the first border device and the border transmission device when generating a forwarding table through the route flooding learning method. At the same time, the first border device and the second border transmission device automatically generate a forwarding table according to the received first routing information and the second routing information, and static configuration is not required, thereby reducing the complexity and workload of the route configuration work and shortening the configuration time.
[0148] In the above steps 301 to 305, the controller sends the first routing information of the second edge device sent by the second edge transmission device to the first edge device through the first edge transmission device. Figure 3 Similar, see Figure 5 The controller may send the second routing information of the first edge device sent by the first edge transmission device to the second edge device through the second edge transmission device.
[0149] Figure 5 A flowchart of a method for publishing routing information provided by this application, such as Figure 5 As shown, the method includes:
[0150] Step 501: A first edge device generates second routing information, and sends the second routing information to a first edge transmission device.
[0151] The second routing information may include an address of the first edge device and a destination address of the first network domain. Optionally, the address of the first edge device includes an IP address and a MAC address. The destination address of the first network domain is an address of a first device connected to the first edge device. Specifically, the address of the first device includes an IP address.
[0152] Specifically, the second routing information is similar to the first routing information. For the description of the second routing information, reference may be made to the description of the first routing information in step 301 above, and no further details are given.
[0153] Specifically, the first edge device may generate the second routing information in the following manner: the first edge device automatically discovers the first device connected to itself and obtains the address of the first device, and generates the second routing information according to the address of the first device and its own address.
[0154] It should be noted that the process in which the first edge device automatically discovers the first device can refer to the prior art and will not be described in detail.
[0155] Furthermore, the first edge device can automatically discover the first device in the early stage of network planning, generate the second routing information and send it to the first edge transmission device.
[0156] Step 502: The first edge transmission device receives second routing information, and sends the second routing information to the controller based on a control plane protocol message.
[0157] Specifically, this processing process is similar to the processing process of step 302 above. For the relevant description of this processing process, reference may be made to the relevant description of step 302 above, and no further description is given.
[0158] Step 503: The controller receives the second routing information, and sends the second routing information to the second edge transmission device based on the control plane protocol message.
[0159] Specifically, this processing process is similar to the processing process of step 303 above. For the relevant description of this processing process, reference may be made to the relevant description of step 303 above, and no further description is given.
[0160] Step 504: The second edge transmission device receives the second routing information and sends the second routing information to the second edge device.
[0161] Specifically, this processing process is similar to the processing process of step 304 above. For the relevant description of this processing process, reference may be made to the relevant description of step 304 above, and no further description is given.
[0162] Step 505: The second edge device receives the second routing information and generates a forwarding table according to the second routing information.
[0163] The forwarding table may be used to indicate the forwarding relationship between the first network domain and the second network domain. The forwarding table may include a routing table and an ARP table.
[0164] The entry of the routing table may include a destination address, a next hop corresponding to the destination address, and an output interface corresponding to the destination address. The entry of the ARP table may include an IP address of the next hop and a MAC address corresponding to the IP address.
[0165] Specifically, when the second routing information includes the IP address of the first device, the IP address of the first border device, and the MAC address of the first border device, the second border device generating a forwarding table according to the second routing information may include:
[0166] The IP address of the first device is used as the destination address, the IP address of the first border device corresponding to the IP address of the first device is used as the next hop corresponding to the destination address, and the outbound interface of the second border device corresponding to the first border device is used as the outbound interface to generate a routing table. The IP address of the first border device is used as the IP address of the next hop, and the MAC address of the first border device corresponding to the IP address of the first border device is used as the MAC address corresponding to the IP address to generate an ARP table.
[0167] The following describes in detail the method for publishing routing information provided in the embodiment of the present application by taking the first network domain as the user side network domain, the transmission network as OTN, and the second network domain as the server side network domain as an example.
[0168] like Figure 1b As shown, the user-side network domain includes ONT and OLT, OTN includes controller, access OTN equipment and core OTN equipment, the server-side network domain includes routers and application servers, the destination address of the user-side network domain is the IP address of the ONT, and the destination address of the server-side network domain is the IP address of the application server. Figure 6 Taking the example of a controller sending the second routing information sent by the access OTN device to the router through the core OTN device, a method for publishing routing information provided in an embodiment of the present application is described.
[0169] Figure 6 A method for publishing routing information provided in an embodiment of the present application is as follows: Figure 6 As shown, the method includes:
[0170] Step 601: The OLT generates second routing information, and sends the second routing information to an access OTN device.
[0171] The second routing information may include the IP address of the OLT, the MAC address of the OLT, and the IP address of the ONT connected to the OLT.
[0172] It should be noted that the ONT connected to the OLT may include one or more ONTs.
[0173] When the ONT connected to the OLT includes one ONT, the OLT may generate second routing information including the IP address of the OLT, the MAC address of the OLT, and the IP address of the ONT. Figure 1bFor example, OLT2 may carry the IP address of OLT2, the MAC address of OLT2, and the IP address of ONT3 in the second routing information and send it to the access OTN device 2.
[0174] When the ONTs connected to the OLT include multiple ONTs, the OLT may include the IP addresses of the multiple ONTs in the same second routing information. Figure 1b For example, OLT1 carries the IP address of OLT1, the MAC address of OLT1, the IP address of ONT1 and the IP address of ONT2 in the second routing information and sends it to the access OTN device 1. Alternatively, OLT can also generate multiple second routing information and include the IP address of at least one ONT in one second routing information. Figure 1b For example, OLT1 can carry the IP address of OLT1, the MAC address of OLT1, and the IP address of ONT1 in the second routing information 1 and send it to the access OTN device 1, and carry the IP address of OLT1, the MAC address of OLT1, and the IP address of ONT2 in the second routing information 2 and send it to the access OTN device 1.
[0175] Specifically, the OLT may carry the second routing information in an extended PCEP message and send it to the access OTN device. Figure 7 As shown, taking the example that OLT1 carries the IP address of OLT1, the MAC address of OLT1, and the IP address of ONT1 in the second routing information and sends it to the access OTN device 1, the extended PCEP message may include: the IP address of OLT1, the MAC address of OLT1, and the IP address of ONT1.
[0176] The message header of the above-mentioned extended PCEP message may also include: a version number field, a flag field, a message type field, a message length field, an object type extension field, an object type field, a reserved field, a P field, an I field and an object length field.
[0177] Exemplarily, a PCEP session may be established between the OLT and the access OTN device, and the second routing information may be sent to the access OTN device using an extended PCEP message.
[0178] Alternatively, a BGP session is established between the OLT and the access OTN device, and the second routing information is sent to the access OTN device through the BGP session.
[0179] Step 602: The access OTN device receives the second routing information, and sends the second routing information to the controller based on a control plane protocol message.
[0180] Among them, the control plane protocol message can be the above-mentioned extended PCEP message.
[0181] by Figure 1b For example, access OTN device 1 can send the received second routing information including the IP address of OLT1, the MAC address of OLT1, the IP address of ONT1 and the IP address of ONT2 to the controller, and access OTN device 2 can send the received second routing information including the IP address of OLT2, the MAC address of OLT2 and the IP address of ONT3 to the controller.
[0182] Step 603: The controller receives the second routing information, and sends the second routing information to the core OTN device based on the control plane protocol message.
[0183] Among them, the control plane protocol message can be the above-mentioned extended PCEP message.
[0184] by Figure 1b For example, the controller can send the received second routing information including the IP address of OLT1, the MAC address of OLT1, the IP address of ONT1 and the IP address of ONT2 to the core OTN device 1 and the core OTN device 2, and also send the received second routing information including the IP address of OLT2, the MAC address of OLT2 and the IP address of ONT3 to the core OTN device 1 and the core OTN device 2.
[0185] Furthermore, the controller may also carry the second routing information including the IP address of OLT1, the MAC address of OLT1, the IP address of ONT1 and the IP address of ONT2, and the second routing information including the IP address of OLT2, the MAC address of OLT2 and the IP address of ONT3 in the same control plane protocol message and send it to the core OTN device 1, and send the control plane protocol message to the core OTN device 2 to reduce signaling interaction.
[0186] Step 604: The core OTN device receives the second routing information and sends the second routing information to the router.
[0187] The core OTN device may send the second routing information to the router based on a control protocol of a network layer or a data link layer. The control protocol of the network layer or the link layer may be a BGP protocol or an ARP protocol.
[0188] by Figure 1b For example, core OTN device 1 can send the received second routing information including the IP address of OLT1, the MAC address of OLT1, the IP address of ONT1 and the IP address of ONT2, and the received second routing information including the IP address of OLT2, the MAC address of OLT2 and the IP address of ONT3 to router 1.
[0189] The core OTN device 2 may send the received second routing information including the IP address of OLT1, the MAC address of OLT1, the IP address of ONT1 and the IP address of ONT2, and the received second routing information including the IP address of OLT2, the MAC address of OLT2 and the IP address of ONT3 to the router 2.
[0190] Step 605: The router receives the second routing information, and generates a forwarding table of the router according to the second routing information.
[0191] The forwarding table may include a routing table and an ARP table.
[0192] For example, router 1 receives the second routing information including the IP address of OLT1, the MAC address of OLT1, the IP address of ONT1, and the IP address of ONT2, and receives the second routing information including the IP address of OLT2, the MAC address of OLT2, and the IP address of ONT3. Figure 8 As shown, in the generated routing table, the destination address includes the IP address of ONT1, the IP address of ONT2, and the IP address of ONT3; the next hop includes the IP address of OLT1 corresponding to the IP address of ONT1, the IP address of OLT1 corresponding to the IP address of ONT2, and the IP address of OLT2 corresponding to the IP address of ONT3; the outbound interface includes the outbound interface of the router corresponding to OLT1 and the outbound interface of the router corresponding to OLT2. In the generated ARP table, the IP address of the next hop includes the IP address of OLT1 and the IP address of OLT2; the MAC address corresponding to the IP address of the next hop includes the MAC address of OLT1 and the MAC address of OLT2.
[0193] Exemplarily, different next hops may correspond to different outbound interfaces of routers, for example, OLT1 may correspond to outbound interface 1 of router 1, and OLT2 may correspond to outbound interface 2 of the router.
[0194] When performing business data transmission, Figure 1b For example, when application server 1 needs to send service data to ONT1, application server 1 carries the IP address of ONT1 in the service data and sends it to router 1 connected to application server 1. Router 1 receives the service data according to Figure 8 The routing table shown in FIG. 1 determines that the next hop corresponding to the IP address of ONT1 is the IP address of OLT1, and the corresponding outbound interface is the outbound interface 1 of the router. Figure 8The ARP table shown determines the MAC address of OLT1 corresponding to the IP address of OLT1, carries the MAC address of OLT1 in the service data and sends it to the core OTN device 1 through the outbound interface 1, the core OTN device 1 sends the service data to the access OTN device 1 through the OTN pipe according to the MAC address of OLT1, the access OTN device 1 sends the service data to OLT1 according to the MAC address of OLT1, and OLT1 sends the service data to ONT1 according to the IP address of ONT1 included in the service data.
[0195] In the above steps 601 to 605, the controller sends the second routing information of the OLT sent by the access OTN device to the router through the core OTN device.
[0196] and Figure 6 Similarly, the controller may also send the first routing information of the router sent by the core OTN device to the OLT through the access OTN device, so that the OLT generates a forwarding table according to the first routing information. This processing process is the same as Figure 6 The processing process shown is similar. The OLT generates a routing table and an ARP table according to the first routing information of multiple routers sent by the access OTN. The table entries of the routing table include the IP address of the application server, the IP address of the router corresponding to the application server, and the outbound interface of the OLT corresponding to the router; the ARP table includes the IP address of the router and the MAC address corresponding to the IP address of the router.
[0197] by Figure 1b For example, when ONT1 needs to send service data to application server 1, ONT1 carries the IP address of application server 1 in the service data and sends it to OLT1 connected to ONT1. OLT1 determines that the next hop corresponding to application server 1 is the IP address of router 1 according to the pre-generated routing table, and the corresponding outbound interface is the outbound interface of OLT1 corresponding to router 1; according to the pre-generated ARP table, the MAC address of router 1 corresponding to the IP address of router 1 is determined, and the MAC address of router 1 is carried in the service data and sent to access OTN device 1 through the outbound interface of OLT1 corresponding to router 1. Access OTN device 1 sends the service data to core OTN device 1 through the OTN pipeline according to the MAC address of router 1. Core OTN device 1 sends the service data to router 1 according to the MAC address of router 1. Router 1 sends the service data to application server 1 according to the IP address of application server 1 included in the service data.
[0198] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of interaction between devices. It is understandable that, in order to realize the above functions, each device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0199] The embodiment of the present application can divide each network element into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0200] When the application is divided into functional modules corresponding to each function, Fig. 9 A communication device is shown, and the communication device 90 may be a border transmission device or a chip or a system on chip in the border transmission device. The communication device 90 may be used to perform the functions of the border transmission device involved in the above embodiments. Fig. 9 The communication device 90 shown includes: a receiving module 901 and a sending module 902 .
[0201] The receiving module 901 is configured to receive first routing information including an address of a second edge device and a destination address of a second network domain from a controller based on a control plane protocol message.
[0202] The sending module 902 is used to send the first routing information to the first edge device; the first routing information is used to generate a forwarding table of the first edge device for indicating the forwarding relationship between the first network domain and the second network domain.
[0203] The specific implementation of the communication device 100 can be referred to Figure 3 , Figure 5 and Figure 6 The behavior function of the border transmission device in the method for publishing routing information.
[0204] In a possible design, the receiving module 901 is further used to receive second routing information including the address of the first boundary device and the destination address of the first network domain from the first boundary device; the sending module 902 is further used to send the second routing information to the controller.
[0205] In one possible design, the address includes an IP address and / or a MAC address.
[0206] In one possible design, the forwarding table includes a routing table and / or an ARP table.
[0207] In one possible design, the first edge device is a user-side network device, and the second edge device is a server-side network device; or the first edge device is a server-side network device, and the second edge device is a user-side network device.
[0208] In a possible design, the sending module 902 is further used to send the first routing information to the first edge device based on a control protocol of the network layer or the data link layer.
[0209] As another possible way to achieve this, Fig. 9 The receiving module 901 and the sending module 902 in the embodiment can be replaced by a transceiver, and the transceiver can integrate the functions of the receiving module 901 and the sending module 902. Further, Fig. 9 The communication device 90 shown may also include a memory. When the receiving module 901 and the sending module 902 are replaced by a transceiver, the communication device 90 involved in the embodiment of the present application may be Figure 2 The communication device shown.
[0210] When the application is divided into functional modules corresponding to each function, Fig.10 A communication device is shown, and the communication device 100 may be a controller or a chip or a system on chip in the controller. The communication device 100 may be used to execute the functions of the controller involved in the above embodiments. Fig.10 The communication device 100 shown includes: a receiving module 1001 and a sending module 1002 .
[0211] The receiving module 1001 is configured to receive first routing information including an address of the second edge device and a destination address of the second network domain from a second edge transmission device based on a control plane protocol message.
[0212] The sending module 1002 is used to send first routing information to a first edge transmission device; the first routing information is used to generate a forwarding table of the first edge device for indicating a forwarding relationship between the first network domain and the second network domain.
[0213] The specific implementation of the communication device 100 can be referred to Figure 3 , Figure 5 and Figure 6 The behavior function of the controller in the method for publishing routing information.
[0214] In one possible design, the receiving module 1001 is further used to receive second routing information including an address of the first boundary device and a destination address of the first network domain from the first boundary transmission device based on a control plane protocol message; the sending module 1002 is further used to send the second routing information to the second boundary transmission device; the second routing information is used to generate a forwarding table of the second boundary device for indicating a forwarding relationship between the first network domain and the second network domain.
[0215] In one possible design, the receiving module 1001 is further used to receive first routing information from multiple second edge transmission devices in the transmission network; the sending module 1002 is further used to send the received first routing information of the multiple second edge transmission devices to the first edge transmission device based on the same control plane protocol message.
[0216] In one possible design, the receiving module 1001 is further used to receive second routing information from multiple first edge transmission devices in the transmission network; the sending module 1002 is further used to send the received second routing information of the multiple first edge transmission devices to the second edge transmission device based on the same control plane protocol message.
[0217] In one possible design, the first boundary transmission device is a user-side boundary transmission device, and the second boundary transmission device is a server-side boundary transmission device; or, the first boundary transmission device is a server-side boundary transmission device, and the second boundary transmission device is a user-side boundary transmission device.
[0218] In one possible design, the sending module 1002 is further used to send the first routing information to the first edge transmission device based on the control plane protocol message; the sending module 1002 is further used to send the second routing information to the second edge transmission device based on the control plane protocol message.
[0219] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by a computer program to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. The computer-readable storage medium can be an internal storage unit of a terminal (including a data sending end and / or a data receiving end) in any of the above embodiments, such as a hard disk or memory of the terminal. The above computer-readable storage medium can also be an external storage device of the above terminal, such as a plug-in hard disk equipped on the above terminal, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. Further, the above computer-readable storage medium can also include both an internal storage unit of the above terminal and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above terminal. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
[0220] It should be noted that the terms "first" and "second" in the specification, claims and drawings of the present application are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0221] It should be understood that in the present application, "at least one (item)" means one or more, "more than one" means two or more, "at least two (items)" means two or three and more than three, and "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0222] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0223] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0224] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0225] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0226] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.
[0227] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for publishing routing information, characterized in that: The method is applied to a transmission device at a border of a transmission network, the transmission network is centrally controlled by a controller, the transmission network is used to connect a first network domain and a second network domain, the first network domain includes a first border device, the second network domain includes a second border device, the border transmission device is connected to the first border device, and the method includes: The border transmission device receives first routing information from the controller based on a control plane protocol message; wherein the first routing information includes an address of the second border device and a destination address of the second network domain; The border transmission device sends the first routing information to the first border device; wherein the first routing information is used to generate a routing table and an address resolution protocol ARP table of the first border device, the routing table and the ARP table are used to indicate a forwarding relationship between the first network domain and the second network domain, the transmission network is a first type network, and the first network domain or the second network domain belongs to a second type network different from the first type network.
2. The method according to claim 1, characterized in that The method further comprises: The border transmission device receives second routing information from the first border device; wherein the second routing information includes the address of the first border device and the destination address of the first network domain; The edge transmission device sends the second routing information to the controller.
3. The method according to claim 1 or 2, characterized in that: The address of the second edge device includes an Internet Protocol IP address and / or a Media Access Control MAC address.
4. The method according to claim 1 or 2, characterized in that: The first edge device is a user-side network device, and the second edge device is a server-side network device; or The first edge device is a server-side network device, and the second edge device is a user-side network device.
5. The method according to claim 1 or 2, characterized in that: The border transmission device sends the first routing information to the first border device, including: The edge transmission device sends the first routing information to the first edge device based on a control protocol of a network layer or a data link layer.
6. A method for publishing routing information, characterized in that: The method is applied to a controller, the controller centrally controls a transmission network including a first edge transmission device and a second edge transmission device, the transmission network is used to connect a first network domain and a second network domain, the first network domain includes a first edge device, the second network domain includes a second edge device, the first edge transmission device is connected to the first edge device, and the second edge transmission device is connected to the second edge device, the method includes: The controller receives first routing information from the second edge transmission device based on a control plane protocol message; wherein the first routing information includes an address of the second edge device and a destination address of the second network domain; The controller sends the first routing information to the first border transmission device; wherein the first routing information is used to generate a routing table and an address resolution protocol ARP table of the first border device, the routing table and the ARP table are used to indicate a forwarding relationship between the first network domain and the second network domain, the transmission network is a first type network, and the first network domain or the second network domain belongs to a second type network different from the first type network.
7. The method according to claim 6, characterized in that The method further comprises: The controller receives second routing information from the first edge transmission device based on a control plane protocol message; wherein the second routing information includes an address of the first edge device and a destination address of the first network domain; The controller sends the second routing information to the second edge transmission device; wherein the second routing information is used to generate a forwarding table of the second edge device, and the forwarding table is used to indicate a forwarding relationship between the first network domain and the second network domain.
8. The method according to claim 6 or 7, characterized in that: The method further comprises: The controller receives first routing information from a plurality of second edge transmission devices in the transmission network; The controller sends the received first routing information of the plurality of second edge transmission devices to the first edge transmission device based on a same control plane protocol message.
9. The method according to claim 7, characterized in that: The method further comprises: The controller receives second routing information from a plurality of first edge transmission devices in the transmission network; The controller sends the received second routing information of the plurality of first edge transmission devices to the second edge transmission device based on a same control plane protocol message.
10. The method according to claim 6 or 7, characterized in that: The first boundary transmission device is a user-side boundary transmission device, and the second boundary transmission device is a server-side boundary transmission device; or The first boundary transmission device is a server-side boundary transmission device, and the second boundary transmission device is a user-side boundary transmission device.
11. The method according to claim 6 or 7, characterized in that: The controller sends the first routing information to the first edge transmission device, including: The controller sends the first routing information to the first edge transmission device based on a control plane protocol message.
12. The method according to claim 7, characterized in that The controller sends the second routing information to the second edge transmission device, including: The controller sends the second routing information to the second edge transmission device based on a control plane protocol message.
13. A communication device, characterized in that: The communication device is located in a transmission network, the transmission network is centrally controlled by a controller, the transmission network is used to connect a first network domain and a second network domain, the first network domain includes a first edge device, the second network domain includes a second edge device, the communication device is connected to the first edge device, and the device includes: A receiving module, configured to receive first routing information from the controller based on a control plane protocol message; wherein the first routing information includes an address of the second edge device and a destination address of the second network domain; A sending module, used to send the first routing information to the first edge device; wherein the first routing information is used to generate a routing table and an address resolution protocol ARP table of the first edge device, the routing table and the ARP table are used to indicate the forwarding relationship between the first network domain and the second network domain, the transmission network is a first type of network, and the first network domain or the second network domain belongs to a second type of network different from the first type of network.
14. The device according to claim 13, characterized in that The receiving module is further configured to receive second routing information from the first edge device; wherein the second routing information includes an address of the first edge device and a destination address of the first network domain; The sending module is further used to send the second routing information to the controller.
15. The device according to claim 13 or 14, characterized in that The address of the second edge device includes an Internet Protocol IP address and / or a Media Access Control MAC address.
16. The device according to claim 13 or 14, characterized in that The first edge device is a user-side network device, and the second edge device is a server-side network device; or The first edge device is a server-side network device, and the second edge device is a user-side network device.
17. The device according to claim 13 or 14, characterized in that The sending module is further configured to send the first routing information to the first edge device based on a control protocol of a network layer or a data link layer.
18. A communication device, characterized in that: The communication device centrally controls a transmission network including a first border transmission device and a second border transmission device, the transmission network is used to connect a first network domain and a second network domain, the first network domain includes a first border device, the second network domain includes a second border device, the first border transmission device is connected to the first border device, and the second border transmission device is connected to the second border device, the device includes: A receiving module, configured to receive first routing information from the second edge transmission device based on a control plane protocol message; wherein the first routing information includes an address of the second edge device and a destination address of the second network domain; A sending module, used to send the first routing information to the first border transmission device; wherein the first routing information is used to generate a routing table and an address resolution protocol ARP table of the first border device, the routing table and the ARP table are used to indicate the forwarding relationship between the first network domain and the second network domain, the transmission network is a first type of network, and the first network domain or the second network domain belongs to a second type of network different from the first type of network.
19. The device according to claim 18, characterized in that The receiving module is further configured to receive second routing information from the first edge transmission device based on a control plane protocol message; wherein the second routing information includes an address of the first edge device and a destination address of the first network domain; The sending module is further used to send the second routing information to the second edge transmission device; wherein the second routing information is used to generate a forwarding table of the second edge device, and the forwarding table is used to indicate the forwarding relationship between the first network domain and the second network domain.
20. The device according to claim 18 or 19, characterized in that The receiving module is further used to receive first routing information from a plurality of second edge transmission devices in the transmission network; The sending module is further configured to send the received first routing information of the plurality of second edge transmission devices to the first edge transmission device based on a same control plane protocol message.
21. The device according to claim 19, characterized in that The receiving module is further used to receive second routing information from a plurality of first edge transmission devices in the transmission network; The sending module is further configured to send the received second routing information of the plurality of first edge transmission devices to the second edge transmission device based on a same control plane protocol message.
22. The device according to claim 18 or 19, characterized in that The first boundary transmission device is a user-side boundary transmission device, and the second boundary transmission device is a server-side boundary transmission device; or The first boundary transmission device is a server-side boundary transmission device, and the second boundary transmission device is a user-side boundary transmission device.
23. The device according to claim 18 or 19, characterized in that The sending module is further configured to send the first routing information to the first edge transmission device based on a control plane protocol message.
24. The device according to claim 19, characterized in that The sending module is further configured to send the second routing information to the second edge transmission device based on a control plane protocol message.
25. A communication device, characterized in that: The communication device includes one or more processors and a transceiver; the one or more processors and the transceiver support the communication device to execute the method for publishing routing information as described in any one of claims 1-5.
26. A communication device, characterized in that: The communication device includes one or more processors and a transceiver; the one or more processors and the transceiver support the communication device to execute the method for publishing routing information as described in any one of claims 6-12.
27. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions or programs. When the computer instructions or programs are executed on a computer, the computer is enabled to execute the method for publishing routing information according to any one of claims 1 to 5.
28. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions or programs. When the computer instructions or programs are executed on a computer, the computer is enabled to execute the method for publishing routing information according to any one of claims 6 to 12.
29. A communication system, characterized in that: The communication system includes a first network domain, a transmission network, and a second network domain. The transmission network is centrally controlled by a controller. The transmission network is used to connect the first network domain and the second network domain. The transmission network includes a first boundary transmission device and a second boundary transmission device. The first network domain includes a first boundary device, the second network domain includes a second boundary device, the first boundary transmission device is connected to the first boundary device, and the second boundary transmission device is connected to the second boundary device. The controller is configured to receive first routing information from the second border transmission device based on a control plane protocol message; wherein the first routing information includes an address of the second border device and a destination address of the second network domain; and the controller sends the first routing information to the first border transmission device; The first border transmission device is used to receive first routing information from the controller based on the control plane protocol message; the first border transmission device sends the first routing information to the first border device; wherein the first routing information is used to generate a routing table and an address resolution protocol ARP table of the first border device, the routing table and the ARP table are used to indicate a forwarding relationship between the first network domain and the second network domain, the transmission network is a first type network, and the first network domain or the second network domain belongs to a second type network different from the first type network.
30. The communication system according to claim 29, characterized in that The controller is further configured to receive second routing information from the first edge transmission device based on a control plane protocol message; wherein the second routing information includes an address of the first edge device and a destination address of the first network domain; The controller is further configured to send the second routing information to the second edge transmission device; wherein the second routing information is used to generate a forwarding table of the second edge device, and the forwarding table is used to indicate a forwarding relationship between the first network domain and the second network domain.
31. The communication system according to claim 29 or 30, characterized in that: The controller is further configured to receive first routing information from a plurality of second edge transmission devices in the transmission network; The controller is further configured to send the received first routing information of the plurality of second edge transmission devices to the first edge transmission device based on a same control plane protocol message.
Citation Information
Patent Citations
Method and apparatus for sending internet protocol packet
CN102316028A
Routing network traffic based on destination
CN110622473A
Dynamic discovery mechanisms via inter-domain routing protocol
US20100329270A1
Mechanism for exchange of routing data between controllers
US20150381479A1
Overlay management protocol for secure routing based on an overlay network
US20180109493A1