Router, routing system, routing method, routing device, medium and product
By introducing a multiplexed port module in the router that can send multiple colored light signals of different wavelengths, and by adjusting the wavelength switching through the control module, the problems of port waste and redundant bandwidth in traditional routers are solved, achieving efficient utilization of port resources and stable communication.
Patent Information
- Application Number
- CN202310831082.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2043-07-07
AI Technical Summary
Traditional routers suffer from port waste due to uneven bandwidth distribution among peer routers in network architecture, and redundant bandwidth configuration in existing technologies leads to resource waste and increased costs.
Multiple port modules are used, including a first port module that can send a single wavelength white light signal and a second port module that can send multiple different wavelength colored light signals. By mapping logic ports to bands, the colored light port can be used as a multiplexed port for multiple different wavelengths, and can be bound to multiple peer ports. The wavelength switching of the colored light signal can be adjusted by the control module to adapt to changes in traffic.
It improves the port utilization of the router, reduces the number of ports and redundant bandwidth, lowers construction costs, and ensures stable communication between different peer routers.
Smart Images

Figure CN116761103B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a router, a routing system, a routing method, a routing device, a medium and a product. BACKGROUND
[0002] With the continuous development of network networking technology, people's requirements for network transmission speed and quality are also getting higher and higher. The router can transmit data packets from one network to another, and can also select the optimal path for data transmission according to network topology and routing protocol information, etc., to improve network transmission efficiency and speed. Therefore, the router has become one of the most important network transmission devices in network networking.
[0003] Traditionally, in network networking, a router can connect multiple opposite routers to establish a communication network. Because there is an uneven distribution of bandwidth between multiple opposite routers, the bandwidth configured by the router needs to deploy a certain amount of redundant bandwidth to meet the bandwidth requirements of each opposite router.
[0004] However, in the traditional network networking, because the bandwidth flow required by each opposite router fluctuates dynamically, it causes the waste of the ports on the router. SUMMARY
[0005] Therefore, it is necessary to provide a router, a routing system, a routing method, a routing device, a computer readable storage medium and a computer program product, which can improve the port utilization rate of the router and solve the problem of waste of router ports.
[0006] In a first aspect, the present application provides a router, the router comprising a plurality of port modules, wherein each port module is configured to transmit an optical signal to a bound opposite port according to a receiving wavelength of the bound opposite port, the opposite port being a port in a target router connected in communication with the router.
[0007] The plurality of port modules comprises a first port module capable of transmitting a single-wavelength white light signal and a second port module capable of transmitting a plurality of different-wavelength colored light signals, wherein the first port module is bound to a single opposite port, and the second port module is bound to a plurality of opposite ports in different target routers.
[0008] In one embodiment, the plurality of port modules comprises a plurality of first port modules, each first port module transmitting a white light signal of a different wavelength, and each first port module being bound to a different opposite port.
[0009] In one of the embodiments, the second port module transmits a single wavelength of the colored light signal at the same time to perform optical communication with the opposite port receiving the single wavelength of the colored light signal.
[0010] In one of the embodiments, the target routers to which the opposite ports bound by the second port module are different from each other.
[0011] The opposite ports bound by the second port module include the ports belonging to the same target router and the ports not belonging to the same target router.
[0012] In one of the embodiments, the plurality of port modules include at least one second port module.
[0013] In one of the embodiments, the router further includes a control module connected with the second port module.
[0014] The control module is configured to send optical signal control information to the second port module to instruct the second port module to switch the wavelength of the transmitted colored light signal according to the optical signal control information.
[0015] In one of the embodiments, the control module is further configured to generate the optical signal control information according to the traffic information of the target routers.
[0016] In one of the embodiments, the second port module is divided into a plurality of virtual sub-ports, and each virtual sub-port corresponds to a different wavelength of the colored light signal.
[0017] The control module is further configured to determine the target virtual sub-port corresponding to the switched wavelength of the colored light signal according to the preset mapping relationship, and send the optical signal control information according to the target virtual sub-port to instruct the second port module to transmit the colored light signal according to the configuration information of the target virtual sub-port.
[0018] In a second aspect, the present application further provides a routing system including the router of any one of the first aspect, a plurality of target routers in communication connection with the router, and a signal transmission system.
[0019] The port module in the router performs optical communication with the opposite port in the plurality of target routers through the signal transmission system.
[0020] In one of the embodiments, the signal transmission system includes a splitter, a combiner, and a plurality of wave splitters, and each wave splitter is connected with a different target router.
[0021] The input end of the splitter is connected with the second port module in the router, and is configured to output the colored light signal transmitted by the second port module.
[0022] The input ends of the combiner are connected with the output ends of the splitter and the first port module in the router respectively, and are used for combining the input optical signals into a plurality of intermediate optical signals, the plurality of intermediate optical signals correspond to a plurality of target routers one by one, and each intermediate optical signal is output to a wave splitter connected with the corresponding target router;
[0023] The input ends of each wave splitter are connected with the output end of the combiner, and each wave splitter is used for dividing the intermediate optical signal output by the combiner into a plurality of single-wavelength optical signals, and sending each single-wavelength optical signal to the opposite port of the target router connected with the wave splitter.
[0024] In one embodiment, the splitter is specifically used for copying the color light signals sent by the second port module to generate a plurality of color light signals, and sending the plurality of color light signals to the plurality of input ends of the combiner through the plurality of output ends of the splitter.
[0025] In one embodiment, the combiner is specifically used for determining a plurality of first optical signal sets according to the wavelengths of the input optical signals, each first optical signal set includes white light signals and color light signals, all the white light signals in the first optical signal set are sent to the same target router, and the color light signals in the first optical signal set match the receiving wavelengths of the opposite port of one target router.
[0026] For each first optical signal set, all the optical signals in the first optical signal set are combined into an intermediate optical signal.
[0027] In one embodiment, the combiner is specifically used for determining a plurality of second optical signal sets according to the wavelengths of the input optical signals, each second optical signal set includes white light signals, or white light signals and color light signals, and all the optical signals in the second optical signal set are sent to the same target router.
[0028] For each second optical signal set, all the optical signals in the second optical signal set are combined into an intermediate optical signal.
[0029] In a third aspect, the application further provides a routing method applied to the router in any one of the first aspect, the method comprising:
[0030] Generating optical signal control information according to the traffic information of each target router in communication connection with the router;
[0031] Controlling the second port module of the router to switch the wavelengths of the color light signals sent according to the optical signal control information.
[0032] In one embodiment, the method further comprises:
[0033] Monitoring the output traffic of the first port module and the output traffic of the second port module of the router.
[0034] According to the output traffic of the first port module and the output traffic of the second port module, the traffic information of each target router is determined.
[0035] In one embodiment, the second port module is divided into a plurality of virtual sub-ports, and each virtual sub-port corresponds to a different color light signal wavelength; the method further includes:
[0036] According to a preset mapping relationship, a target virtual sub-port corresponding to the switched color light signal wavelength is determined; the preset mapping relationship includes a mapping relationship between different color light signal wavelengths and corresponding virtual sub-ports;
[0037] The second port module is controlled to send the color light signal according to the configuration information of the target virtual sub-port.
[0038] In a fourth aspect, the present application further provides a routing device applied to the router of any one of the first aspect, and the device includes:
[0039] A generating module is configured to generate optical signal control information according to the traffic information of each target router in communication connection with the router;
[0040] A switching module is configured to control the second port module of the router to perform switching processing on the wavelength of the sent color light signal according to the optical signal control information.
[0041] In a fifth aspect, the present application further provides a computer readable storage medium. The computer readable storage medium has a computer program stored thereon, and the computer program is executed by a processor to implement the steps of the routing method in the third aspect.
[0042] In a sixth aspect, the present application further provides a computer program product, which includes a computer program. The computer program is executed by a processor to implement the steps of the routing method in the third aspect.
[0043] The router, the routing system, the routing method, the routing device, the storage medium and the computer program product, wherein the router comprises a plurality of port modules, each port module is configured to transmit an optical signal to a bound opposite port according to a receiving wavelength of the bound opposite port, and the opposite port is a port in a target router which is communicatively connected to the router; wherein the plurality of port modules comprises a first port module capable of transmitting a white optical signal of a single wavelength and a second port module capable of transmitting a plurality of colored optical signals of different wavelengths, the first port module is bound to a single opposite port, and the second port module is bound to a plurality of opposite ports in different target routers. That is, the router in the embodiment of the present application realizes optical communication between the second port module and the different opposite ports by setting the second port module as a multiplexing port and binding it to a plurality of opposite ports in different target routers; so that different opposite ports in different target routers can share the second port module in the router, achieving the purpose of sharing physical bandwidth, thereby ensuring to meet the dynamic traffic transformation requirements of different target routers while improving the port utilization rate of the router and solving the problem of port waste on the router. In addition, compared with the prior art in which the ports of the router and the ports of the opposite target router are one-to-one corresponding, in the present application, the multiplexing port in the router can bind a plurality of opposite ports, realizing a one-to-many binding relationship, which not only can reduce the number of ports of the router, but also can reduce the number of bandwidths deployed by the router, avoiding redundant bandwidth, and through the multiplexing port, the dynamic traffic change requirements between different opposite target routers can be ensured to ensure stable communication between the router and different opposite target routers. BRIEF DESCRIPTION OF DRAWINGS
[0044] Figure 1 A port connection schematic diagram between a sending end router and different receiving end routers provided by an embodiment of the present application is provided;
[0045] Figure 2 A structure schematic diagram of a router provided by an embodiment of the present application is provided;
[0046] Figure 3 An improved port connection schematic diagram between a sending end router and different receiving end routers provided by an embodiment of the present application is provided;
[0047] Figure 4 Another structure schematic diagram of a router provided by an embodiment of the present application is provided;
[0048] Figure 5 A structure schematic diagram of a mapping register in a router provided by an embodiment of the present application is provided;
[0049] FIG. 6(a) is a communication connection schematic diagram of a virtual sub-port and an opposite port provided by an embodiment of the present application;
[0050] Fig. 6(b) is a schematic diagram of communication connection between another virtual sub-port and a peer port according to an embodiment of the present application;
[0051] Figure 7 Fig. 1 is a schematic diagram of structure of a routing system according to an embodiment of the present application;
[0052] Figure 8 Fig. 2 is a flow chart of a routing method according to an embodiment of the present application;
[0053] Figure 9 Fig. 3 is a schematic block diagram of a routing device according to an embodiment of the present application.
[0054] Legend of reference signs:
[0055] 21: first port module in the router; 22: second port module in the router;
[0056] 23: control module in the router; 71: router; 72: target router;
[0057] 73: signal transmission system. DETAILED DESCRIPTION
[0058] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.
[0059] The router provided by the embodiments of the present application is suitable for the field of communication technology, and especially in the process of forming a network group network based on networking technology, the router is used as a network transmission device to realize network data transmission.
[0060] In the prior art, when network group networking, one router can connect multiple peer routers to realize network communication between the router and different peer routers; wherein, the router usually adopts different ports to establish a direct connection relationship with different ports of each peer router.
[0061] Exemplarily, reference is made to Figure 1As shown, the router 1 can establish network communication connection with the router 2 and the router 3 respectively, and the six ports of the router 1 are bound with the three ports of the router 2 and the three ports of the router 3 respectively; wherein, among the port 1 to the port 6 of the router 1, for the port 1, the port 2 and the port 3 bound with the router 2, the optical signals output by the port 1, the port 2 and the port 3 are transmitted to the upper transmission channel after being combined by the multiplexer / demultiplexer (MUX / DMUX), and are further transmitted to the multiplexer / demultiplexer (MUX / DMUX) connected with the router 2, and then the combined optical signals are processed by the multiplexer / demultiplexer (MUX / DMUX) connected with the router 2 to be demultiplexed and transmitted to the port 1, the port 2 and the port 3 of the router 2 respectively.
[0062] In addition, among the port 1 to the port 6 of the router 1, for the port 4, the port 5 and the port 6 bound with the router 3, the optical signals output by the port 4, the port 5 and the port 6 are transmitted to the lower transmission channel after being combined by the multiplexer / demultiplexer (MUX / DMUX), and are further transmitted to the multiplexer / demultiplexer (MUX / DMUX) connected with the router 3, and then the combined optical signals are processed by the multiplexer / demultiplexer (MUX / DMUX) connected with the router 3 to be demultiplexed and transmitted to the port 1, the port 2 and the port 3 of the router 3 respectively.
[0063] Among each transmission channel, an optical amplifier (Optical Amplifier, abbreviated as OA) can also be included for amplifying the optical signals.
[0064] Based on Figure 1 As shown in the networking structure, in the case that the traffic of each opposite router is dynamically changed, the bandwidth configured between the router and each opposite router needs to deploy a certain amount of redundant bandwidth, at this time, the router and the transmission system need to reserve idle resources. Assuming that the bandwidth configured between the router 1 and the router 2 / 3 is 50G, wherein each port of the router is a 10G port; then, in the case that the traffic between the router 1 and the router 2 is 30G, and the traffic between the router 1 and the router 3 is 20G, there is 10G of bandwidth idle between the router 1 and the router 3; accordingly, there can be an idle port among the port 1 to 3 of the router 1.
[0065] After the traffic is dynamically changed, if the traffic between the router 1 and the router 2 is adjusted to 20G, and the traffic between the router 1 and the router 3 is adjusted to 30G, at this time, there is 10G of bandwidth idle between the router 1 and the router 2; accordingly, there can be an idle port among the port 4 to 6 of the router 1.
[0066] In other words, when the bandwidth between Router 1 and Router 2 and Router 3 is constant, if the traffic in both directions between Router 1 and Router 2 and Router 1 and Router 3 becomes unbalanced and the traffic in different directions changes dynamically, it will cause some of the bandwidth of Router 1 to be idle, and may also cause the ports of Router 1 to be wasted.
[0067] Furthermore, each port on any of the aforementioned routers can be a white light port, capable of emitting white light signals. Since the wavelength of white light fluctuates within a certain range and lacks a specific standard wavelength, standards typically followed for white light include ITU-T G.957, ITU-T G.959.1, and IEEE 802.3. In contrast, colored light has a standard wavelength and typically follows standards including ITU-T G.694.1 (DWDM, i.e., Dense Wavelength Division Multiplexing) and ITU-T G694.2 (CWDM, i.e., Coarse Wavelength Division Multiplexing). Therefore, for... Figure 1 Each white light port of router 1 shown can be equipped with an Optical Transform Unit (OTU) (not shown in the figure) between the white light port and the multiplexer / demultiplexer. This OTU converts the white light signal output from the white light port into colored light signals of fixed wavelengths, such as λ1, λ2, λ3, λ4, λ5, and λ6, which are then sent to the respective input ports of the multiplexer / demultiplexer. It should be noted that this OTU conversion module can also be integrated into the white light port of the router to convert the white light signal output from the optical module in the white light port into a colored light signal with a specific wavelength. Therefore, a router port can include multiple modules, including optical modules and OTU conversion modules, and can be referred to as a port module.
[0068] Of course, the ports on the router can also be optical ports. The optical modules in the optical ports can directly output optical signals with standard or fixed wavelengths and send them directly to the multiplexer / demultiplexer.
[0069] In the traditional router port connection schemes mentioned above, there is a problem of wasted ports for the sending router 1 when reserving redundant bandwidth. This application proposes a router based on the router's colored optical port. By mapping logical ports to bands, one colored optical port can be used as a multiplexing port for multiple optical signals of different wavelengths. This ensures that the dynamic changes in traffic of each receiving router (i.e., the peer router) are met, while reducing the number of router ports, improving the overall utilization of router ports, and avoiding port waste.
[0070] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the present application will be described below with reference to the drawings.
[0071] Figure 2 The structural schematic diagram of the router provided by the embodiments of the present application is shown in the figure. Figure 2 As shown in the figure, the router includes a plurality of port modules, wherein each port module is configured to transmit an optical signal to a bound opposite port according to the receiving wavelength of the bound opposite port, and the opposite port is a port in a target router which is communicatively connected to the router; the plurality of port modules includes a first port module 21 capable of transmitting a white light signal of a single wavelength and a second port module 22 capable of transmitting a plurality of colored light signals of different wavelengths, wherein the first port module 21 is bound to a single opposite port, and the second port module 22 is bound to a plurality of opposite ports in different target routers.
[0072] That is, in each port of the router provided by the embodiments of the present application, on the one hand, a first port module 21 capable of transmitting a white light signal of a single wavelength, i.e. a non-multiplexed port module, can be included, such as at least one of the ports 1 to 6 of the router 1 shown in the above Figure 1 The first port module 21 is bound to a single opposite port on a target router (i.e. an opposite router) which is communicatively connected to the router, i.e. the first port module 21 and the opposite port are in a one-to-one binding relationship. Exemplarily, the first port module 21 can include but is not limited to a first optical module, an OTU conversion module, etc., wherein the first optical module can be used to emit a white light signal, and the OTU conversion module is used to convert the white light signal emitted by the first optical module into a colored light signal having a single wavelength; the first port module 21 capable of transmitting a white light signal of a single wavelength means that the first port module 21 can only transmit an optical signal of a wavelength matching the receiving wavelength of the bound opposite port.
[0073] Exemplarily, a plurality of first port modules 21 can be included in the plurality of port modules of the router, each first port module 21 transmits a white light signal of a different wavelength, and each first port module 21 is bound to a different opposite port. As shown in the above Figure 1 Port 1 of router 1 is bound to port 1 of router 2 and performs optical communication based on a λ1 wavelength optical signal; port 2 of router 1 is bound to port 2 of router 2 and performs optical communication based on a λ2 wavelength optical signal; and so on.
[0074] In another aspect, in each port of the router, a second port module 22, i.e. a multiplexing port module, capable of sending multiple different wavelength color light signals can also be included simultaneously; the second port module 22 can be bound to multiple opposite ports and send multiple different wavelength color light signals matching the receiving wavelengths of the bound opposite ports, wherein the second port module 22 can be a color light port module.
[0075] For example, based on the above Figure 1 The router port connection structure shown in the figure is improved, which can be referred to Figure 3 As shown in the figure, router 1 is a router, and routers 2 and 3 are target routers that establish communication connections with the router. For Figure 1 As shown in the figure, the port 3 and the port 4 in the router 1 can be merged and the merged port can be adjusted to a color light multiplexing port, as shown in the port 3 of the router 1 in Figure 3 As shown in the figure, the port 3 in Figure 3 The port 3 in the figure is bound to the port 3 of the router 2 and the port 1 of the router 3, respectively, and the port 3 on the router 1 can send light signals with a wavelength of λ3 matching the receiving wavelength of the port 3 of the router 2, or send light signals with a wavelength of λ4 matching the receiving wavelength of the port 1 of the router 3.
[0076] That is, for the router 2 and the router 3, they can share the same output port on the router 1 and share the physical bandwidth of one port. For the router 1, it can establish connections between the color light port 3 on the router 1 and different opposite ports (i.e. the port 3 of the router 2 or the port 1 of the router 3) to carry traffic at the same time by modulating the color light wavelength of the port 3, so as to adjust the connection direction according to the traffic variation, which can reduce the construction cost of the physical ports of the router.
[0077] In other words, for the multiplexing port, i.e. the second port module 22 on the router, since it can only establish a connection with one opposite port at the same time, the second port module 22 can send a single wavelength color light signal at the same time to communicate with the opposite port with the receiving wavelength of the single wavelength among the bound multiple opposite ports.
[0078] Based on the above example, combined with Figure 3As shown, in the case of configuring 50G traffic between router 1 and router 2 / 3, assuming that the traffic between router 1 and router 2 is 30G and the traffic between router 1 and router 3 is 20G, port 3 of router 1 and port 3 of router 2 carry traffic, port 3 of router 1 outputs a color light signal of wavelength λ3 to establish optical communication with port 3 of router 2, so that port 1, port 2 and port 3 of router 1 are connected with port 1, port 2 and port 3 of router 2 respectively to meet the 30G traffic demand between router 1 and router 2; at the same time, port 4 and port 5 of router 1 are connected with port 2 and port 3 of router 3 respectively to meet the 20G traffic demand between router 1 and router 3.
[0079] In the process of dynamic change of traffic, assuming that the traffic between router 1 and router 2 is adjusted to 20G and the traffic between router 1 and router 3 is adjusted to 30G, port 3 of router 1 and port 1 of router 3 carry traffic, port 3 of router 1 outputs a color light signal of wavelength λ4 to establish optical communication with port 1 of router 3, so that port 3, port 4 and port 5 of router 1 are connected with port 1, port 2 and port 3 of router 3 respectively to meet the 30G traffic demand between router 1 and router 3; at the same time, port 1 and port 2 of router 1 are connected with port 1 and port 2 of router 2 respectively to meet the 20G traffic demand between router 1 and router 2.
[0080] Using multiplexing port 3 to provide dynamic traffic change demand for router 2 and router 3 respectively not only can meet the traffic demand between the router and the target router of different opposite ends, but also can reduce the physical ports of the router, reduce the port construction cost of the router, at the same time, improve the port utilization rate of the router, and avoid port waste.
[0081] Exemplarily, for the second port module 22, the target routers to which the plurality of opposite end ports belong can be different; or there can be ports belonging to the same target router and ports not belonging to the same target router in the plurality of opposite end ports bound by the second port module 22. That is, the second port module 22 can be bound with one opposite end port on different target routers, or can be bound with a plurality of opposite end ports on the same target router, and the embodiments of the present application do not make specific limitation thereon.
[0082] In addition, for the second port module 22, one or more can be set on the router, that is, the multiple port modules of the router can include at least one second port module 22. In the case where the router includes multiple second port modules 22, the multiple peer ports bound by each second port module 22 can all be different, but the multiple peer ports bound by one second port module 22 can belong to the ports on the same target router or the ports on multiple routers; and the multiple peer ports bound by different second port modules 22 can include different peer ports of the same target router; for example, based on the router connection structure shown in the above Figure 3 For example, based on the router connection structure shown in the above
[0083] The router provided by the above embodiment includes multiple port modules, and each port module is configured to transmit an optical signal to a bound peer port according to a receiving wavelength of the bound peer port, the peer port being a port in a target router in communication connection with the router; wherein the multiple port modules include a first port module capable of transmitting a white optical signal of a single wavelength and a second port module capable of transmitting multiple colored optical signals of different wavelengths, the first port module being bound with a single peer port, and the second port module being bound with multiple peer ports in different target routers. That is, the router in the embodiment of the present application realizes optical communication between the second port module and different peer ports by setting the second port module as a multiplexing port and binding the second port module with multiple peer ports in different target routers, so that different peer ports in different target routers can share the second port module in the router, achieving the purpose of sharing physical bandwidth, thereby ensuring to meet the dynamic change requirement of the traffic of different target routers while improving the port utilization rate of the router and solving the problem of port waste on the router. In addition, compared with the prior art in which the ports of the router and the ports of the peer target router are in one-to-one correspondence, the multiplexing port in the router in the present application can bind multiple peer ports, realizing a one-to-many binding relationship, which not only can reduce the number of ports of the router, but also can reduce the number of bandwidths deployed by the router, avoiding redundant bandwidth, and by using the multiplexing port, the dynamic change requirement of the traffic between different peer target routers can be ensured, so as to ensure stable communication between the router and different peer target routers.
[0084] In one embodiment, as Figure 4As shown, the router further comprises a control module 23 connected with the second port module 22; the control module 23 is configured to send optical signal control information to the second port module 22 to instruct the second port module 22 to perform wavelength switching processing on the transmitted colored light signal according to the optical signal control information.
[0085] For example, the control module 23 can obtain the traffic information of each target router connected with the router, and generate the optical signal control information according to the traffic information of each target router; the optical signal control information is used to instruct the second port module 22 to perform wavelength switching processing on the transmitted colored light signal, that is, to adaptively adjust the connection direction according to the traffic change, so as to meet the traffic change requirement of different target routers and improve the communication efficiency and quality between the router and different target routers.
[0086] For example, based on the above Figure 3 For example, the control module 23 can obtain the traffic information of each target router according to the output traffic of the port 1 to the port 5 of the router 1; in the case that the port 3 is connected with the port 3 of the router 2, the traffic information of the router 2 can be determined according to the sum of the traffic of the port 1 to the port 3 of the router 1; at the same time, the traffic information of the router 3 can be determined according to the sum of the traffic of the port 4 and the port 5 of the router 1. In the case that the port 3 is connected with the port 1 of the router 3, the traffic information of the router 2 can be determined according to the sum of the traffic of the port 1 and the port 2 of the router 1; at the same time, the traffic information of the router 3 can be determined according to the sum of the traffic of the port 3 to the port 5 of the router 1.
[0087] In another implementation manner, the control module 23 can also obtain or estimate the traffic information of each target router according to the communication service data issued by the upper communication device of the router, and determine whether the communication congestion or the like occurs in each target router according to the traffic information of each target router and the actual output traffic of each port of the router; then, the optical signal control information of the second port module 22 can be generated according to the communication congestion of each target router, so that the second port module 22 can timely switch the communication connection between different target routers, solve the communication congestion problem, and meet the dynamic traffic change requirement of each target router.
[0088] For example, the control module 23 can periodically send the optical signal control information to the second port module 22 to instruct the second port module 22 to perform wavelength switching processing on the transmitted colored light signal according to the optical signal control information, so as to adjust the connection direction.
[0089] In this embodiment, the control module in the router sends optical signal control information to the second port module, so that the second port module performs switching processing on the wavelength of the transmitted colored light signal, that is, implements communication switching between the second port module and different opposite ports of different target routers, to provide communication bandwidth for different target routers and meet the dynamic flow change requirements between different target routers.
[0090] In one embodiment, the second port module 22 can be divided into a plurality of virtual sub-ports, each virtual sub-port corresponding to a different colored light signal wavelength; the control module 23 is also configured to determine a target virtual sub-port corresponding to the switched colored light signal wavelength according to a preset mapping relationship, and send optical signal control information according to the target virtual sub-port to instruct the second port module 22 to send the colored light signal according to the configuration information of the target virtual sub-port. The preset mapping relationship can include the mapping relationship between different colored light signal wavelengths and corresponding virtual sub-ports.
[0091] For example, when the second port module 22 of the router performs flow scheduling, a plurality of virtual sub-ports, i.e., a plurality of logical ports, can be divided based on the physical port of the second port module 22, and the plurality of virtual sub-ports can share the physical bandwidth of the second port module 22. Based on this, different virtual sub-ports can be bound with different colored light signal wavelengths to establish a direct connection relationship between the second port module 22 and different opposite ports.
[0092] For example, referring to FIG. 3, a mapping register between a virtual sub-port and an adjusted wavelength can be added in the router; based on the structure shown in FIG. 3, when the port 3 of the router 1 is bound with the port 3 of the router 2 and the port 1 of the router 3, the port 3 of the router 1 can be divided into two virtual sub-ports, such as the virtual sub-port 1 and the virtual sub-port 2 shown in FIG. 4, and a mapping relationship between the virtual sub-port 1 and the receiving wavelength λ3 of the port 3 of the router 2 and a mapping relationship between the virtual sub-port 2 and the receiving wavelength λ4 of the port 1 of the router 3 can be established. Figure 5 Figure 3 Figure 5
[0093] For example, referring to Figure 6, assume that a physical port 1 is virtualized as sub-port 1 and sub-port 2, with both sub-ports operating simultaneously. The sub-ports are bound to different colored light wavelengths and negotiate direct connections with different peer ports (i.e., port 2 and port 3). Specifically, the receiving wavelength of port 2 in router 2 is λ1, and the receiving wavelength of port 3 in router 3 is λ2. By modulating the wavelengths, ports 1 and 2, or ports 1 and 3, can carry traffic simultaneously, achieving the goal of adjusting the connection direction according to changes in service traffic, without requiring router 1 to be configured with two physical router ports.
[0094] Scenario 1 (see Figure 6(a)): Enable subport 1
[0095] Router 1's port 1 is modulated to output λ1;
[0096] Both port 2 of router 2 and port 3 of router 3 can receive optical signals in the λ1 band;
[0097] Router 2's port 2 receives optical signals in the λ1 band. Due to band matching, the port is displayed as "up".
[0098] Because port 3 of router 3 is modulated to receive signals only in the λ2 band, the port is displayed as down due to unsuccessful negotiation.
[0099] Scenario 2 (see Figure 6(b)): Enable subport 2
[0100] Router 1's port 1 is modulated to output λ2;
[0101] Both port 2 of router 2 and port 3 of router 3 can receive optical signals in the λ2 band;
[0102] Router 3's port 3 receives optical signals in the λ2 band. Due to band matching, the port is displayed as "up".
[0103] Because port 2 of router 2 is modulated to receive signals only in the λ1 band, the port is displayed as down due to unsuccessful negotiation.
[0104] In one embodiment, such as Figure 7 As shown, a routing system is provided, including a router 71 as in any of the above embodiments, a plurality of target routers 72 that establish a communication connection with the router 71, and a signal transmission system 73; wherein, the port module in the router 71 communicates optically with the peer port in the plurality of target routers 72 through the signal transmission system 73.
[0105] For example, refer to the above Figure 3As shown, the signal transmission system 73 can include a splitter, a combiner and a plurality of wave splitters, each wave splitter being connected with a different target router 72, wherein the input end of the splitter is connected with the second port module 22 in the router 71, for outputting the colored light signals sent by the second port module 22; the input end of the combiner is connected with the output end of the splitter and the first port module 21 in the router 71 respectively, for combining the input light signals into a plurality of intermediate light signals, the plurality of intermediate light signals corresponding to the plurality of target routers 72 one by one, and outputting each intermediate light signal to the wave splitter connected with the corresponding target router 72; the input end of each wave splitter is connected with the output end of the combiner, and each wave splitter is used for dividing the intermediate light signal output by the combiner into a plurality of single-wavelength light signals, and sending each single-wavelength light signal to the opposite port of the target router 72 connected with the wave splitter.
[0106] Exemplarily, the splitter can be used to copy the colored light signals sent by the second port module 22 to generate a plurality of colored light signals, and send the plurality of colored light signals to the plurality of input ends of the combiner through the plurality of output ends of the splitter.
[0107] That is, when the router 71 is bound with a plurality of opposite ports through the second port module 22, the second port module 22 can use one wavelength band for transmission at the same time by adjusting the output wavelength band, and establish optical communication connection with the opposite port corresponding to the wavelength band. Based on this, when the second port module 22 outputs light signals of a certain wavelength band, the splitter can be used to copy the light signals of the wavelength band, and input them into the plurality of input ends (input ports) of the combiner, so that the combiner combines the plurality of light signals into different paths. Alternatively, the splitter can be a passive splitter.
[0108] In addition, it should be noted that when the second port module 22 is modulated to a certain wavelength band, other wavelength bands are 0 output; for example, referring to Figure 3 As shown, when the port 3 of the router 1 is adjusted to output light signals of λ3, the light signal information of the wavelength band λ4 is not output. With this structure, in the case of reserving bandwidth for the router 2 and the router 3, the port construction of the router 1 can be reduced, and the port construction cost of the router 1 can be reduced.
[0109] Further, in the case that the combiner receives a plurality of colored light signals sent by the splitter, different transmission modes can be used to transmit the colored light signals to the corresponding opposite ports, and the two different transmission modes will be introduced respectively below.
[0110] The first kind is a combiner, which can be used to determine a plurality of first optical signal sets according to the wavelengths of the input optical signals, each first optical signal set including white light signals and colored light signals, all the white light signals in the first optical signal set being sent to the same target router 72, and the colored light signals in the first optical signal set matching the receiving wavelengths of the opposite ports of one target router 72.
[0111] For each first optical signal set, all the optical signals in the first optical signal set are combined into one intermediate optical signal.
[0112] That is, in the first transmission mode, in combination with the above Figure 3 As shown in the figure, when the λ3 wavelength colored light signal is output at the port 3 of the router 1 or the λ4 wavelength colored light signal is output, the combiner combines the colored light signals sent by the splitter to the upper transmission path corresponding to the router 2 and the lower transmission path corresponding to the router 3, respectively. Since the port 3 of the router 2 only receives the λ3 wavelength colored light signal and the port 1 of the router 3 only receives the λ4 wavelength colored light signal, for the target router 72, the port thereof can only receive the colored light signal of the wavelength matching therewith, and cannot receive the colored light signal of other wavelengths.
[0113] For example, in the case where the λ3 wavelength colored light signal is output at the port 3 of the router 1, the combiner first combines the optical signals of the port 1, the port 2 and the port 3 to the upper transmission path corresponding to the router 2, and combines the optical signals of the port 3, the port 4 and the port 5 to the lower transmission path corresponding to the router 3. For the router 2, the port 3 on the router 2 can receive the λ3 wavelength colored light signal, while the port 1 on the router 3 cannot receive the λ3 wavelength colored light signal. That is, the first optical signal set includes the optical signal set corresponding to the port 1, the port 2 and the port 3, and the optical signal set corresponding to the port 3, the port 4 and the port 5.
[0114] In addition, in the case where the λ4 wavelength colored light signal is output at the port 3 of the router 1, the combiner combines the optical signals of the port 1, the port 2 and the port 3 to the upper transmission path corresponding to the router 2, and combines the optical signals of the port 3, the port 4 and the port 5 to the lower transmission path corresponding to the router 3. But for the router 2, the port 3 on the router 2 cannot receive the λ4 wavelength colored light signal, while the port 1 on the router 3 can receive the λ4 wavelength colored light signal. That is, the first optical signal set includes the optical signal set corresponding to the port 1, the port 2 and the port 3, and the optical signal set corresponding to the port 3, the port 4 and the port 5.
[0115] The second kind is a combiner, which is configured to determine a plurality of second optical signal sets according to the wavelengths of the input optical signals, each second optical signal set including a white optical signal, or a white optical signal and a colored optical signal, and all the optical signals in the second optical signal set being transmitted to the same target router 72.
[0116] For each second optical signal set, all the optical signals in the second optical signal set are combined into an intermediate optical signal.
[0117] That is, in the second transmission mode, in combination with the above Figure 3 As shown in the figure, when the combiner outputs a colored optical signal of wavelength λ3 or a colored optical signal of wavelength λ4 at the port 3 of the router 1, the combiner only combines the colored optical signal transmitted by the splitter into the transmission path corresponding to the router 2 or the router 3 that matches the wavelength of the colored optical signal, and accordingly, the other transmission path does not contain the colored optical signal of the wavelength, and the target router 72 corresponding to the other transmission path also does not receive the colored optical signal of the wavelength.
[0118] For example, in the case where the port 3 of the router 1 outputs a colored optical signal of wavelength λ3, the combiner combines the optical signals of the port 1, the port 2 and the port 3 into the upper transmission path corresponding to the router 2, and combines the optical signals of the port 4 and the port 5 into the lower transmission path corresponding to the router 3; for the router 2, the port 3 on the router 2 can receive the colored optical signal of wavelength λ3, while the port 1 on the router 3 cannot receive the colored optical signal of wavelength λ3. That is, the second optical signal set includes the optical signal set corresponding to the port 1, the port 2 and the port 3, and the optical signal set corresponding to the port 4 and the port 5.
[0119] In addition, in the case where the port 3 of the router 1 outputs a colored optical signal of wavelength λ4, the combiner combines the optical signals of the port 1 and the port 2 into the upper transmission path corresponding to the router 2, and combines the optical signals of the port 3, the port 4 and the port 5 into the lower transmission path corresponding to the router 3; then, the port 3 on the router 2 cannot receive the colored optical signal of wavelength λ4, while the port 1 on the router 3 can receive the colored optical signal of wavelength λ4. That is, the second optical signal set includes the optical signal set corresponding to the port 1 and the port 2, and the optical signal set corresponding to the port 3, the port 4 and the port 5.
[0120] According to the routing system described above, the communication connection between the router and different target routers can be implemented, and the dynamic binding between the multiple virtual sub-ports of the second port module in the router and the receiving wavelengths of different opposite ports can be implemented. In the scenario of implementing the multi-local traffic scheduling of the router, the number of ports of the router can be reduced, the port construction cost of the router can be reduced, the port utilization rate of the router can be improved, and the port waste problem of the router can be solved. In addition, in the process of implementing the port multiplexing based on the color light technology, only the port of the router needs to be modified, and the configuration of the signal transmission system does not need to be modified, so that the optimization convenience of the routing system can be improved.
[0121] In one embodiment, as shown in Figure 8 A routing method is provided, which is applied to the router in any of the above embodiments, and includes the following steps:
[0122] In step 820, optical signal control information is generated according to the traffic information of each target router which establishes a communication connection with the router.
[0123] In one implementation, the traffic information of each target router can be determined according to the output traffic of each first port module and the output traffic of each second port module of the router.
[0124] Of course, other ways can also be used to obtain the traffic information of each target router, and the optical signal control information can be generated based on the traffic information of each target router. Various implementation manners can refer to the related contents described in the above Figure 4 embodiments, which will not be repeated here.
[0125] In step 840, the second port module of the router is controlled to switch the wavelength of the transmitted color light signal according to the optical signal control information.
[0126] Exemplarily, the second port module can be divided into multiple virtual sub-ports, each virtual sub-port can correspond to a different color light signal wavelength, so as to obtain a preset mapping relationship including different color light signal wavelengths and corresponding virtual sub-ports. Based on this, the target virtual sub-port corresponding to the switched color light signal wavelength can be determined according to the preset mapping relationship. Then, the second port module is controlled to transmit the color light signal according to the configuration information of the target virtual sub-port.
[0127] In the routing method, the optical signal control information is generated according to the traffic information of each target router establishing a communication connection with the router; and the second port module of the router is controlled to perform switching processing on the wavelength of the transmitted colored light signal according to the optical signal control information. By using the routing method, port multiplexing is realized based on the colored light port on the router, a plurality of opposite end ports on a plurality of target routers are bound through the colored light port, so that the plurality of opposite end ports can share the physical bandwidth of the colored light port; optical communication between the colored light port in the router and the opposite end port of the different target router is flexibly switched according to the actual traffic information of each target router, dynamic scheduling of multi-local traffic is realized, the port construction cost of the router is reduced, the port utilization rate of the router is improved, and the problem of port waste of the router is solved.
[0128] It should be understood that, although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0129] Based on the same inventive concept, the embodiments of the present application also provide a routing device for implementing the above-mentioned routing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, and therefore the specific limitations in one or more routing device embodiments provided below can refer to the limitations of the routing method described above, which will not be described here again.
[0130] In one embodiment, as shown in Figure 9 a routing device is provided, which is applied to the router in any of the above embodiments, and includes a generation module 920 and a switching module 940, wherein:
[0131] The generation module 920 is configured to generate optical signal control information according to the traffic information of each target router establishing a communication connection with the router;
[0132] The switching module 940 is configured to control the second port module of the router to perform switching processing on the wavelength of the transmitted colored light signal according to the optical signal control information.
[0133] In one embodiment, the device further includes a monitoring module and a first determination module, wherein,
[0134] monitoring the output traffic of the first port module and the output traffic of the second port module of the router;
[0135] determining the traffic information of each target router according to the output traffic of the first port module and the output traffic of the second port module.
[0136] In one embodiment, the second port module is divided into a plurality of virtual sub-ports, and each virtual sub-port corresponds to a different color light signal wavelength; the device further comprises a second determining module and a control module, wherein,
[0137] The second determining module is configured to determine a target virtual sub-port corresponding to the color light signal wavelength after the switching according to a preset mapping relationship; the preset mapping relationship comprises a mapping relationship between different color light signal wavelengths and corresponding virtual sub-ports.
[0138] The control module is configured to control the second port module to send the color light signal according to the configuration information of the target virtual sub-port.
[0139] Each module in the routing device can be realized by software, hardware, and a combination thereof, in whole or in part. Each module can be embedded in or independent of a processor in a computer device in a hardware form, or can be stored in a memory in a computer device in a software form, so as to be called and executed by a processor to perform the operations corresponding to each module.
[0140] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are implemented:
[0141] generating optical signal control information according to the traffic information of each target router which establishes a communication connection with the router;
[0142] controlling the second port module of the router to perform switching processing on the wavelength of the color light signal sent according to the optical signal control information.
[0143] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0144] monitoring the output traffic of the first port module and the output traffic of the second port module of the router;
[0145] determining the traffic information of each target router according to the output traffic of the first port module and the output traffic of the second port module.
[0146] In one embodiment, the second port module is divided into a plurality of virtual sub-ports, and each virtual sub-port corresponds to a different color light signal wavelength; when the computer program is executed by the processor, the following steps are further implemented:
[0147] According to the preset mapping relationship, a target virtual sub-port corresponding to the wavelength of the switched colored light signal is determined; the preset mapping relationship includes mapping relationships between different colored light signal wavelengths and corresponding virtual sub-ports;
[0148] The second port module is controlled to send the colored light signal according to the configuration information of the target virtual sub-port.
[0149] In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the following steps:
[0150] According to the traffic information of each target router which establishes a communication connection with the router, optical signal control information is generated;
[0151] The second port module of the router is controlled to perform switching processing on the wavelength of the sent colored light signal according to the optical signal control information.
[0152] In one embodiment, the computer program, when executed by the processor, further implements the following steps:
[0153] The output traffic of the first port module and the output traffic of the second port module of the router are monitored;
[0154] According to the output traffic of the first port module and the output traffic of the second port module, the traffic information of each target router is determined.
[0155] In one embodiment, the second port module is divided into a plurality of virtual sub-ports, and each virtual sub-port corresponds to a different colored light signal wavelength; the computer program, when executed by the processor, further implements the following steps:
[0156] According to the preset mapping relationship, a target virtual sub-port corresponding to the wavelength of the switched colored light signal is determined; the preset mapping relationship includes mapping relationships between different colored light signal wavelengths and corresponding virtual sub-ports;
[0157] The second port module is controlled to send the colored light signal according to the configuration information of the target virtual sub-port.
[0158] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0159] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.
[0160] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A router, characterized in that, The router comprises a plurality of port modules, wherein each port module is configured to transmit an optical signal to a bound opposite port according to a received wavelength of the opposite port, and the opposite port is a port in a target router connected to the router in communication; The plurality of port modules comprises a first port module capable of transmitting a white light signal of a single wavelength and a second port module capable of transmitting a plurality of colored light signals of different wavelengths, wherein the first port module is bound to a single opposite port, and the second port module is bound to a plurality of opposite ports in different target routers, The router further comprises a control module connected to the second port module; The control module is configured to send optical signal control information to the second port module to instruct the second port module to switch the wavelength of the transmitted colored light signal according to the optical signal control information, The control module is further configured to obtain or estimate traffic information of the target routers according to communication service data issued by an upper-layer communication device of the router, determine a communication congestion condition of the target routers according to the traffic information of the target routers and actual output traffic of each port of the router, and generate the optical signal control information according to the communication congestion condition of the target routers.
2. The router of claim 1, wherein, The plurality of port modules comprises a plurality of first port modules, each first port module transmits a white light signal of a different wavelength, and each first port module is bound to a different opposite port.
3. The router of claim 1, wherein, The second port module transmits a colored light signal of a single wavelength at the same time to perform optical communication with an opposite port receiving the single wavelength among the bound plurality of opposite ports.
4. The router of claim 1, wherein, The target routers to which the plurality of opposite ports bound by the second port module belong are different from each other; or There are opposite ports belonging to the same target router and opposite ports not belonging to the same target router among the plurality of opposite ports bound by the second port module.
5. The router of claim 1, wherein, The plurality of port modules comprises at least one second port module.
6. The router of claim 1, wherein, The second port module is divided into a plurality of virtual sub-ports, and each virtual sub-port corresponds to a different colored light signal wavelength; The control module is further configured to determine a target virtual sub-port corresponding to the switched colored light signal wavelength according to a preset mapping relationship, and send the optical signal control information according to the target virtual sub-port to instruct the second port module to transmit the colored light signal according to configuration information of the target virtual sub-port.
7. A routing system characterized in that, The router, a plurality of target routers connected to the router in communication, and a signal transmission system are provided, The port modules in the router perform optical communication with opposite ports in the plurality of target routers through the signal transmission system.
8. The routing system of claim 7, wherein, The signal transmission system comprises a splitter, a combiner, and a plurality of wave splitters, and each wave splitter is connected to a different target router; The input end of the splitter is connected to the second port module in the router, and is configured to output the colored light signal transmitted by the second port module; The input end of the combiner is connected with the output end of the splitter and the first port module in the router respectively, and is used for combining the input optical signals into a plurality of intermediate optical signals, the plurality of intermediate optical signals correspond to a plurality of target routers one by one, and each intermediate optical signal is output to the wave splitter connected with the corresponding target router; The input end of each wave splitter is connected with the output end of the combiner, and each wave splitter is used for dividing the intermediate optical signal output by the combiner into a plurality of single-wavelength optical signals, and sending each single-wavelength optical signal to the opposite port of the target router connected with the wave splitter.
9. The routing system of claim 8, wherein The splitter is specifically used for copying the color light signals sent by the second port module to generate a plurality of color light signals, and sending the plurality of color light signals to the plurality of input ends of the combiner through the plurality of output ends of the splitter.
10. The routing system of claim 8, wherein The combiner is specifically used for determining a plurality of first optical signal sets according to the wavelengths of the input optical signals, each first optical signal set includes white light signals and color light signals, all the white light signals in the first optical signal set are sent to the same target router, and the color light signals in the first optical signal set match the receiving wavelengths of the opposite port of one target router; For each first optical signal set, all the optical signals in the first optical signal set are combined into an intermediate optical signal.
11. The routing system of claim 9, wherein The combiner is specifically used for determining a plurality of second optical signal sets according to the wavelengths of the input optical signals, each second optical signal set includes white light signals or white light signals and color light signals, and all the optical signals in the second optical signal set are sent to the same target router; For each second optical signal set, all the optical signals in the second optical signal set are combined into an intermediate optical signal.
12. A routing method characterized by, The method is applied to the router of any one of claims 1 to 6, and the method comprises: Generating optical signal control information according to the traffic information of each target router in communication connection with the router; Controlling the second port module of the router to switch the wavelength of the color light signal sent according to the optical signal control information.
13. The method of claim 12, wherein, The method further comprises: Monitoring the output traffic of the first port module and the output traffic of the second port module of the router; Determining the traffic information of each target router according to the output traffic of the first port module and the output traffic of the second port module.
14. The method of claim 12, wherein, The second port module is divided into a plurality of virtual sub-ports, each virtual sub-port corresponds to a different color light signal wavelength; the method further comprises: According to a preset mapping relationship, determining a target virtual sub-port corresponding to the switched color light signal wavelength; the preset mapping relationship includes the mapping relationship between different color light signal wavelengths and corresponding virtual sub-ports; Controlling the second port module to send color light signals according to the configuration information of the target virtual sub-port.
15. A routing device, characterized by The device is applied to the router as claimed in any one of claims 1 to 6, and comprises: a generating module, configured to generate optical signal control information according to traffic information of each target router which establishes a communication connection with the router; a switching module, configured to control the second port module of the router to perform switching processing on the wavelength of the transmitted colored light signal according to the optical signal control information.
16. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the steps of the method as claimed in any one of claims 12 to 14.
17. A computer program product comprising a computer program, characterized in that, The computer program, when executed by a processor, implements the steps of the method as claimed in any one of claims 12 to 14.
Citation Information
Patent Citations
Transmitter and receiver of wavelength multiplexing optical signal and light wavelength multiplexing communication system
JP2005064864A