CN114623756B - Plug-in position detection device and electronic equipment - Google Patents

Plug-in position detection device and electronic equipment Download PDF

Info

Publication number
CN114623756B
CN114623756B CN202210320396.2A CN202210320396A CN114623756B CN 114623756 B CN114623756 B CN 114623756B CN 202210320396 A CN202210320396 A CN 202210320396A CN 114623756 B CN114623756 B CN 114623756B
Authority
CN
China
Prior art keywords
pressure
plug
management controller
baseboard management
detection device
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
CN202210320396.2A
Other languages
Chinese (zh)
Other versions
CN114623756A (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 CN202210320396.2A priority Critical patent/CN114623756B/en
Publication of CN114623756A publication Critical patent/CN114623756A/en
Application granted granted Critical
Publication of CN114623756B publication Critical patent/CN114623756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L5/00Apparatus for, or methods of, measuring force, work, mechanical power, or torque, specially adapted for specific purposes
    • G01L5/0004Force transducers adapted for mounting in a bore of the force receiving structure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a plug-in-place detection device and electronic equipment. The plug-in position detection device comprises: the connector female is used for being inserted into the male of the external plug-in equipment. The pressure-sensitive sensor is connected with the elastic sheet in the female socket of the connector and is used for detecting the pressure information of the elastic sheet. The first end of the routing chip is connected with the pressure sensor, and the second end of the routing chip is connected with the baseboard management controller and used for transmitting pressure information detected by the pressure sensor to the baseboard management controller. The baseboard management controller is used for determining whether the male plug of the external plug device is plugged in place based on the pressure information. Through inserting detection device that targets in place, when the male head of external equipment inserts the female head of connector, base plate management controller can be according to the pressure information that the pressure sensor who is connected with the interior shell fragment of female head slot of connector transmitted, detects whether the male head of external equipment inserts in place, and then makes the testing process of grafting state faster, more convenient, more helps improving production maintenance efficiency.

Description

Plug-in position detection device and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a plug-in-place detection device and electronic equipment.
Background
The server, as one type of computer, can provide services such as computing, storage, data exchange, etc. for internet users. Because the server has the characteristics of high operation rate, long running time, high data throughput, strong expansibility and the like, when the number of the whole devices is large, various extrapolation devices can be concentrated in the same server. The external plugging equipment is connected with a thin line cable (Slimline) connector in the server plugging in the in-place detection device through direct plugging, so that the space of a slot on the plugging in-place detection device is reduced, plates are saved, and the design convenience of the board card is improved.
However, when the external plugging device is not plugged in place, the problems that the external plugging device cannot be identified, the bandwidth is abnormal and the like easily occur, and the plugging interior cannot be directly observed by naked eyes. Therefore, when the external plugging equipment has a contact problem, the contact problem cannot be found in time, and the operations such as production assembly and problem positioning are not facilitated.
In the related art, when detecting whether an external device is plugged in place, the detection is based on a server system, the bandwidth and the rate of the external device are obtained through a lspci instruction (an instruction for displaying the information of all peripheral component interconnect standards (Peripheral Component Interconnect, PCI) devices) issued by the system, and the judgment is based on the comparison between the uplink bandwidth allocated by a CPU and the bandwidth of the external device itself. However, by adopting the mode for judging, the detection needs to be carried out after the installation of the server is completed, the detection time is long, and the efficiency of checking the plugging condition of the externally inserted equipment is low.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect of low detection efficiency in the prior art for detecting whether the external plug-in equipment connected with the server plug-in position detection device is plugged in position, so as to provide the plug-in position detection device and the electronic equipment.
In a first aspect, the present invention provides a plug-in-place detection device comprising: the device comprises a connector female, a pressure-sensitive sensor, a baseboard management controller and a routing chip;
the connector female is used for being inserted into the male of the external plug equipment;
the pressure-sensitive sensor is connected with the elastic sheet in the connector female socket and is used for detecting pressure information of the elastic sheet;
the first end of the routing chip is connected with the pressure sensor, and the second end of the routing chip is connected with the baseboard management controller and is used for transmitting pressure information detected by the pressure sensor to the baseboard management controller;
the baseboard management controller is configured to determine whether the male plug of the external device is plugged in place based on the pressure information.
In this mode, when the male head of the external equipment inserts the female head of the connector, the baseboard management controller can detect whether the male head of the external equipment is inserted in place according to pressure information transmitted by the pressure-sensitive sensor connected with the elastic sheet in the female head slot of the connector, so that the detection process of the inserting state is faster and more convenient, and the production maintenance efficiency is improved more favorably.
With reference to the first aspect, in a first embodiment of the first aspect, the number of pressure-sensitive sensors is the same as the number of elastic sheets, and each pressure-sensitive sensor detects pressure information of one elastic sheet.
With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect, the routing chip transmits pressure information detected by each pressure sensor to the baseboard management controller respectively.
With reference to the first aspect, in a third embodiment of the first aspect, the plug-in position detection device further includes a voltage regulator;
the first end of the voltage regulator is connected with the pressure-sensitive sensor and is used for supplying power to the pressure-sensitive sensor;
the baseboard management controller is connected with the second end of the voltage regulator and used for controlling whether the voltage regulator supplies power for the pressure-sensitive sensor.
With reference to the third embodiment of the first aspect, in a fourth embodiment of the first aspect, the baseboard management controller controls whether the voltage regulator supplies power to the pressure sensor by sending an enable signal to the voltage regulator.
With reference to the fourth embodiment of the first aspect, in a fifth embodiment of the first aspect, the baseboard management controller includes a controller for controlling whether the voltage regulator supplies power to the pressure sensor according to the amount of information obtained from the pressure information.
With reference to the first aspect, in a sixth embodiment of the first aspect, the plugging-in position detecting device further includes a status light connected to the baseboard management controller, where the status light is used to prompt a plugging state of the connector female connector and the plugging-out device.
With reference to the first aspect, in a seventh embodiment of the first aspect, the routing chip is an integrated circuit bus switch chip, and is configured to transmit pressure information detected by the pressure sensor to the baseboard management controller based on an integrated circuit bus protocol.
With reference to the first aspect, in an eighth embodiment of the first aspect, an interface function of the connector female is a custom function.
In a second aspect, the present invention further provides an electronic device, where the electronic device includes the plug-in position detection device according to any one of the first aspect and optional embodiments thereof.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a plug-in position detection device according to an exemplary embodiment.
Fig. 2 is a schematic diagram of another plug-in position detection device according to an exemplary embodiment.
Fig. 3 is a schematic diagram of still another plug-in position detection device according to an exemplary embodiment.
Fig. 4 is a flowchart of a plug state detection method of an external plug device according to an exemplary embodiment.
Fig. 5 is a flowchart of another plug-in status detection method of an external plug-in device according to an exemplary embodiment.
Fig. 6 is a flowchart of a method for detecting a plug state of a further plug device according to an exemplary embodiment.
Fig. 7 is a flowchart of a method for detecting a plug state of a further plug device according to an exemplary embodiment.
Fig. 8 is a block diagram of a plug-in state detecting device of an external plug-in device according to an exemplary embodiment.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the related art, the detection of whether the extrapolation device is plugged in place is based on the server system. After the normal installation of the server is completed and the power-on is performed, the bandwidth and the rate of the extrapolation device are acquired through a lspci instruction (an instruction for displaying the information of all peripheral component interconnect standards (Peripheral Component Interconnect, PCI) devices) issued by the system, and then judgment is performed based on the comparison between the uplink bandwidth allocated by the CPU and the bandwidth of the extrapolation device itself. However, by adopting the mode for judging, the detection needs to be carried out after the installation of the server is completed, the detection time is long, and the efficiency of checking the plugging condition of the external equipment is low.
In order to solve the above problems, an embodiment of the present invention provides a plugging in position detection device, which is suitable for detecting whether an external plugging device is plugged in position in a use scenario. In the plugging in position detection device provided by the invention, the pressure information received by the elastic sheet in the female connector slot can be detected by the pressure-sensitive sensor connected with the elastic sheet in the female connector slot when the male plug of the external plugging device is plugged into the female connector, and the pressure information is transmitted to the baseboard management controller, so that the baseboard management controller can determine whether the external plugging device is plugged in position. Therefore, when the plugging state of the plugging equipment is detected, the plugging state can be detected after the baseboard management controller is started, so that the detection process of the plugging state is faster and more convenient, and the production and maintenance efficiency is improved.
Fig. 1 is a schematic diagram of a plug-in position detection device according to an exemplary embodiment. As shown in fig. 1, the plug-in position detection device 100 includes the following components: the connector female 10, the pressure sensitive sensor 20, the routing chip 30, and the baseboard management controller 40 route the chip 30.
The connector female 10 is used for plugging the male of the external plug-in equipment.
In an embodiment of the invention, the connector is a component for establishing a communication connection between the external plug-in device and the electronic device in which the plug-in to place detection device is located. When the external plug equipment is needed to be accessed, the male plug of the external plug equipment is inserted into the slot of the female plug of the connector.
In one example, the interface function of the connector header 10 is a custom function. The connector may be a Slimline connector.
The pressure sensor 20 is connected with the elastic sheet in the slot of the connector female head 10 and is used for detecting the pressure information of the elastic sheet.
In the embodiment of the present invention, the slot of the female connector 10 includes at least one elastic sheet, and when the male connector of the external plug device is inserted into the female connector 10, the elastic sheet in the slot is elastically deformed due to pressure. Therefore, to determine the pressure condition of the spring in the slot of the female connector 10, the pressure sensor 20 is connected to the spring in the slot of the female connector 10 to detect the pressure information of the spring connected thereto.
In an example, the number of the pressure-sensitive sensors 20 may be at least 1, the number of the pressure-sensitive sensors 20 has a corresponding relationship with the number of the elastic sheets in the slot of the connector female 10, and the more the number of the pressure-sensitive sensors 20 is, the more targeted the corresponding detected pressure information is, so that the occurrence of the condition of false detection can be effectively avoided or reduced, and the accuracy of the detection result for determining the plugging state is improved.
In another example, the number of the pressure-sensitive sensors is the same as the number of the elastic sheets, and each pressure-sensitive sensor detects pressure information of one elastic sheet. For example: if the connector female 10 is an X8 PCI-E slot and includes 8 elastic pieces, the number of the pressure-sensitive sensors 20 is 8, and each pressure-sensitive sensor 20 is correspondingly connected with one elastic piece to detect the pressure information of the elastic piece connected with the pressure-sensitive sensor, so that the obtained pressure information has more pertinence, and the accuracy of detecting whether the external plugging device is plugged in place by the subsequent baseboard management controller 40 is improved.
The routing chip 30 has a first end connected to the pressure sensor 20 and a second end connected to the baseboard management controller 40 for transmitting pressure information detected by the pressure sensor 20 to the baseboard management controller 40.
In one embodiment, the routing chip 30 may be an integrated circuit bus switch (Inter-Integrated Circuit Switch, I) 2 C Switch) chip, canThe pressure information detected by the pressure sensor 20 can be transmitted to the baseboard management controller 10 based on the integrated circuit bus protocol. Since the baseboard management controller 40 cannot directly use the pressure information detected by the pressure sensor 20, when the pressure sensor 20 detects the obtained pressure information, the pressure information passes through I 2 C protocol, transmitting pressure information to I 2 Data conversion is carried out in the C Switch chip, and pressure information is converted into I 2 The C signal is transmitted to the baseboard management controller 40, and the baseboard management controller 40 obtains I according to the obtained I 2 The C signal detects whether the male plug of the extrapolation device is plugged in place.
The baseboard management controller 40 is used to determine whether the male plug of the external device is plugged into place based on the pressure information.
In the embodiment of the present invention, the baseboard management controller (Baseboard Management Controller, BMC) 40 is a small operating system that can be independent of the server system, and can perform operations such as remote management, monitoring, installation, and restarting on the electronic device in which the machine is located when the machine is in an un-powered state. Therefore, the baseboard management controller 40 can determine whether the pressure received by the elastic sheet is greater than or equal to the pressure threshold value of the inserted in-place according to the received pressure information, and further determine whether the insertion between the male end of the external insertion device and the female end of the connector is in place, so as to achieve the purpose of detection.
Through the embodiment, when the male plug of the external plugging device is inserted into the female connector, the baseboard management controller can detect whether the male plug of the external plugging device is plugged in place according to the pressure information transmitted by the pressure sensor connected with the elastic sheet in the female connector slot, so that the detection process of the plugging state is faster and more convenient, and the production and maintenance efficiency is improved.
Furthermore, because the plugging in position detection device has simple structure and high line reusability, when detecting the plugging state of a plurality of external plugging devices, the detection related codes can be reused, thereby being beneficial to saving the development cost.
In an embodiment, if the number of the pressure sensors 20 is plural, the routing chip 30 transmits the pressure information detected by each pressure sensor 20 to the baseboard management controller 40, so that the baseboard management controller 40 determines whether the pressure received by each spring in the socket is greater than or equal to the pressure threshold value according to the received pressure information, and further determines whether the male plug of the external device is plugged in place. For example: if the pressure born by one elastic sheet is smaller than the pressure threshold value, the male head of the externally inserted equipment is determined to be not inserted in place. If the pressure born by each elastic sheet is greater than or equal to the pressure threshold value, the male plug of the external plug device is determined to be plugged in place.
In another embodiment, when the male plug of the external device is inserted into the slot of the female connector 10 and contacts with the spring in the slot, communication interaction can be performed between the male plug of the external device and the female connector 10 based on the protocol of the high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIE), and a path through which the return flow of the PCIE signal flows during the interaction includes a signal Ground (GDN). Therefore, when the pressure sensor 20 detects the pressure information of the spring plate in the slot of the connector female 10, the pressure information of the spring plate can be detected by detecting the strength of the GDN flowing through the spring plate.
In practical applications, ac ground and signal ground cannot be shared. Therefore, if the pressure sensor 20 is in the power-on state for a long time, detecting the pressure information of the spring sheet is easy to interfere with the signal transmission of the ac ground, and thus affects the operation of other modules. Therefore, to avoid this, the invention also provides another plug-in position detection device.
Fig. 2 is a schematic diagram of another plug-in position detection device according to an exemplary embodiment. As shown in fig. 2, plug-in-place detection device 100 also includes a voltage regulator 50.
A first end of voltage regulator 50 is coupled to pressure sensitive sensor 20 for powering pressure sensitive sensor 20. A baseboard management controller 40 is connected to a second terminal of the voltage regulator 50 for controlling whether the voltage regulator 50 supplies power to the pressure sensitive sensor 20.
In an embodiment of the present invention, baseboard management controller 40 may control whether voltage regulator 50 is in a power supply state via an enable signal. For example: if the enable signal sent by baseboard management controller 40 to voltage regulator 50 is "en=0", voltage regulator 50 may be controlled to be in a power supply state, so that voltage regulator 50 may supply power to pressure-sensitive sensor 20, and further, pressure-sensitive sensor 20 may be controlled to perform pressure-sensitive detection. If the enable signal sent by baseboard management controller 40 to voltage regulator 50 is "en=1", voltage regulator 50 may be controlled to be in a non-power-supplied state, such that voltage regulator 50 stops supplying power to pressure-sensitive sensor 20, and further, pressure-sensitive sensor 20 is controlled to stop performing pressure-sensitive detection.
In one embodiment, if the number of pressure sensitive sensors 20 is plural, then baseboard management controller 40 can control whether voltage regulator 50 is supplying power to pressure sensitive sensors 20 based on the amount of information from which pressure information was obtained. For example: if the number of the received pressure information is less than the number of the pressure-sensitive sensors, and then the number of the non-stressed elastic pieces exists in the slots of the connector female head 10, so that the installation of the electronic equipment where the plugging-in position detection device is located is prevented from being influenced, the voltage regulator 50 is controlled to continuously supply power to the pressure-sensitive sensors 20 until the fact that the male head of the plug-in equipment is plugged in position is determined. If the number of the received pressure information is equal to the number of the pressure sensors, the elastic sheets in the slots of the female connector 10 are stressed, and then when the male connector of the externally inserted equipment is plugged in place, the voltage regulator 50 is controlled to be in a non-power supply state, and power supply to the pressure sensors 20 is stopped, so that the accuracy of alternating-current ground signal transmission is ensured.
Fig. 3 is a schematic diagram of still another plug-in position detection device according to an exemplary embodiment. As shown in fig. 3, the plug-in-place detection device further includes a status light 60 connected to the baseboard management controller 40. Fig. 3 is a schematic diagram of another plug-in position detection device according to an exemplary embodiment. The status light 60 is used for prompting the plugging status of the connector female 10 and the male of the external plugging device. The plugged state may include plugged into place or unplugged into place. The status lights 60 are correspondingly displayed in different colors for different plugging states. For example: if the plugging status is plugged in place, the baseboard management controller 40 can control the status light 60 to display green. If the plugged status is not plugged in place, the baseboard management controller 40 can control the status light 60 to display red.
Based on the same inventive concept, the invention also provides electronic equipment, which comprises any one of the plug-in-place detection devices provided by the invention, so that when detecting whether the plug-in equipment is plugged in place, the detection can be directly performed through the started baseboard management controller without waiting for the detection after the electronic equipment is started to enter the system, thereby ensuring that the process of detecting whether the plug-in equipment is plugged in place is simpler and more convenient, being beneficial to improving the detection rate and being beneficial to improving the maintenance efficiency. It should be noted that, the execution body may be a plug-in state detection device of the external plug-in device, and the device may be implemented in a mode of software, hardware or a combination of software and hardware to form part or all of an electronic device, where the electronic device may be a terminal, a client, or a server, and the server may be a server, or may be a server cluster formed by multiple servers.
Based on the same inventive concept, the invention also provides a plugging state detection method of the external plugging equipment, which is applied to any one plugging in-place detection device provided by the invention. In the following method embodiments, the execution subject is a server as an example.
The method for detecting the plugging state of the external plugging device is suitable for detecting the use scene of whether the external plugging device in the server is plugged in place. According to the plugging state detection method of the external plugging device, provided by the invention, under the condition that the male head of the external plugging device is plugged with the female head of the connector, the pressure information of the elastic sheet in the female head slot of the connector is detected through the pressure-sensitive sensor, the pressure value of the elastic sheet under pressure is determined, and then the plugging state between the male head of the external plugging device and the female head of the connector is determined according to the comparison result between the pressure value and the pressure threshold value, so that the process of detecting whether the external plugging device is plugged in place is simpler and more convenient, the detection rate is improved, and the maintenance efficiency is improved.
Fig. 4 is a flowchart of a plug state detection method of an external plug device according to an exemplary embodiment. As shown in fig. 4, the method for detecting the plugging state of the plug-in device includes the following steps S401 to S402.
In step S401, in the case where the male plug of the external device is plugged into the female plug of the connector, pressure information detected by the pressure sensor is acquired.
In the embodiment of the invention, the pressure information is used for determining the pressure value of the elastic sheet in the female connector slot. Under the condition that the male head of the external plug-in equipment is plugged with the female head of the connector, the elastic piece in the female head slot of the connector is deformed due to the influence of external force. Because the external plug equipment is plugged into the connector female, communication interaction can be carried out between the internal parts through PCIE signals, in order to determine the pressure information of the elastic sheet in the connector female slot, GDN signals in the PCIE signals can be sent to the pressure-sensitive sensor and then detected by the pressure-sensitive sensor, and therefore the pressure information corresponding to the elastic sheet is obtained.
In an example, if the number of pressure-sensitive sensors connected to the connector female is plural, multi-dimensional detection can be performed when detecting the pressure information of the elastic sheet, so as to help to avoid or reduce occurrence of false detection.
In another example, if the number of the pressure-sensitive sensors is the same as the number of the elastic sheets, and each pressure-sensitive sensor correspondingly detects the pressure information of one elastic sheet, the pressure value received by each elastic sheet in the female connector slot is helped to be clear, and the obtained pressure information is more targeted, so that the detection accuracy is helped to be improved.
In step S402, the plugging state between the male connector and the female connector of the external plugging device is determined by comparing the pressure value with the pressure threshold value.
In the embodiment of the invention, the pressure threshold value can be understood as a minimum pressure value of the pressure applied to the elastic sheet in the female connector slot when the male connector of the external plug device is plugged in place. If the pressure value of the pressure applied to the elastic sheet is smaller than the pressure threshold, the pressure applied to the elastic sheet is characterized in that the pressure applied to the elastic sheet does not meet the requirement of plugging in place, plugging between the external plugging equipment and the connector female head may not be installed in place or the situation of poor contact exists, the plugging state is abnormal, and then the fact that the external plugging equipment is not plugged in place can be determined. If the pressure value of the pressure received by the elastic sheet is larger than or equal to the preset pressure threshold value, the pressure received by the elastic sheet is characterized in that the pressure received by the elastic sheet meets the requirement of plugging in place, the plugging state between the male head of the external plugging device and the female head of the connector is relatively stable, the plugging state is normal, and then the plugging in place of the external plugging device can be determined. In one example, the specific value for the pressure threshold may be determined by experimental measurements.
Therefore, in order to determine the plugging state between the external plugging device and the connector female, the acquired pressure information is compared with a preset pressure threshold value, so that whether the external plugging device is plugged in place is determined according to the comparison result.
In an example, when the number of the pressure-sensitive sensors is multiple, and the different pressure-sensitive sensors correspondingly detect the pressure information of the different shrapnel, the pressure values corresponding to the pressure information are respectively determined, and then whether the extrapolation device is plugged in place is determined according to the comparison result between the pressure values and the pressure threshold. If at least one pressure value is less than the pressure threshold, it is determined that the extrapolation apparatus is not plugged in. If the pressure values are all greater than or equal to the pressure threshold, then the extrapolation device is determined to be plugged in place.
Through the embodiment, under the condition that the male head of the external plugging device is plugged with the female head of the connector, the pressure information of the elastic sheet in the female head slot of the connector is detected through the pressure-sensitive sensor, the pressure value of the pressure received by the elastic sheet is determined, and then the plugging state between the male head of the external plugging device and the female head of the connector is determined according to the comparison result between the pressure value and the pressure threshold value, so that the process of detecting whether the external plugging device is plugged in place is simpler and more convenient, the detection rate is improved, and the maintenance efficiency is improved.
Fig. 5 is a flowchart of another plug-in status detection method of an external plug-in device according to an exemplary embodiment. As shown in fig. 5, the method for detecting the plugging state of the plug-in device includes the following steps.
In step S501, in the case where the male plug of the external device is plugged into the female plug of the connector, pressure information detected by the pressure sensor is acquired.
In step S502, the plugging state between the male connector and the female connector of the external plugging device is determined by comparing the pressure value with the pressure threshold value.
In step S503, the plugging state between the external plugging device and the connector female is prompted by controlling the color change of the status light.
In the embodiment of the invention, in order to facilitate the user to clearly determine the plugging state between the plug-in equipment and the connector female, the color of the status lamp is controlled to prompt, so that the user clearly detects whether the user performs targeted detection. That is, different colors are used to represent different plugging states, for example: color a indicates plugged-in position and color b indicates unplugged-in position.
In an implementation scenario, when the plugging state between the external plugging device and the connector female is determined to be in place through the comparison result, the control status lamp displays green to prompt, so that the user is prompted that the plugging between the external plugging device and the connector female is normal, and the installation of the server is not problematic. If the plugging state between the external plugging device and the connector female is not plugged in place, the control status lamp displays red to prompt so as to prompt a user that the plugging between the external plugging device and the connector female is abnormal, and the plugging state between the external plugging device and the connector female needs to be adjusted.
Through above-mentioned embodiment, through the colour change of control status light, can audio-visual suggestion user plug-in state between plug-in equipment and the female head of connector, and then when plug-in state between plug-in equipment and the female head of connector is not plugged in place, the user can discover fast, in time adjusts to help improving maintenance efficiency.
Fig. 6 is a flowchart of a method for detecting a plug state of a further plug device according to an exemplary embodiment. As shown in fig. 6, the method for detecting the plugging state of the plug-in device includes the following steps.
In step S601, the baseboard management controller is started to detect whether an external device is plugged in place.
In the embodiment of the invention, because the BMC is a small operating system which can be independent of the outside of the server system, the operations of remote management, monitoring, installation, restarting and the like can be executed on the server when the machine is in an un-started state. Therefore, in order to facilitate rapid judgment of whether the external plugging device is plugged in place, the server is connected with alternating current (Alternating Current, AC) under the condition that the male head of the external plugging device is plugged in with the female head of the connector, and the baseboard management controller is started under the condition that the server is not started, so that the baseboard management controller can enter a working state, and then the started baseboard management controller controls the pressure-sensitive sensor to conduct pressure-sensitive detection, and the detection is carried out after the installation of the server is completed, so that the detection of whether the external plugging device is plugged in place is shortened, and the maintenance detection efficiency is improved.
In step S602, pressure information detected by the pressure sensor is acquired.
In step S603, a pressure value of the elastic sheet in the female socket of the connector under pressure is determined according to the pressure information.
In step S604, the plugging state of the extrapolation apparatus is determined from the comparison between the pressure value and the pressure threshold value.
In one embodiment, the pressure threshold is pre-stored in the baseboard management controller.
In step S605, according to the plugging state of the plugging device, the baseboard management controller controls whether the pressure sensor continues to detect the pressure information of the spring piece in the connector female socket.
In an embodiment of the invention, the pressure sensitive sensor is a pressure sensitive test based on the GDN sent by the connector header. However, in practical applications, other modules in the server also need to receive the GDN to perform other functions, and if the pressure-sensitive sensor is in the pressure-sensitive detection state for a long time, the other modules in the server are easy to interfere with receiving the ac signal. Therefore, in order to avoid interference with other modules receiving the alternating current signal, the baseboard management controller controls whether the pressure-sensitive sensor continues to perform pressure-sensitive detection according to the plugging state of the plugging device.
In an example, if the external plug device is plugged in place, the plugging state between the external plug device and the connector female is characterized as normal, so that the pressure-sensitive detection is not required to be continued, and the power supply to the pressure-sensitive sensor is stopped. If the external plugging equipment is not plugged in place, the plugging state between the external plugging equipment and the connector female head is abnormal, and the plugging condition of the external plugging equipment needs to be continuously detected, so that the condition of false detection is avoided, and power is continuously supplied to the pressure-sensitive sensor.
Through the above embodiment, whether the pressure-sensitive sensor is continuously detected according to the detected plugging state can be controlled by the started baseboard management controller, so that the pressure-sensitive detection can be ensured to be performed normally, other modules are prevented from being interfered, the plugging state detection process is more convenient and rapid, and the production and maintenance efficiency is improved.
In an embodiment, when a plurality of external plug-in devices are installed in the server, under the condition that the baseboard management controller is started, plug-in state detection is directly carried out on the plugged-in external plug-in devices, detection is carried out after all the external plug-in devices are installed, and further plug-in state detection time can be effectively shortened, detection efficiency is improved, and therefore quick positioning of external plug-in devices with abnormal plug-in is facilitated, and maintenance efficiency is improved.
In an implementation scenario, taking a Slimline connector as an example, in combination with the plugging-in position detecting device provided in fig. 3, a process of detecting whether a plugging state between the external plugging device and the connector female is plugged in position may be as shown in fig. 7. Fig. 7 is a flowchart of a method for detecting a plug state of a further plug device according to an exemplary embodiment.
In step S701, each spring piece in the female slot of the Slimline connector is connected to a pressure sensor.
In the embodiment of the invention, each elastic piece in the female slot of the Slimline connector is respectively connected with one pressure-sensitive sensor so as to determine the pressure value received by each elastic piece in the female slot of the connector, and further the obtained pressure information is more targeted.
In step S702, through I 2 And the C Switch chip establishes communication connection between the plurality of pressure-sensitive sensors and the baseboard management controller.
In the embodiment of the invention, through I 2 C Switch chip for enabling multiple pressure-sensitive sensors and baseboard management controller to pass through I 2 And C, carrying out communication interaction on the signals.
In step S703, when the male plug of the external device is plugged into the female plug of the connector, the baseboard management controller is started.
In step S704, the baseboard management controller passes through I 2 The C Switch chip acquires pressure information detected by the pressure sensors to determine the pressure value received by each elastic sheet.
In step S705, the pressure values are compared with the pressure threshold value in the baseboard management controller, respectively, to determine the plugging state between the male connector and the female connector of the external plugging device.
In step S706, if the pressure values are all greater than or equal to the pressure threshold, then it is determined that the extrapolation device is plugged in place.
In step S707, the baseboard management controller controls the voltage regulator to be in a non-power supply state, stops power supply to the pressure-sensitive sensor, and controls the color of the status light to remain green.
In step S708, if at least one pressure value is less than the pressure threshold, it is determined that the extrapolation apparatus is not plugged in place.
In step S709, the baseboard management controller controls the voltage regulator to be in a power supply state, continuously supplies power to the pressure sensor, and controls the status light to display red color.
In step S710, the plug state is reported to the server state.
Through the embodiment, the server fault problem caused by the fact that the Slimline is not plugged in place or is in poor plugging can be rapidly judged. The assembly can be confirmed through the source, so that the maintenance efficiency is improved, the efficiency of positioning the external plugging equipment in the abnormal plugging state is improved, and the improvement of the assembly efficiency of the server and the improvement of the assembly workstation is facilitated.
Based on the same inventive concept, the invention also provides a plugging state detection device of the external plugging equipment.
Fig. 8 is a block diagram of a plug-in state detecting device of an external plug-in device according to an exemplary embodiment. As shown in fig. 8, the plugging state detection device of the plug-in apparatus includes an acquisition unit 801 and a judgment unit 802.
An obtaining unit 801, configured to obtain pressure information detected by a pressure sensor when the male connector of the external device is plugged with the female connector of the connector;
the judging unit 802 is configured to determine a plugging state between the male connector and the female connector of the external plugging device by comparing the pressure value with the pressure threshold value.
In one embodiment, the determining unit 802 includes: and the first judging unit is used for determining that the extrapolation equipment is not plugged in place if the pressure value is smaller than the pressure threshold value. And the second judging unit is used for determining that the extrapolation equipment is plugged in if the pressure value is greater than or equal to the pressure threshold value.
In another embodiment, the apparatus further comprises: and the first control unit is used for prompting the plugging state between the external plugging equipment and the connector female head by controlling the color change of the status lamp, wherein different colors correspond to different plugging states.
In yet another embodiment, the apparatus further comprises: and the starting unit is used for starting the substrate management controller. And the second control unit is used for determining whether the baseboard management controller supplies power to the pressure-sensitive sensor according to the plugging state between the male connector of the external plugging device and the female connector of the external plugging device.
In a further embodiment, the second control unit comprises: and the first control subunit is used for stopping power supply to the pressure-sensitive sensor if the external plugging device is plugged in. And the second control subunit is used for continuously supplying power to the pressure-sensitive sensor if the external plugging device is not plugged in place.
The specific limitation of the plugging state detection device of the plugging device and the beneficial effects of the plugging state detection device of the plugging device can be referred to the limitation of the plugging state detection method of the plugging device, and are not repeated herein. The various modules described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or independent of a processor in the electronic device, or may be stored in software in a memory in the electronic device, so that the processor may call and execute operations corresponding to the above modules.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment. As shown in fig. 9, the device includes one or processors 910 and a memory 920, where the memory 920 includes persistent memory, volatile memory, and a hard disk, and one processor 910 is illustrated in fig. 9. The apparatus may further include: an input device 930, and an output device 940.
The processor 910, memory 920, input device 930, and output device 940 may be connected by a bus or other means, for example in fig. 9.
The processor 910 may be a central processing unit (Central Processing Unit, CPU). The processor 910 may also be any other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 920, which is a non-transitory computer readable storage medium, includes persistent memory, volatile memory, and a hard disk, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the service management method in the embodiments of the present application. The processor 910 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 920, that is, implements any of the plug-in state detection methods of the plug-in device described above.
Memory 920 may include a storage program area that may store an operating system, at least one application required for functionality, and a storage data area; the storage data area may store data, etc., as needed, used as desired. In addition, memory 920 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 920 may optionally include memory located remotely from processor 910, which may be connected to the data processing apparatus via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 930 may receive input numeric or character information and generate key signal inputs related to user settings and function control. The output device 940 may include a display device such as a display screen.
One or more modules are stored in the memory 920 that, when executed by the one or more processors 910, perform the methods illustrated in fig. 4-7.
The product can execute the method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. Technical details which are not described in detail in the present embodiment can be found in the embodiments shown in fig. 4 to 7.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the authentication method in any of the method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
It is apparent that the above examples are given by way of illustration only and are not limiting of the embodiments. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. While still being apparent from variations or modifications that may be made by those skilled in the art are within the scope of the invention.

Claims (9)

1. A plug-in-place detection device, characterized in that the plug-in-place detection device comprises: the device comprises a connector female, a pressure-sensitive sensor, a baseboard management controller and a routing chip;
the connector female is used for being inserted into the male of the external plug equipment;
the pressure-sensitive sensor is connected with the elastic sheet in the connector female socket and is used for detecting the pressure information of the elastic sheet by detecting the intensity of a signal ground flowing through the elastic sheet;
the first end of the routing chip is connected with the pressure sensor, and the second end of the routing chip is connected with the baseboard management controller and is used for transmitting pressure information detected by the pressure sensor to the baseboard management controller;
the baseboard management controller is used for determining whether the male plug of the external plug device is plugged in place or not based on the pressure information;
the plug-in position detection device also comprises a voltage regulator;
the baseboard management controller is used for controlling whether the voltage regulator supplies power to the pressure-sensitive sensor according to the information quantity of the acquired pressure information, and comprises the following components: and if the number of the received pressure information is smaller than the number of the pressure-sensitive sensors, controlling the voltage regulator to continuously supply power to the pressure-sensitive sensors until the male plug of the external equipment is determined to be plugged in place.
2. The plug-in position detection device according to claim 1, wherein the number of the pressure-sensitive sensors is the same as the number of the elastic pieces, and each pressure-sensitive sensor detects pressure information of one elastic piece.
3. The plug-in position detection device according to claim 2, wherein the routing chip transmits pressure information detected by each pressure sensor to the baseboard management controller.
4. The plug-in position detection device according to claim 1, wherein,
the first end of the voltage regulator is connected with the pressure-sensitive sensor and is used for supplying power to the pressure-sensitive sensor;
the baseboard management controller is connected with the second end of the voltage regulator and used for controlling whether the voltage regulator supplies power for the pressure-sensitive sensor.
5. The plug-in-place detection device of claim 4, wherein the baseboard management controller controls whether the voltage regulator is to power the pressure sensitive sensor by sending an enable signal to the voltage regulator.
6. The plug-in location detection device of claim 1, further comprising a status light connected to the baseboard management controller;
the status lamp is used for prompting the plugging status of the connector female head and the externally inserted equipment.
7. The plug-in bit detection device according to claim 1, wherein the routing chip is an integrated circuit bus switch chip for transmitting pressure information detected by the pressure sensor to the baseboard management controller based on an integrated circuit bus protocol.
8. The plug-in position detection device according to claim 1, wherein the interface function of the connector female is a custom function.
9. An electronic device, characterized in that the electronic device comprises the plug-in-place detection device according to any one of claims 1-8.
CN202210320396.2A 2022-03-29 2022-03-29 Plug-in position detection device and electronic equipment Active CN114623756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210320396.2A CN114623756B (en) 2022-03-29 2022-03-29 Plug-in position detection device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210320396.2A CN114623756B (en) 2022-03-29 2022-03-29 Plug-in position detection device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114623756A CN114623756A (en) 2022-06-14
CN114623756B true CN114623756B (en) 2023-08-08

Family

ID=81905152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210320396.2A Active CN114623756B (en) 2022-03-29 2022-03-29 Plug-in position detection device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114623756B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117213830B (en) * 2023-11-08 2024-03-26 深圳市凯比特微电子有限公司 Connector state monitoring system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870837A (en) * 2017-11-16 2018-04-03 郑州云海信息技术有限公司 A kind of PCIE Port method of testings of location-server PCIE extrapolation equipment
CN109029939A (en) * 2018-06-08 2018-12-18 郑州云海信息技术有限公司 A kind of server crash tests extrapolation board in-place detection system and method
CN112631855A (en) * 2020-12-01 2021-04-09 苏州浪潮智能科技有限公司 Method and device for monitoring connection state of golden finger
CN114166266A (en) * 2021-11-19 2022-03-11 苏州浪潮智能科技有限公司 Method and device for detecting whether screws of CPU radiator are not screwed up

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7464600B2 (en) * 2006-08-25 2008-12-16 Kulite Semiconductor Products, Inc. Combined temperature and pressure transducer incorporating connector keyway alignment and an alignment method
US9407131B2 (en) * 2012-04-17 2016-08-02 Bwxt Nuclear Operations Group, Inc. Positional encoder and control rod position indicator for nuclear reactor using same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870837A (en) * 2017-11-16 2018-04-03 郑州云海信息技术有限公司 A kind of PCIE Port method of testings of location-server PCIE extrapolation equipment
CN109029939A (en) * 2018-06-08 2018-12-18 郑州云海信息技术有限公司 A kind of server crash tests extrapolation board in-place detection system and method
CN112631855A (en) * 2020-12-01 2021-04-09 苏州浪潮智能科技有限公司 Method and device for monitoring connection state of golden finger
CN114166266A (en) * 2021-11-19 2022-03-11 苏州浪潮智能科技有限公司 Method and device for detecting whether screws of CPU radiator are not screwed up

Also Published As

Publication number Publication date
CN114623756A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
US9634738B2 (en) Hybrid power line/wireless appliance automation system, device, and power monitoring method utilizing the same
US20040260794A1 (en) Pre-detection of powered devices
US7676571B2 (en) System for monitoring cable interface connections in a network
US9219339B2 (en) Computer host power management system having extension cord sockets
CN114623756B (en) Plug-in position detection device and electronic equipment
CN112684383A (en) Load connection detection method in Ethernet power supply system and power supply device
TWI634764B (en) Power source equipment for power over ethernet system
CN109359079B (en) Simulation plug-in device and method for automatically maintaining USB connection
CN103139036B (en) Electronic equipment and information processing method thereof
WO2015119623A2 (en) Power sourcing equipment
CN104850203A (en) Electronic apparatus reset method and electronic apparatus
US20030050010A1 (en) Method and apparatus for providing wireless diagnostics, authentication, and redundancy of wired circuitry
CN108055212B (en) Method and device compatible with PSE chip
CN109557453B (en) Multi-master-control-chip identification processing method and system
CN114116415B (en) Hard disk backboard, hard disk lighting control system, method, device and medium
US20070078975A1 (en) System For Monitoring Cable Interface Connections In A Network
CN109274611B (en) Method for switching sharing network protocol by baseboard management controller
US11449121B2 (en) Product detection device, product detection system and product detection method applied thereto
TW202247630A (en) Multiprotocol usb adaptive charging
CN104899164B (en) Address addressing method for integrated circuit bus, integrated circuit bus device and system
CN108134677B (en) Power supply device of Ethernet power supply system
CN219122688U (en) Double-blind-insertion device
TWI697782B (en) Baseboard management controller switching method for sharing network protocol
KR102147788B1 (en) Control apparatus and method for solid state relay using rs-232c connector
CN113946536B (en) I2C protocol circuit of NVMe hard disk and I2C environment control method

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