CN109270398B - Method, device and equipment for detecting stable insertion state of plug-in card - Google Patents

Method, device and equipment for detecting stable insertion state of plug-in card Download PDF

Info

Publication number
CN109270398B
CN109270398B CN201710587606.3A CN201710587606A CN109270398B CN 109270398 B CN109270398 B CN 109270398B CN 201710587606 A CN201710587606 A CN 201710587606A CN 109270398 B CN109270398 B CN 109270398B
Authority
CN
China
Prior art keywords
card
plug
differential pair
parameter value
single board
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.)
Active
Application number
CN201710587606.3A
Other languages
Chinese (zh)
Other versions
CN109270398A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710587606.3A priority Critical patent/CN109270398B/en
Publication of CN109270398A publication Critical patent/CN109270398A/en
Application granted granted Critical
Publication of CN109270398B publication Critical patent/CN109270398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • G01R31/68Testing of releasable connections, e.g. of terminals mounted on a printed circuit board

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The application provides a method, a device and equipment for detecting the stable insertion state of a card. The method comprises the following steps: the single board receives a differential signal from the plug-in card through a differential pair pin between the plug-in card and the single board; the single board determines whether the current plug-in card plugged in the single board is in a stable plug-in state according to a judgment result of whether the quality of the differential signal meets a preset stable plug-in condition; the plug-in stability condition is a condition that alternating current impedance and direct current impedance between the single board and the plug-in card can meet the requirement of signal transmission impedance. The method provided by the application greatly improves the accuracy of plug-in card stability detection, and can ensure the transmission quality of the serdes signals when the serdes signals are transmitted between the single board and the plug-in card, reduce the transmission attenuation of the serdes signals, and simultaneously ensure the transmission quality of the direct current signals when the direct current transmission is carried out between the boards.

Description

Method, device and equipment for detecting stable insertion state of plug-in card
Technical Field
The present application relates to circuit technologies, and in particular, to a method, an apparatus, and a device for detecting a stable insertion state of a card.
Background
In the device for supporting flexible plug-in card, because the situation of virtual plug-in may exist when the plug-in card is plugged manually, if the single board plugged with the plug-in card is started at this time, the service exception may be caused because the inter-board access connection is unreliable. Therefore, at present, a stable insertion signal is defined on a connector of a card or a board for determining whether the card is stable.
In the prior art, a single connector or a row of connectors is generally used, and the connection diagram of the main control board and the card is shown in fig. 1. Firstly, two pairs of PINs, namely A1 and A2, B1 and B2, are selected from the plug-in card and the main control board, wherein the pair of PIN of A1 and A2 is connected with a pull-up resistor R1 to a direct current power supply V1 on the main control side, the pair of PIN of B1 and B2 is grounded, and the pair of PIN is directly connected with the A2 and the B2 on the plug-in card side. Thus, when both pairs of PINs are well connected, the detection PIN is pulled down to ground; if any pair of PINs is not connected, the detection PIN is still pulled up. Therefore, whether the plug-in card is stably inserted or not can be judged by detecting the level.
When the PIN on the main control board is in butt joint with the PIN on the plug-in card, the direct current transmission is reliable (the direct current impedance is normal), and the transmission between the main control board and the plug-in card also comprises the transmission of alternating current signals, so that a certain alternating current impedance is also formed between the boards. However, whether the card is inserted stably is only limited to the insertion stability detection in the direct current state of inter-board transmission. When the direct current impedance between boards is normal and the alternating current impedance is abnormal, the detected plug-in card is in a stable state in the direct current state, and the plug-in card is possibly not stably inserted in the alternating current state, so that when a high-speed serial deserializer (serdes) link between boards performs service transmission based on the stable state of the plug-in card in the direct current state, a signal of the serdes link is poor, and the receiving requirement of a main control board or the plug-in card cannot be met. Therefore, how to improve the accuracy of judging the stable state of the card insertion becomes a technical problem to be solved urgently by the technical staff at present.
Disclosure of Invention
The application provides a method, a device and equipment for detecting the insertion stability state of a plug-in card, which are used for solving the technical problems that the judgment of the insertion stability state of the plug-in card in the prior art is inaccurate, so that the signals of a serdes link are poor, and the receiving requirements of a main control board or the plug-in card cannot be met.
In a first aspect, an embodiment of the present application provides a method for detecting a stable insertion state of a card, where the card is connected to a board through a differential pair pin, and the method includes:
the single board receives a differential signal from the card through a differential pair pin;
the single board determines whether the current plug-in card plugged in the single board is in a stable plug-in state according to a judgment result of whether the quality of the differential signal meets a preset stable plug-in condition; the plug-in stability condition is a condition that the alternating current impedance and the direct current impedance between the single board and the plug-in card can meet the requirement of signal transmission impedance.
In the method provided by the first aspect, the single board receives the differential signal from the card through the differential pair pins connected between the boards, and then determines whether the card currently plugged in the single board is in a stable plugging state based on a determination result of whether the quality of the differential signal meets a preset stable plugging condition. The method of this embodiment combines the correlation between the dc impedance and the ac impedance between the boards, that is, when the ac impedance between the boards meets the impedance transmission requirement of the serdes signal, the dc impedance must meet the impedance transmission requirement of the dc signal, therefore, the stable insertion state of the plug-in card determined by the present embodiment based on the quality of the differential signal and the preset stable insertion condition may be equal to the actual state of the plug-in card during the dc transmission between the boards, that is, if the plug-in card is in the stable insertion state on the premise that the differential signal is transmitted between the boards, it may be ensured that the plug-in card is also in the stable insertion state during the dc signal transmission between the boards. Therefore, the method greatly improves the accuracy of plug-in card stability detection, can ensure the transmission quality of the serdes signals when the serdes signals are transmitted between the single board and the plug-in card, reduces the transmission attenuation of the serdes signals, and can also ensure the transmission quality of the direct current signals when the direct current transmission is carried out between the boards.
In a possible design, the determining, by the board, whether the card currently plugged in the board is in the plug-in stable state according to a determination result of whether the quality of the differential signal satisfies a preset plug-in stable condition specifically includes:
the single board obtains the parameter value of the electronic eye pattern of the differential signal; the electronic eye diagram parameter value comprises at least one of an eye height of the electronic eye diagram and an eye width of the electronic eye diagram;
the single board determines whether the plug-in card is in a stable plug-in state according to the judgment result of whether the parameter value of the electronic eye pattern meets the preset eye pattern parameter value; the preset eye pattern parameter value is a parameter value which can enable alternating current impedance and direct current impedance between the single board and the plug-in card to meet the requirement of signal transmission impedance.
The method provided by the possible design determines whether the card is in the stable insertion state or not through the electronic eye pattern of the differential signal and the preset eye pattern parameter value when the single board receives the differential signal from the card. In addition, based on the method, if the plug-in card is determined to be in the stable state under the premise that the differential signals are transmitted between the boards, the plug-in card can be ensured to be in the stable state when the plug-in card transmits the direct current signals between the boards, so that the method greatly improves the accuracy of the stable detection of the plug-in card, can ensure the transmission quality of the serdes signals when the serdes signals are transmitted between the single board and the plug-in card, reduces the transmission attenuation of the serdes signals, and can ensure the transmission quality of the direct current signals when the direct current transmission is performed between the boards.
In a possible design, before the single board obtains the parameter value of the electronic eye diagram of the differential signal, the method further includes:
the method comprises the steps that a single board obtains a parameter value of a first electronic eye pattern of a first differential signal when receiving the first differential signal without error codes based on a preset card inserting and stabilizing environment; the parameter value of the first electronic eye pattern comprises at least one of a first eye height of the first electronic eye pattern and a first eye width of the first electronic eye pattern;
the single board obtains a parameter value of a second electronic eye pattern of a second differential signal if the second differential signal with an error code is received for the first time in the process of pulling out the plug-in card based on a preset plug-in card stable environment; the parameter value of the second electronic eye pattern comprises at least one of a second eye height of the second electronic eye pattern and a second eye width of the second electronic eye pattern;
and the single board determines a preset eye pattern parameter value according to the parameter value of the first electronic eye pattern and the parameter value of the second electronic eye pattern.
In a possible design, the determining, by the single board, the preset eye diagram parameter value according to the parameter value of the first electronic eye diagram and the parameter value of the second electronic eye diagram specifically includes:
the veneer takes the average value of the first eye height and the second eye height as a first threshold value in a preset eye pattern parameter value;
and the single board takes the average value of the first eye width and the second eye width as a second threshold value in the preset eye pattern parameter value.
In a possible design, the determining, by the board, whether the card is in the stable state according to a result of determining whether the parameter value of the electronic eye pattern satisfies a preset eye pattern parameter value specifically includes:
if the single board judges that the eye height of the electronic eye pattern is larger than or equal to the first threshold value and the eye width of the electronic eye pattern is larger than or equal to the second threshold value, the single board determines that the plug-in card is in a stable plug-in state;
if the single board judges that the eye height of the electronic eye pattern is smaller than the first threshold value, the single board determines that the plug-in card is in a non-plug-in stable state;
if the single board judges that the eye width of the electronic eye pattern is smaller than the second threshold value, the single board determines that the plug-in card is in a non-plug-in stable state.
The method provided by each possible design determines whether the card is in the stable insertion state or not through the eye width and the eye height of the electronic eye pattern of the differential signal and the first threshold value and the second threshold value in the preset eye pattern parameter value when the single board receives the differential signal from the card.
In a possible design, the determining, by the board, whether the card currently plugged in the board is in the plug-in stable state according to a determination result of whether the quality of the differential signal satisfies a preset plug-in stable condition specifically includes:
if the cyclic redundancy check CRC error code exists in the differential signal received by the single board, the single board determines that the plug-in card is in a non-plug-in stable state;
if the differential signal received by the single board does not have CRC error codes, the single board determines that the plug-in card is in a stable state.
The method provided by the possible design determines whether the plug-in card is in the stable state or not by whether CRC (cyclic redundancy check) error codes exist in the differential signals when the single board receives the differential signals from the plug-in card, the judging mode is simple, additional devices do not need to be added in a circuit, the efficiency of stable detection is improved, and the circuit cost of stable detection is reduced. In addition, based on the method, if the plug-in card is determined to be in the stable state under the premise that the differential signals are transmitted between the boards, the plug-in card can be ensured to be in the stable state when the plug-in card transmits the direct current signals between the boards, so that the method greatly improves the accuracy of the stable detection of the plug-in card, can ensure the transmission quality of the serdes signals when the serdes signals are transmitted between the single board and the plug-in card, reduces the transmission attenuation of the serdes signals, and can ensure the transmission quality of the direct current signals when the direct current transmission is performed between the boards.
In a possible design, the board and the card are connected by a differential pair pin, which specifically includes:
the single board is connected with the plug-in card through a first differential pair pin, a second differential pair pin, a third differential pair pin and a fourth differential pair pin;
the first differential pair pin and the second differential pair pin are located on the single board, the third differential pair pin and the fourth differential pair pin are located on the plug-in card, the first differential pair pin and the second differential pair pin are a pair of differential pair pins which are farthest away from the single board, the third differential pair pin and the fourth differential pair pin are a pair of differential pair pins which are farthest away from the plug-in card, the first differential pair pin is connected with the third differential pair pin, and the second differential pair pin is connected with the fourth differential pair pin.
In one possible design, the first differential pair pin, the second differential pair pin, the third differential pair pin, and the fourth differential pair pin are used to transmit a serializer signal.
The method provided by the possible design can avoid the situation that some differential pair pins on the single board and some differential pair pins on the plug-in card are not actually butted due to the fact that part of the pins are staggered, so that the situation that the plug-in card is not actually butted with the single board although the plug-in card is stably plugged at the moment even if the plug-in card is determined to be in the stable plugging state through differential signals, and the situation of error judgment of the stable plugging is caused can be avoided.
In a second aspect, in order to implement the method for detecting the insertion stability state of the card of the first aspect, an embodiment of the present application provides a device having a function of implementing the method for detecting the insertion stability state of the card. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In a possible implementation manner of the second aspect, the apparatus includes a plurality of functional modules or units, which are used for implementing the method for detecting the insertion stability state of any one of the cards in the first aspect.
In another possible implementation manner of the second aspect, the device may include a processor and a transceiver in its structure. The processor is configured to support the apparatus to perform a corresponding function in any one of the above-mentioned methods for detecting a plug-in stability status of a card of the first aspect. The transceiver is used to support communication between the device and the add-in card and may be, for example, a corresponding radio frequency module or a baseband module. The device may further comprise a memory for coupling to the processor, which stores program instructions and data necessary for the device to perform the method for detecting the insertion stability status of the add-in card.
In a third aspect, an embodiment of the present application provides a computer storage medium for storing computer software instructions for the apparatus, which includes a program designed to execute the first aspect.
In a fourth aspect, the present application provides a computer program product, which contains instructions that, when executed by a computer, cause the computer to perform the functions performed by the apparatus in the above method.
Compared with the prior art, according to the method, the device and the equipment for detecting the stable insertion state of the plug-in card, the single board receives the differential signal from the plug-in card through the differential pair pins connected between the boards, and then whether the plug-in card currently inserted on the single board is in the stable insertion state is determined based on the judgment result of whether the quality of the differential signal meets the preset stable insertion condition. The method of this embodiment combines the correlation between the dc impedance and the ac impedance between the boards, that is, when the ac impedance between the boards meets the impedance transmission requirement of the serdes signal, the dc impedance must meet the impedance transmission requirement of the dc signal, therefore, the stable insertion state of the plug-in card determined by the present embodiment based on the quality of the differential signal and the preset stable insertion condition may be equal to the actual state of the plug-in card during the dc transmission between the boards, that is, if the plug-in card is in the stable insertion state on the premise that the differential signal is transmitted between the boards, it may be ensured that the plug-in card is also in the stable insertion state during the dc signal transmission between the boards. Therefore, the method greatly improves the accuracy of plug-in card stability detection, can ensure the transmission quality of the serdes signals when the serdes signals are transmitted between the single board and the plug-in card, reduces the transmission attenuation of the serdes signals, and can also ensure the transmission quality of the direct current signals when the direct current transmission is carried out between the boards.
Drawings
Fig. 1 is a circuit diagram of a prior art interpolation detection provided by an embodiment of the present application;
fig. 2 is a schematic structural diagram of a stability insertion detection system according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a first embodiment of a method for detecting a stable insertion state of a card according to the present application;
FIG. 4 is a schematic diagram of a connection structure between a board and a card according to the present application
Fig. 5 is a schematic diagram illustrating a staggered connection between a board and a card plug-in pin according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a second embodiment of a method for detecting a stable insertion state of a card according to the present application;
fig. 7 is a schematic flowchart of a third embodiment of a method for detecting a stable insertion state of a card according to the present application;
fig. 8 is a schematic flowchart of a fourth embodiment of a method for detecting a stable insertion state of a card according to the present application;
fig. 9 is a schematic structural diagram of a first embodiment of a device for detecting a stable insertion state of a card according to the present application;
fig. 10 is a schematic structural diagram of a second embodiment of a device for detecting a stable insertion state of a card according to the present application;
fig. 11 is a schematic structural diagram of a first apparatus according to an embodiment of the present application.
Detailed Description
The method for detecting the insertion stability state of the plug-in card provided by the application can be applied to the architecture schematic diagram of the insertion stability detection system shown in fig. 2. As shown in fig. 1, the insertion stability detection system includes a board 41 and a plug-in card 42, where the board may be a main control board or other circuit boards with control and management functions. Optionally, the board and the add-in card may be connected by a connector, where the board may include one or more connectors, and the add-in card may also include one or more connectors. Optionally, the number of the connectors on the board is equal to the number of the connectors on the card. Optionally, the board may be integrated with the plug-in card in the device, the board is fixed in the device, and the plug-in card is an electrical module of the device and is detachably integrated in the device. The device can be a frame type device and can also be other devices which can support plug-in card plugging.
At present, in the above-mentioned device for supporting inserting a card, in order to ensure the reliability of the inter-board path connection, it is necessary to determine whether the card is stably inserted. In the prior art, the method for detecting the stability of the plug-in card shown in fig. 1 is often used to determine whether the plug-in card is stable by detecting the level. However, whether the card is inserted stably is only limited to the insertion stability detection in the direct current state of inter-board transmission. When the direct current impedance between boards is normal and the alternating current impedance is abnormal, the detected plug-in card is in a stable state in the direct current state, and the plug-in card is possibly not stably inserted in the alternating current state, so that when a high-speed serial deserializer (serdes) link between boards performs service transmission based on the stable state of the plug-in card in the direct current state, a signal of the serdes link is poor, and the receiving requirement of a main control board or the plug-in card cannot be met.
Therefore, the method and the device for detecting the insertion stability state of the plug-in card aim at solving the technical problems that the judgment of the insertion stability state of the plug-in card in the prior art is inaccurate, so that signals of a serdes link are poor, and the receiving requirements of a main control board or the plug-in card cannot be met.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 3 is a flowchart illustrating a first method for detecting a stable insertion state of a card according to an embodiment of the present application. Fig. 4 is a first schematic view of a connection structure between a board and a plug-in card according to the present application. The embodiment relates to a specific process that a single board and a card are connected through a differential pair pin, the single board receives a differential signal from the card through the differential pair pin, and the stable insertion state of the card is determined by combining the quality of the differential signal. With reference to fig. 3 and 4, the method may include the steps of:
s101: the single board receives the differential signal from the card through the differential pair pin.
In this embodiment, the single board is connected to the plug-in card through the differential pair pin, and the signal transmitted between the single board and the plug-in card is a differential signal. The differential pair PIN includes two PINs for transmitting differential signals of the same amplitude and opposite phase. Optionally, in this embodiment, the single board may be connected through at least four differential pair pins, where two of the at least four differential pair pins are located on the single board, and the other two differential pair pins are located on the card. Fig. 4 shows a case where a board is connected to a card via 4 differential pair pins.
As shown in fig. 4, the single board is connected to the card through the first differential pair pin, the second differential pair pin, the third differential pair pin, and the fourth differential pair pin. The first differential pair pins are a1 and a1 'in fig. 4, the second differential pair pins are B1 and B1' in fig. 4, the third differential pair pins are a2 and a2 'in fig. 4, and the fourth differential pair pins are B2 and B2' in fig. 4. The first differential pair pin and the second differential pair pin are positioned on the single board, the third differential pair pin and the fourth differential pair pin are positioned on the plug-in card, the first differential pair pin is connected with the third differential pair pin, and the second differential pair pin is connected with the fourth differential pair pin.
Optionally, the first differential pair pin and the second differential pair pin may be a pair of differential pair pins farthest from the board, and the third differential pair pin and the fourth differential pair pin may be a pair of differential pair pins farthest from the card, such a physical connection manner may avoid a situation that some differential pair pins on the board and the card are not actually butted due to partial pin staggering between the differential pair pin on the board and the differential pair pin on the card, for example, refer to the pin staggering situation shown in fig. 5. In the case shown in fig. 5, even though it is determined by the differential signal that the card is in the stable insertion state, the card at this time is not actually completely butted with the board although it is stable, so that the erroneous determination of the stable insertion occurs. However, in fig. 4, the first differential pair pin and the second differential pair pin are the pair of differential pair pins farthest from the board, and the third differential pair pin and the fourth differential pair pin are the pair of differential pair pins farthest from the card, which aims to: if the two differential pair pins farthest from each other on the board are accurately connected to the two differential pair pins farthest from the card, the other differential pair pins located between the two differential pair pins farthest from each other (i.e., the first differential pair pin and the second differential pair pin) on the board and the other differential pair pins located between the two differential pair pins farthest from each other (i.e., the third differential pair pin and the fourth differential pair pin) on the card must also be accurately connected to each other. Based on the physical connection mode, if the plug-in card is judged to be in the stable state by adopting the differential signal quality, the judgment of the stable state of the plug-in card can be directly determined to be accurate.
It should be noted that the connection manner in fig. 4 is only an example, and the single board and the card may be connected by four or more differential pair pins, which is not limited in this embodiment.
Based on the way that the single board and the plug-in card are connected through the differential pair pins, the single board can receive the differential signal from the plug-in card through the differential pair pins and acquire the quality of the differential signal.
S102: the single board determines whether the current plug-in card plugged in the single board is in a stable plug-in state according to a judgment result of whether the quality of the differential signal meets a preset stable plug-in condition; the plug-in stability condition is a condition that alternating current impedance and direct current impedance between the single board and the plug-in card can meet the requirement of signal transmission impedance.
Specifically, after the single board obtains the quality of the differential signal, the single board determines whether the quality of the differential signal meets a preset plug-in stability condition, and if so, the single board determines that the current plug-in card plugged in the single board is in a plug-in stability state. The plug-in stability condition is a condition that the alternating current impedance and the direct current impedance between the single board and the plug-in card can meet the requirement of signal transmission impedance. For example, the plug-in stability condition may be standard quality of a differential signal that can characterize plug-in stability determined by a developer through continuous detection and testing based on a plug-in stability environment established in a laboratory, or standard quality of a differential signal obtained under the condition that both direct current impedance and alternating current impedance between boards are normal. In the actual insertion stability judgment, if the quality of the differential signal obtained by the single board is less than the standard quality, it indicates that the current insertion card inserted into the single board is not inserted stably. The embodiment does not limit the specific representation form of the plug-in stability condition, as long as the ac impedance and the dc impedance between the board and the plug-in card both satisfy the signal transmission impedance requirement under the condition. Based on this, the single board can determine whether the plug-in card is in a stable state when the differential signals are transmitted between the boards.
It should be noted that, on the premise that the differential signals are transmitted between the boards, the plug-in card is in a stable state, so that it can be ensured that the plug-in card is also in a stable state when the direct current signals are transmitted between the boards. This is because when the dc impedance between the plates meets the impedance transmission requirement of the dc signal, the ac impedance does not necessarily meet the impedance transmission requirement of the serdes signal; however, when the ac impedance between the plates meets the impedance transmission requirement of the serdes signal, the dc impedance must meet the impedance transmission requirement of the dc signal. Therefore, based on the method provided by the present application, if the card is in the stable state under the premise that the differential signals are transmitted between the boards, it can also be determined that the card is also in the stable state when the card transmits the dc signals between the boards. Based on the method, when the serdes signals are transmitted between the single board and the plug-in card, the transmission quality of the serdes signals can be ensured, and the transmission attenuation of the serdes signals is reduced.
According to the method for detecting the insertion stability state of the card, the single board receives the differential signal from the card through the differential pair pins connected between the boards, and then whether the card inserted into the single board is in the insertion stability state is determined based on the judgment result of whether the quality of the differential signal meets the preset insertion stability condition. The method of this embodiment combines the correlation between the dc impedance and the ac impedance between the boards, that is, when the ac impedance between the boards meets the impedance transmission requirement of the serdes signal, the dc impedance must meet the impedance transmission requirement of the dc signal, therefore, the stable insertion state of the plug-in card determined by the present embodiment based on the quality of the differential signal and the preset stable insertion condition may be equal to the actual state of the plug-in card during the dc transmission between the boards, that is, if the plug-in card is in the stable insertion state on the premise that the differential signal is transmitted between the boards, it may be ensured that the plug-in card is also in the stable insertion state during the dc signal transmission between the boards. Therefore, the method greatly improves the accuracy of plug-in card stability detection, can ensure the transmission quality of the serdes signals when the serdes signals are transmitted between the single board and the plug-in card, reduces the transmission attenuation of the serdes signals, and can also ensure the transmission quality of the direct current signals when the direct current transmission is carried out between the boards.
Fig. 6 is a flowchart illustrating a second embodiment of a method for detecting a plug-in stability state of a card according to the present application. The embodiment relates to a specific process for judging whether a card is in a stable insertion state or not by a single board through an electronic eye diagram of a differential signal. On the basis of the foregoing embodiment, optionally, the foregoing S102 may include the following steps:
s201: the single board obtains the parameter value of the electronic eye pattern of the differential signal; the electronic eye pattern parameter value includes at least one of an eye height of the electronic eye pattern and an eye width of the electronic eye pattern.
Optionally, the single board may include a transceiver (tranceiver), and the tranceiver may be in the processor of the single board, or may be provided separately from the processor of the single board. Referring to fig. 5, the single board receives the differential signal, which may be a tranceiver on the single board receiving the differential signal from the add-in card. The tranceiver has a transmit (TX in fig. 5) and a receive (RX in fig. 5), the transmit of the tranceiver on board sends out the servers, which are directly connected to B2 and B2 '(fourth differential pair pin), B1 and B1' (third differential pair pin) on the card, through a1 and a1 '(first differential pair pin), a2 and a 2' (third differential pair pin), and then back to the receive of the tranceiver. Optionally, the first differential pair pin, the second differential pair pin, the third differential pair pin, and the fourth differential pair pin may all be used to transmit serial deserializer (serdes) signals.
When the trancer has the function of the electronic eye pattern, the trancer can obtain the electronic eye pattern of the differential signal when receiving the differential signal from the card, so as to obtain the parameter value of the electronic eye pattern of the differential signal, wherein the parameter value comprises at least one of the eye height and the eye width of the electronic eye pattern.
S202: the single board determines whether the plug-in card is in a stable plug-in state according to a judgment result of whether the parameter value of the electronic eye pattern meets a preset eye pattern parameter value; the preset eye pattern parameter value is a parameter value which can enable alternating current impedance and direct current impedance between the single board and the plug-in card to meet the requirement of signal transmission impedance.
Optionally, in this embodiment, the preset insertion stability condition may be a preset eye diagram parameter value. The preset eye pattern parameter value is a parameter value which can enable alternating current impedance and direct current impedance between the single board and the plug-in card to meet the signal transmission impedance requirement, and the preset eye pattern parameter value can be a parameter value of a standard eye pattern which can represent a differential signal of the plug-in card and is determined by research personnel through continuous detection and test under the condition that the plug-in card built in a laboratory is plugged stably, or a parameter value of the standard eye pattern of the differential signal under the condition that the direct current impedance and the alternating current impedance between boards are normal. The preset eye pattern parameter values may include an eye height and/or an eye width of a standard eye pattern.
Therefore, in S201, after the board obtains the parameter value of the electronic eye diagram from the differential signal, it may be determined whether the parameter value of the electronic eye diagram can meet the requirement of the preset parameter value of the electronic eye diagram, and if the parameter value of the preset electronic eye diagram can be met, it may be determined that the card currently plugged in the board is in a stable plugging state; and if the parameter value requirement of the preset electronic eye diagram cannot be met, determining that the current plug-in card plugged in the single board is in a non-plug-in stable state.
According to the detection method for the stable inserting state of the plug-in card, when the single board receives the differential signal from the plug-in card, whether the plug-in card is in the stable inserting state or not is determined through the electronic eye pattern of the differential signal and the preset eye pattern parameter value. In addition, based on the method, if the plug-in card is determined to be in the stable state under the premise that the differential signals are transmitted between the boards, the plug-in card can be ensured to be in the stable state when the plug-in card transmits the direct current signals between the boards, so that the method greatly improves the accuracy of the stable detection of the plug-in card, can ensure the transmission quality of the serdes signals when the serdes signals are transmitted between the single board and the plug-in card, reduces the transmission attenuation of the serdes signals, and can ensure the transmission quality of the direct current signals when the direct current transmission is performed between the boards.
Fig. 7 is a flowchart illustrating a third embodiment of a method for detecting a plug-in stability state of a card according to the present application. The embodiment relates to a specific process for judging whether a card is in a stable insertion state or not by a single board through an electronic eye diagram of a differential signal. As shown in fig. 7, the method includes the steps of:
s301: the method comprises the steps that a single board obtains a parameter value of a first electronic eye pattern of a first differential signal when receiving the first differential signal without error codes based on a preset card inserting and stabilizing environment; the parameter value of the first electronic eye pattern comprises at least one of a first eye height of the first electronic eye pattern and a first eye width of the first electronic eye pattern.
S302: the method comprises the steps that a single board obtains a parameter value of a second electronic eye pattern of a second differential signal if the second differential signal with error codes is received for the first time in the process of pulling out a plug-in card based on a preset plug-in card stable environment; the parameter value of the second electronic eye pattern comprises at least one of a second eye height of the second electronic eye pattern and a second eye width of the second electronic eye pattern.
Specifically, this steady environment is inserted to predetermined plug-in card, can be for the environment that research and development personnel actually built, and under this environment, the plug-in card is in and inserts steady state. When the card is in a stable state, differential signals are transmitted between the single board and the card, and when the single board receives a first differential signal without error codes, a tranceiver with an electronic eye diagram function in the single board can obtain a first electronic eye diagram of the first differential signal, so as to obtain at least one of a first eye height H1 and a first eye width W1 of the first electronic eye diagram. And then gradually pulling out the card, wherein the single board is always in a state of receiving the differential signal at this time, and along with pulling out the card, when the single board receives the second differential signal with an error code for the first time, a tranceiver having an electronic eye diagram function in the single board can obtain a second electronic eye diagram of the second differential signal, so as to obtain at least one of a second eye height H2 and a second eye width W2 of the second electronic eye diagram.
S303: and the single board determines the preset eye pattern parameter value according to the parameter value of the first electronic eye pattern and the parameter value of the second electronic eye pattern.
After the single board obtains the parameter value of the first electronic eye diagram and the parameter value of the second electronic eye diagram, optionally, when the single board obtains the first eye height H1 of the first electronic eye diagram and the second eye height H2 of the second electronic eye diagram, the single board may obtain a third eye height by performing weighted average on H1 and H2, where the third eye height may be the preset eye diagram parameter value. Optionally, when the single board obtains the first eye width W1 of the first electronic eye diagram and the second eye width W2 of the second electronic eye diagram, the single board may obtain a third eye width by performing weighted average on W1 and W2, where the third eye height may be the preset eye diagram parameter value. Optionally, when the single board obtains both the first eye height H1 and the first eye width W1 of the first electronic eye pattern, and also obtains the second eye height H2 and the second eye width W2 of the second electronic eye pattern, the single board may obtain the third eye height and the third eye width in the weighted average manner, where the third eye height and the third eye width may be the preset eye pattern parameter values. It should be noted that the above-mentioned manner of obtaining the preset eye diagram parameter value by performing weighted average on the parameter value of the first electronic eye diagram and the parameter value of the second electronic eye diagram is only an example, and the specific manner how to obtain the preset eye diagram parameter value according to the parameter value of the first electronic eye diagram and the parameter value of the second electronic eye diagram is not limited in this embodiment.
Optionally, as a possible implementation manner for obtaining the preset eye diagram parameter value, the single board may use an average value of the first eye height and the second eye height as a first threshold value in the preset eye diagram parameter value; optionally, the average value here is an arithmetic average value, i.e. the first threshold value is equal to (H1+ H2)/2; and the single board takes the average value of the first eye width and the second eye width as a second threshold value in the preset eye diagram parameter value, wherein the average value is also an arithmetic average value, namely the second threshold value is equal to (W1+ W2)/2.
S304: and the single board determines whether the plug-in card is in a stable plug-in state according to the judgment result of whether the parameter value of the electronic eye pattern meets the preset eye pattern parameter value.
Specifically, if the single board determines that the eye height of the electronic eye pattern is greater than or equal to a first threshold value and the eye width of the electronic eye pattern is greater than or equal to a second threshold value, the single board determines that the plug-in card is in a stable plug-in state; if the single board judges that the eye height of the electronic eye pattern is smaller than the first threshold value, the single board determines that the plug-in card is in a non-plug-in stable state; if the single board judges that the eye width of the electronic eye pattern is smaller than the second threshold value, the single board determines that the plug-in card is in a non-plug-in stable state.
According to the detection method for the insertion stability state of the plug-in card, when the single board receives the differential signal from the plug-in card, whether the plug-in card is in the insertion stability state or not is determined through the eye width and the eye height of the electronic eye pattern of the differential signal and the first threshold value and the second threshold value in the preset eye pattern parameter value.
Fig. 8 is a flowchart illustrating a fourth embodiment of a method for detecting a plug-in stability state of a card according to the present application. The embodiment relates to a specific process that a single board judges whether a card is in a stable insertion state or not by judging whether a Cyclic Redundancy Check (CRC) error code exists in a differential signal or not. On the basis of the foregoing embodiment, further, the foregoing S102 may include the following steps:
s401: if CRC error exists in the differential signal received by the single board, the single board determines that the plug-in card is in a non-plug-in stable state.
S402: if the CRC error code does not exist in the differential signal received by the single board, the single board determines that the plug-in card is in a stable state.
Optionally, when determining that the differential signal has a CRC error code, the board may further determine the severity of the non-inserted state of the card by determining the proportion of the CRC error code in the differential signal.
According to the method for detecting the stable inserting state of the plug-in card, when the single board receives the differential signal from the plug-in card, whether the plug-in card is in the stable inserting state is determined through whether CRC (cyclic redundancy check) error codes exist in the differential signal, the judging mode is simple, extra devices do not need to be added in a circuit, the stable inserting detection efficiency is improved, and the circuit cost of the stable inserting detection is reduced. In addition, based on the method, if the plug-in card is determined to be in the stable state under the premise that the differential signals are transmitted between the boards, the plug-in card can be ensured to be in the stable state when the plug-in card transmits the direct current signals between the boards, so that the method greatly improves the accuracy of the stable detection of the plug-in card, can ensure the transmission quality of the serdes signals when the serdes signals are transmitted between the single board and the plug-in card, reduces the transmission attenuation of the serdes signals, and can ensure the transmission quality of the direct current signals when the direct current transmission is performed between the boards.
Fig. 9 is a schematic structural diagram of a first embodiment of a device for detecting a stable insertion state of a card according to an embodiment of the present application. The detection means may be implemented by software, hardware or a combination of software and hardware. The detection device can be integrated on a single board, and the single board is connected with the plug-in card through a differential pair pin. As shown in fig. 9, the apparatus includes:
the receiving module 11 is configured to receive a differential signal from the card through the differential pair pins;
a first determining module 12, configured to determine whether a card currently plugged in the board is in a stable plug-in state according to a determination result of whether the quality of the differential signal meets a preset stable plug-in condition; the plug-in stability condition is a condition that alternating current impedance and direct current impedance between the single board and the plug-in card can meet the requirement of signal transmission impedance.
The detection device for the stable insertion state of the plug-in card provided by the embodiment of the application can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated.
Fig. 10 is a schematic structural diagram of a second embodiment of the device for detecting the insertion stability of the card according to the embodiment of the present application. On the basis of the embodiment shown in fig. 9, further, the first determining module 12 includes:
an obtaining unit 121 configured to obtain a parameter value of an electronic eye diagram of the differential signal; the electronic eye diagram parameter value comprises at least one of an eye height of the electronic eye diagram and an eye width of the electronic eye diagram;
a determining unit 122, configured to determine whether the plug-in card is in a stable state according to a determination result of whether a parameter value of the electronic eye diagram meets a preset eye diagram parameter value; the preset eye pattern parameter value is a parameter value which can enable alternating current impedance and direct current impedance between the single board and the plug-in card to meet the requirement of signal transmission impedance.
With continued reference to fig. 10, optionally, the apparatus further comprises:
an obtaining module 13, configured to obtain, before the obtaining unit 121 obtains the parameter value of the electronic eye pattern of the differential signal, based on a preset stable environment for inserting a card, the parameter value of the first electronic eye pattern of the first differential signal when the receiving module 11 receives the first differential signal without an error code; based on a preset stable environment of the plug-in card, in the process of pulling out the plug-in card, if the receiving module 11 receives a second differential signal with an error code for the first time, obtaining a parameter value of a second electronic eye diagram of the second differential signal; the parameter value of the first electronic eye pattern comprises at least one of a first eye height of the first electronic eye pattern and a first eye width of the first electronic eye pattern; the parameter value of the second electronic eye pattern comprises at least one of a second eye height of the second electronic eye pattern and a second eye width of the second electronic eye pattern;
a second determining module 14, configured to determine the preset eye diagram parameter value according to the parameter value of the first electronic eye diagram and the parameter value of the second electronic eye diagram.
Optionally, the second determining module 14 is specifically configured to use an average value of the first eye height and the second eye height as a first threshold value in the preset eye diagram parameter value; and taking the average value of the first eye width and the second eye width as a second threshold value in the preset eye diagram parameter value.
Optionally, the determining unit 122 is specifically configured to:
if the eye height of the electronic eye pattern is larger than or equal to the first threshold value and the eye width of the electronic eye pattern is larger than or equal to the second threshold value, determining that the plug-in card is in a stable insertion state;
if the eye height of the electronic eye pattern is smaller than the first threshold value, determining that the plug-in card is in a non-plug-in stable state;
and if the eye width of the electronic eye pattern is smaller than the second threshold value, determining that the plug-in card is in a non-plug-in stable state.
Optionally, the first determining module 12 is specifically configured to:
if Cyclic Redundancy Check (CRC) error codes exist in the differential signals received by the receiving module 11, determining that the plug-in card is in a non-plug-in stable state;
if the CRC error code does not exist in the differential signal received by the receiving module 11, it is determined that the plug-in card is in a stable state.
Furthermore, the single board is connected with the plug-in card through a first differential pair pin, a second differential pair pin, a third differential pair pin and a fourth differential pair pin;
the first differential pair pin and the second differential pair pin are located on the single board, the third differential pair pin and the fourth differential pair pin are located on the card, the first differential pair pin and the second differential pair pin are a pair of differential pair pins which are farthest away from the single board, the third differential pair pin and the fourth differential pair pin are a pair of differential pair pins which are farthest away from the card, the first differential pair pin is connected with the third differential pair pin, and the second differential pair pin is connected with the fourth differential pair pin.
Optionally, the first differential pair pin, the second differential pair pin, the third differential pair pin, and the fourth differential pair pin are used to transmit a serializer signal.
The detection device for the stable insertion state of the plug-in card provided by the embodiment of the application can execute the method embodiment, the implementation principle and the technical effect are similar, and the details are not repeated.
Fig. 11 is a schematic structural diagram of a first apparatus according to an embodiment of the present application. As shown in fig. 11, the apparatus may include a board connected to the paddle card through a differential pair of pins, and the board may include a receiver 31, a memory 32, a processor 33, at least one communication bus 34, and a transmitter 35. The communication bus 34 is used to realize communication connections between the elements. The memory 32 may comprise a high speed RAM memory, and may also include a non-volatile memory NVM, such as at least one disk memory, in which various programs may be stored for performing various processing functions and implementing the method steps of the present embodiment. In this embodiment, the transmitter 35 and the receiver 31 may be integrated together to be implemented as a transceiver (tranceiver), which may be provided separately from the processor 33, or may be integrated in the processor 33.
In this embodiment, the receiver 31 is configured to receive a differential signal from the card through the differential pair pin;
the processor 33 is configured to determine whether the card currently plugged in the board is in a stable plugging state according to a determination result of whether the quality of the differential signal meets a preset stable plugging condition; the plug-in stability condition is a condition that alternating current impedance and direct current impedance between the single board and the plug-in card can meet the requirement of signal transmission impedance.
Optionally, the processor 33 is specifically configured to obtain a parameter value of an electronic eye diagram of the differential signal; determining whether the plug-in card is in a stable plug-in state according to a judgment result of whether the parameter value of the electronic eye pattern meets a preset eye pattern parameter value; wherein the electronic eye pattern parameter value comprises at least one of an eye height of the electronic eye pattern, an eye width of the electronic eye pattern; the preset eye pattern parameter value is a parameter value which can enable alternating current impedance and direct current impedance between the single board and the plug-in card to meet the requirement of signal transmission impedance.
Optionally, the processor 33 is further configured to, before obtaining the parameter value of the electronic eye diagram of the differential signal, based on a preset stable environment of the card insertion, obtain the parameter value of the first electronic eye diagram of the first differential signal when the receiver 31 receives the first differential signal without an error code; based on a preset stable environment of the plug-in card, in the process of pulling out the plug-in card, if the receiver 31 receives a second differential signal with an error code for the first time, a parameter value of a second electronic eye diagram of the second differential signal is obtained; determining the preset eye pattern parameter value according to the parameter value of the first electronic eye pattern and the parameter value of the second electronic eye pattern;
wherein the parameter value of the first electronic eye pattern comprises at least one of a first eye height of the first electronic eye pattern, a first eye width of the first electronic eye pattern; the parameter value of the second electronic eye pattern comprises at least one of a second eye height of the second electronic eye pattern and a second eye width of the second electronic eye pattern.
Optionally, the processor 33 is specifically configured to use an average value of the first eye height and the second eye height as a first threshold value in the preset eye diagram parameter value; and taking the average value of the first eye width and the second eye width as a second threshold value in the preset eye diagram parameter value.
Optionally, the processor 33 is specifically configured to:
if the eye height of the electronic eye pattern is larger than or equal to the first threshold value and the eye width of the electronic eye pattern is larger than or equal to the second threshold value, determining that the plug-in card is in a stable insertion state;
if the eye height of the electronic eye pattern is smaller than the first threshold value, determining that the plug-in card is in a non-plug-in stable state;
and if the eye width of the electronic eye pattern is smaller than the second threshold value, determining that the plug-in card is in a non-plug-in stable state.
Optionally, the processor 33 is specifically configured to:
if Cyclic Redundancy Check (CRC) error codes exist in the differential signals received by the receiver 31, determining that the plug-in card is in a non-plug-in stable state;
if the CRC error code does not exist in the differential signal received by the receiver 31, it is determined that the card is in a stable insertion state.
Optionally, the single board is connected to the card through a first differential pair pin, a second differential pair pin, a third differential pair pin, and a fourth differential pair pin;
the first differential pair pin and the second differential pair pin are located on the single board, the third differential pair pin and the fourth differential pair pin are located on the card, the first differential pair pin and the second differential pair pin are a pair of differential pair pins which are farthest away from the single board, the third differential pair pin and the fourth differential pair pin are a pair of differential pair pins which are farthest away from the card, the first differential pair pin is connected with the third differential pair pin, and the second differential pair pin is connected with the fourth differential pair pin.
Optionally, the first differential pair pin, the second differential pair pin, the third differential pair pin, and the fourth differential pair pin are used to transmit a serializer signal.
The device provided by the embodiment of the present application can execute the method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
The present application also provides a computer storage medium, in which instructions are stored, and when the computer storage medium runs on a computer, the computer is caused to execute the method executed by the single board in the above method embodiments.
An embodiment of the present application further provides a computer program product, which includes instructions, and when the computer program is executed by a computer, the instructions enable the computer to execute the functions executed by the board in the foregoing method.
The computer instructions may be stored on or transmitted from one computer-readable storage medium to another computer-readable storage medium
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware, in software instructions executed by a processor, or in a computer program product. The software instructions may consist of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in user equipment.
In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways without departing from the scope of the application. For example, the above-described embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.

Claims (21)

1. A method for detecting the stable insertion state of a plug-in card is characterized in that the plug-in card is connected with a single board through a differential pair pin, and the method comprises the following steps:
the single board receives a differential signal from the plug-in card through the differential pair pin;
the single board determines whether the current plug-in card plugged in the single board is in a stable plugging state or not according to the differential signal;
the single board is connected with the plug-in card through a differential pair pin, and the method specifically comprises the following steps:
the single board is connected with the plug-in card through a first differential pair pin, a second differential pair pin, a third differential pair pin and a fourth differential pair pin;
the first differential pair pin and the second differential pair pin are located on the single board, the third differential pair pin and the fourth differential pair pin are located on the card, the first differential pair pin and the second differential pair pin are a pair of differential pair pins which are farthest away from the single board, the third differential pair pin and the fourth differential pair pin are a pair of differential pair pins which are farthest away from the card, the first differential pair pin is connected with the third differential pair pin, and the second differential pair pin is connected with the fourth differential pair pin.
2. The method according to claim 1, wherein the determining, by the board, whether the card currently plugged in the board is in a stable plugging state according to the differential signal specifically includes:
the single board obtains the parameter value of the electronic eye pattern of the differential signal; the electronic eye diagram parameter value comprises at least one of an eye height of the electronic eye diagram and an eye width of the electronic eye diagram;
the single board determines whether the plug-in card is in a stable plug-in state according to a judgment result of whether the parameter value of the electronic eye pattern meets a preset eye pattern parameter value; the preset eye pattern parameter value is a parameter value which can enable alternating current impedance and direct current impedance between the single board and the plug-in card to meet the requirement of signal transmission impedance.
3. The method according to claim 2, wherein before the single board obtains the parameter value of the electronic eye diagram of the differential signal, the method further comprises:
the single board obtains a parameter value of a first electronic eye pattern of a first differential signal when receiving the first differential signal without error codes based on a preset card inserting and stabilizing environment; the parameter value of the first electronic eye pattern comprises at least one of a first eye height of the first electronic eye pattern and a first eye width of the first electronic eye pattern;
the single board obtains a parameter value of a second electronic eye pattern of a second differential signal if the second differential signal with an error code is received for the first time in the process of pulling out the plug-in card based on a preset plug-in card stable environment; the parameter value of the second electronic eye pattern comprises at least one of a second eye height of the second electronic eye pattern and a second eye width of the second electronic eye pattern;
and the single board determines the preset eye pattern parameter value according to the parameter value of the first electronic eye pattern and the parameter value of the second electronic eye pattern.
4. The method according to claim 3, wherein the determining, by the single board, the preset eye diagram parameter value according to the parameter value of the first electronic eye diagram and the parameter value of the second electronic eye diagram specifically includes:
the single board takes the average value of the first eye height and the second eye height as a first threshold value in the preset eye pattern parameter value;
and the single board takes the average value of the first eye width and the second eye width as a second threshold value in the preset eye pattern parameter value.
5. The method according to claim 4, wherein the determining, by the board, whether the plug-in card is in the plug-in stable state according to a determination result of whether the parameter value of the electronic eye pattern satisfies a preset eye pattern parameter value specifically includes:
if the single board judges that the eye height of the electronic eye pattern is greater than or equal to the first threshold value and the eye width of the electronic eye pattern is greater than or equal to the second threshold value, the single board determines that the plug-in card is in a stable plug-in state;
if the single board judges that the eye height of the electronic eye pattern is smaller than the first threshold value, the single board determines that the plug-in card is in a non-plug-in stable state;
if the single board judges that the eye width of the electronic eye pattern is smaller than the second threshold value, the single board determines that the plug-in card is in a non-plug-in stable state.
6. The method according to claim 1, wherein the determining, by the board, whether the card currently plugged in the board is in a stable plugging state according to the differential signal specifically includes:
if Cyclic Redundancy Check (CRC) error codes exist in the differential signals received by the single board, the single board determines that the plug-in card is in a non-plug-in stable state;
if the CRC error code does not exist in the differential signal received by the single board, the single board determines that the plug-in card is in a stable state.
7. The method of claim 1, wherein the first, second, third, and fourth differential pair pins are configured to transmit a serializer signal.
8. The detection device for the stable insertion state of the plug-in card is characterized in that the detection device is integrated on a single board, and the single board is connected with the plug-in card through a differential pair pin; the device comprises:
the receiving module is used for receiving the differential signal from the plug-in card through the differential pair pins;
the first determining module is used for determining whether the current plug-in card plugged in the single board is in a stable plug-in state or not according to the differential signal;
the single board is connected with the plug-in card through a first differential pair pin, a second differential pair pin, a third differential pair pin and a fourth differential pair pin;
the first differential pair pin and the second differential pair pin are located on the single board, the third differential pair pin and the fourth differential pair pin are located on the card, the first differential pair pin and the second differential pair pin are a pair of differential pair pins which are farthest away from the single board, the third differential pair pin and the fourth differential pair pin are a pair of differential pair pins which are farthest away from the card, the first differential pair pin is connected with the third differential pair pin, and the second differential pair pin is connected with the fourth differential pair pin.
9. The apparatus of claim 8, wherein the first determining module comprises:
an acquisition unit configured to acquire a parameter value of an electronic eye diagram of the differential signal; the electronic eye diagram parameter value comprises at least one of an eye height of the electronic eye diagram and an eye width of the electronic eye diagram;
the determining unit is used for determining whether the plug-in card is in a stable plug-in state according to the judgment result of whether the parameter value of the electronic eye pattern meets the preset eye pattern parameter value; the preset eye pattern parameter value is a parameter value which can enable alternating current impedance and direct current impedance between the single board and the plug-in card to meet the requirement of signal transmission impedance.
10. The apparatus of claim 9, further comprising:
the acquisition module is used for acquiring the parameter value of the first electronic eye pattern of the first differential signal when the receiving module receives the first differential signal without error codes based on a preset card-inserting stable environment before the acquisition unit acquires the parameter value of the electronic eye pattern of the differential signal; and based on a preset stable environment of the plug-in card, in the process of pulling out the plug-in card, if the receiving module receives a second differential signal with error codes for the first time, acquiring a parameter value of a second electronic eye diagram of the second differential signal; the parameter value of the first electronic eye pattern comprises at least one of a first eye height of the first electronic eye pattern and a first eye width of the first electronic eye pattern; the parameter value of the second electronic eye pattern comprises at least one of a second eye height of the second electronic eye pattern and a second eye width of the second electronic eye pattern;
and the second determining module is used for determining the preset eye pattern parameter value according to the parameter value of the first electronic eye pattern and the parameter value of the second electronic eye pattern.
11. The apparatus according to claim 10, wherein the second determining module is specifically configured to use an average of the first eye height and the second eye height as the first threshold value in the preset eye diagram parameter value; and taking the average value of the first eye width and the second eye width as a second threshold value in the preset eye diagram parameter value.
12. The apparatus according to claim 11, wherein the determining unit is specifically configured to:
if the eye height of the electronic eye pattern is larger than or equal to the first threshold value and the eye width of the electronic eye pattern is larger than or equal to the second threshold value, determining that the plug-in card is in a stable insertion state;
if the eye height of the electronic eye pattern is smaller than the first threshold value, determining that the plug-in card is in a non-plug-in stable state;
and if the eye width of the electronic eye pattern is smaller than the second threshold value, determining that the plug-in card is in a non-plug-in stable state.
13. The apparatus of claim 8, wherein the first determining module is specifically configured to:
if Cyclic Redundancy Check (CRC) error codes exist in the differential signals received by the receiving module, determining that the plug-in card is in a non-plug-in stable state;
and if the CRC error code does not exist in the differential signal received by the receiving module, determining that the plug-in card is in a stable state.
14. The apparatus of claim 8, wherein the first, second, third, and fourth differential pair pins are to transmit a serializer signal.
15. An apparatus, comprising a board, wherein the board is connected to a card via a differential pair of pins, and the board comprises a receiver and a processor;
the receiver is used for receiving a differential signal from the plug-in card through the differential pair pins;
the processor is used for determining whether the current plug-in card plugged in the single board is in a stable plug-in state or not according to the differential signal;
the single board is connected with the plug-in card through a first differential pair pin, a second differential pair pin, a third differential pair pin and a fourth differential pair pin;
the first differential pair pin and the second differential pair pin are located on the single board, the third differential pair pin and the fourth differential pair pin are located on the card, the first differential pair pin and the second differential pair pin are a pair of differential pair pins which are farthest away from the single board, the third differential pair pin and the fourth differential pair pin are a pair of differential pair pins which are farthest away from the card, the first differential pair pin is connected with the third differential pair pin, and the second differential pair pin is connected with the fourth differential pair pin.
16. The device according to claim 15, wherein the processor is specifically configured to obtain parameter values of an electronic eye diagram of the differential signal; determining whether the plug-in card is in a stable plug-in state according to a judgment result of whether the parameter value of the electronic eye pattern meets a preset eye pattern parameter value; wherein the electronic eye pattern parameter value comprises at least one of an eye height of the electronic eye pattern, an eye width of the electronic eye pattern; the preset eye pattern parameter value is a parameter value which can enable alternating current impedance and direct current impedance between the single board and the plug-in card to meet the requirement of signal transmission impedance.
17. The apparatus of claim 16, wherein the processor is further configured to, prior to obtaining the parameter value of the electronic eye diagram of the differential signal, obtain the parameter value of the first electronic eye diagram of the first differential signal when the receiver receives the first differential signal without error codes based on a preset card-insertion stability environment; and based on a preset stable environment of the plug-in card, in the process of pulling out the plug-in card, if the receiver receives a second differential signal with error codes for the first time, acquiring a parameter value of a second electronic eye diagram of the second differential signal; determining the preset eye pattern parameter value according to the parameter value of the first electronic eye pattern and the parameter value of the second electronic eye pattern;
wherein the parameter value of the first electronic eye pattern comprises at least one of a first eye height of the first electronic eye pattern, a first eye width of the first electronic eye pattern; the parameter value of the second electronic eye pattern comprises at least one of a second eye height of the second electronic eye pattern and a second eye width of the second electronic eye pattern.
18. The device according to claim 17, wherein the processor is specifically configured to use an average of the first eye height and the second eye height as a first threshold value in the preset eye diagram parameter values; and taking the average value of the first eye width and the second eye width as a second threshold value in the preset eye diagram parameter value.
19. The device of claim 18, wherein the processor is specifically configured to:
if the eye height of the electronic eye pattern is larger than or equal to the first threshold value and the eye width of the electronic eye pattern is larger than or equal to the second threshold value, determining that the plug-in card is in a stable insertion state;
if the eye height of the electronic eye pattern is smaller than the first threshold value, determining that the plug-in card is in a non-plug-in stable state;
and if the eye width of the electronic eye pattern is smaller than the second threshold value, determining that the plug-in card is in a non-plug-in stable state.
20. The device of claim 15, wherein the processor is specifically configured to:
if Cyclic Redundancy Check (CRC) error codes exist in the differential signals received by the receiver, determining that the plug-in card is in a non-plug-in stable state;
and if the CRC error code does not exist in the differential signal received by the receiver, determining that the plug-in card is in a stable state.
21. The device of claim 15, wherein the first, second, third, and fourth differential pair pins are to transmit a serializer signal.
CN201710587606.3A 2017-07-18 2017-07-18 Method, device and equipment for detecting stable insertion state of plug-in card Active CN109270398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710587606.3A CN109270398B (en) 2017-07-18 2017-07-18 Method, device and equipment for detecting stable insertion state of plug-in card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710587606.3A CN109270398B (en) 2017-07-18 2017-07-18 Method, device and equipment for detecting stable insertion state of plug-in card

Publications (2)

Publication Number Publication Date
CN109270398A CN109270398A (en) 2019-01-25
CN109270398B true CN109270398B (en) 2020-07-28

Family

ID=65152858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710587606.3A Active CN109270398B (en) 2017-07-18 2017-07-18 Method, device and equipment for detecting stable insertion state of plug-in card

Country Status (1)

Country Link
CN (1) CN109270398B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101074976A (en) * 2006-05-15 2007-11-21 深圳Tcl新技术有限公司 Method and apparatus for inspecting connection status between display device and peripheral equipment
CN101408571A (en) * 2007-10-11 2009-04-15 瑞昱半导体股份有限公司 Inserted detection circuit
CN102269788A (en) * 2010-06-03 2011-12-07 英业达股份有限公司 Host device and plugging state detection method thereof
CN105866611A (en) * 2016-04-28 2016-08-17 乐视控股(北京)有限公司 Antenna plugging state detection device
CN106597207A (en) * 2016-12-08 2017-04-26 山东航天电子技术研究所 Integrated electronic equipment cable plugging state passive detection system and detection method
CN106789409A (en) * 2016-12-06 2017-05-31 曙光信息产业(北京)有限公司 The detection method and device of a kind of server slot

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8581600B2 (en) * 2010-12-14 2013-11-12 Hewlett-Packard Development Company, L.P. Electrical connectivity test apparatus and methods
JP2013057523A (en) * 2011-09-07 2013-03-28 Renesas Electronics Corp Probe card, semiconductor device, method for testing semiconductor device and manufacturing method of semiconductor device
CN103534983B (en) * 2012-11-30 2016-03-09 华为技术有限公司 The detection method of cable grafting situation and device
TWI461715B (en) * 2012-12-06 2014-11-21 Wistron Corp Testing apparatus and testing method of electronic device
CN102998590B (en) * 2012-12-07 2015-04-08 广东欧珀移动通信有限公司 Connector detecting device and connector detecting method
JP5904163B2 (en) * 2013-06-19 2016-04-13 株式会社オートネットワーク技術研究所 Connection detection device and in-vehicle relay device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101074976A (en) * 2006-05-15 2007-11-21 深圳Tcl新技术有限公司 Method and apparatus for inspecting connection status between display device and peripheral equipment
CN101408571A (en) * 2007-10-11 2009-04-15 瑞昱半导体股份有限公司 Inserted detection circuit
CN102269788A (en) * 2010-06-03 2011-12-07 英业达股份有限公司 Host device and plugging state detection method thereof
CN105866611A (en) * 2016-04-28 2016-08-17 乐视控股(北京)有限公司 Antenna plugging state detection device
CN106789409A (en) * 2016-12-06 2017-05-31 曙光信息产业(北京)有限公司 The detection method and device of a kind of server slot
CN106597207A (en) * 2016-12-08 2017-04-26 山东航天电子技术研究所 Integrated electronic equipment cable plugging state passive detection system and detection method

Also Published As

Publication number Publication date
CN109270398A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN111314945B (en) Test method, system and terminal equipment
US7231560B2 (en) Apparatus and method for testing motherboard having PCI express devices
US10931368B2 (en) Method and apparatus for testing using a transceiver module
US8422567B2 (en) Signal transmission apparatus and method
US20120271961A1 (en) Automated protocol selection for host adapter card
US20170138998A1 (en) Testing Device for Connection Interface and Related Testing Methods
CN107147553B (en) Method, device and equipment for adjusting Baud rate and frame format of slave station
CN107329774A (en) The method and apparatus for determining Redriver chip parameters
US20110252277A1 (en) Electronic device with debugging and software updating function
CN112799985B (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN109270398B (en) Method, device and equipment for detecting stable insertion state of plug-in card
WO2015138063A1 (en) System and method for testing a radio frequency transceiver by controlling test flow via an induced interrupt
CN115951266A (en) Computing system
KR101084060B1 (en) The data-transmittable non-polarity RS-485 communication device of BMS controller by automatic polarity discrimination
CN114299534A (en) Method and device for detecting circuit schematic diagram, terminal equipment and storage medium
US8000278B2 (en) De-activation, at least in part, of receiver, in response, at least in part, to determination that an idle condition exists
CN109542710A (en) A kind of signal testing jig and signal testing method
CN112350785B (en) Method and system for checking SERDES communication link performance
CN113986600A (en) Test method and device for chip serial interface and chip
KR101539579B1 (en) Apparatus for detecting and processing rs232c serial communication hardware fault and the method thereof
US9742654B1 (en) Communication interface testing
CN112506291A (en) Backboard cascading device and electronic equipment
CN218728862U (en) Loss expansion card and link loss evaluation system
CN113407470B (en) Method, device and equipment for multiplexing low pin count interface and universal asynchronous receiver-transmitter interface
CN107728721B (en) Card slot, and method and device for positioning abnormal source

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
GR01 Patent grant
GR01 Patent grant