CN112782616B - Method, device and system for monitoring connection state of external plug-in card - Google Patents

Method, device and system for monitoring connection state of external plug-in card Download PDF

Info

Publication number
CN112782616B
CN112782616B CN202110081793.4A CN202110081793A CN112782616B CN 112782616 B CN112782616 B CN 112782616B CN 202110081793 A CN202110081793 A CN 202110081793A CN 112782616 B CN112782616 B CN 112782616B
Authority
CN
China
Prior art keywords
golden finger
card
finger pin
abnormal
hall sensor
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
CN202110081793.4A
Other languages
Chinese (zh)
Other versions
CN112782616A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110081793.4A priority Critical patent/CN112782616B/en
Publication of CN112782616A publication Critical patent/CN112782616A/en
Application granted granted Critical
Publication of CN112782616B publication Critical patent/CN112782616B/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)
  • Measuring Magnetic Variables (AREA)

Abstract

The invention discloses a method, a device and a system for monitoring the connection state of an external plug-in card, wherein after the external plug-in card is detected to be inserted into an external slot, the measured voltage values output by all Hall sensors in the external plug-in card are obtained; determining each abnormal measurement voltage value according to each measurement voltage value and a pre-stored normal voltage value; determining the position of a first pin pair of the golden fingers which are abnormally connected in the external plug-in card according to a preset rule and each abnormal measurement voltage value; the first golden finger pins in the external plug-in card are divided into a plurality of measuring units, a Hall sensor is arranged between every two adjacent measuring units, and the number of the first golden finger pins in the measuring units is the same as that of the second golden finger pins in each group. The invention can realize the detection of the pin connection condition of each gold finger in the external plug-in card and is beneficial to improving the reliability of the system.

Description

Method, device and system for monitoring connection state of external plug-in card
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method and a device for monitoring the connection state of an external plug-in card.
Background
At present, manufacturers usually choose to use an external plug-in interface in a server and match the external plug-in card to meet the requirements of customers on enhancing the performance of the server, and the external plug-in cards interact with a CPU through a physical interface, so that the performances of the server, such as computing capacity, storage capacity and the like, are improved.
However, in practical application, because a physical connection state problem exists between the gold finger of the external plug-in card and the external plug-in interface, whether the external plug-in card can not be identified and the bandwidth is reduced can not be visually judged. In order to improve the reliability of the system, the in-place detection PIN is reserved on the golden finger of the external card at present to detect the in-place state of the equipment, but the number of the in-place PINs is limited, so that the contact state of all the PINs of the golden finger cannot be intuitively represented.
In the existing technical solution, a PCIE x16 slot is taken as an example (there are 164 PINs), 4 fixed PINs exist on a PCIE x16 gold finger as Present presence signals, the signals are grounded at an external card end and pulled up at a main board end or an adapter board end, at this time, a logic device such as a main board CPLD judges whether the external card is Present by reading a level of the Present signal, as shown in fig. 1, when the board is clamped, the presence state of the board card is detected according to whether the Present signal of the board card is pulled down, and the number of the pulled-down Present signals is read by a logic chip such as a CPLD on the main board, so as to detect the bandwidth information of the board card.
According to the practical application situation, part of the external plug-in cards occupy the Present detection PIN to serve as a signal transmission PIN, the CPLD at the mainboard end can only judge the in-place situation of the plug-in card of the slot by monitoring a certain in-place PIN, in addition, the method for detecting the Present signal can only ensure that the in-place PIN is normally connected, and the possibility of abnormal connection of other PINs caused by the damaged situation of other PINs at the part of the external slot cannot be eliminated, so that the whole connection state of the external plug-in card cannot be effectively reflected.
Therefore, it is a problem to be solved by those skilled in the art to provide a method, an apparatus and a system for monitoring connection status of an add-in card to solve the above technical problems.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and a system for monitoring the connection state of an external plug-in card, which can realize the detection of the connection condition of each gold finger pin in the external plug-in card in the using process and are beneficial to improving the reliability of the system.
In order to solve the above technical problem, an embodiment of the present invention provides a method for monitoring a connection state of an external plug-in card, including:
after an external plug-in card is detected to be inserted into an external slot, acquiring the measured voltage value output by each Hall sensor in the external plug-in card;
determining each abnormal measurement voltage value according to each measurement voltage value and a pre-stored normal voltage value;
determining the position of a first pin pair of the golden fingers which are abnormally connected in the external plug-in card according to a preset rule and each abnormal measurement voltage value; wherein:
grouping second golden finger pin pairs in an external slot in advance, wherein the magnetic poles of two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, and the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite; dividing each first golden finger pin pair in the external plug-in card into a plurality of measuring units in advance, arranging a Hall sensor between every two adjacent measuring units, wherein the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group.
Optionally, the method further includes:
pre-recording a normal voltage value output by the Hall sensor when each first gold finger pin pair in the external plug-in card is normally connected with a corresponding first gold finger pin pair in an external slot;
when the connection of each first golden finger pin pair in two adjacent measuring units on two sides of the Hall sensor is abnormal, the relative position of the first golden finger pin pair and the Hall sensor and the abnormal voltage value output by the Hall sensor are obtained in advance;
recording the corresponding relation between the abnormal voltage value and the relative position;
the process of determining the position of the first gold finger pin pair which is abnormally connected in the external plug-in card according to the preset rule and each abnormal measurement voltage value is as follows:
taking the Hall sensors corresponding to the abnormal measurement voltage values as target Hall sensors;
and determining the position of the first golden finger pin pair which is abnormally connected according to the abnormal measurement voltage values corresponding to the two adjacent target Hall sensors and the corresponding relation between the respective abnormal voltage values and the relative positions.
Optionally, the relative position between the first gold finger pin pair and the hall sensor is obtained according to the distance between the first gold finger pin pair and the hall sensor.
Optionally, after determining the position of the first gold finger pin pair connected abnormally in the external card according to the preset rule and each abnormal measurement voltage value, the method further includes:
and carrying out abnormity prompting according to the position of the first golden finger pin pair with the abnormal connection.
Optionally, the process of performing the exception prompt according to the position of the first gold finger pin pair with the abnormal connection includes:
and lightening a corresponding prompting lamp of the first golden finger pin which is abnormally connected so as to prompt abnormity.
Optionally, each measuring unit includes 4 pairs of first gold finger pin pairs.
The embodiment of the invention also correspondingly provides a device for monitoring the connection state of the external plug-in card, which comprises:
the acquisition module is used for acquiring the measurement voltage value output by each Hall sensor in the external plug-in card after the external plug-in card is detected to be inserted into the external slot;
the determining module is used for determining each abnormal measuring voltage value according to each measuring voltage value and a pre-stored normal voltage value;
the monitoring module is used for determining the position of a first golden finger pin pair which is abnormally connected in the external plug-in card according to a preset rule and each abnormal measurement voltage value; wherein:
grouping second golden finger pin pairs in an external slot in advance, wherein the magnetic poles of two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, and the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite; dividing each first golden finger pin pair in the external plug-in card into a plurality of measuring units in advance, arranging a Hall sensor between every two adjacent measuring units, wherein the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group.
The embodiment of the invention also provides a system for monitoring the connection state of an external plug-in card, which comprises: the Hall sensor is arranged between every two adjacent measuring units in the external plug-in card, and the processor and the memory are connected with each Hall sensor; wherein:
dividing each first golden finger pin pair in the external card into a plurality of measuring units in advance, grouping each second golden finger pin pair in an external slot in advance, wherein the magnetic poles of two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite, and the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group;
the memory for storing a computer program;
the processor is configured to implement the steps of the method for monitoring connection status of the add-in card when executing the computer program.
Optionally, the hall sensor is disposed in the middle of a dielectric layer in the outer plug-in card.
Optionally, a prompt lamp corresponding to each of the first gold fingers pin is further included;
the processor is further used for controlling the first golden finger pin which is abnormally connected to start a corresponding prompting lamp after the first golden finger pin which is abnormally connected is determined, so that abnormal prompting is carried out.
The embodiment of the invention provides a method, a device and a system for monitoring the connection state of an external plug-in card, wherein the method groups second golden finger pins in an external slot in advance, the magnetic poles of the two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, and the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite; dividing each first golden finger pin pair in the external plug-in card into a plurality of measuring units in advance, arranging a Hall sensor between every two adjacent measuring units, wherein the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group, after the external plug-in card is detected to be plugged into an external slot, the Hall sensors can output corresponding measuring voltage values due to the change of a magnetic field, comparing the measuring voltage values output by the Hall sensors with the normal voltage values output by the Hall sensors when the external plug-in card is normally plugged in advance to determine each abnormal voltage value, and then analyzing each abnormal voltage value according to the preset rule established in advance to determine the position of the first golden finger pin pair which is abnormally connected in the external plug-in card, so that the invention can realize the detection of the connection condition of each golden finger pin in the external plug-in card, and the system reliability is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic diagram of an in-situ detection architecture of an external card in the prior art;
fig. 2 is a schematic flowchart of a method for monitoring connection status of an add-in card according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a pin magnetic pole of a gold finger in an external socket according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a stacked position of a hall sensor in an external card according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hall sensor placement location according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a relationship between output voltage of a linear Hall sensor and magnetic induction intensity at a measuring point according to an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating a relationship between an output voltage of a linear Hall sensor and a magnetic induction intensity value at a measuring point according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an analog-to-digital conversion circuit according to an embodiment of the present invention;
fig. 9 is a schematic view of a warning light according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a device for monitoring connection status of an external plug-in card according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device and a system for monitoring the connection state of an external plug-in card, which can realize the detection of the connection condition of each gold finger pin in the external plug-in card in the using process and are beneficial to improving the reliability of the system.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a method for monitoring a connection status of an external plug-in card according to an embodiment of the present invention. The method comprises the following steps:
it should be noted that, a magnetic material may be added in advance to each second gold finger pin in the external slot, so that each second gold finger pin has a certain polarity, as shown in fig. 3, the second gold finger pins are paired, a magnetic pole of one second gold finger pin in each second gold finger pin pair is an N pole, a magnetic pole of one second gold finger pin is an S pole, and each second gold finger pin pair is grouped, each group has a plurality of second gold finger pairs, for example, 4 second gold finger pins may be paired into one group, as shown in fig. 3, 3 groups of second gold finger pins pairs, where the magnetic poles of the second gold finger pins located on the same side in each group are the same, and the magnetic poles of the second gold finger pins on the same side in two adjacent groups are opposite.
The method comprises the steps that a plurality of Hall sensors are arranged on an external plug-in card in advance, wherein the external plug-in card comprises a plurality of first golden finger pin pairs, the first golden finger pins are divided into a plurality of measuring units in advance in a halving mode in the application, one Hall sensor is arranged between every two measuring units, the specific Hall sensor can be arranged in a dielectric layer between two layers of golden fingers, in order to improve measuring accuracy, the Hall sensors can be arranged in the middle of the dielectric layer, as shown in fig. 4, and every 4 first golden finger pins can be divided into one measuring unit in a halving mode, as shown in fig. 5, one Hall sensor is arranged between every two adjacent measuring units.
It should be further noted that the hall sensor in the embodiment of the present invention may specifically be a linear hall sensor, and the specific linear hall sensor has a simple structure, a small volume, and is sensitive to a magnetic field, and a wireThe magnetic induction intensity B that nature hall sensor discernment magnetic induction intensity B size and direction change, after outer plug-in card inserts to external slot, first golden finger PIN in every measuring unit in the outer plug-in card just in time corresponds with the second golden finger PIN in every group in external slot and is connected, because second golden finger PIN has certain polarity, and the magnetic pole setting polarity of every group second golden finger PIN pair in the external slot of every hall sensor control is opposite, consequently when certain second golden finger PIN offset, the magnetic induction intensity B that hall sensor discerned can change, as shown in fig. 6. Since the magnetic induction B is a vector, the direction of the magnetic induction B needs to be considered when calculating the magnetic induction at the measurement point, and if only the magnitude | B | of the magnetic induction is considered, the linear hall sensor outputs a voltage, as shown in fig. 7, i.e., | B | in fig. 70The | is a test threshold value, and only when the value of the magnetic induction intensity at a test point is greater than | B0When the magnetic induction intensity is | B |, the linear Hall sensor can output the magnetic induction intensity to the outsideHWhen the voltage is equal to the voltage, the value of the magnetic induction intensity at the measuring point reaches the maximum (at the moment, the magnetic induction intensity B is 0), and the output voltage is U0
In addition, after the external plug-in card is inserted into the external slot, the first golden finger pin in each measuring unit in the external plug-in card is just in time correspondingly connected with the second golden finger pin in each group in the external slot, when all connecting normally, there is a measuring unit in each hall sensor both sides, and magnetic induction intensity B's opposite direction in two measuring units, the size equals, consequently can record in advance and the normal voltage value of hall sensor output when normally connecting, when the measured voltage value that hall sensor output when actual measurement is inconsistent with normal voltage value, then explain that there is first golden finger pin pair not normally connected to corresponding second golden finger pin pair.
S110: after the external plug-in card is detected to be inserted into the external slot, the measured voltage value output by each Hall sensor in the external plug-in card is obtained; s120: determining each abnormal measurement voltage value according to each measurement voltage value and a prestored normal voltage value;
s130: determining the position of a first pin pair of the golden fingers which are abnormally connected in the external plug-in card according to a preset rule and each abnormal measurement voltage value; wherein:
grouping second golden finger pin pairs in the external slot in advance, wherein the magnetic poles of the two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, and the magnetic poles of the second golden finger pins positioned on the same side in the two adjacent groups are opposite; each first golden finger pin pair in the external card is divided into a plurality of measuring units in advance, a Hall sensor is arranged between every two adjacent measuring units, and the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group.
Specifically, in the actual detection process, after the external plug-in card is detected to be inserted into the external slot, the measured voltage value output by each hall sensor on the external plug-in card can be obtained, and as the magnetic induction intensity of one hall sensor is mainly influenced by each second golden finger pin pair in two measuring units at two sides of the hall sensor, the closer the hall sensor is, the larger the influence on the voltage value output by the hall sensor is, and the farther the hall sensor is, the smaller the influence on the voltage value output by the hall sensor is. After obtaining each measured voltage value, comparing each measured voltage value with a normal voltage value, thereby determining which measured voltage values are abnormal measured voltage values, then roughly positioning a measuring unit where a first golden finger pin pair with abnormal connection is located according to the hall sensors outputting the abnormal voltage values, and then further determining the specific position of the first golden finger pin pair with abnormal connection according to the abnormal voltage values corresponding to the two adjacent hall sensors outputting the abnormal voltage values. Further, the method may further include:
the method comprises the steps that a normal voltage value output by a Hall sensor when each first gold finger pin pair in an external plug-in card is normally connected with a corresponding first gold finger pin pair in an external slot is recorded in advance;
the method comprises the steps that when the connection of each first golden finger pin pair in two adjacent measuring units on two sides of a Hall sensor is abnormal, the relative position of the first golden finger pin pair and the Hall sensor and an abnormal voltage value output by the Hall sensor are obtained in advance;
recording the corresponding relation between the abnormal voltage value and the relative position;
it should be noted that, for the hall sensor, the relational expression is calculated based on
Figure BDA0002909365530000081
Wherein R isHIs Hall coefficient, I is current, d is conductor thickness, voltage UHIs proportional to the value of magnetic induction B
Figure BDA0002909365530000082
It can be seen that the value of the magnetic induction B is proportional to the value of the magnetic field H, so that the potential difference UHIs proportional to the magnetic field strength H, the direction of the magnetic induction B determines the potential difference UHThe first golden finger pin in each measuring unit is connected abnormally, abnormal voltage values output by the Hall sensor can be recorded in advance, and therefore the first golden finger pin which is away from the Hall sensor in which distance is abnormal can be determined according to the measured voltage values output by the Hall sensor in the detection process, and the first golden finger pin which is connected abnormally is located.
Specifically, as shown in fig. 5, each first gold finger pin pair may be numbered, or an ID may be assigned to each first gold finger pin pair, an ID may be assigned to each hall sensor, for one hall sensor, connection abnormality may be performed in advance by controlling different first gold finger pins in two measurement units on both sides of the hall sensor, and an abnormal voltage value output by the hall sensor may be recorded, specifically, a relative distance between the first gold finger pin pair and the hall sensor may be further obtained by the number of the first gold finger pin pair and the ID of the hall sensor, and a correspondence relationship between the number of the first gold finger pin pair and the ID of the hall sensor may be recorded.
Of course, the first gold finger pin pairs in the two-side measurement units of the hall sensor may be numbered with respect to the ID of the hall sensor to indicate the relative position of each first gold finger pin and the hall sensor, for example, if one of the measurement units on the left side of the hall sensor a is numbered AL1 and the second is numbered AL2, and so on, for example, if one measurement unit is composed of 4 pairs of first gold finger pin pairs, the numbers (arranged according to the positional relationship) of the first gold finger pin pairs in the two measurement units on the two sides of the hall sensor a may be AL4, AL3, AL2, AL1, A, AR1, AR2, AR3 and AR4, and the numbers (arranged according to the positional relationship) of the first gold finger pin pairs in the two measurement units on the two sides of the hall sensor B adjacent to the hall sensor a may be BL4, BL3, BL2, BL1, BL 3847 and so on the hall sensor B, B. BR1, BR2, BR3, BR4, if Hall sensor B is located Hall sensor A's right side, then the first golden finger pin pair that serial number BL4 corresponds is the same with the first golden finger pin pair that serial number AR1 corresponds, BL3 is the same with the same first golden finger pin pair that AR2 corresponds, BL2 corresponds the same first golden finger pin pair with AR3, BL1 corresponds the same first golden finger pin pair with AR 4.
Since the distances A between the AL4 and the AR4 are the same, when the connection of one first golden finger pin pair of the AL4 and the AR4 is abnormal, the Hall sensor A outputs the same abnormal voltage value U4; the distances between the AL3 and the AR3 are the same, when one of the AL3 and the AR3 is abnormal in connection, the Hall sensor A outputs the same abnormal voltage value U3, and the distances between the AL2 and the AR2 are the same, when one of the AL2 and the AR2 is abnormal in connection, the Hall sensor A outputs the same abnormal voltage value U2, the distances between the AL1 and the AR1 are the same in distance from the A, and when one of the AL1 and the AR1 is abnormal in connection, the Hall sensor A outputs the same abnormal voltage value U1. Similarly, for the hall sensor B, when one pin pair of the first gold fingers in BL4 and BR4 is abnormal in connection, the output of the hall sensor B is the same abnormal voltage value U4, when one pin pair in BL3 and BR3 is abnormal in connection, the hall sensor B outputs the same abnormal voltage value U3, when one pin pair in BL2 and BR2 is abnormal in connection, the hall sensor B outputs the same abnormal voltage value U2, and when one pin pair in BL1 and BR1 is abnormal in connection, the hall sensor B outputs the same abnormal voltage value U1. Therefore, which two first golden fingers pin in the measuring units on two sides of the hall sensor may have abnormal connection can be further determined according to the abnormal measuring voltage value actually output by the hall sensor, and then which first golden finger pin is specifically determined to have abnormal connection according to the abnormal measuring voltage value of the hall sensor adjacent to the hall sensor, so that the position of the first golden finger pin with abnormal connection is determined.
Of course, in practical application, how to number each first gold finger pin pair may be determined according to actual needs.
Then, the process of determining the position of the first gold finger pin pair connected abnormally in the external plug-in card according to the preset rule and each abnormal measurement voltage value may specifically be:
taking the Hall sensors corresponding to the abnormal measurement voltage values as target Hall sensors;
and determining the position of the first golden finger pin pair which is connected abnormally according to the abnormal measurement voltage values corresponding to the two adjacent target Hall sensors and the corresponding relation between the respective abnormal voltage values and the relative positions.
Namely, according to the abnormal measurement voltage values output by the two adjacent target hall sensors and the corresponding relation between the abnormal voltage values and the relative positions recorded in advance, the position of the first golden finger pin pair with abnormal connection can be determined.
It should be further noted that analog-to-digital conversion can also be performed on the measurement voltage value output by the hall sensor so as to clearly determine whether the measurement voltage value is normal, and when the measurement voltage value is abnormal, the second golden finger pin pair which is abnormally connected can be quickly and accurately located, specifically, the output corresponding to the first golden finger pin pair which is normally connected is high, the output corresponding to the first golden finger pin pair which is abnormally connected is low, and if the hall sensor has no output voltage, the output of the analog-to-digital conversion circuit is also low, so that the output voltage of the hall sensor is converted into a set of digital signals, wherein a schematic diagram of the analog-to-digital conversion circuit is shown in fig. 8. In addition, after the position of the first golden finger pin pair with abnormal connection in the outer plug-in card is determined, abnormal prompt can be performed according to the position of the first golden finger pin pair with abnormal connection, and the abnormal prompt can be performed by lighting a prompt lamp corresponding to the first golden finger pin pair with abnormal connection. Specifically, a green indicator light and a red indicator light (as shown in fig. 9) may be set for each pair of the first golden fingers pin, and when the first golden fingers pin are normally connected, the corresponding green indicator light is turned on, and when the first golden fingers pin are abnormally connected, the corresponding red indicator light is turned on.
Specifically, after the external plug-in card is inserted into the external slot, if each first gold finger pin pair in two adjacent measuring units is normal to the connection state of the corresponding second gold finger pin pair in the slot, the magnetic induction intensity in the measuring units on two sides measured by the hall sensor is the same in size and opposite in direction, the vector sum of the magnetic induction intensity of the hall sensor is 0, and the sum of the magnetic induction intensity values is | BHI, the output voltages of two adjacent Hall sensors are U at the moment0The output settings after passing through the analog-to-digital conversion circuit are 11111111, the external plug-in card CPLD receives the signal and sends the on-site information of the first golden finger pin pair to the mainboard through the I2C link, and at this time, the mainboard CPLD analyzes the signal and determines that each first golden finger pin pair in the measurement unit is normally connected, and lights each green light corresponding to the corresponding measurement unit.
When the external card is inserted, if the first gold finger pin pairs are correctly connected, but the first gold finger pin pairs are not completely inserted into the external slot, the magnetic induction intensity of the 4 first gold finger pin pairs in the previous measuring unit measured by the hall sensor is the same as the magnetic induction intensity of the 4 first gold finger pin pairs in the next measuring unit measured by the hall sensor, and the directions of the magnetic induction intensities are opposite, so that the magnetic induction intensity B at the hall sensor is 0. Because the first golden finger pin pair is not completely connected with the external slot, the magnetic field intensity is smaller than that under the normal condition, and the magnetic sensor recognizes that the value of the magnetic induction intensity is smaller than | B0And the two Hall sensors have no output, the output after passing through the analog-to-digital conversion circuit is set to 00000000, the external plug-in card CPLD receives the signal and sends the in-place information of the first golden finger pin to the mainboard through the I2C link, and the mainboard CPLD analyzes the signal and lights the red lamps corresponding to the groups.
After the external plug-in card is inserted, the first golden finger pins are completely inserted into the slots, but the physical connection state of a certain group of golden finger pin pairs and the external slot is abnormal, at the moment, the relative position of the external plug-in interface pins changes compared with the normal state, the magnetic induction intensity of the 4 first golden finger pin pairs in the previous measuring unit and the magnetic induction intensity of the 4 first golden finger pin pairs in the next measuring unit are measured by the Hall sensors, and the positions of the abnormal first golden finger pin pairs can be determined according to the abnormal measuring voltage values output by the two adjacent Hall sensors and the corresponding relation between the abnormal voltage values and the relative positions recorded in advance.
For example, if a problem occurs in the first gold finger pin pair 7 in fig. 5, the abnormal output voltage of the hall sensor 1 is Ua, the abnormal output voltage of the hall sensor 2 is Ub, and according to the correspondence between the abnormal voltage value and the relative position recorded in advance, the distance from the abnormal point to the hall sensor 1 is 3, and the distance from the abnormal point to the hall sensor 2 is 2, that is, the connection abnormality of the first gold finger pin pair 7 can be determined. Specifically, the output of the analog-to-digital conversion circuit is 11111101 for the hall sensor 1, and 11011111 for the hall sensor 2, the external card CPLD can determine that the first gold finger PIN pair 7 is connected according to the signal, further can send the PIN in-place information to the motherboard through the I2C link, and at this time, the motherboard CPLD analyzes the signal and lights the red light corresponding to the first gold finger PIN pair 7.
Therefore, the method groups the second golden finger pins in the external slot in advance, the magnetic poles of the two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, and the magnetic poles of the second golden finger pins positioned on the same side in the two adjacent groups are opposite; dividing each first golden finger pin pair in the external plug-in card into a plurality of measuring units in advance, arranging a Hall sensor between every two adjacent measuring units, wherein the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group, after the external plug-in card is detected to be plugged into an external slot, the Hall sensors can output corresponding measuring voltage values due to the change of a magnetic field, comparing the measuring voltage values output by the Hall sensors with the normal voltage values output by the Hall sensors when the external plug-in card is normally plugged in advance to determine each abnormal voltage value, and then analyzing each abnormal voltage value according to the preset rule established in advance to determine the position of the first golden finger pin pair which is abnormally connected in the external plug-in card, so that the invention can realize the detection of the connection condition of each golden finger pin in the external plug-in card, and the system reliability is improved.
On the basis of the above embodiments, the embodiment of the present invention further provides a device for monitoring the connection status of an external plug-in card, which is specifically shown in fig. 10. The device comprises:
the obtaining module 21 is configured to obtain a measured voltage value output by each hall sensor in the external plug-in card after the external plug-in card is detected to be inserted into the external slot;
a determining module 22, configured to determine each abnormal measured voltage value according to each measured voltage value and a pre-stored normal voltage value;
the monitoring module 23 is configured to determine, according to a preset rule and each abnormal measurement voltage value, a position of a first gold finger pin pair which is abnormally connected in the external plug-in card; wherein:
grouping the second golden finger pin pairs in the external slot in advance, wherein the magnetic poles of the two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, and the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite; each first golden finger pin pair in the external card is divided into a plurality of measuring units in advance, a Hall sensor is arranged between every two adjacent measuring units, and the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group.
It should be noted that the monitoring device for the connection state of the external plug-in card in the embodiment of the present invention has the same beneficial effects as the monitoring method for the connection state of the external plug-in card provided in the above embodiment, and for the specific description of the monitoring method for the connection state of the external plug-in card in the embodiment of the present invention, reference is made to the above embodiment, and the description of the present invention is omitted here for brevity.
On the basis of the above embodiment, the embodiment of the present invention further provides a system for monitoring a connection state of an external plug-in card, including: the Hall sensor is arranged between every two adjacent measuring units in the external plug-in card, and the processor and the memory are connected with each Hall sensor; wherein:
dividing each first golden finger pin pair in the external card into a plurality of measuring units in advance, grouping each second golden finger pin pair in the external slot in advance, wherein the magnetic poles of two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite, and the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group;
a memory for storing a computer program;
and the processor is used for realizing the steps of the monitoring method of the connection state of the external plug-in card when executing the computer program.
The processor in the embodiment of the invention can be specifically used for acquiring the measurement voltage value output by each hall sensor in the external plug-in card after the external plug-in card is detected to be inserted into the external slot; determining each abnormal measurement voltage value according to each measurement voltage value and a prestored normal voltage value; and determining the position of the first pin pair of the golden fingers which are abnormally connected in the external plug-in card according to the preset rule and each abnormal measurement voltage value.
Furthermore, the Hall sensor in the embodiment of the invention is arranged in the middle of the medium layer in the outer plug-in card.
Further, the system may further include a warning light corresponding to each of the first gold fingers pin;
and the processor is also used for controlling and connecting the abnormal first golden finger pin to open the corresponding prompting lamp after the abnormal first golden finger pin pair is determined so as to prompt the abnormality.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for monitoring connection status of an external plug-in card is characterized by comprising the following steps:
after an external plug-in card is detected to be inserted into an external slot, acquiring the measured voltage value output by each Hall sensor in the external plug-in card;
determining each abnormal measurement voltage value according to each measurement voltage value and a pre-stored normal voltage value;
determining the position of a first pin pair of the golden fingers which are abnormally connected in the external plug-in card according to a preset rule and each abnormal measurement voltage value; wherein:
grouping second golden finger pin pairs in an external slot in advance, wherein the magnetic poles of two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, and the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite; dividing each first golden finger pin pair in the external plug-in card into a plurality of measuring units in advance, arranging a Hall sensor between every two adjacent measuring units, wherein the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group.
2. The method for monitoring connection status of add-in cards according to claim 1, further comprising:
pre-recording a normal voltage value output by the Hall sensor when each first golden finger pin pair in the external plug-in card is normally connected with a corresponding first golden finger pin pair in the external slot;
the method comprises the steps that when the connection of each first golden finger pin pair in two adjacent measuring units on two sides of a Hall sensor is abnormal, the relative position of the first golden finger pin pair and the Hall sensor and an abnormal voltage value output by the Hall sensor are obtained in advance;
recording the corresponding relation between the abnormal voltage value and the relative position;
the process of determining the position of the first gold finger pin pair which is abnormally connected in the external plug-in card according to the preset rule and each abnormal measurement voltage value is as follows:
taking the Hall sensors corresponding to the abnormal measurement voltage values as target Hall sensors;
and determining the position of the first golden finger pin pair which is abnormally connected according to the abnormal measurement voltage values corresponding to the two adjacent target Hall sensors and the corresponding relation between the respective abnormal voltage values and the relative positions.
3. The method for monitoring the connection status of the add-in card of claim 2, wherein the relative position of the first gold finger pin pair and the hall sensor is obtained according to the distance between the first gold finger pin pair and the hall sensor.
4. The method for monitoring the connection status of an external plug-in card according to claim 1, wherein after the determining the position of the first pin pair with abnormal connection in the external plug-in card according to the preset rule and each of the abnormal measurement voltage values, the method further comprises:
and carrying out abnormity prompting according to the position of the first golden finger pin pair with the abnormal connection.
5. The method for monitoring the connection status of an add-in card according to claim 4, wherein the process of performing the abnormal prompt according to the position of the first pin pair with abnormal connection comprises:
and lightening a corresponding prompting lamp of the first golden finger pin which is abnormally connected so as to prompt abnormity.
6. The method for monitoring connection status of add-in cards according to claim 1, wherein each of said measuring units comprises 4 pairs of first golden fingers pin pairs.
7. An apparatus for monitoring connection status of external plug-in card, comprising:
the acquisition module is used for acquiring the measurement voltage value output by each Hall sensor in the external plug-in card after the external plug-in card is detected to be inserted into the external slot;
the determining module is used for determining each abnormal measuring voltage value according to each measuring voltage value and a pre-stored normal voltage value;
the monitoring module is used for determining the position of a first golden finger pin pair which is abnormally connected in the external plug-in card according to a preset rule and each abnormal measurement voltage value; wherein:
grouping second golden finger pin pairs in an external slot in advance, wherein the magnetic poles of two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, and the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite; dividing each first golden finger pin pair in the external plug-in card into a plurality of measuring units in advance, arranging a Hall sensor between every two adjacent measuring units, wherein the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group.
8. A system for monitoring connection status of an add-in card, comprising: the Hall sensor is arranged between every two adjacent measuring units in the external plug-in card, and the processor and the memory are connected with each Hall sensor; wherein:
dividing each first golden finger pin pair in the external card into a plurality of measuring units in advance, grouping each second golden finger pin pair in an external slot in advance, wherein the magnetic poles of two second golden finger pins in each second golden finger pin pair are opposite, the magnetic poles of the second golden finger pins positioned on the same side in each group are the same, the magnetic poles of the second golden finger pins positioned on the same side in two adjacent groups are opposite, and the number of the first golden finger pin pairs in each measuring unit is the same as that of the second golden finger pin pairs in each group;
the memory for storing a computer program;
the processor, when executing the computer program, implements the steps of the method for monitoring the connection status of the add-in card according to any one of claims 1 to 6.
9. The system for monitoring the connection status of an external plug-in card of claim 8, wherein the hall sensor is disposed in the middle of a dielectric layer in the external plug-in card.
10. The system for monitoring connection status of add-in cards according to claim 8, further comprising a warning light corresponding to each of the first gold fingers pin;
the processor is further used for controlling the first golden finger pin which is abnormally connected to start a corresponding prompting lamp after the first golden finger pin which is abnormally connected is determined, so that abnormal prompting is carried out.
CN202110081793.4A 2021-01-21 2021-01-21 Method, device and system for monitoring connection state of external plug-in card Active CN112782616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110081793.4A CN112782616B (en) 2021-01-21 2021-01-21 Method, device and system for monitoring connection state of external plug-in card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110081793.4A CN112782616B (en) 2021-01-21 2021-01-21 Method, device and system for monitoring connection state of external plug-in card

Publications (2)

Publication Number Publication Date
CN112782616A CN112782616A (en) 2021-05-11
CN112782616B true CN112782616B (en) 2022-06-07

Family

ID=75758029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110081793.4A Active CN112782616B (en) 2021-01-21 2021-01-21 Method, device and system for monitoring connection state of external plug-in card

Country Status (1)

Country Link
CN (1) CN112782616B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009012680A1 (en) * 2007-07-24 2009-01-29 Huawei Technologies Co., Ltd. Method and system for detecting a broken pin in a golden finger
CN109103652A (en) * 2018-08-24 2018-12-28 郑州云海信息技术有限公司 server and connector
CN111856339A (en) * 2019-04-18 2020-10-30 神讯电脑(昆山)有限公司 Pogo Pin detection device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009012680A1 (en) * 2007-07-24 2009-01-29 Huawei Technologies Co., Ltd. Method and system for detecting a broken pin in a golden finger
CN109103652A (en) * 2018-08-24 2018-12-28 郑州云海信息技术有限公司 server and connector
CN111856339A (en) * 2019-04-18 2020-10-30 神讯电脑(昆山)有限公司 Pogo Pin detection device

Also Published As

Publication number Publication date
CN112782616A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
TWI546545B (en) Auxiliary test circuit and chip and circuit board using the same
CN110191017B (en) Monitoring system and method for monitoring routing equipment abnormity
US8597048B2 (en) Multilevel connector system
CN112782616B (en) Method, device and system for monitoring connection state of external plug-in card
CN115098319A (en) Method, device and equipment for detecting power-on time sequence of power supply and readable medium
US9158646B2 (en) Abnormal information output system for a computer system
CN104835245B (en) The method of the installation of medium cassette installation detecting device and detection medium cassette
CN114490208A (en) Test apparatus, test method, computer device, storage medium, and program product
CN112557282B (en) Small hole blocking recognition method and device for blood cell analyzer
US20130156064A1 (en) System and method for testing electronic device
CN107908303B (en) Touch processing device, electronic system and touch processing method thereof
JP3911265B2 (en) Signal processing device
KR101288695B1 (en) Device for detecting cassette and medium processing device thereof
CN101329379A (en) Method and device for detecting electronic component pin
JP7435071B2 (en) Diagnostic equipment, diagnostic methods and programs
CN220154582U (en) Device, apparatus and system for verifying chip
JPH0275087A (en) Magnetic line sensor
KR200225512Y1 (en) Device of Signal Line Error Detection for Circuit Board Assembly
JP2003248796A (en) Pc card detection device
CN115560878B (en) Equipment temperature detection method, device, equipment and storage medium
CN115934507A (en) Automatic test method, device and equipment of result checker and storage medium
TW479140B (en) Apparatus and method for calibrating relative impedance
CN117809730A (en) DDR DIMM fault rapid analysis equipment and method
CN114490240A (en) Fan module aging test method, system, terminal and storage medium
JP2003007087A (en) Test method of memory, test device and memory module for testing

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