Device, FPGA and method for adaptive optoelectronic interface
By reserving welding slots and adaptive processing of FPGA circuits in the adaptive optoelectronic interface device, the problem of a fixed number of optical ports and electrical ports in router equipment is solved, dynamic access and low-cost data transmission are achieved, and equipment costs are reduced. and failure rate, improving operation and maintenance efficiency and data processing speed.
Patent Information
- Application Number
- CN202111240759.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-10-25
AI Technical Summary
In the existing technology, the number of optical ports and electrical ports of router equipment is fixed and cannot be changed according to business changes, which leads to difficulty in accessing data information collection points, increases system construction costs and operation and maintenance complexity, and redundant communication interfaces lead to Equipment costs are high and failure rates are high.
By reserving a communication welding slot in the adaptive optoelectronic interface device, we can weld the required optical port or electrical port slot at any time, and use FPGA circuits to implement adaptive data processing to achieve adaptive access to the optoelectronic interface.
It realizes the dynamic configuration of interfaces according to the needs of data information collection points, reduces equipment costs, avoids the use of redundant slots and chips, improves operation and maintenance management efficiency and data processing speed, and saves equipment panel resources and chip pin usage.
Smart Images

Figure CN114039939B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and more specifically, to a device, FPGA and method for an adaptive optoelectronic interface. Background Art
[0002] At present, in the fields of power systems, industrial control, etc., there are a large number of data information collection points on various application platforms. Due to the different working conditions, distances, environments and other indicators of the data information collection points, as well as the increasing integration and complexity of various application platforms, part of the data information from the data information collection points is transmitted to the main control unit in the platform through Ethernet twisted pair transmission, and the other part is transmitted through optical fiber transmission. In other words, the data information transmitted through Ethernet is usually connected to the platform router device through electrical ports such as RJ45, while the data information transmitted through optical fiber is usually connected to the platform router device through optoelectronic conversion interfaces such as SFP transceivers.
[0003] In the prior art, various router devices that realize data aggregation and transmission and reception usually include a certain number of optical ports and electrical ports respectively. However, the number of optical ports and electrical ports of such pre-set router devices is completely fixed, and the number of optical ports or electrical ports cannot be changed according to the development and changes of the business and the change of the access method of the data information collection point. Therefore, in order to achieve effective access to the data information collection point, it is necessary to continuously increase, change or upgrade the router devices in the system, which not only increases the cost of platform construction, but also increases the complexity of equipment operation and maintenance and configuration, which greatly increases the error rate of system operation.
[0004] On the other hand, although there are optoelectronic multiplexing interfaces similar to COMBO communication interfaces in the prior art, the number of such interfaces in a router or switch device is limited, and it is still difficult to meet the demand for the number of data information collection points transmitted in various applications.
[0005] First, when a router or switch has a large number of COMBO communication interfaces, the area occupied by the communication panel of the device will be greatly increased, which will correspondingly increase the number of cabinets used and the area occupied by the communication room.
[0006] Second, since each COMBO communication interface needs to have an optical port slot and an electrical port slot, for a platform with a large number of data information collection points, the double redundancy of the number of slots leads to a significant increase in equipment costs. Therefore, not only is the cost of router equipment with COMBO communication interfaces relatively high, but the cost of building an application platform is also significantly increased accordingly.
[0007] Third, since there are a large number of redundant communication interfaces in the system that cannot be effectively connected, the long-term idleness of communication slots may also lead to various unexpected failures in the communication equipment interfaces. When the access method of the data information collection point changes, the redundant communication interface may not be able to work effectively, which leads to problems such as the overall replacement of router equipment.
[0008] Therefore, there is an urgent need for a device and method for an adaptive optoelectronic interface with low cost, good effect and high reliability. Summary of the invention
[0009] In order to solve the deficiencies in the prior art, the purpose of the present invention is to provide a device, FPGA and method for an adaptive optoelectronic interface, by welding the optical port or electrical port slot that needs to be used at any time to the communication welding slot reserved in the device, and by the adaptive data processing method of the FPGA circuit to realize the adaptive access of the optoelectronic interface.
[0010] The present invention adopts the following technical solution.
[0011] A first aspect of the present invention relates to a device for an adaptive optoelectronic interface, wherein the device includes a PCB circuit board arranged inside the device, and a plurality of communication welding grooves arranged on a device housing and connected to the PCB circuit board; one or more of the communication welding grooves are used to weld an RJ45 slot and a PHY chip to implement input and output of electrical signals through an RJ45 interface; or, one or more of the communication welding grooves are used to weld an SFP slot to implement input and output of optical signals through an SFP transceiver.
[0012] Preferably, each communication welding slot corresponds to an LED indicator light arranged on the device housing; wherein, when an RJ45 slot and a PHY chip are welded in the communication welding slot, the LED indicator light provides an electrical port indication after the device is powered on; wherein, when an SFP slot is welded in the communication welding slot, the LED indicator light provides an optical port indication after the device is powered on.
[0013] Preferably, the number of the communication welding slots in the device is 16.
[0014] A second aspect of the present invention relates to an FPGA of an adaptive optoelectronic interface, wherein the FPGA is located on a PCB circuit board inside a device of the adaptive optoelectronic interface, and includes an electrical signal conversion module, an optical signal conversion module, an LED indication module, an adaptive selection module and a data processing module; the number of the electrical signal conversion modules, the optical signal conversion modules, the LED indication modules and the adaptive selection modules is consistent with the number of communication welding slots in the device of the adaptive optoelectronic interface; the electrical signal conversion module, one end of which interacts with the RMII signal of the PHY chip, and the other end of which is connected to the adaptive selection module; the optical signal conversion module, one end of which interacts with the LVDS signal of the SFP transceiver, and the other end of which is connected to the adaptive selection module; the LED indication module, one end of which is connected to the LED indicator light on the housing of the device of the adaptive optoelectronic interface, and the other end of which is connected to the adaptive selection module; the other end of the adaptive selection module is connected to the data processing module.
[0015] Preferably, the electrical signal conversion module is used to receive the RMII signal output from the PHY chip, and sequentially perform half-byte processing and message processing on the RMII signal to send the processed data signal to the adaptive selection module; the electrical signal conversion module is used to receive the data signal generated from the adaptive selection module, and sequentially perform message processing and half-byte processing on the data signal to send the processed data signal to the PHY chip.
[0016] Preferably, the optical signal conversion module is used to receive the LVDS signal from the SFP transceiver, and sequentially perform differential single-ended conversion, oversampling and LVDS decoding, identify delimiters, 4B / 5B data decoding and message processing on the LVDS signal, so as to send the processed data signal to the adaptive selection module; the optical signal conversion module is used to receive the data signal generated from the adaptive selection module, and sequentially perform time domain conversion, half-byte processing, 4B / 5B data encoding, parallel-to-serial conversion, LVDS encoding and single-ended differential conversion on the data signal, so as to send the processed LVDS signal to the SFP transceiver.
[0017] Preferably, the LED indication module is used to identify the IO control data of the communication welding slot and send the IO control data to the adaptive selection module; the LED indication module is used to receive the LED indication data sent from the adaptive selection module and send the LED indication data to the LED indicator light to realize the indication of the communication welding slot mode.
[0018] Preferably, the adaptive selection module is used to determine the communication welding slot mode based on the IO control data it receives, and to receive and convert the RMII signal or LVDS signal based on the mode and send it to the data processing module, as well as to convert the data of the data processing module into the RMII signal or LVDS signal and send it to the PHY chip or SFP transceiver welded in the communication welding slot.
[0019] A third aspect of the present invention relates to a method for an adaptive optoelectronic interface, wherein the method comprises the following steps:
[0020] Step 1, soldering the RJ45 slot and the PHY chip adapted to the RJ45 slot into the set communication soldering slot of the adaptive optoelectronic interface device; Step 2, realizing the transmission and reception of electrical signals of the device through the RJ45 communication port; Step 3, the device receives the electrical signal of the RJ45 communication port, and indicates the port working mode through the LED indicator light.
[0021] A fourth aspect of the present invention relates to a method for an adaptive optoelectronic interface, wherein the method comprises the following steps:
[0022] Step 1, soldering the SFP transceiver to the set communication soldering slot of the adaptive optoelectronic interface device; Step 2, transmitting and receiving optical signals of the device through the SFP communication port; Step 3, the device receives the optical signal of the SFP communication port and indicates the port working mode through the LED indicator light.
[0023] The beneficial effect of the present invention is that, compared with the prior art, the device, FPGA and method of the adaptive photoelectric interface in the present invention can realize adaptive access of the photoelectric interface by welding the optical port or electrical port slot required to be used at any time to the communication welding slot reserved for the device, and by the adaptive data processing method of the FPGA circuit. The device and method of the present invention are easy to implement, low in cost, and can update the equipment at any time with the minimum cost.
[0024] The beneficial effects of the present invention also include:
[0025] 1. The present invention can configure the device interface completely according to the needs of the data information collection point, and there will be no redundant slots and redundant data format conversion chips, such as PHY chips, etc. Therefore, the equipment cost is greatly reduced, and at the same time, there will be no accidents such as damage caused by long-term non-use of redundant slots.
[0026] 2. Each communication welding slot of the present invention corresponds to an LED indicator light, which can enable the operation and maintenance personnel to effectively judge the data transmission mode in the communication welding slot through the indication of the LED indicator light, thereby facilitating the management of the communication welding slot.
[0027] 3. The present invention provides an FPGA circuit with an adaptive selection module, which can realize the reception and transmission of data in different formats, as well as the conversion and processing of data in different formats through an adaptive selection method. Since the data conversion and processing process is integrated into the FPGA circuit, the data aggregation and calculation speed are greatly improved.
[0028] 4. The method of the present invention greatly saves panel resources of communication equipment, while saving the number of chip pins used in the FPGA circuit and the communication path for data input and output in the PCB board. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of the internal structure of an adaptive optoelectronic interface device of the present invention;
[0030] Figure 2 A functional structure diagram of an FPGA circuit in an adaptive optoelectronic interface device of the present invention;
[0031] Figure 3 A schematic diagram of the functional structure of an adaptive selection module of an FPGA circuit in an adaptive optoelectronic interface device of the present invention;
[0032] Figure 4 A schematic diagram of the steps of a first embodiment of an adaptive optoelectronic interface method of the present invention;
[0033] Figure 5 The figure is a schematic flow chart of the steps of the second embodiment of an adaptive optoelectronic interface method of the present invention. DETAILED DESCRIPTION
[0034] The present application is further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present application.
[0035] Figure 1 FIG. 1 is a schematic diagram of the internal structure of an adaptive optoelectronic interface device of the present invention. Figure 1 As shown, the first aspect of the present invention relates to a device of an adaptive optoelectronic interface, wherein the device includes a PCB circuit board arranged inside the device, and a plurality of communication welding grooves arranged on a device housing and connected to the PCB circuit board; one or more of the communication welding grooves are used to weld an RJ45 slot and a PHY chip to realize input and output of electrical signals through an RJ45 interface; or, one or more of the communication welding grooves are used to weld an SFP slot to realize input and output of optical signals through an SFP transceiver.
[0036] It can be understood that the device of the adaptive optoelectronic interface in the present invention is similar to the device often used in the prior art, and both include a communication interface arranged on the device housing, and a PCB circuit board arranged inside the device housing. In addition, the PCB circuit board generally includes a CPU module and an FPGA circuit, and the FPGA circuit is used to realize the sending, receiving and processing of data, so the FPGA includes an input and output interface for realizing direct or indirect connection with the communication interface on the device housing.
[0037] In the present invention, since the RJ45 interface is used to realize the transmission of the electrical signal, what can be welded on the communication welding groove is the RJ45 slot to achieve matching with the RJ45 interface. At the same time, in order to encode and decode the data transmitted by the RJ45 interface, the present invention also needs to use a PHY chip to realize the indirect connection between the RJ45 slot and the FPGA circuit. Therefore, when welding the communication welding groove directly connected to the FPGA circuit, the present invention can weld the PHY chip first and then weld the RJ45 slot.
[0038] On the other hand, SFP transceivers can be used to transmit optical signals. When the data information collection point transmits data through optical fiber, SFP transceivers can be used to input and output optical signals. Similarly, what can be welded on the communication welding groove is the SFP slot corresponding to the SFP transceiver.
[0039] In this way, the present invention can realize arbitrary conversion between optical ports and electrical ports, and realize the setting of interface elements in the communication welding slot according to the number of data information collection points, thereby reducing equipment costs to the greatest extent and improving the accuracy and convenience of equipment operation and maintenance.
[0040] Preferably, each communication welding slot corresponds to an LED indicator light arranged on the device housing; wherein, when an RJ45 slot and a PHY chip are welded in the communication welding slot, the LED indicator light provides an electrical port indication after the device is powered on; wherein, when an SFP slot is welded in the communication welding slot, the LED indicator light provides an optical port indication after the device is powered on.
[0041] In the present invention, each communication welding slot corresponds to an LED indicator. When the types of slots connected to the communication welding slot are different, the LED indicator will provide different indications, and the different indications can enable the user to distinguish whether the current welding slot is in a communication state, and whether the communication state is electrical or optical communication. Since the operation and maintenance personnel can effectively determine the communication state of the welding slot according to the state of the LED indicator, the method in the present invention can facilitate the work of the operation and maintenance personnel.
[0042] Preferably, the number of communication welding slots in the device is 16.
[0043] In the present invention, the number of communication welding slots is equivalent to the number of communication interfaces of the corresponding device in the prior art. In one embodiment of the present invention, the number of communication welding slots of the device is at most 16. Depending on the device model, 4 or 8 communication welding slots can also be provided. However, due to the limitations of CPU processing speed and FPGA circuit parameters, the present invention cannot provide a larger number of welding slots.
[0044] Figure 2 FIG. 1 is a functional structure diagram of an FPGA adaptive selection module in an adaptive optoelectronic interface device of the present invention. Figure 2 As shown, the second aspect of the present invention relates to an FPGA of an adaptive optoelectronic interface. The FPGA is located on a PCB circuit board inside the device of the adaptive optoelectronic interface, and includes an electrical signal conversion module, an optical signal conversion module, an LED indication module, an adaptive selection module and a data processing module; wherein the number of the electrical signal conversion module, the optical signal conversion module, the LED indication module and the adaptive selection module is consistent with the number of communication welding slots in the device of the adaptive optoelectronic interface; the electrical signal conversion module, one end of which interacts with the RMII signal of the PHY chip, and the other end of which is connected to the adaptive selection module; the optical signal conversion module, one end of which interacts with the LVDS signal of the SFP transceiver, and the other end of which is connected to the adaptive selection module; the LED indication module, one end of which is connected to the LED indicator light on the housing of the device of the adaptive optoelectronic interface, and the other end of which is connected to the adaptive selection module; the other end of the adaptive selection module is connected to the data processing module.
[0045] In the present invention, the FPGA module of the adaptive optoelectronic interface may include the above-mentioned multiple modules. In the above-mentioned modules, the electric signal conversion module and the optical signal conversion module respectively perform the conversion of the electric signal or the optical signal when the corresponding communication welding slot is connected to the corresponding slot, so the conversion of the electric signal and the optical signal does not occur at the same time, that is, the electric signal conversion module and the optical signal conversion module do not perform the working state at the same time.
[0046] In addition, the FPGA in the present invention can also confirm the working status of the electrical signal conversion module or the optical signal conversion module based on the LED indication module, and send the working status of the interface to the adaptive selection module when the communication welding slot realizes different working states.
[0047] Figure 3 FIG. 1 is a functional structure diagram of an adaptive selection module of an FPGA circuit in an adaptive optoelectronic interface device of the present invention. Figure 3As shown, the adaptive selection module in the present invention can select the data processing method according to the data converted from the electrical signal or the optical signal and the working status provided by the LED indication module, and transmit the data to the data processing module through the internal bus for actual processing of different types of data.
[0048] Preferably, the electrical signal conversion module is used to receive the RMII signal output from the PHY chip, and sequentially perform half-byte processing and message processing on the RMII signal to send the processed data signal to the adaptive selection module; the electrical signal conversion module is used to receive the data signal generated from the adaptive selection module, and sequentially perform message processing and half-byte processing on the data signal to send the processed data signal to the PHY chip.
[0049] It is understandable that the electrical signal conversion module in the present invention can receive the RMII signal output by the PHY chip and process the signal. The half-byte processing is the process in which the FPGA circuit addresses the received RMII signal according to the length of half a byte, that is, 16-bit data. The FPGA circuit can receive data by corresponding the address line to the byte.
[0050] In addition, the electrical signal conversion module in the present invention can also perform message processing on the data signal after the FPGA circuit performs half-byte processing, and the message processing is a process performed after the half-byte processing. In the message processing stage, the FPGA circuit can determine whether the message data it receives is related to the network configuration of the device of the present invention, for example, the message data should be received and processed, or continue to be sent to other devices, or whether the current message data is the correct data sent by other devices configured in the same virtual local area network. After the data is message processed and the message is determined to be valid, the FPGA circuit can receive the data and perform the next step of processing.
[0051] On the other hand, the FPGA circuit can also send the corresponding data to the PHY chip and RJ45 interface for transmission. In this process, the FPGA circuit can first obtain the data and then perform message processing, that is, establish the destination conversion address and other information for the data, and send the data out in RMII format. The PHY chip will receive the RMII data and convert the data into a data format that can be received by RJ45.
[0052] Preferably, the optical signal conversion module is used to receive the LVDS signal from the SFP transceiver, and sequentially perform differential single-ended conversion, oversampling and LVDS decoding, identify delimiters, 4B / 5B data decoding and message processing on the LVDS signal, so as to send the processed data signal to the adaptive selection module; the optical signal conversion module is used to receive the data signal generated from the adaptive selection module, and sequentially perform timing conversion, half-byte processing, 4B / 5B data encoding, parallel-to-serial conversion, LVDS encoding and single-ended differential conversion on the data signal, so as to send the processed LVDS signal to the SFP transceiver.
[0053] In the present invention, the optical signal conversion module sends the LVDS signal obtained after the SFP transceiver performs photoelectric conversion. When the FPGA receives the signal, it will first perform single-end conversion on the received LVDS differential signal through a differential single-ended conversion circuit. After the conversion, the present invention can also adopt 4 times and 8 times oversampling methods to oversample the received analog signal to fully obtain the relevant information in the analog signal, and then demodulate the sent coded data through coding conversion. Subsequently, the position of the valid data in the decoded data can be obtained by identifying the delimiter, and the 5B data can be restored. 5B data decoding can decode the data and obtain the message data, and finally process the message data and send it to the adaptive selection module.
[0054] In the present invention, the optical signal conversion module can also send the data generated by the FPGA to the SFP transceiver. Through the SFP transceiver, the method in the present invention can perform time domain conversion and half-byte processing on the data line generated by the FPGA, and then send the parallel data to the 5B data encoder for encoding from 4B data to 5B data to achieve certain data redundancy and fault tolerance. After the 5B data is converted and encoded in parallel to serial, a high-speed output mode with low frequency band occupancy can be achieved. Finally, the single-ended signal is converted into a differential signal for transmission of two analog signals.
[0055] In the above process, the data generated by the FPGA can be transmitted in LVDS format. The data in LVDS format is converted into optical and electrical signals after passing through the SFP transceiver, so as to be compatible with the optical fiber connected to the optical port.
[0056] Preferably, the LED indication module is used to identify the IO control data of the communication welding slot and send the IO control data to the adaptive selection module; the LED indication module is used to receive the LED indication data sent from the adaptive selection module and send the LED indication data to the LED indicator light to realize the indication of the communication welding slot mode.
[0057] It can be understood that the LED indication module in the present invention can identify the IO control data of the communication welding slot and send the IO control data to the adaptive selection module. The IO control data can be a data command obtained by the adaptive selection module based on the CPU and other modules. The command can determine the hardware device connected to the communication welding slot, and obtain whether the device is connected to the communication welding slot and whether there is an IO data stream. Then, the command can also judge the type of component connected to the communication welding slot to obtain whether the type of the component is an electrical port or an optical port. When the components are electrical ports and optical ports respectively, the LED indication module will issue different indications when the device is powered on and operating normally. In addition, the LED indication module can also forward the IO control data it identifies to the adaptive selection module, so that the module can accurately know the status of the communication welding slot, thereby effectively realizing data reception and processing.
[0058] Preferably, the adaptive selection module is used to determine the communication welding slot mode based on the IO control data it receives, and to receive and convert the RMII signal or LVDS signal based on the mode and send it to the data processing module, as well as to convert the data of the data processing module into the RMII signal or LVDS signal and send it to the PHY chip or SFP transceiver welded in the communication welding slot.
[0059] It is understandable that the adaptive selection module in the present invention can determine the type of interface according to the IO control data, thereby realizing the reception of LVDS or RMII signals. After receiving the corresponding data, it is forwarded to the data processing module. The data processing module can aggregate the data input from the multi-channel interface for processing, and output them to the corresponding data collection points through each channel signal.
[0060] Figure 4 The figure is a schematic flow chart of the steps of a first embodiment of an adaptive optoelectronic interface method of the present invention. Figure 5 FIG. 2 is a schematic diagram of the steps of the second embodiment of the adaptive optoelectronic interface method of the present invention. Figure 4 , Figure 5 As shown, the third aspect of the present invention relates to a method for adaptive optoelectronic interface, wherein the method comprises the following steps:
[0061] Step 1, soldering the RJ45 slot and the PHY chip adapted to the RJ45 slot into the set communication soldering slot of the adaptive optoelectronic interface device; Step 2, realizing the transmission and reception of electrical signals of the device through the RJ45 communication port; Step 3, the device receives the electrical signal of the RJ45 communication port, and indicates the port working mode through the LED indicator light.
[0062] Preferably, a method for an adaptive optoelectronic interface, wherein the method comprises the following steps: step 1, welding the SFP transceiver to a set communication welding slot of an adaptive optoelectronic interface device; step 2, realizing optical signal transmission and reception of the device through the SFP communication port; step 3, the device receives the optical signal of the SFP communication port, and indicates the port working mode through an LED indicator light.
[0063] It is understandable that the method of the adaptive optoelectronic interface in the present invention can realize welding the adapted slot to the corresponding welding slot, and then realize the communication of the optoelectronic interface through the welded slot. During the communication process, the corresponding interface will have an LED light indicating the working mode. The working mode indication described here includes two types: electrical port working mode and optical port working mode.
[0064] The beneficial effect of the present invention is that, compared with the prior art, the beneficial effect of the present invention is that, compared with the prior art, the device, FPGA and method of the adaptive photoelectric interface in the present invention can realize adaptive access of the photoelectric interface by welding the optical port or electrical port slot required to be used at any time to the communication welding slot reserved for the device, and by the adaptive data processing method of the FPGA circuit. The device and method of the present invention are easy to implement and low in cost, and can update the equipment at any time with the minimum cost.
[0065] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.
Claims
1. A device for an adaptive optoelectronic interface, characterized in that: The device comprises a PCB circuit board arranged inside the device, and a plurality of communication welding slots connected to the PCB circuit board and arranged on the housing of the device; One or more of the communication welding slots are used to weld the RJ45 slot and the PHY chip to implement input and output of electrical signals through the RJ45 interface; or, One or more of the communication welding slots are used to weld the SFP slot to implement input and output of optical signals through the SFP transceiver; The device also includes an electrical signal conversion module, an optical signal conversion module, and an adaptive selection module; Wherein, the electrical signal conversion module is used to receive the RMII signal output from the PHY chip and perform half-byte processing and message processing; The optical signal conversion module is used to receive the LVDS signal from the SFP transceiver, and perform differential single-ended conversion, oversampling and LVDS decoding, identify delimiters, 4B / 5B data decoding and message processing; The adaptive selection module is used to receive the processed RMII signal or LVDS signal and send it to the data processing module.
2. An adaptive optoelectronic interface according to claim 1, characterized in that: Each of the communication welding slots corresponds to an LED indicator light disposed on the device housing; wherein, When an RJ45 slot and a PHY chip are welded in the communication welding slot, the LED indicator provides an electrical port indication after the device is powered on; When an SFP slot is welded in the communication welding groove, the LED indicator provides an optical port indication after the device is powered on.
3. An adaptive optoelectronic interface according to claim 2, characterized in that: The number of the communication welding slots in the device is 16.
4. An FPGA with an adaptive optoelectronic interface, characterized in that: The FPGA is located on a PCB circuit board inside the device of the adaptive optoelectronic interface in claim 1, which includes an electrical signal conversion module, an optical signal conversion module, an LED indication module, an adaptive selection module and a data processing module; Wherein, the number of the electrical signal conversion module, the optical signal conversion module, the LED indication module and the adaptive selection module is consistent with the number of the communication welding slots in the device of the adaptive optoelectronic interface described in claim 1; The electrical signal conversion module has one end that interacts with the RMII signal of the PHY chip and the other end that is connected to the adaptive selection module; The optical signal conversion module has one end that interacts with the LVDS signal of the SFP transceiver and the other end that is connected to the adaptive selection module; The LED indicator module has one end connected to the LED indicator light on the device housing of the adaptive optoelectronic interface in claim 1, and the other end connected to the adaptive selection module; The other end of the adaptive selection module is connected to the data processing module.
5. The FPGA of the adaptive optoelectronic interface according to claim 4, characterized in that: The electrical signal conversion module is used to receive the RMII signal output from the PHY chip, and perform half-byte processing and message processing on the RMII signal in sequence, so as to send the processed data signal to the adaptive selection module; The electrical signal conversion module is used to receive the data signal generated by the adaptive selection module, and perform message processing and half-byte processing on the data signal in sequence, so as to send the processed data signal to the PHY chip.
6. The FPGA of the adaptive optoelectronic interface according to claim 4, characterized in that: The optical signal conversion module is used to receive the LVDS signal from the SFP transceiver, and sequentially perform differential single-ended conversion, oversampling and LVDS decoding, identify delimiters, 4B / 5B data decoding and message processing on the LVDS signal, so as to send the processed data signal to the adaptive selection module; The optical signal conversion module is used to receive the data signal generated by the adaptive selection module, and sequentially perform time domain conversion, half-byte processing, 4B / 5B data encoding, parallel-to-serial conversion, LVDS encoding and single-ended differential conversion on the data signal to send the processed LVDS signal to the SFP transceiver.
7. The FPGA of the adaptive optoelectronic interface according to claim 4, characterized in that: The LED indication module is used to identify the IO control data of the communication welding slot and send the IO control data to the adaptive selection module; The LED indication module is used to receive the LED indication data sent from the adaptive selection module, and send the LED indication data to the LED indicator light to realize the indication of the communication welding slot mode.
8. The FPGA of the adaptive optoelectronic interface according to claim 4, characterized in that: The adaptive selection module is used to determine the communication welding slot mode based on the IO control data it receives, and to receive and convert the RMII signal or the LVDS signal based on the mode, and send it to the data processing module, and to convert the data of the data processing module into the RMII signal or the LVDS signal, and send it to the PHY chip or SFP transceiver welded in the communication welding slot.
9. A method for adaptive optoelectronic interface, characterized in that: The method comprises the following steps: Step 1, welding an RJ45 slot and a PHY chip adapted to the RJ45 slot to a set communication welding slot of the device of the adaptive optoelectronic interface of claim 1; Step 2, transmitting and receiving electrical signals of the device through the RJ45 communication port; Step 3, the device receives the electrical signal of the RJ45 communication port and indicates the working mode of the port through an LED indicator light.
10. A method for adaptive optoelectronic interface, characterized in that: The method comprises the following steps: Step 1, welding the SFP transceiver to the set communication welding groove of the device of the adaptive optoelectronic interface described in claim 1; Step 2, transmitting and receiving optical signals of the device through the SFP communication port; Step 3: The device receives the optical signal of the SFP communication port and indicates the working mode of the port through an LED indicator light.
