Route conversion system and method based on optical switch

Through the routing conversion system based on optical switches, direct routing communication between Ethernet and fiber-optic communication domain controllers is achieved, solving the problem that traditional routing switches are incompatible with fiber-optic communications and adapting to the high data transmission requirements of modern communications.

CN120640160APending Publication Date: 2025-09-12SHANGHAI HEQIAN ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510846884.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

Traditional routing switches are not compatible with domain controllers for fiber-optic communications, resulting in inconvenience in information transmission for fiber-optic communications.

Method used

A routing conversion system based on optical switches is designed, which includes a routing table parsing module, an optical switch, an optical switch routing control service unit, a network management service unit and an optical signal coding service unit. These units are used to achieve direct routing communication between Ethernet and fiber optic communication domain controllers.

Benefits of technology

It realizes direct routing communication between Ethernet and fiber-optic communication domain controllers, solves the problem that traditional routing switches are incompatible with fiber-optic communications, and adapts to the high requirements of data transmission speed and data volume in modern communications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120640160A_ABST
    Figure CN120640160A_ABST
Patent Text Reader

Abstract

The system comprises a routing table analysis module, the optical switch, an optical switch routing control service unit, a network management service unit, an optical signal coding service unit and a signal conversion service unit, through the arrangement of the network management service unit, the signal conversion service unit and the optical signal coding service unit, routing communication can be carried out between the Ethernet and the optical fiber communication domain controller, and the problem that the optical fiber communication domain controller is not compatible in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a routing conversion system and method based on an optical switch. Background Art

[0002] Traditional routing switches generally only support domain controllers accessed via CAN signals or Ethernet signals and are not compatible with domain controllers using fiber-optic communications, causing great inconvenience in the transmission of information from fiber-optic communication domain controllers. Summary of the Invention

[0003] The present application provides a routing conversion system based on an optical switch, which can solve the problem of domain controllers incompatible with optical fiber communications in the prior art.

[0004] In a first aspect, an embodiment of the present application provides a routing conversion system based on an optical switch, characterized in that the system includes:

[0005] Routing table parsing module, used to parse routing information and generate routing commands;

[0006] an optical switch, configured to communicate with the first domain controller accessed via an optical fiber;

[0007] an optical switch routing control service unit, connected to the routing table parsing module and the optical switch, and configured to control routing of the optical switch according to the routing information;

[0008] a network management service unit, connected to the routing table parsing module, and configured to communicate with a second domain controller accessed via Ethernet according to the routing information;

[0009] an optical signal encoding service unit, connected to the optical switch and configured to communicate with the optical switch;

[0010] The signal conversion service unit is connected to the routing table analysis module, the network management service unit, and the optical signal coding service unit, and is used to convert the information from the network management service unit and / or the optical signal coding service unit according to the routing information and output it.

[0011] In some embodiments, the network management service unit includes a plurality of different protocol support packages and a unified interface to the second domain controller.

[0012] In some embodiments, the multiple different protocol support packages are all based on TCP / UDP protocol.

[0013] In some embodiments, the optical signal encoding service unit is connected to the optical switch via an optoelectronic conversion interface.

[0014] In some embodiments, when the optical signal encoding service unit receives a digital signal whose bandwidth exceeds a predetermined value from the optoelectronic conversion interface, it encodes the digital signal and passes it to the signal conversion service unit; when the optical signal encoding service unit receives a digital signal whose bandwidth does not exceed a predetermined value from the optoelectronic conversion interface, it directly passes the digital signal to the signal conversion service unit.

[0015] In some embodiments, the system further includes a routing information receiving module, which is configured to receive routing instructions from a user and issue the routing information.

[0016] In some embodiments, each of the service units is an independent Bin executable file.

[0017] In a second aspect, an embodiment of the present application provides a routing conversion method based on the above system, characterized in that the method includes:

[0018] activating the system;

[0019] Each of the service units in the system is started in sequence.

[0020] In some embodiments, the method further comprises:

[0021] The first domain controller forwards optical information to the optical switch;

[0022] The optical switch converts the optical information into digital information through the photoelectric conversion interface module and transmits it to the optical signal encoding service unit;

[0023] The optical signal encoding service unit transmits the digital signal to the signal conversion service unit;

[0024] The signal conversion service unit converts the mathematical signal into a protocol and transmits it to the network management service unit;

[0025] The network management service unit transmits the mathematical signal after the protocol conversion to the second domain controller.

[0026] In some embodiments, the method further comprises:

[0027] The second domain sub-controller transmits digital information to the network management service unit, wherein the second domain controller includes a plurality of second domain sub-controllers;

[0028] The network management service unit transmits the digital information to the signal conversion service unit;

[0029] The signal conversion service unit converts the digital signal into a protocol and transmits it to the network management service unit;

[0030] The network management service unit transmits the mathematical signal after the protocol conversion to another second domain sub-controller.

[0031] In this application, through the setting of the network management service unit, the signal conversion service unit, and the optical signal encoding service unit, routing communication can be directly performed between the Ethernet domain controller and the fiber optic communication domain controller, solving the problem in the prior art that the routing switch is not compatible with the fiber optic communication domain controller. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0033] Figure 1 A schematic diagram of a routing conversion system shown in an embodiment of the present application;

[0034] Figure 2 This is a schematic diagram of a routing conversion method shown in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0036] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner.In the following description, many specific details are provided so as to provide a full understanding of the embodiments of the present application. However, it will be appreciated by those skilled in the art that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps etc. can be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0038] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.

[0039] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0040] Before describing the solution of this application in detail, the terms involved in this application are explained as follows:

[0041] Linux: It is a free to use and free to disseminate Unix-like operating system. It is a multi-user, multi-tasking operating system that complies with POSIX and supports multi-threading and multi-CPU.

[0042] TCP (Transmission Control Protocol) is a connection-oriented, reliable, byte-stream-based transport layer protocol. It establishes a connection through a three-way handshake process, ensuring reliable data transmission. TCP provides full-duplex communication, supports multiplexing, and ensures data order and integrity.

[0043] UDP (User Datagram Protocol) is a connectionless, unreliable transport layer protocol. It does not provide reliability guarantees, and data packets do not require a connection to be established for sending and receiving. Therefore, the transmission speed is fast but data may be lost or out of order.

[0044] init process: It is the first user-level process started by the kernel. After the kernel has started itself (it has been loaded into memory, has started running, has initialized all device drivers and data structures, etc.), it completes the kernel part of the boot process by starting the user-level program init.

[0045] BIN file: binary file.

[0046] Traditional routing switches generally only support domain controllers connected via CAN or Ethernet signals and are incompatible with fiber-optic domain controllers. This significantly hinders the transmission of information between these controllers. In modern communications, with the continuous development and popularization of the Internet of Things, the requirements for data transmission speeds and volumes are increasing. More and more domain controllers are adopting fiber-optic communication, but existing routing switches cannot meet these requirements.

[0047] In order to solve this technical problem, the technical solution of this application is proposed. Figure 1 ,in, Figure 1 A routing conversion system according to an embodiment of the present application is shown, and the system includes:

[0048] Routing table parsing module, used to parse routing information and generate routing commands;

[0049] an optical switch, configured to communicate with the first domain controller accessed via an optical fiber;

[0050] The optical switch routing control service unit is connected to the routing table parsing module and the optical switch, and is used to control the routing of the optical switch according to the routing information;

[0051] a network management service unit, connected to the routing table parsing module, and configured to communicate with the second domain controller accessed via the Ethernet according to the routing information;

[0052] an optical signal encoding service unit connected to the optical switch and configured to communicate with the optical switch;

[0053] The signal conversion service unit is connected to the routing table analysis module, the network management service unit, and the optical signal coding service unit, and is used to convert the information from the network management service unit and / or the optical signal coding service unit according to the routing information and output it.

[0054] In this application, through the setting of the network management service unit, the signal conversion service unit, and the optical signal encoding service unit, routing communication can be directly performed between the Ethernet domain controller and the fiber optic communication domain controller, solving the problem in the prior art that the routing switch is not compatible with the fiber optic communication domain controller.

[0055] In some embodiments, the network management service unit includes multiple different protocol support packages and a unified interface to the second domain controller. In some embodiments, the service unit loads different protocol support packages on demand based on the system configuration and provides a unified access interface. In some embodiments, the multiple different protocol support packages are based on the TCP / UDP protocol.

[0056] In some embodiments, the optical signal encoding service unit is connected to the optical switch via an optoelectronic conversion interface. The module can be connected to the optoelectronic conversion interface via a MIPI interface, and receives a digital signal after optoelectronic conversion.

[0057] In some embodiments, when the optical signal encoding service unit receives a digital signal whose bandwidth exceeds a predetermined value from the optoelectronic conversion interface, it encodes the digital signal and passes it to the signal conversion service unit; when the optical signal encoding service unit receives a digital signal whose bandwidth does not exceed a predetermined value from the optoelectronic conversion interface, it directly passes the digital signal to the signal conversion service unit; preferably, the predetermined value is 1G.

[0058] In some embodiments, the system further includes a routing information receiving module, which is used to receive routing instructions from users and issue routing information.

[0059] In some embodiments, the routing table parsing module is further configured to read the routing table loaded into the system after system startup, parse the routing table, and send routing information to the network management service module and the optical switch routing control service module. The routing table may be as shown below. After the system is started, the routing table parsing module parses this file to determine how to control the routing of optical and electrical signals, the encoding of optical signals received from MIPI, and the conversion between different protocols, thereby generating routing information to control the operation of each module.

[0060]

[0061] In some embodiments, after system startup, the optical switch routing control service unit detects the status of the optical switch and waits for incoming routing information. If routing information arrives, the service unit receives the routing information, converts it into commands recognizable by the optical switch, and sends it to the optical switch via the I2C interface to control routing. In some embodiments, the optical switch needs to return status information so that the system can determine whether subsequent service operations can proceed normally.

[0062] In some embodiments, the signal conversion service unit determines the difference in transmission protocols between the destination and source of the route based on routing information and network management service unit information, and then converts the data packet into a protocol packet that can be recognized by each other based on this information, and then forwards it to the network management service unit according to the routing information.

[0063] In some embodiments, the routing table parsing module, the signal service unit, the optical switch routing control service unit, the optical signal encoding service unit, and the network management service unit are all integrated on the Linux system.

[0064] In some embodiments, each service unit is an independent Bin executable file.

[0065] Once the system is built, the various service modules will work together to transparently transmit various signals between the Ethernet controller and the optical switch based on routing information. Subsequently, the system simply configures the routing information table and copies it to a fixed location. Upon system startup, the table will be loaded and parsed, making the system easily applicable to various routing scenarios and significantly simplifying the development process. Furthermore, the system's powerful routing control and protocol conversion capabilities offer broad application prospects.

[0066] In some embodiments, the above system further includes: a readable storage medium for storing operating programs and test files of the host computer system.

[0067] On the other hand, an embodiment of the present application provides a route conversion method based on the above system, characterized in that the method includes:

[0068] Start the system;

[0069] Start each service unit in the system in turn.

[0070] like Figure 2 The following diagram illustrates the system's power-on process, from when each service unit starts up and begins operating according to the routing configuration. Each service unit is a separate binary executable file. After the Linux kernel boots, the init process reads the startup configuration script for each service unit and starts each service unit in a specific order. Communication between service units relies on the IPC module provided by the network management service unit.

[0071] In some embodiments, the method further comprises:

[0072] The first domain controller forwards optical information to the optical switch;

[0073] The optical switch converts the optical information into digital information through the photoelectric conversion interface module and transmits it to the optical signal coding service unit;

[0074] The optical signal encoding service unit transmits the digital signal to the signal conversion service unit;

[0075] The signal conversion service unit converts the mathematical signal into a protocol and transmits it to the network management service unit;

[0076] The network management service unit transmits the mathematical signal after the protocol conversion to the second domain controller.

[0077] In some embodiments, the method further comprises:

[0078] The second domain sub-controller transmits digital information to the network management service unit, and the second domain controller includes a plurality of second domain sub-controllers;

[0079] The network management service unit transmits the digital information to the signal conversion service unit;

[0080] The signal conversion service unit converts the digital signal into a protocol and transmits it to the network management service unit;

[0081] The network management service unit transmits the mathematical signal after the protocol conversion to another second domain sub-controller.

[0082] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwiring, or a combination of any of these. Furthermore, the functional units may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit.

[0083] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, 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 units or modules, which can be electrical or other forms.

[0084] The above are merely examples of the present application and are not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of the claims of the present application.

Claims

1. A routing conversion system based on an optical switch, characterized in that: The system comprises: Routing table parsing module, used to parse routing information and generate routing commands; an optical switch, configured to communicate with the first domain controller accessed via an optical fiber; an optical switch routing control service unit, connected to the routing table parsing module and the optical switch, and configured to control routing of the optical switch according to the routing information; a network management service unit, connected to the routing table parsing module, and configured to communicate with a second domain controller accessed via Ethernet according to the routing information; an optical signal encoding service unit, connected to the optical switch and configured to communicate with the optical switch; The signal conversion service unit is connected to the routing table analysis module, the network management service unit, and the optical signal coding service unit, and is used to convert the information from the network management service unit and / or the optical signal coding service unit according to the routing information and output it.

2. The routing conversion system according to claim 1, wherein: The network management service unit includes a plurality of different protocol support packages and a unified interface to the second domain controller.

3. The routing conversion system according to claim 2, wherein: The multiple different protocol support packages are all based on the TCP / UDP protocol.

4. The routing conversion system according to claim 1, wherein: The optical signal encoding service unit is connected to the optical switch via a photoelectric conversion interface.

5. The routing conversion system according to claim 4, wherein: When the optical signal encoding service unit receives a digital signal whose bandwidth exceeds a predetermined value from the optoelectronic conversion interface, it encodes the digital signal and passes it to the signal conversion service unit; when the optical signal encoding service unit receives a digital signal whose bandwidth does not exceed a predetermined value from the optoelectronic conversion interface, it directly passes the digital signal to the signal conversion service unit.

6. The routing conversion system according to claim 1, wherein: The system further comprises a routing information receiving module, which is used to receive routing instructions from users and issue the routing information.

7. The routing conversion system according to claim 1, wherein: Each of the service units is an independent Bin executable file.

8. A routing conversion method based on the system of claim 1, characterized in that: The method comprises: activating the system; Each of the service units in the system is started in sequence.

9. A routing conversion method based on the system of claim 1, characterized in that: The method further comprises: The first domain controller forwards optical information to the optical switch; The optical switch converts the optical information into digital information through the photoelectric conversion interface module and transmits it to the optical signal encoding service unit; The optical signal encoding service unit transmits the digital signal to the signal conversion service unit; The signal conversion service unit converts the mathematical signal into a protocol and transmits it to the network management service unit; The network management service unit transmits the mathematical signal after the protocol conversion to the second domain controller.

10. A routing conversion method based on the system of claim 1, characterized in that: The method further comprises: The second domain sub-controller transmits digital information to the network management service unit, wherein the second domain controller includes a plurality of second domain sub-controllers; The network management service unit transmits the digital information to the signal conversion service unit; The signal conversion service unit converts the digital signal into a protocol and transmits it to the network management service unit; The network management service unit transmits the mathematical signal after the protocol conversion to another second domain sub-controller.