An electrical port module
By assigning a PIN8 pin to the Ethernet port module to indicate network port status, and combining this with the monitoring mechanisms of the MCU and PHY chips, the problem of difficulty in obtaining the status of the RJ45 terminal of the Ethernet port module is solved. This enables convenient identification of link status and LOS status, improving user experience and ease of device judgment.
Patent Information
- Application Number
- CN202310077024.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-19
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2043-01-19
AI Technical Summary
The working status of the RJ45 terminal of the electrical port module cannot be easily obtained by the host device and the user, making it difficult to identify the functional status.
The PIN8 pin in the SFP+ gold finger is redefined as a network port status indication signal. Through the cooperation of the MCU and the PHY chip, the link status of the RJ45 terminal is monitored. The working status of the PHY chip is obtained by using I2C communication and MDIO interface, and the link status is indicated by the level signal of the PIN8 pin.
The host device can easily determine the link status and LOS status of the received signal on the Ethernet port side of the Ethernet module, allowing users to easily identify whether the Ethernet module is functioning properly, thus improving ease of use.
Smart Images

Figure CN116418762B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of optical communication technology, in particular to an electrical port module. BACKGROUND
[0002] The electrical port module is also called an optical port to electrical port module, which is an optical-electric conversion optical module and a module type frequently used in optical communication. The electrical port module is used for transmitting electrical signals and has a wide range of applications. For example, the electrical port module is used on an optical network terminal to connect a network cable to a host device such as an optical network terminal. The network port terminal and a gold finger are arranged on the circuit board of the electrical port module. When the electrical port module is used on a host device such as an optical network terminal, the gold finger of the electrical port module is electrically connected to the circuit board in the host device, and an external network cable is connected to the network port terminal through a connector.
[0003] The electrical port module is a module with an SFP+ package structure and an SFP gold finger and an RJ45 terminal. The electrical port module supports hot plugging, can be inserted into an SFP port of a network device such as a switch, and can transmit data through a network cable. However, due to the unique SFP+ structure, the working state of the RJ45 terminal cannot be easily obtained by the host device and the user. SUMMARY
[0004] The present application provides an electrical port module to monitor the working state of the RJ45 terminal of the electrical port module.
[0005] The present application provides an electrical port module, comprising:
[0006] A circuit board, the end of which is provided with a gold finger, the gold finger comprising an I2C pin and a multiplexing pin;
[0007] A network port terminal, which is electrically connected to the circuit board and is used for signal transmission through a network cable;
[0008] A PHY chip, which is arranged on the circuit board and comprises a status register, the status register being used for storing a status register value corresponding to the link state of the network port terminal;
[0009] An MCU, which is arranged on the circuit board, one end of which is connected to the I2C pin and the multiplexing pin, and the other end of which is connected to the PHY chip, the MCU being used for receiving a host device instruction through the I2C pin, accessing the status register value, and sending a corresponding level signal to the multiplexing pin according to the status register value;
[0010] The MCU includes a second register for storing a register value corresponding to the host device instruction, and the MCU sets the corresponding function of the multiplexing pin according to the register value, so that the multiplexing pin has the network port state indication function and the LOS function of receiving signals at the same time; when the function of the multiplexing pin has the network port state indication function and the LOS function of receiving signals at the same time, the link state of the network port terminal and the LOS state of the received signal are obtained according to the level signal of the multiplexing pin.
[0011] As can be seen from the above embodiment, the electrical port module provided by the embodiment of the application includes a circuit board, a network port terminal, a PHY chip and an MCU. The end of the circuit board is provided with a gold finger, and the gold finger includes an I2C pin and a multiplexing pin. The network port terminal is electrically connected with the circuit board and is used for signal transmission through a network cable. The PHY chip is arranged on the circuit board and includes a state register. The state register is used for storing a state register value corresponding to the link state of the network port terminal, and the link state of the network port side of the electrical port module can be obtained through the state register value. The MCU is arranged on the circuit board, one end of the MCU is connected with the I2C pin and the multiplexing pin, so as to realize the communication connection between the MCU and the host device through the I2C pin and receive the host device instruction. The MCU includes a second register for storing a register value corresponding to the host device instruction. The MCU sets the corresponding function of the multiplexing pin according to the register value, so as to select the function of the multiplexing pin according to the host device instruction and give the multiplexing pin a new function, so that the multiplexing pin has the network port state indication function and the LOS function of receiving signals at the same time. The other end of the MCU is connected with the PHY chip, so as to access the state register and obtain the state register value, thereby obtaining the link state of the network port side of the electrical port module. When the function of the multiplexing pin has the network port state indication function and the LOS function of receiving signals at the same time, the MCU sends a corresponding level signal to the multiplexing pin according to the state register value, so that the host device can obtain the link state of the network port side of the electrical port module and the LOS state of the received signal according to the level signal of the multiplexing pin, which is convenient for the user to identify. The application multiplexes a pin in the gold finger and gives the multiplexing pin a new function, so that the multiplexing pin has the network port state indication function and the LOS function of receiving signals at the same time. The MCU sends a corresponding level signal to the multiplexing pin according to the link state of the network port terminal, and the link state of the electrical port module and the LOS state of the received signal are indicated through the level state of the multiplexing pin. The HOST device can conveniently obtain the link state of the network port side of the electrical port module, the LOS state of the received signal and display, so as to easily judge whether the function of the product is normal, which is convenient for the user to identify. BRIEF DESCRIPTION OF DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the present disclosure, the drawings needed to be used in some embodiments of the present disclosure will be briefly introduced as follows. Obviously, the drawings in the following description are only some drawings of the embodiments of the present disclosure, and other drawings can also be obtained by those skilled in the art according to these drawings. In addition, the drawings in the following description can be regarded as schematic diagrams, and are not limited to the actual size, actual process, actual timing of signals, etc. of the products involved in the embodiments of the present disclosure.
[0013] Figure 1 A connection relationship diagram of an optical communication system according to some embodiments;
[0014] Figure 2 A structural schematic diagram of an electrical port module according to some embodiments;
[0015] Figure 3 A partial exploded schematic diagram of an electrical port module according to some embodiments;
[0016] Figure 4 An assembly schematic diagram of a circuit board and a network port terminal in an electrical port module according to an embodiment of the present application;
[0017] Figure 5 A structural schematic diagram of a circuit board in an electrical port module according to an embodiment of the present application;
[0018] Figure 6 A circuit schematic diagram of an electrical port module according to an embodiment of the present application;
[0019] Figure 7 A circuit block diagram of an electrical port module according to an embodiment of the present application;
[0020] Figure 8 A structural schematic diagram of a lower shell in an electrical port module according to an embodiment of the present application;
[0021] Figure 9 An assembly schematic diagram of a lower shell, a circuit board and a network port terminal in an electrical port module according to an embodiment of the present application;
[0022] Figure 10 An assembly schematic diagram of a cover plate and an unlocker in an electrical port module according to an embodiment of the present application; Figure 1 ;
[0023] Figure 11 An assembly schematic diagram of a cover plate and an unlocker in an electrical port module according to an embodiment of the present application; Figure 2 ;
[0024] Figure 12 An assembly schematic diagram of a lower shell, a circuit board, a cover plate and an unlocker in an electrical port module according to an embodiment of the present application;
[0025] Figure 13 This is an assembly diagram of the lower housing, circuit board, cover plate, unlocker and handle in an electrical port module provided in an embodiment of this application. Detailed Implementation
[0026] The technical solutions in some embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments provided in this disclosure are within the scope of protection of this disclosure.
[0027] In optical communication systems, optical signals carry the information to be transmitted and are transmitted through information transmission equipment such as optical fibers or waveguides to information processing equipment such as computers to complete the information transmission. Because light has passive transmission characteristics when transmitted through optical fibers or waveguides, low-cost, low-loss information transmission can be achieved. However, the signals transmitted by information transmission equipment such as optical fibers or waveguides are optical signals, while the signals that information processing equipment such as computers can recognize and process are electrical signals. Therefore, in order to establish an information connection between information transmission equipment such as optical fibers or waveguides and information processing equipment such as computers, it is necessary to achieve mutual conversion between electrical and optical signals.
[0028] In the field of optical communication technology, the electrical port module realizes the aforementioned function of converting between optical signals and electrical signals. The electrical port module includes an optical port and an electrical port. The optical port enables optical communication with information transmission equipment such as optical fibers or optical waveguides, while the electrical port enables electrical connection with optical network terminals (e.g., optical modems). The electrical connection is mainly used for power supply, I2C signal transmission, data transmission, and grounding. The optical network terminal transmits electrical signals to information processing equipment such as computers via network cables or Wi-Fi.
[0029] Figure 1 This is a connection diagram of an optical communication system according to some embodiments. Figure 1 As shown, the optical communication system includes a remote server 1000, a local information processing device 2000, an optical network terminal 100, an optical module 200, an optical fiber 101, and a network cable 103.
[0030] One end of optical fiber 101 is connected to the remote server 1000, and the other end is connected to the optical network terminal 100 via optical module 200. Optical fiber itself can support long-distance signal transmission, such as signal transmission over several kilometers (6 to 8 kilometers). Theoretically, unlimited distance transmission can be achieved by using repeaters. Therefore, in typical optical communication systems, the distance between the remote server 1000 and the optical network terminal 100 can typically reach several kilometers, tens of kilometers, or hundreds of kilometers.
[0031] One end of the network cable 103 is connected to the local information processing device 2000, and the other end is connected to the optical network terminal 100. The local information processing device 2000 can be any one or several of the following devices: a router, a switch, a computer, a mobile phone, a tablet computer, a television, etc.
[0032] The physical distance between the remote server 1000 and the optical network terminal 100 is greater than the physical distance between the local information processing device 2000 and the optical network terminal 100. The connection between the local information processing device 2000 and the remote server 1000 is completed by the optical fiber 101 and the network cable 103; and the connection between the optical fiber 101 and the network cable 103 is completed by the optical module 200 and the optical network terminal 100.
[0033] The optical module 200 includes an optical port and an electrical port. The optical port is configured to access the optical fiber 101, so that the optical module 200 and the optical fiber 101 establish a bidirectional optical signal connection; the electrical port is configured to access the optical network terminal 100, so that the optical module 200 and the optical network terminal 100 establish a bidirectional electrical signal connection. The optical module 200 realizes the mutual conversion between optical signals and electrical signals, so that the optical fiber 101 and the optical network terminal 100 establish an information connection. For example, the optical signal from the optical fiber 101 is converted into an electrical signal by the optical module 200 and then input into the optical network terminal 100, and the electrical signal from the optical network terminal 100 is converted into an optical signal by the optical module 200 and then input into the optical fiber 101. Since the optical module 200 is a tool for realizing the mutual conversion between optical signals and electrical signals, it does not have the function of processing data, and in the above optical-electrical conversion process, the information does not change.
[0034] The optical network terminal 100 includes a housing which is generally a rectangular cuboid, and an optical port module interface 102 and a network cable interface 104 provided on the housing. The optical port module interface 102 is configured to access the optical module 200, so that the optical network terminal 100 and the optical module 200 establish a bidirectional electrical signal connection; the network cable interface 104 is configured to access the network cable 103, so that the optical network terminal 100 and the network cable 103 establish a bidirectional electrical signal connection. The connection between the optical module 200 and the network cable 103 is established through the optical network terminal 100. For example, the optical network terminal 100 transmits the electrical signal from the optical module 200 to the network cable 103, and transmits the electrical signal from the network cable 103 to the optical module 200, so the optical network terminal 100, as the upper machine of the optical module 200, can monitor the work of the optical module 200. The upper machine of the optical module 200 can also include an optical line terminal (OLT) in addition to the optical network terminal 100.
[0035] The remote server 1000 establishes a bidirectional signal transmission channel with the local information processing equipment 2000 through optical fiber 101, optical module 200, optical network terminal 100 and network cable 103.
[0036] To facilitate the connection of the network cable 103, the network cable interface 104 of the optical network terminal 100 includes an electrical port module. The electrical port module is provided with a network port terminal, which is connected to the network port terminal through the connector of the network cable 103. In this embodiment, the electrical port module is not only used in the optical network terminal 100, but can also be used in host devices such as routers and switches.
[0037] Figure 2 This is a structural diagram of an electrical port module according to some embodiments. Figure 3 This is an exploded view of an electrical port module according to some embodiments. For example... Figure 2 , Figure 3 As shown, the electrical port module 300 includes a shell, a circuit board 310 disposed inside the shell, and devices electrically connected to the circuit board 310.
[0038] The housing includes an upper housing 301 and a lower housing 302, with the upper housing 301 covering the lower housing 302 to form the aforementioned housing with two openings; the outer contour of the housing is generally square.
[0039] In some embodiments of this disclosure, the lower housing 302 includes a base plate and two lower side plates located on both sides of the base plate and disposed perpendicular to the base plate; the upper housing 301 includes a cover plate, which covers the two lower side plates of the lower housing 302 to form the aforementioned housing.
[0040] In some embodiments, the lower housing 302 includes a bottom plate and two lower side plates located on both sides of the bottom plate and arranged perpendicularly to the bottom plate; the upper housing 301 includes a cover plate and two upper side plates located on both sides of the cover plate and arranged perpendicularly to the cover plate, wherein the two upper side plates are combined with the two lower side plates to realize that the upper housing 301 covers the lower housing 302.
[0041] The direction of the line connecting the two openings 304 and 305 can be consistent with or inconsistent with the length direction of the electrical port module 300. For example, opening 304 is located at the end of the electrical port module 300. Figure 3 The opening 305 is also located at the end of the electrical port module 300 (right end). Figure 3 (Left end). Alternatively, opening 304 is located at the end of the electrical port module 300, while opening 305 is located on the side of the electrical port module 300. Opening 304 is an electrical port, from which the gold fingers of the circuit board 310 extend and are inserted into a host computer (e.g., optical network terminal 100); opening 305 is an optical port, configured to connect an external network cable 103 so that the network cable 103 connects to the network port terminal inside the electrical port module 300.
[0042] The upper shell 301 and the lower shell 302 are combined to facilitate the installation of the circuit board 310 and other devices into the shell, and the upper shell 301 and the lower shell 302 form a package to protect these devices. In addition, when the circuit board 310 and other devices are installed, the positioning components, heat dissipation components, and electromagnetic shielding components of these devices can be easily arranged, which facilitates the automated production.
[0043] In some embodiments, the upper shell 301 and the lower shell 302 are generally made of metal materials, which facilitates electromagnetic shielding and heat dissipation.
[0044] In some embodiments, the electrical port module 300 further includes an unlocking component 303 located outside the shell of the electrical port module 300, which is configured to achieve the fixed connection between the electrical port module 300 and the host computer, or to release the fixed connection between the electrical port module 300 and the host computer.
[0045] For example, the unlocking component 303 is located on the outer wall of the two lower side plates of the lower shell 302, and has a clamping component that matches the cage of the host computer (for example, the cage of the optical network terminal 100). When the electrical port module 300 is inserted into the cage of the host computer, the clamping component of the unlocking component 303 fixes the electrical port module 300 in the cage of the host computer. When the unlocking component 303 is pulled, the clamping component of the unlocking component 303 moves, thereby changing the connection relationship between the clamping component and the host computer, to release the clamping relationship between the electrical port module 300 and the host computer, so that the electrical port module 300 can be pulled out of the cage of the host computer.
[0046] The circuit board 310 includes circuit traces, electronic components, and chips. The electronic components and chips are connected together according to the circuit design through the circuit traces to achieve power supply, electrical signal transmission, and grounding functions. The electronic components include, for example, capacitors, resistors, transistors, and metal oxide semiconductor field effect transistors (MOSFETs). The chips include, for example, microcontroller units (MCUs), clock and data recovery (CDR) chips, and power management chips.
[0047] The circuit board 310 is generally a hard circuit board. Due to its relatively hard material, the hard circuit board can also achieve a bearing function, such as the hard circuit board can stably bear the above-mentioned electronic components and chips. The hard circuit board can also be inserted into the electrical connector in the cage of the host computer.
[0048] The electrical port module 300 is a module with SFP+ package structure, and interfaces of the module use SFP gold fingers and RJ45 terminals respectively. The module contains an MCU chip, a PHY chip, a network port terminal and SFP+ gold fingers. The module supports hot plug and can be inserted into an SFP port of a network device such as a switch, and data transmission is performed through a network cable. However, due to the unique SFP+ structure, the working state of the RJ45 terminal cannot be easily obtained by a host device and a user.
[0049] To solve the above problems, the present application assigns a new definition to the PIN8 pin in the SFP+ gold finger, and defines the PIN8 pin as a network port state indication signal. The host device can identify the link state of the RJ45 network port terminal through the state of the PIN8 pin, and easily determine whether the function of the product is normal.
[0050] Figure 4 A schematic diagram of assembly of a circuit board and a network port terminal in an electrical port module according to an embodiment of the present application is shown in Figure 5 A schematic diagram of the structure of a circuit board in an electrical port module according to an embodiment of the present application is shown in Figure 4 、 Figure 5 The circuit board 310 includes a gold finger 311 formed on a surface of an end portion of the circuit board 310. The gold finger 311 is composed of a plurality of pins independent of each other. The circuit board 310 is inserted into a cage of a host device, and the gold finger 311 is connected in conduction with an electrical connector in the cage of the host device. The gold finger 311 can be provided only on a surface (for example, an upper surface as shown in Figure 4 The gold finger 311 is configured to establish electrical connection with an upper computer to realize power supply, grounding, I2C signal transmission, data signal transmission, etc. In the embodiment of the present application, the gold finger 311 includes I2C pins, RX_LOS pins, etc. for realizing communication connection between the host device and devices in the electrical port module 300.
[0051] The circuit board 310 includes an MCU 312, a PHY chip 313 and a network port terminal 314. The MCU 312, the PHY chip 313 and the network port terminal 314 are respectively electrically connected to the circuit board 310, and are electrically connected to each other through wires on the circuit board 310. The network port terminal 314 is used for connecting an adaptive network cable 103.
[0052] Figure 6 A circuit schematic diagram of an electrical port module according to an embodiment of the present application is shown in Figure 6As shown, the MCU 312 includes an I2C interface, which is electrically connected with the I2C pin in the gold finger 311, for realizing I2C communication between the MCU 312 and the host device; the PHY chip 313 includes a Serdes interface, which is connected with the Serdes interface pin in the gold finger 311 through a differential signal line, and is connected with the Serdes interface of the host device through the Serdes interface pin.
[0053] After the MCU 312 is electrically connected with the gold finger 311, the optical network terminal 100 transmits a signal to the gold finger 311, the gold finger 311 transmits the signal to the MCU 312 through a wire, and the MCU 312 controls the signal to be transmitted to the network port terminal 314. The network cable 103 is inserted into the network port terminal 314, and the signal is transmitted to the local information processing device 2000 through the network cable 103, so that the electrical connection between the optical network terminal 100 and the local information processing device 2000 is realized through the electrical port module 300.
[0054] Generally, in an optical module product, an RX_LOS (Receive Loss of Signal Alarm) pin is designed in the interface, and the state of the RX_LOS pin is monitored in the hardware circuit design to obtain information about whether the received signal is lost. In Ethernet, when the system detects a change in the RX_LOS state, an RX_LOS interrupt is quickly generated and reported to the processing system, and then the processing system responds and processes in time. This processing method of quickly reporting the change in the RX_LOS state in the form of an RX_LOS interrupt is one of the important means for realizing fast switching of a link in Ethernet.
[0055] According to the requirements of the MAS-8431 protocol, the 8th pin (PIN8) of the PIN pin at the end of the gold finger 311 is defined as the RX_LOS pin, which is used to transmit the RX_LOS signal and to indicate whether the received signal is found, i.e., whether the optical signal is received according to the level state of the PIN8 pin, whether the optical signal has LOS, which is defined as follows:
[0056] (1) When the level of the PIN8 pin is high, it indicates that the received signal is not found.
[0057] (2) When the level of the PIN8 pin is low, it indicates that the received signal is found.
[0058] In some embodiments, the MCU 312 further includes an RX_LOS interface, and the gold finger 311 includes an RX_LOS pin (PIN8 pin), which is electrically connected with the RX_LOS interface through a wire to directly reflect whether the received signal is normal. For example, when the received signal is not lost, RX_LOS = 0; when the received signal is lost, RX_LOS = 1.
[0059] Since the module in the present application is an electrical port module, it is not necessary to detect whether the electrical port module receives an optical signal through the PIN8 pin. In order to enable the HOST device to conveniently obtain the link state of the network port side of the electrical port module 300, the PIN8 pin in the golden finger 311 is reused, the PIN8 pin is given a new function, and is defined as a network port state indication signal, so that the HOST device can obtain the link state of the RJ45 network port terminal through the level state of the PIN8 pin.
[0060] In some embodiments, a first register is arranged in the MCU 312, and the first register is used to store different register values, and the different register values are used to represent different functions of the PIN8 pin, so that the PIN8 pin has different function selections. The MCU 312 receives a host device instruction through the I2C pin, the host device instruction is used to indicate the function of the PIN8 pin, the MCU 312 stores a corresponding register value in the first register according to the host device instruction, and the MCU 312 executes a corresponding function on the PIN8 pin according to the different register values to change the function selection of the PIN8 pin in the first register.
[0061] Specifically, when the host device needs to set the function of the PIN8 pin, the host device issues a corresponding host device instruction to the MCU 312 through the I2C communication bus, the MCU 312 stores different register values such as a first register value and a second register value in the first register according to the received different host device instructions, and the MCU 312 selects the function of the PIN8 pin according to the register value stored in the first register.
[0062] For example, when the first register stores the first register value, the PIN8 pin is the RX_LOS pin by default, which is used to detect whether the received signal is lost; when the first register stores the second register value, the PIN8 pin is extended and defined as a network port state indication pin, which is used to report the link state of the network port side of the electrical port module 300.
[0063] In some embodiments, the MCU 312 can use 00 to correspond to the RX_LOS function of the PIN8 pin and use 01 to correspond to the network port state indication function of the PIN8 pin in the first register. For example, when the MCU 312 receives an instruction issued by the host device to configure the PIN8 pin as the RX_LOS pin, the MCU 312 sets the register value of the first register to the first register value 00, and feeds back the configuration result to the host device; when the MCU 312 polls or otherwise learns that the register value of the first register is 00, the PIN8 pin is defined as the RX_LOS pin at this time.
[0064] When the MCU 312 receives the instruction from the host device to configure the PIN 8 pin as a network port status indication pin, the MCU 312 sets the register value of the first register to the second register value 01, and feeds back the configuration result to the host device; when the MCU 312 polls or otherwise learns that the register value of the first register is 01, the PIN 8 pin is defined as the network port status indication pin at this time.
[0065] In some embodiments, the first register in the MCU 312 can be one register A2 in the MCU 312, such as B6, or other registers in the MCU 312.
[0066] In some embodiments, the MCU 312 further includes an MDIO interface, and the MCU 312 is connected with the PHY chip 313 through the MDIO interface to access the PHY chip 313 through the MDIO interface to obtain the working state of the PHY chip 313. The MCU 312 outputs a level signal to the PIN 8 pin according to the working state of the PHY chip 313, and indicates the link state of the network port terminal 314 according to the level state of the PIN 8 pin, that is, the host device can obtain the link state of the network port side of the network port module 300 according to the level state of the PIN 8 pin at this time.
[0067] When the MCU 312 sends a corresponding level signal to the PIN 8 pin according to the working state of the PHY chip 313, the MCU 312 can directly power the PIN 8 pin, so that the PIN 8 pin has a corresponding level value, such as high level or low level. The PIN 8 pin is electrically connected with a power supply unit, and the MCU 312 is control-connected with the power supply unit. The MCU 312 sends a corresponding control signal to the power supply unit, so that the power supply unit provides a corresponding voltage to the PIN 8 pin, so that the PIN 8 pin has a corresponding level value.
[0068] In some embodiments, the PHY chip 313 is a physical interface transceiver, which implements the Ethernet PHY defined by the IEEE-802.3 standard of the physical layer, including the MII / GMII (media independent interface) sublayer, the PCS (physical coding sublayer), the PMA (physical media attachment) sublayer, the PMD (physical media dependent) sublayer, and the MDI sublayer.
[0069] When the PHY chip transmits data, it receives data from the MAC, then converts the parallel data into serial stream data, encodes the data according to the coding rules of the physical layer, and then converts the data into an analog signal to send out. The process of receiving data is the reverse.
[0070] The PHY chip also has an important function of implementing part of the CSMA / CD function, which can detect whether there is data transmission on the network, and if there is data transmission, it waits until the network is idle, and then sends the data after waiting for a random time.
[0071] Since the PHY chip 313 can detect whether there is data transmission on the network, i.e. the PHY chip 313 can perform self-detection to obtain its working state, thereby obtaining the link state of the network port terminal 314 in the electrical port module 300. For example, the link state of the network port terminal 314 side is disconnected, the link state of the network port terminal 314 side is connected, and there is data interaction on the network port terminal 314 side.
[0072] In some embodiments, a state register is arranged in the PHY chip 313, which is used to store the link state of the network port terminal 314, so as to obtain the link state of the network port terminal 314 according to the value of the state register in the PHY chip 313. For example, when the first state register value 00 is stored in the state register, it can represent that the link state of the network port side of the electrical port module 300 is disconnected; when the second state register value 01 is stored in the state register, it can represent that the link state of the network port side of the electrical port module 300 is connected; and when the third state register value 02 is stored in the state register, it can represent that there is data interaction on the network port side of the electrical port module 300.
[0073] The MCU 312 accesses the PHY chip 313 through the MDIO interface to obtain the value of the state register in the PHY chip 313, and the MCU 312 outputs corresponding level signals to the PIN8 pin according to the value of the state register. For example, when the value of the state register in the PHY chip 313 is the first state register value, it indicates that the link of the network port side of the electrical port module 300 is disconnected, and at this time the MCU 312 outputs the first level signal to the PIN8 pin; when the value of the state register in the PHY chip 313 is the second state register value, it indicates that the link of the network port side of the electrical port module 300 is connected, and at this time the MCU 312 outputs the second level signal to the PIN8 pin; and when the value of the state register in the PHY chip 313 is the third state register value, it indicates that there is data interaction on the network port side of the electrical port module 300, and at this time the MCU 312 outputs the third level signal to the PIN8 pin.
[0074] The first level signal is a high level signal, the second level signal is a low level signal, and the third level signal is a high-low change pulse, and the level value of the first level signal is greater than the level value of the second level signal, and the level value of the first level signal is greater than the level value of the third level signal.
[0075] For example, the level value of the first level signal is 2-3.3V, the level value of the second level signal is 0-0.8V, and the third level signal is a pulse signal of 0-3.3V.
[0076] In some embodiments, the electrical port module 300 further comprises a network transformer 316, which is disposed on the circuit board 310 and connected the network port terminal 314 and the PHY chip 313 through the wiring circuit on the circuit board 310. For example, the network transformer 316 is connected to the network port terminal 314 through four pairs of wiring, and the network transformer 316 is connected to the PHY chip through 4 pairs of MDIO interfaces, so as to facilitate the control and adjustment of the electrical signal transmission rate.
[0077] Figure 7 A circuit block diagram of an electrical port module is provided for the embodiments of the present application. As shown in Figure 7 After the network cable 103 is inserted into the network port terminal 314 of the electrical port module 300, the PHY chip 313 sets the value of the status register according to the link state of the network port terminal 314; the MCU 312 accesses the PHY chip 313 through the MDIO interface to obtain the value of the status register in the PHY chip 313; then the MCU 312 outputs the corresponding level signal to the PIN8 pin in the gold finger 311 according to the value of the status register, so that the host device can detect the level state of the PIN8 pin through the CPU to obtain the link state of the network port side of the electrical port module 300, so as to be recognized by the user.
[0078] Specifically, after the host device is electrically connected to the gold finger 311 of the electrical port module 300, the host device sends an instruction to change the function of the PIN8 pin to the MCU 312 through the I2C pin on the gold finger 311, and the MCU 312 changes the value of the first register according to the instruction to change the function of the PIN8 pin in the gold finger 311, and configures it as a network port state indication pin; then the MCU 312 accesses the PHY chip 313 through the MDIO interface to obtain the working state of the PHY chip 313; then the MCU 312 outputs the corresponding level signal to the PIN8 pin according to the working state of the PHY chip 313.
[0079] The host device can detect the level state of the PIN8 pin in the gold finger 311 through the CPU to obtain the link state of the network port side of the electrical port module 300 through the level state of the PIN8 pin. For example, the host device detects that the level state of the PIN8 pin is a first level signal, which indicates that the link state of the network port side of the electrical port module 300 is disconnected at this time; the host device detects that the level state of the PIN8 pin is a second level signal, which indicates that the network port side of the electrical port module 300 is connected at this time; the host device detects that the level state of the PIN8 pin is a high-low change pulse, which indicates that there is data interaction on the network port side of the electrical port module 300 at this time.
[0080] In some embodiments, in a conventional network port application, the on and off and flicker of the LED light are usually used to display the working state thereof for the user to identify, and thus an LED light can be additionally connected to the wire connecting the MCU 312 and the PIN 8 pin, and the link state of the network port side of the electrical port module 300 can be obtained through the display state of the LED light.
[0081] Specifically, after the host device is electrically connected with the gold finger 311 of the electrical port module 300, the host device sends an instruction for changing the function of the PIN 8 pin to the MCU 312 through the I2C pin in the gold finger 311, and the MCU 312 changes the value in the first register according to the instruction to change the function of the PIN 8 pin in the gold finger 311, and configures it as a network port state indication pin; then the MCU 312 accesses the PHY chip 313 through the MDIO interface to obtain the working state of the PHY chip 313; then the MCU 312 outputs a corresponding level signal to the PIN 8 pin according to the working state of the PHY chip 313, and the LED light connected to the PIN 8 pin displays according to the level state of the PIN 8 pin. For example, when the host device detects that the LED light is off, it indicates that the link of the network port side of the electrical port module 300 is disconnected; when the host device detects that the LED light is on, it indicates that the link of the network port side of the electrical port module 300 is connected; and when the host device detects that the LED light is flickering, it indicates that there is data interaction on the network port side of the electrical port module 300.
[0082] The present application gives the PIN 8 pin in the SFP+ gold finger a new definition, i.e., a network port state indication pin, and the MCU sends a corresponding level signal to the PIN 8 pin according to the link state of the network port terminal, and the link state of the electrical port module is indicated through the level state of the PIN 8 pin; at the end user, the HOST device can conveniently identify the link state of the RJ45 port through the level state of the PIN 8 pin, which is convenient for the user to identify, and greatly facilitates the user's convenience; at the factory end, the link state of the RJ45 port can be judged according to the level state of the PIN 8 pin, and it is easy to judge whether the function of the product is normal.
[0083] In the above embodiment, according to the requirement of the MAS-8431 protocol, the PIN 8 pin in the gold finger 311 can be defined as an RX_LOS pin for transmitting an RX_LOS signal to alarm whether the module receives an optical signal; the PIN 8 pin can also be defined as a network port state indication pin, which has different level signals according to the link state of the network port terminal 314, and the HOST device can obtain the link state of the network port side of the electrical port module 300 according to the level state of the PIN 8 pin.
[0084] When the PIN8 pin is defined as the RX_LOS pin, the level of the PIN8 pin is high when no optical signal is received, and the level of the PIN8 pin is low when an optical signal is received. When the PIN8 pin is defined as the network port status indication pin, the level of the PIN8 pin is high when the link on the network port side of the electric port module 300 is disconnected, and the level of the PIN8 pin is low when the link on the network port side of the electric port module 300 is connected.
[0085] Therefore, when the level of the PIN8 pin is high, the link on the network port side of the electric port module 300 is disconnected, and no signal can be received; when the level of the PIN8 pin is low, the link on the network port side of the electric port module 300 is connected, and a signal can be received. Therefore, the PIN8 pin can have both the RX_LOS function and the network port status indication function, and the host device can obtain the link status on the network port side of the electric module and the LOS status of the signal according to the level state of the PIN8 pin.
[0086] Specifically, the second register is arranged in the MCU 312, and the second register is used to store different register values, and the different register values are used to represent different functions of the PIN8 pin, so that the PIN8 pin has different function selection. The MCU 312 receives a host device instruction through the I2C pin, the host device instruction is used to indicate the function of the PIN8 pin, the MCU 312 stores the corresponding register value in the second register according to the host device instruction, and the MCU 312 executes the corresponding function on the PIN8 pin according to the different register values, so as to change the function selection of the PIN8 pin in the second register.
[0087] When the host device needs to define a new function of the PIN8 pin, the host device will issue a corresponding host device instruction to the MCU 312 through the I2C communication bus, and the MCU 312 stores different register values such as the third register value and the fourth register value in the second register according to the received different host device instructions, and the MCU 312 selects the function of the PIN8 pin according to the register value stored in the second register.
[0088] For example, when the third register value is stored in the second register, the PIN8 pin is defined as the RX_LOS pin by default, which is used to detect whether the received signal is lost; when the fourth register value is stored in the second register, the PIN8 pin is extended to be defined as the RX_LOS pin and the network port status indication pin, which is used to detect whether the received signal is lost and report the link status on the network port side of the electric port module 300.
[0089] In some embodiments, the MCU 312 can use 00 in the second register to correspond to the RX_LOS function of the PIN8 pin, and use 01 to correspond to the RX_LOS function of the PIN8 pin and the network port status indication function. For example, when the MCU 312 receives an instruction from the host device to configure the PIN8 pin as an RX-LOS pin, the MCU 312 sets the register value of the second register to the third register value 00, and feeds back the configuration result to the host device; when the MCU 312 polls or otherwise learns that the register value of the second register is 00, the PIN8 pin is an RX_LOS pin at this time.
[0090] When the MCU 312 receives an instruction from the host device to configure the PIN8 pin as an RX-LOS pin and a network port status indication pin, the MCU 312 sets the register value of the second register to the second register value 01, and feeds back the configuration result to the host device; when the MCU 312 polls or otherwise learns that the register value of the second register is 01, the PIN8 pin is an RX_LOS pin and a network port status indication pin at this time.
[0091] After the function of the PIN8 pin is defined according to the instruction of the host device, the MCU 312 outputs a corresponding level signal to the PIN8 pin according to the working state of the PHY chip 313, and indicates the LOS state of the received signal and the link state of the network terminal 314 according to the level state of the PIN8 pin. The host device demodulates and separates the level signal of the PIN8 pin to obtain the corresponding LOS signal and link state signal, that is, the host device can obtain the link state of the network port side of the network port module 300 and the LOS state of the received signal according to the level state of the PIN8 pin at this time.
[0092] Specifically, the MCU 312 accesses the PHY chip 313 through the MDIO interface to obtain the value of the state register in the PHY chip 313, and the MCU 312 outputs a corresponding level signal to the PIN8 pin according to the value of the state register. For example, when the value of the state register in the PHY chip 313 is the first state register value, it indicates that the link of the network port side of the network port module 300 is disconnected and the received signal is LOS, and at this time the MCU 312 outputs the fourth level signal to the PIN8 pin; when the value of the state register in the PHY chip 313 is the second state register value, it indicates that the link of the network port side of the network port module 300 is connected and the received signal is not LOS, and at this time the MCU 312 outputs the fifth level signal to the PIN8 pin.
[0093] In some embodiments, when the PIN8 pin is the RX_LOS pin, the level state thereof is only high or low; when the PIN8 pin is the network port state indication pin, the link state of the network port side has three states of disconnection, connection and data interaction, and when the network port side of the network port module 300 has data interaction, the link of the network port side is connected, and the PIN8 pin is low.
[0094] The fourth level signal is a high level signal, the fifth level signal is a low level signal, the sixth level signal is a high-low change pulse, and the level value of the fourth level signal is greater than the level value of the fifth level signal, and the level value of the fourth level signal is greater than the level value of the sixth level signal.
[0095] In this way, after the host device is electrically connected with the gold finger 311 of the network port module 300, the host device sends an instruction for changing the function of the PIN8 pin to the MCU 312 through the I2C pin on the gold finger 311, and the MCU 312 changes the value of the second register according to the instruction to change the function of the PIN8 pin in the gold finger 311, and configures it as the RX_LOS pin and the network port state indication pin, so that the PIN8 pin has the functions of indicating the link state of the network port side and receiving the LOS of the signal.
[0096] After the network cable 103 is inserted into the network port terminal 314 of the network port module 300, the PHY chip 313 sets the value of the state register according to the link state of the network port terminal 314; the MCU 312 accesses the PHY chip 313 through the MDIO interface to obtain the value of the state register in the PHY chip 313; and then the MCU 312 outputs the corresponding level signal to the PIN8 pin according to the value of the state register, so that the host device can detect the level state of the PIN8 pin through the CPU to obtain the link state of the network port side of the network port module 300 and the LOS state of the received signal, so as to be recognized by the user.
[0097] For example, when the host device detects that the level state of the PIN8 pin is high, the link of the network port side of the network port module 300 is disconnected, and the received signal is LOS; when the host device detects that the level state of the PIN8 pin is low, the link of the network port side of the network port module 300 is connected, and the received signal is not LOS; and when the host device detects that the level state of the PIN8 pin is a high-low change pulse, the network port side of the network port module 300 has data interaction, and the received signal is not LOS.
[0098] In some embodiments, in a conventional network port application, the on-off and flicker of the LED light is usually used to show its working state for the user to identify, so an LED light can also be added on the wire connecting the MCU 312 and the PIN8 pin, and the link state of the network port module 300 and the LOS state of the received signal can be obtained through the display state of the LED light.
[0099] Specifically, after the host device is electrically connected with the gold finger 311 of the network port module 300, the host device sends an instruction to change the function of the PIN8 pin to the MCU 312 through the I2C pin in the gold finger 311, and the MCU 312 changes the value in the second register according to the instruction to change the function of the PIN8 pin in the gold finger 311, and configures it as an RX_LOS pin and a network port state indication pin; then the MCU 312 accesses the PHY chip 313 through the MDIO interface to obtain the working state of the PHY chip 313; then the MCU 312 outputs a corresponding level signal to the PIN8 pin according to the working state of the PHY chip 313, and the LED light connected with the PIN8 pin displays according to the level state of the PIN8 pin.
[0100] For example, when the host device detects that the LED light is off, it indicates that the link of the network port module 300 is disconnected, and the received signal is LOS; when the host device detects that the LED light is on, it indicates that the link of the network port module 300 is connected, and the received signal is not LOS; when the host device detects that the LED light is flickering, it indicates that there is data interaction on the network port side of the network port module 300, and the received signal is not LOS.
[0101] The PIN8 pin in the SFP+ gold finger is given a new definition in the present application, which is defined as an RX_LOS pin and a network port state indication pin, so that the PIN8 pin has both the LOS function and the network port state indication function; the MCU sends a corresponding level signal to the PIN8 pin according to the link state of the network port terminal, and the link state of the network port module and the LOS state of the received signal are indicated through the level state of the PIN8 pin; at the end user, the HOST device can conveniently identify the link state of the RJ45 port and the LOS state of the received signal through the level state of the PIN8 pin, which is convenient for the user to identify, greatly improving the user's convenience; at the factory end, the link state of the RJ45 port and the LOS state of the received signal can be judged according to the level state of the PIN8 pin, and the function of the product can be easily judged.
[0102] Figure 8 A structural schematic diagram of a lower shell in an electrical port module provided by an embodiment of the present application is shown in FIG. 1, Figure 9 A structural schematic diagram of a lower shell, a circuit board and a network port terminal in an electrical port module provided by an embodiment of the present application is shown in FIG. 2, Figure 8 ,Figure 9 As shown, one end of the lower shell 302 is provided with a fixing cavity 3021 for accommodating the network port terminal 314; the network port terminal 314 is embedded into the fixing cavity 3021 from one end of the lower shell 302, and then is fixed and limited in the fixing cavity 3021 by the unlocking component 303.
[0103] The other end of the fixing cavity 3021 is provided with a support card seat 3022 on each side, and the support card seat 3022 is used for supporting and fixing the circuit board 310, so as to facilitate the assembly and fixation of the circuit board 310. In some embodiments, the support card seat 3022 is provided with a support card slot 3023, and the opening of the support card slot 3023 faces the fixing cavity 3021.
[0104] The circuit board 310 is provided with a notch 315 on each side of one end of the gold finger 311, and the notch 315 corresponds to the support card slot 3023 on the support card seat 3022, and is used for limiting and fixing the circuit board 310, so as to facilitate the fixation of the circuit board 310 in the lower shell 302.
[0105] In the electrical port module assembly process provided by the embodiment of the present application, after the MCU 312, the PHY chip 313, the network port terminal 314 and the like are welded and assembled on the circuit board 310, the circuit board 310 is inserted from one end of the lower shell 302 until the notch 315 on the circuit board 310 cooperates with the support card slot 3023, and then the unlocking component 303, the upper shell 301 and the like are assembled. In this way, the circuit board 310 and the lower shell 302 are conveniently assembled, and the assembly efficiency of the electrical port module 300 is improved.
[0106] Figure 10 An assembly of a cover plate and an unlocker in an electrical port module provided by the embodiment of the present application Figure 1 , Figure 11 An assembly of a cover plate and an unlocker in an electrical port module provided by the embodiment of the present application Figure 2 . As shown in Figure 10 , Figure 11 The upper shell 301 includes a cover plate 306, and the cover plate 306 includes a first support plate and a second support plate. The first support plate is fixedly connected with the second support plate through a connecting plate, and the connecting plate is obliquely arranged along the left-right direction, that is, the top surface of the first support plate protrudes from the top surface of the second support plate. The connecting plate is provided with a through hole, and the inner wall of the first support plate is communicated with the top surface of the second support plate through the through hole.
[0107] The top surface of the second support plate is provided with a positioning protrusion 3061, and the positioning protrusion 3061 is a wedge-shaped protrusion on the top surface of the second support plate, and is a non-moving part. The positioning protrusion is arranged opposite to a sheet spring lock hole on a cage of a host device, and when the sheet spring lock hole is buckled on the positioning protrusion 3061, the electrical port module 300 and the cage are locked with each other and are not easy to be unlocked.
[0108] The unlocking component 303 comprises a handle 3031 and an unlocking device 3032, the unlocking device 3032 is arranged on the inner side of the cover plate 306, one end of the unlocking device 3032 passes through the through hole on the top surface of the second support plate, and the unlocking device 3032 can move left and right on the inner side of the cover plate 306; when the unlocking device 3032 moves to the right, the unlocking device 3032 can push open the spring on the cage, so that the cage is separated from the positioning protrusion 3061, thereby realizing the unlocking of the electric port module 300 and the cage.
[0109] One end of the unlocking device 3032 is provided with a first wedge block 30320 and a second wedge block 30321, the first wedge block 30320 and the second wedge block 30321 extend rightward from the right side surface of the unlocking device 3032, the height dimension of the first wedge block 30320 and the second wedge block 30321 gradually decreases in the left-to-right direction, and there is a gap between the first wedge block 30320 and the second wedge block 30321, the gap is arranged opposite to the positioning protrusion 3061.
[0110] In some embodiments, the distance between the first wedge block 30320 and the second wedge block 30321 is greater than the locking surface of the positioning protrusion 3061, that is, greater than the maximum width of the positioning protrusion 3061, so that when the unlocking device 3032 moves to the right to the positioning protrusion 3061, the first wedge block 30320 and the second wedge block 30321 can stretch out to the right beyond the positioning protrusion 3061, and the slanted surface on the upper side of the first wedge block 30320 and the second wedge block 30321 can push open the spring hole on the cage from the positioning protrusion 3061, so that the cage is separated from the positioning protrusion 3061, thereby completing the unlocking when the unlocking device 3032 slides to the right.
[0111] The unlocking component 303 further comprises a reset spring 3033, one end of the reset spring 3033 is connected with the cover plate 306, and the other end of the reset spring 3033 is connected with the unlocking device 3032, so that the reset spring 3033 is not easy to be detached. When the unlocking component 303 is in the unlocking state, the unlocking device 3032 can automatically rebound under the action of the reset spring 3033.
[0112] Figure 12 A schematic assembly view of a lower shell, a circuit board, a cover plate and an unlocking device in an electric port module is provided for the embodiments of the present application, Figure 13 A schematic assembly view of a lower shell, a circuit board, a cover plate, an unlocking device and a handle in an electric port module is provided for the embodiments of the present application. As Figure 12 、 Figure 13As shown, after the circuit board 310 and the network port terminal 314 are assembled together, the assembly direction (from left to right) is assembled to the lower shell 302, then the cover plate 306 and the unlocker 3032 are assembled to the lower shell 302, then the handle 3031 is assembled to the fixed cavity 3021 of the lower shell 302, so that the handle 3031 can rotate at the left side of the fixed cavity 3021, and the force applying part of the handle 3031 is in close contact with the force receiving part of the unlocker 3032, and finally the cover plate 306 and the lower shell 302 are fixedly connected by locking screws.
[0113] When the handle 3031 is in the vertical state, the network port module 300 is in the locked state, the reset spring 3033 is in the compressed state, the force receiving part of the unlocker 3032 abuts against the unlocking surface of the handle 3031, and the unlocker 3032 and the handle 3031 are ensured not to be loose, and the distance between the extended side of the unlocker 3032 and the positioning protrusion 3061 meets the protocol requirements.
[0114] When the user wants to unlock the network port module 300, the handle 3031 is held and rotated from bottom to top, the unlocking surface of the handle 3031 abuts against the force receiving part of the unlocker 3032, and the unlocker 3032 is driven to move to the right; when the handle 3031 is in the horizontal state, one end of the unlocker 3032 moves to the right to the through hole, the first wedge-shaped block 30320 and the second wedge-shaped block 30321 move to the right to the positioning protrusion 3061, the first wedge-shaped block 30320 and the second wedge-shaped block 30321 abut against the spring lock hole on the cage to make the cage and the positioning protrusion 3061 disengage, so as to realize the unlocking of the network port module 300. When the network port module 300 is in the unlocked state, the handle 3031 is pulled outwards, and the network port module 300 can be smoothly pulled out of the cage.
[0115] When the user releases the handle 3031, the unlocker 3032 moves to the left under the reset force of the reset spring 3033 in the stretched state, the unlocker 3032 drives the handle 3031 to rotate from top to bottom, so that the handle 3031 realizes automatic reset.
[0116] In the network port module provided by the embodiment, after the MCU, the PHY chip, the network port terminal and the like are welded and assembled to the circuit board 310, the circuit board is inserted from one end of the lower shell until the notch on the circuit board is matched with the support clamping groove on the lower shell; then the unlocker is assembled to the cover plate, and the unlocker can move left and right on the cover plate; then the unlocker and the cover plate are assembled to the lower shell; then the handle is arranged on the lower shell, so that the handle can rotate on the lower shell, and the handle can drive the unlocker to move left and right on the cover plate when the handle rotates, so as to realize the assembly of the network port module.
[0117] After the assembly of the electrical port module is completed, the electrical port module is inserted into the HOST device to realize the connection of the electrical port module and the HOST device; then the network cable is inserted into the network port terminal of the electrical port module, the network port terminal sends its link state to the state register in the PHY chip, and the corresponding state register value is set in the state register according to the link state of the network port terminal; then the host device sends an instruction to change the function of the PIN8 pin to the MCU through the I2C pin in the golden finger, and the MCU changes the value in the first register according to the instruction to change the function of the PIN8 pin, assigns the PIN8 pin in the SFP+ golden finger with a new function, and defines it as a network port state indication pin; then the MCU accesses the PHY chip through the MDIO interface, and obtains the working state of the PHY chip according to the state register value stored in the state register; then the MCU outputs a corresponding level signal to the PIN8 pin according to the working state of the PHY chip, which is used to indicate the link state of the RJ45 port; then the HOST device can detect the level state of the PIN8 pin in the golden finger through its CPU to obtain the link state of the network port side of the electrical port module through the level state of the PIN8 pin, so as to be recognized by the user. An LED lamp can also be added on the wire connecting the MCU and the PIN8 pin, and the link state of the network port side of the electrical port module 300 can be obtained through the display state of the LED lamp.
[0118] When the level signal of the PIN8 pin is high or the LED lamp is off, it indicates that the link state of the network port side of the electrical port module is disconnected; when the level signal of the PIN8 pin is low or the LED lamp is on, it indicates that the link of the network port side of the electrical port module is connected; when the level signal of the PIN8 pin is a high-low change pulse or the LED lamp flashes, it indicates that there is data interaction on the network port side of the electrical port module.
[0119] In this way, at the factory end, the link state of the RJ45 port can be judged according to the level state of the PIN8 pin, and it is easy to judge whether the function of the product is normal; at the end user, the HOST device can obtain the link state of the RJ45 port of the electrical port module and display it according to the level state of the PIN8 pin, which is convenient for the user to recognize, and greatly facilitates the user's convenience.
[0120] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An electrical port module, characterized by The application relates to a circuit board provided with a gold finger at an end, wherein the gold finger comprises I2C pins and multiplexing pins; a network port terminal electrically connected with the circuit board and used for signal transmission through a network cable; a PHY chip arranged on the circuit board and comprising a state register used for storing a state register value corresponding to a link state of the network port terminal; and an MCU arranged on the circuit board, one end of which is connected with the I2C pins and the multiplexing pins, and the other end of which is connected with the PHY chip, and the MCU is used for accessing and acquiring the state register value and sending a corresponding level signal to the multiplexing pins according to the state register value. The MCU comprises a second register used for storing a register value corresponding to a host device instruction, and the MCU performs corresponding function setting on the multiplexing pins according to the register value, so that the multiplexing pins simultaneously have a network port state indication function and an LOS function of receiving a signal; when the multiplexing pins simultaneously have the network port state indication function and the LOS function of receiving a signal, the link state of the network port terminal and the LOS state of the received signal are obtained according to the level signal of the multiplexing pins. When the second register stores a third register value, the MCU configures the multiplexing pins as RX_LOS pins according to the third register value. When the second register stores a fourth register value, the MCU configures the multiplexing pins as RX_LOS pins and network port state indication pins according to the fourth register value. The state register stores a first state register value, a second state register value or a third state register value, the first state register value is used for indicating that a link of a network port side of the circuit board is disconnected, the second state register value is used for indicating that the link of the network port side of the circuit board is connected, and the third state register value is used for indicating that data interaction exists on the network port side of the circuit board. When the state register stores the first state register value, the MCU sends a fourth level signal to the multiplexing pins according to the first state register value.
2. The electrical port module of claim 1, wherein, When the state register stores the second state register value, the MCU sends a fifth level signal to the multiplexing pins according to the second state register value. When the state register stores the third state register value, the MCU sends a sixth level signal to the multiplexing pins according to the third state register value.
3. The electrical port module of claim 1, wherein, The fourth level signal is a high level signal, the fifth level signal is a low level signal, and the sixth level signal is a high-low change pulse.
4. The electrical port module of claim 3, wherein, The level value of the fourth level signal is greater than the level value of the fifth level signal, and the level value of the fourth level signal is greater than the level value of the sixth level signal. When the multiplexing pins simultaneously have the network port state indication function and the LOS function of receiving a signal, and when the level signal of the multiplexing pins is the fourth level signal, the link of the network port side of the circuit board is disconnected, and the received signal is LOS. 5. The electrical port module of claim 4, wherein, 6. The electrical port module of claim 5, wherein, When the level signal of the multiplexing pin is the fifth level signal, the link connection of the network port side of the electric port module exists, and the received signal is not LOS; When the level signal of the multiplexing pin is the sixth level signal, the data interaction of the network port side of the electric port module exists, and the received signal is not LOS.
7. The electrical port module of claim 3, wherein, The MCU is connected with a wire of the multiplexing pin, and the MCU controls the display state of the LED lamp according to the state register value stored in the state register, so as to obtain the link state of the network port side of the electric port module and the LOS state of the received signal according to the display state of the LED lamp.
8. The electrical port module of claim 7, wherein, When the state register stores the first state register value, the MCU controls the display state of the LED lamp to be the first state according to the first state register value. When the state register stores the second state register value, the MCU controls the display state of the LED lamp to be the second state according to the second state register value. When the state register stores the third state register value, the MCU controls the display state of the LED lamp to be the third state according to the third state register value.
9. The electrical port module of claim 8, wherein, The first state of the LED lamp is off, the second state of the LED lamp is on, and the third state of the LED lamp is flickering.
10. The electrical port module of claim 1, wherein, The multiplexing pin is a PIN8 pin.
Citation Information
Patent Citations
Pin multiplexing method and device, optical module and communication device
CN107171661A
System and method for expanding and supporting optical communication link protection switching application by optical module
CN112039582A