CN117041117A - Method for detecting internal communication link of electric port module - Google Patents

Method for detecting internal communication link of electric port module Download PDF

Info

Publication number
CN117041117A
CN117041117A CN202311110839.6A CN202311110839A CN117041117A CN 117041117 A CN117041117 A CN 117041117A CN 202311110839 A CN202311110839 A CN 202311110839A CN 117041117 A CN117041117 A CN 117041117A
Authority
CN
China
Prior art keywords
port module
electric port
communication link
tested
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311110839.6A
Other languages
Chinese (zh)
Inventor
陈健
邹国强
张倩武
陈旭东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN202311110839.6A priority Critical patent/CN117041117A/en
Publication of CN117041117A publication Critical patent/CN117041117A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability

Abstract

The invention discloses a method for detecting an internal communication link of an electric port module, which is characterized by comprising the following steps: establishing physical communication link connection of the electric port module; configuring an internal communication link of the electric port module; and checking and comparing data packet data received and transmitted by the electric port module. The method for detecting the internal communication link of the electric port module can be used for rapidly and effectively detecting whether the communication link of the electric port module is good or not, and simultaneously, the problem of the inferior electric port module can be rapidly located.

Description

Method for detecting internal communication link of electric port module
Technical Field
The invention relates to the technical field of communication, in particular to a method for detecting an internal communication link of an electric port module.
Background
Through long-term development, the Ethernet has become the most widely applied local area network, and the tera Ethernet has the advantages of high speed, low cost, high reliability, simple installation, easy maintenance, upgradeability and the like, while the 10GBASE-T is an important technology for transmitting data by a 10G network. The 10G electric port module is used as a signal forwarding device, and can realize 10Gbit/s transmission on unshielded or shielded twisted pair (more than six types), and the furthest transmission distance is up to 100m. As signal rates increase, production testing of electrical port modules presents new challenges.
In the actual electric port module production line at present, the forwarding capacity of the module itself needs to be verified, and whether the high-speed signal is completely received and transmitted through the electric port module is verified. Since many pipeline employees do not have the ability to operate a skilled computer, it is desirable that the verification process be as simple as possible and that the operation be as convenient as possible. At present, no clear regulation is made on the aspect of test and verification of the electric module, and the measures adopted by various module manufacturers to cope with the problem are different.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the present invention aims to improve the efficiency of detecting an electric port module. The existing method for detecting the communication link of the electric port module needs to use at least 2 computers, 4 electric port modules, the computer A sends data to the computer B through the communication links established by the 4 electric port modules, and the computer B detects the received data, so that the quality of the electric port module is judged, the process is complicated, more equipment is needed, and the detection efficiency is low. The invention provides a method for detecting an internal communication link of an electric port module, which can be used for rapidly and effectively detecting whether the communication link of the electric port module is good or not, and simultaneously, can rapidly locate the problem of a bad electric port module and improve the efficiency of detecting the electric port module.
In order to achieve the above object, the present invention provides a method for detecting an internal communication link of an electrical port module, including:
establishing physical communication link connection between a reference electric port module and an electric port module to be tested;
after the physical communication link is connected, reading and configuring a register in the reference electric port module to configure the communication link in the reference electric port module;
and after the internal communication link of the reference electric port module is referred, checking and comparing the data packet data received and transmitted by the reference electric port module.
Further, establishing physical communication link connection between the reference electric port module and the electric port module to be tested, so that the data packet can complete communication between the reference electric port module and the electric port module to be tested;
the parallel port-to-network port is used for connecting the upper computer to the test board, the reference electric port module and the electric port module to be tested are respectively inserted into the test board, the electric port module to be tested and the test board are in communication connection through the coaxial cable, and then the reference electric port module and the electric port module to be tested are connected through the super-six type network cables.
Further, the reference electric port module does not need to be replaced after being inserted into the test board; the electric port module to be tested is a module to be tested, and after 10G rate connection is established between the electric port module to be tested and the REF through replacement, testing is carried out.
Further, the method for establishing the physical communication link connection of the electric port module specifically comprises the following steps:
the test board is used for supplying power to the reference electric port module and the electric port module to be tested, and meanwhile, communication connection between the computer upper computer and the reference electric port module REF is established;
a CAT6A network cable is used for connecting a reference electric port module REF and an electric port module DUT to be tested, 10G rate connection is established through auto-negotiation, and data packets are sent and received through the network cable;
and the coaxial cable to be tested is connected with the golden finger end of the electric port module to be tested, so that the self-loop of the electric signal is completed.
Further, when the communication connection between the computer upper computer and the reference electric port module is established, the computer upper computer cannot directly access the PHY chip register of the reference electric port module, and the I2C and MDIO communication interface protocol conversion is completed through the MCU in the reference electric port module, so that the PHY chip register of the reference electric port module can be read and written through the upper computer.
Further, the CAT6A network cable is used for connecting the reference electric port module and the electric port module to be tested, and 10G rate connection is established through auto-negotiation, specifically, any one end of the reference electric port module and any one end of the electric port module to be tested are used for sending self-supported working mode information to the opposite end, receiving the working mode information transmitted by the opposite end, then selecting one working mode which is supported by both sides and is optimal according to the received mode information as a negotiated working mode, and when both modules support 10G rate, the two modules automatically negotiate to a 10G rate full duplex working mode.
Further, the coaxial cable is used for connecting the golden finger end of the electric port module to be tested to complete the self-loop of the electric signal, and the method specifically comprises the steps that the golden finger end of the electric port module to be tested is led out to the golden finger through the differential wiring, the golden finger is inserted into the slot of the test board and is connected to the SMA interface through the differential wiring, the coaxial cable is used for completing the loop of Tx to Rx, the data packet transmits the electric signal from the Tx to return to the RX end of the electric port module, and the self-loop connection of the module to be tested is completed.
Further, the configuration of the internal communication link of the electric port module specifically includes that the PHY register of the reference electric port module is read and written by the upper computer, and the configuration is as follows: enabling packet transmission, enabling packet inspection, configuring the number of outgoing packets, configuring the packet transmission and reception directions.
Further, checking and comparing data packet data received and transmitted by the reference electric port module, wherein the data packet data is transmitted from the reference module through a set communication link, reading the data packet data returned by the module to be tested, comparing the transmitted and received data packet data, and judging that the communication link inside the electric port module to be tested is good when the data packet data is consistent.
Further, the auto-negotiation function allows a network device to transmit its own supported working mode information to the opposite end on the network, and receive the corresponding information possibly transmitted by the opposite end, so as to complete duplex and rate auto-negotiation;
each network device sends out FLP when power-on, management command sending or user intervention, and negotiation information is encapsulated in the FLP sequences; the FLP contains a clock/digital sequence, and the data are extracted from the clock/digital sequence to obtain the working mode supported by the opposite terminal equipment and other information for negotiating a handshake mechanism;
when switching FLP, two stations detect the best mode common to both parties according to the priority from high to low, and the tera-megaradio port module supports 10G rate, and establish 10G rate connection through auto-negotiation.
Further, checking data of the data packets received and transmitted by the comparison electric port module, wherein the data packets specifically comprise the data packets which are transmitted from the reference module through a set communication link, reading the number of the data packets returned by the module to be tested, comparing the number of the transmitted and received data packets, and judging that the communication link inside the electric port module to be tested is good when the data packets are consistent.
Technical effects
According to the method for detecting the internal communication link of the electric port module, the communication link connection of the electric port module is established by using the test board, so that the function of reading and writing the PHY register by the upper computer is realized; establishing a data packet checking loop link of the electric port module, realizing the loop checking of the data packet by configuring a register, and rapidly judging whether the internal communication link of the electric port module is good or not by comparing the quantity of the transmitted and received data packets; the problem that an electric port module manufacturer can quickly inspect the electric port module and quickly locate the inferior electric port module is solved. The method for detecting the internal communication link of the electric port module can provide detection efficiency, records the detection times of one minute, and can reach 100% of detection accuracy, and for the electric port module with poor communication link, the data packet cannot return to the reference electric port module.
The conception, specific structure, and technical effects of the present invention will be further described with reference to the accompanying drawings to fully understand the objects, features, and effects of the present invention.
Drawings
FIG. 1 is a schematic diagram of a system configuration of a method for detecting an internal communication link of an electrical port module according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of an I2C-to-MDIO system for detecting an internal communication link of an electrical port module according to a preferred embodiment of the present invention;
FIG. 3 is a schematic diagram of a PHY chip internal data packet generation and inspection path of an electrical port module internal communication link detection method according to a preferred embodiment of the present invention;
fig. 4 is a schematic workflow diagram of a method for detecting an internal communication link of an electrical port module according to a preferred embodiment of the present invention.
The conception, specific structure, and technical effects of the present invention will be further described with reference to the accompanying drawings to fully understand the objects, features, and effects of the present invention.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear, the invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular internal procedures, techniques, etc. in order to provide a thorough understanding of embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
As shown in fig. 1, the embodiment of the invention provides a system structure of an electric port module internal communication link detection method, which comprises a test board, a reference electric port module, an electric port module to be tested, an upper computer, a CAT6A network cable and a coaxial cable, wherein,
the upper computer is operated on the computer and used for receiving the instruction input by the user and sending the instruction to the reference electric port module; and the register value reading device is also used for reading the register value and displaying the register value. The communication link inside the reference electric port module can be configured by inputting instructions through the upper computer, and the communication link comprises a transmission and reception detection path of the data packet, a transmission number of the data packet is configured, and the number of the returned received data packet is checked.
The test board is used for connecting the upper computer with the electric port module and looping back an electric signal of the Serdes end of the reference electric port module to the receiving end of the electric port module through a coaxial cable; meanwhile, working voltage is provided for the electric port module, and normal operation of the electric port module is ensured.
The reference electric port module is used for receiving an instruction of the upper computer, generating data packets through the PHY chip and receiving the looped data packets, and the upper computer can read the number of the data packets and establish a 10G-rate communication link with the electric port module to be tested through a network cable.
The electric port module to be tested is used for establishing a 10G rate communication link with the reference electric port module, receiving the data packet from the reference electric port module, returning the data packet to the PHY chip through the Serdes end self-loop, and returning the data packet to the reference electric port module through a network cable.
The embodiment of the invention provides a method for detecting an internal communication link of an electric port module, which comprises the following steps:
step 100, establishing physical communication link connection between a reference electric port module and an electric port module to be tested;
step 200, after the connection of the physical communication link is completed, reading and configuring a register in the reference electric port module to configure the internal communication link of the reference electric port module;
and 300, after the internal communication link of the electric port module is consulted, checking and comparing the data packet data received and transmitted by the reference electric port module.
In the embodiment, a parallel port to network port is used for connecting a computer upper computer to a test board, and the upper computer running on the computer upper computer can read and configure an internal register of a reference electric port module REF through connection so as to configure a communication link in the electric port module; using CAT6A network cable to connect REF and RJ45 port of DUT, establishing 10G rate connection, and sending and receiving data packet through network cable; the self-loop is established by connecting the golden finger ends through a coaxial cable, and the data packet is sent from the REF, passes through the DUT and then loops back to the REF. As shown in FIG. 1, the computer is connected with the test board through a serial port to network port line, and the golden finger end of the electric port module is inserted into the SFP slot on the test board, and through the connection, the upper computer running on the computer can access the PHY chip configured with the electric port module. The reference electric port module is connected with an RJ45 end of the electric port module to be tested through a CAT6A network cable, a golden finger end of the electric port module to be tested is connected with a testing board through an SFP slot by means of an electric signal of the golden finger end, an SMA interface is reserved on the testing board, and the self-loop is completed by connecting TX and RX of the SMA interface through a coaxial cable.
The method comprises the steps of establishing physical communication link connection between a reference electric port module and an electric port module to be tested, wherein the physical communication link connection is used for enabling a data packet to complete communication between the reference electric port module and the electric port module to be tested; the method specifically comprises the following steps:
and the parallel port to network port is used for connecting the computer upper computer to the test board, the reference electric port module and the electric port module to be tested are respectively inserted into the test board, the electric port module to be tested and the test board are in communication connection through a coaxial cable, and then the reference electric port module and the electric port module to be tested are connected through more than six types of network cables.
The reference electric port module is not required to be replaced after being inserted into the test board; the electric port module to be tested is a module to be tested, and after 10G rate connection is established between the electric port module to be tested and the REF through replacement, testing is carried out.
Step 100, establishing a physical communication link connection between a reference electric port module and an electric port module to be tested, which specifically comprises the following steps:
step 101, using a test board to supply power for a reference electric port module and an electric port module to be tested, and simultaneously establishing communication connection between a computer upper computer and the reference electric port module REF;
102, connecting a reference electric port module REF and an electric port module DUT to be tested by using a CAT6A network cable, establishing 10G rate connection by auto-negotiation, and sending and receiving data packets by the network cable;
and 103, connecting the Serdes end of the electric port module to be tested by using a coaxial cable to be tested, and completing the self-loop of the electric signal.
When the communication connection between the upper computer and the reference electric port module is established, the upper computer cannot directly access the PHY chip register of the reference electric port module, and I2C and MDIO communication interface protocol conversion is completed through the MCU in the reference electric port module, so that the upper computer can read and write the PHY chip register of the reference electric port module.
The CAT6A network cable is used for connecting the reference electric port module and the electric port module to be tested, 10G rate connection is established through auto-negotiation, and specifically, any one end of the reference electric port module and any one end of the electric port module to be tested are used for sending self-supported working mode information to an opposite end, receiving the working mode information transmitted by the opposite end, then selecting one working mode which is supported by both sides and is optimal according to the received mode information as a negotiated working mode, and when both modules support 10G rate, the two modules automatically negotiate to a 10G rate full duplex working mode.
The method specifically comprises the steps that the Serdes end of the electric port module to be tested is led out to be a golden finger through a differential line, the golden finger is inserted into a slot of a test board and is connected to an SMA interface through the differential line, the coaxial cable is used for completing loop back from Tx to Rx, a data packet is transmitted from the Tx, the electric signal is returned to the RX end of the electric port module, and self loop back connection of the module to be tested is completed.
The configuration of the internal communication link of the electric port module specifically comprises the following steps of reading and writing a PHY register of the reference electric port module through an upper computer: enabling packet transmission, enabling packet inspection, configuring the number of outgoing packets, configuring the packet transmission and reception directions.
And checking and comparing the data packet data received and transmitted by the reference electric port module, wherein the data packet data is transmitted from the reference module through a set communication link, reading the data packet data returned by the module to be tested, comparing the transmitted and received data packet data, and judging that the communication link inside the electric port module to be tested is good when the data packet data is consistent.
The auto-negotiation function allows a network device to transmit its own supported working mode information to the opposite end of the network, and receive the corresponding information possibly transmitted by the opposite end, so as to complete duplex and rate auto-negotiation;
each network device sends out FLP when power-on, management command sending or user intervention, and negotiation information is encapsulated in the FLP sequences; the FLP contains a clock/digital sequence, and the data are extracted from the clock/digital sequence to obtain the working mode supported by the opposite terminal equipment and other information for negotiating a handshake mechanism;
when switching FLP, two stations detect the best mode common to both parties according to the priority from high to low, and the tera-megaradio port module supports 10G rate, and establish 10G rate connection through auto-negotiation.
The method for detecting the internal communication link of the electric port module is a method for realizing I2C and MDIO communication protocol conversion, and as shown in fig. 2, the I2C communication frame structure is reformulated to meet the access of an MDIO register, and an MCU in the electric port module is used as a bridge, so that a communication link for reading and writing PHY chips from a computer upper computer is established. The principle is based on an internal register of the PHY, a reserved slave address or the register is used for providing an access interface of MDIO, and the MCU realizes the access of MDIO data through the register.
The embodiment of the invention discloses a method for detecting an internal communication link of an electric port module, which relates to a path for generating and checking a data packet in a PHY chip, as shown in figure 1, by configuring a reference electric port module register through a computer upper computer, the functions of generating the data packet and checking the data packet are opened, meanwhile, the output path of the data packet is set to be transmitted from the output end of a physical coding layer PCS, the checking path of the data packet is set to be input from the receiving end of the physical coding layer PCS, and the setting of the communication link of the reference electric port module is completed.
A method for detecting an internal communication link of an electric interface module according to the present invention will be described with reference to fig. 4, and includes the following steps:
and establishing physical communication link connection between the reference electric port module and the electric port module to be tested, connecting the reference electric port module and the electric port module to be tested by using a CAT6A network cable, and establishing 10G rate connection between the reference electric port module and the electric port module to be tested. And (3) using a coaxial cable to carry out self-loop connection on the golden finger end of the reference electric port module. And the communication connection between the computer upper computer and the reference electric port module is completed by using the test board.
The reference electric port module and the electric port module to be tested are respectively provided with two interfaces, wherein one end of the interface is a golden finger packaged by a 20-pin SFP, the golden finger is inserted into a slot of a test board through the SFP, meanwhile, serdes high-speed signals are led out to the SMA interface on the test board through the golden finger, RX and TX of the SMA interface are connected through a coaxial cable, serdes high-speed signals coming out of an Ethernet physical layer chip are electric signals, the golden finger ends of the signals need two pairs of differential signal transmission, input signals are divided into RX+ and RX-, output signals are divided into TX+ and TX-, when RX+ is connected to TX+, RX-is connected to TX-, namely the golden finger electric signals are output and connected to input, and the electric signal self-loop is completed.
The other end is an RJ45 interface, the RJ45 end of the electric port module REF and the RJ45 end of the electric port module DUT are connected through a network cable, the working mode information supported by the electric port module REF is transmitted to the opposite end on the network by sending FLP (quick connection pulse), and the electric port module receives corresponding information possibly transmitted by the opposite party to complete auto-negotiation, when the two electric port modules support 10G, the rate of establishing Ethernet communication connection is 10G, 4 pairs of differential signals coming out from an Ethernet physical layer chip can be transmitted to the 10G Ethernet through 4 pairs of twisted pair wires in the network cable, and the signals are transmitted to the electric port module DUT through the transmission cable, and analog signals are converted into digital signals through the physical layer chip.
The serial port-to-network port is used for connecting the computer with the test board, the upper computer running on the computer is connected to the electric port module inserted into the test board through the SPI protocol, the main control chip in the electric port module is used for completing the conversion between the SPI protocol and the MDI protocol, and the upper computer can directly read and write the physical layer chip register.
The configuration reference electric port module internal communication link uses the computer upper computer to configure the path of the PHY chip internal data packet generation and inspection, including enabling data packet transmission, enabling data packet inspection, configuring data packet legal number, configuring data packet transmission and receiving direction.
The upper computer can complete reading and writing the register of the PHY chip of the reference electric port module REF, in the embodiment, a Marvell PHY chip is adopted, and the reading of the PHY chip data manual can be as follows:
the c00b register controls the injection path of the data packet;
DC90 register control packet Enable;
DCA0 register control packet check enable;
the DC95 register controls the number of data packet transmissions;
the DC97 register counts the number of transmitted data packets;
the DCA1 register counts the number of received packets.
By configuring the register values, the configuration of the communication link can be completed.
Configuration: the value is written to the PHY chip related register of the reference electrical port module REF.
The function of the configuration here is to enable the reference port module REF to send out packets, receive check packets, specify the number of packets to send, specify the PHY chip packets of the REF to send out from the RJ45 end, and specify the REF to check packets from the RJ45 end.
The specific configuration is as follows:
c00b is set to 0010, and the injection path of the data packet is selected to inject into the PCS input terminal of the physical coding layer.
DC90 is set to 0113 and opens the packet enable to enable the chip to generate the packet.
DCA0 is set to 0107, and packet inspection enable is turned on to enable the chip to inspect the number of packets.
And 3, setting the DC95 to be 0FFF, and setting the number of data packet transmission, namely, the number of data packets transmitted by the reference electric port module to be 4095 data packets.
The dc97 checks the number of packets sent, and when a packet is successfully sent, this value is consistent with the number set by DC95, i.e. the DC97 register is read, and if the return register value is 0FFF, it can be verified that the packet has been generated and sent from the reference module.
And 3. The DCA1 is used for receiving data packet inspection, the number of the data packets is consistent with the number set by the DC95 after the data packets pass through the loop of the module to be detected, namely, the internal link of the electric port module to be detected can be judged to be good after reading.
Examples: after the physical communication link of the electric port module is established, accessing a register of the reference electric port module through an upper computer, wherein the specific configuration is that 1.C00B is set to 0010; DC90 is set to 0113; DCA0 is set to 0107; dc95 is set to 0FFF. After the register is configured, 4095 data packets are generated inside the PHY chip and are injected into a physical coding layer PCS, the PCS layer mainly has the functions of carrying out 64B/66B coding, scrambling, transmission speed change and the like on the data, then digital signals are converted into analog signals, the analog signals are sent to an RJ45 end of an electric port module to be tested through an RJ45 network terminal, the electric port module to be tested converts the received analog signals into digital signals, 4095 data packets can be obtained through decoding of the PCS layer, parallel data are converted into serial data through Serdes and are output by a golden finger end as electric signals, the electric signals are looped back to the electric port module to be tested through a coaxial cable connected with a retest board, and the electric signals are transmitted to a reference electric port module through a network cable after being coded by the PCS layer. The reference electric interface module receives the signal and decodes the signal to obtain 4095 data packets, namely, after reading the 3.DCA1 register, the value is 0FFF (0 FFF is hexadecimal, and is 4095 after being converted into decimal).
And judging whether the internal communication link of the electric port module to be tested is good or not by comparing the number of data packets sent and received by the reference electric port module.
The dc97 checks the number of packets sent, and this value will be the same as the number set by the dc95.
And 3. The DCA1 is used for receiving data packet inspection, and if the number of the data packets is consistent with the number set by the 3.DC95 after the data packets pass through the loop of the module to be detected, the internal link of the electric port module to be detected can be judged to be intact.
In this embodiment, 10s completes the test of one electric port module, only needs to insert the electric port module to be tested, configures the reference electric port module REF to send a fixed number of data packets, and reads the data packets received in the REF register. Where 1.c00b, 3.dc90, 3.dca0 need only be set once at REF, in subsequent testing only the transmitted packets need to be configured, and then (the time required for the packet transfer rate to reach 10Gbps from REF to DUT to loop back to REF) check 3.dc95 (confirm whether the packet was transmitted or not, this step may not be required) check the read 3.dc97 register value.
The foregoing describes in detail preferred embodiments of the present invention. It should be understood that numerous modifications and variations can be made in accordance with the concepts of the invention by one of ordinary skill in the art without undue burden. Therefore, all technical solutions which can be obtained by logic analysis, reasoning or limited experiments based on the prior art by the person skilled in the art according to the inventive concept shall be within the scope of protection defined by the claims.

Claims (10)

1. An electrical port module internal communication link detection method, comprising:
establishing physical communication link connection between a reference electric port module and an electric port module to be tested;
after the physical communication link is connected, reading and configuring a register in the reference electric port module to configure the communication link in the reference electric port module;
and after the internal communication link of the reference electric port module is referred, checking and comparing the data packet data received and transmitted by the reference electric port module.
2. The method for detecting an internal communication link of an electric port module according to claim 1, wherein a physical communication link connection between a reference electric port module and an electric port module to be detected is established so that a data packet completes communication between the reference electric port module and the electric port module to be detected;
the parallel port-to-network port is used for connecting the upper computer to the test board, the reference electric port module and the electric port module to be tested are respectively inserted into the test board, the electric port module to be tested and the test board are in communication connection through the coaxial cable, and then the reference electric port module and the electric port module to be tested are connected through the super-six type network cables.
3. The method for detecting an internal communication link of an electrical port module according to claim 2, wherein the reference electrical port module is not replaced after being inserted into the test board; the electric port module to be tested is a module to be tested, and after 10G rate connection is established between the electric port module to be tested and the REF through replacement, testing is carried out.
4. The method for detecting an internal communication link of an electric port module according to claim 2, wherein the step of establishing a physical communication link connection of the electric port module comprises the steps of:
the test board is used for supplying power to the reference electric port module and the electric port module to be tested, and meanwhile, communication connection between the computer upper computer and the reference electric port module REF is established;
a CAT6A network cable is used for connecting a reference electric port module REF and an electric port module DUT to be tested, 10G rate connection is established through auto-negotiation, and data packets are sent and received through the network cable;
and the coaxial cable to be tested is connected with the Serdes end of the electric port module to be tested, so that the self-loop of the electric signal is completed.
5. The method for detecting internal communication links of electric port modules according to claim 4, wherein when the communication connection between the upper computer and the reference electric port module is established, the upper computer cannot directly access the PHY chip register of the reference electric port module, and the upper computer can read and write the PHY chip register of the reference electric port module only by finishing I2C and MDIO communication interface protocol conversion through the MCU in the reference electric port module.
6. The method for detecting an internal communication link of an electric port module according to claim 4, wherein a CAT6A network cable is used to connect a reference electric port module and an electric port module to be tested, and a 10G rate connection is established through auto-negotiation, specifically comprising, the reference electric port module and any one end of the electric port module to be tested both send their own supported operation mode information to an opposite end, receive the operation mode information transmitted from the opposite end, and then select an operation mode which is supported by both sides and is optimal as a negotiated operation mode according to the received operation mode information, and when both modules support a 10G rate, auto-negotiate to a 10G rate full duplex operation mode.
7. The method for detecting an internal communication link of an electric port module according to claim 4, wherein a coaxial cable is used to connect the Serdes end of the electric port module to be tested to complete the self-loop of the electric signal, specifically comprising that the Serdes end of the electric port module to be tested is led out to a golden finger through a differential line, the golden finger is inserted into a slot of a test board and is connected to an SMA interface through the differential line, the loop of Tx to Rx can be completed by using the coaxial cable, the electric signal transmitted from Tx of the data packet returns to the RX end of the electric port module to complete the self-loop connection of the module to be tested.
8. The method for detecting an internal communication link of an electric port module according to claim 1, wherein the configuring of the internal communication link of the electric port module specifically includes reading and writing a PHY register of a reference electric port module through an upper computer, and the configuring is as follows: enabling packet transmission, enabling packet inspection, configuring the number of outgoing packets, configuring the packet transmission and reception directions.
9. The method for detecting an internal communication link of an electric port module according to claim 1, wherein the method for detecting the internal communication link of the electric port module is characterized by checking and comparing data packet data received and transmitted by the reference electric port module, and specifically comprises the steps of transmitting the data packet data from the reference module through a set communication link, reading the data packet data returned by the module to be detected, comparing the transmitted data packet data with the received data packet data, and judging that the internal communication link of the electric port module to be detected is good when the data packet data are consistent.
10. The method for detecting an internal communication link of an electric interface module according to claim 6, wherein the auto-negotiation function allows a network device to transmit its own supported operation mode information to an opposite terminal on the network, and receive corresponding information that the opposite terminal may transmit, so as to complete duplex and rate auto-negotiation;
each network device sends out FLP when power-on, management command sending or user intervention, and negotiation information is encapsulated in the FLP sequences; the FLP contains a clock/digital sequence, and the data are extracted from the clock/digital sequence to obtain the working mode supported by the opposite terminal equipment and other information for negotiating a handshake mechanism;
when switching FLP, two stations detect the best mode common to both parties according to the priority from high to low, and the tera-megaradio port module supports 10G rate, and establish 10G rate connection through auto-negotiation.
CN202311110839.6A 2023-08-30 2023-08-30 Method for detecting internal communication link of electric port module Pending CN117041117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311110839.6A CN117041117A (en) 2023-08-30 2023-08-30 Method for detecting internal communication link of electric port module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311110839.6A CN117041117A (en) 2023-08-30 2023-08-30 Method for detecting internal communication link of electric port module

Publications (1)

Publication Number Publication Date
CN117041117A true CN117041117A (en) 2023-11-10

Family

ID=88635404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311110839.6A Pending CN117041117A (en) 2023-08-30 2023-08-30 Method for detecting internal communication link of electric port module

Country Status (1)

Country Link
CN (1) CN117041117A (en)

Similar Documents

Publication Publication Date Title
US6928086B2 (en) Dynamic detection of LAN network protocol
US7127648B2 (en) System and method for performing on-chip self-testing
US9807036B2 (en) Apparatus and method for encoding MDIO into SGMII transmissions
US20040068683A1 (en) On-chip standalone self-test system and method
US6914884B2 (en) Communication control circuit
US11137550B2 (en) Bypass switch for managing active ethernet cable
US20190044760A1 (en) Technologies for optimizing transmitter equalization with high-speed retimer
CN203014839U (en) 10 G error detector based on high-speed transceiver chip
CN107831702B (en) A kind of synchronous serial signal acquisition and control device based on gigabit Ethernet
US20060291857A1 (en) Method and apparatus for testing optical network equipment
CN102307118A (en) Back plate test method, apparatus thereof and system thereof
CN105515927A (en) Remote serial port communication system and method based on Ethernet Cat.5 wiring framework
CN117041117A (en) Method for detecting internal communication link of electric port module
CN112117572B (en) Debug arrangement for active ethernet cable
CN113740703B (en) Test board and test system of Retimer chip
CN203722640U (en) Electric loopback light module
US20230394006A1 (en) Fpga-based usb 3.0/3.1 control system
CN109814045A (en) A kind of device and method for testing optical interface
KR100327121B1 (en) Transfer Performance Test Apparatus For Digital Subscriber Line Protocol Processing Device
US11677654B1 (en) Network TAP capable of tapping a 10Gbps network link
CN220087293U (en) Ethernet optical fiber transmission rate negotiation self-adaptive circuit
CN110912611A (en) SFP transmission system based on distributed synchronous time service technology
CN216387278U (en) Three-level testing device and system
CN218549930U (en) CAN communication changes optical fiber communication equipment
CN114389703B (en) Transparent transmission and multipath switching device for laser communication Ethernet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination