Pluggable electronic devices and computing devices

CN116149942BActive Publication Date: 2026-09-15XFUSION DIGITAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310081285.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-31
Publication Date
2026-09-15
Estimated Expiration
2043-01-31

AI Technical Summary

Technical Problem

[0003]但是,在现阶段,网卡针对热插拔方案未详细定义,进而在需要对网卡进行热插拔操作时,需要人为操作计算设备对网卡进行下电操作,以便后续实现网卡的热插拔操作

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116149942B_ABST
    Figure CN116149942B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a pluggable electronic device and a computing device. The pluggable electronic device comprises a data processing component, a first handle and a sensing unit. The data processing component comprises a first pin and a second pin. The sensing unit is arranged on the first handle. The sensing unit sends a sensing signal to the first pin when the first handle is operated, triggering the first pin to change from an initial state to a sensing state. The second pin is electrically connected to a first power supply and grounded through a switch. When the pluggable electronic device is inserted into the computing device, the second pin is grounded when the switch is closed, so that the signal state of the second pin changes from a first level state to a second level state. The data processing component determines the plugging state of the pluggable electronic device based on the signal state of the first pin and the signal state of the second pin. The pluggable electronic device provided by the embodiments of the present application can automatically obtain the plugging state of the pluggable electronic device itself in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computing device technology, and more particularly to a pluggable electronic device and computing device. Background Technology

[0002] Computing devices include various pluggable electronic components, such as network cards and hard drives.

[0003] However, at present, there is no detailed definition of a hot-swapping solution for network cards. Therefore, when a network card needs to be hot-swapped, the computer must be manually powered down to enable the hot-swapping operation. In other words, the switching is mainly achieved manually through software, which is prone to accidental insertion or removal, thus affecting the normal operation of the system. Summary of the Invention

[0004] The purpose of this application is to provide a pluggable electronic device and a computing device that can acquire the pluggable electronic device's pluggable status in real time.

[0005] To achieve the above objectives, this application provides the following technical solution:

[0006] On one hand, this application provides a pluggable electronic device. The pluggable electronic device includes a data processing unit, a first handle, and a sensing unit. The data processing unit includes a first pin and a second pin. The first handle is used for plugging and unplugging the pluggable electronic device. The sensing unit is disposed on the first handle and electrically connected to the first pin. The sensing unit is used to: sense that the first handle is operated, thereby sending a sensing signal to the first pin, triggering a change in the signal state of the first pin from an initial state to a sensing state. The second pin is electrically connected to a first power supply and is grounded through a switch. When the pluggable electronic device is inserted into a computing device, the second pin is grounded when the switch is closed, thereby changing the signal state of the second pin from a first level state to a second level state. The data processing unit determines the pluggable state of the pluggable electronic device based on the signal states of the first and second pins.

[0007] For example, the first power supply can be a high-voltage power supply. The first power supply can be used to provide a high-level signal to the second handle, so that the signal state of the second pin is a first-level state. The first-level state can be a high-level state.

[0008] For example, the second pin is grounded via a switch. That is, the second pin is electrically connected to the ground terminal via a switch, and the ground terminal can be used to provide a low-level signal to the second pin, so that the signal state of the second pin is a second level state. The second level state can be a low level state.

[0009] This application provides a pluggable electronic device in which a data processing component can determine whether a first handle has been operated based on the signal state of a first pin. Furthermore, the data processing component can determine whether a second pin is properly grounded based on the signal state of a second pin, specifically, according to either a first or second voltage level state. Therefore, the data processing component can determine the pluggable / unpluggable state of the electronic device based on whether the first handle has been operated and whether the second handle is properly grounded. In other words, the data processing component determines the pluggable / unpluggable state of the electronic device based on the signal states of both the first and second pins.

[0010] In some embodiments, the pluggable electronic device further includes a second handle, which includes a knob. A knob hole is provided on the panel of the computing device, and the knob hole is grounded; the knob and the knob hole form a switch.

[0011] With this configuration, the second pin is grounded via a switch formed by the knob and knob hole. This can be understood as follows: turning the second handle, i.e., turning the knob, tightens the knob and knob hole, effectively turning on the switch and grounding the second pin. When the second pin is grounded, its signal state changes from a first level to a second level. Based on this, the data processing unit can determine whether the knob and knob hole are tightened based on the signal state of the second pin.

[0012] In some embodiments, the knob hole is grounded by being connected to the housing of the computing device.

[0013] With this configuration, when the second handle is turned, i.e., when the knob is turned, the knob and knob hole are tightened, connecting the knob to the casing of the computing device and grounding it. At this point, the knob and knob hole form a conductive switch, grounding the second pin. When the second pin is grounded, its signal state changes from a first level to a second level. Based on this, the data processing unit can determine whether the knob and knob hole are tightened based on the signal state of the second pin, and thus determine whether the second handle is fixedly connected to the casing of the computing device. This ensures that the pluggable electronic device and the casing of the computing device are relatively fixed, improving the stability of the electrical connection between the pluggable electronic device and the computing device, and ensuring the normal operation of both.

[0014] In some embodiments, the pluggable electronic device further includes a protection unit. The protection unit is connected in series between the switch and the first power supply.

[0015] The protection unit can be used to isolate the first power supply and the ground terminal. This allows for the following: when the second handle is grounded (i.e., the second pin is grounded), the signal state of the second pin is at the second level; and when the second handle is not grounded, the potential of the second pin is at a high level, and the signal state of the second pin is at the first level.

[0016] In some embodiments, the protection unit includes a resistor.

[0017] With this configuration, a resistor is connected in series between the ground terminal and the first power supply. This resistor can be used to isolate the first and second power supplies. This ensures that when the second handle is electrically connected to the second power supply, the potential of the second pin is low, and the signal state of the second pin is the second level state; and when the second handle is not electrically connected to the second power supply, the potential of the second pin is high, and the signal state of the second pin is the first level state.

[0018] In some embodiments, when the second handle of the pluggable electronic device is touched by a human body, it transmits a power frequency signal to the second pin. The data processing unit is configured to: determine that the pluggable electronic device is in a hot-swappable operating state when the signal state of the first pin is in a sensing state and the signal state of the second pin is in a first level state.

[0019] With this configuration, when the signal state of the first pin is in the initial state, the data processing unit can determine that the first handle on the pluggable electronic device has been operated; and when the signal state of the second pin is in the first level state, the data processing unit can determine that the second handle on the pluggable electronic device is not grounded. When both the first and second handles on the pluggable electronic device are operated, it can be determined that the pluggable electronic device is being operated manually, and the pluggable electronic device can be determined to be in a hot-swappable operating state.

[0020] In some embodiments, when the second handle of the pluggable electronic device is touched by a human body, it transmits a power frequency signal to the second pin. The data processing unit is configured to: determine that the pluggable electronic device is in a hot-plugging state when the signal state of the first pin is in a sensing state and the signal state of the second pin is in a first level state and includes a power frequency signal.

[0021] With this configuration, when the signal state of the second pin is in the first level state and the power frequency signal is acquired at the second pin, the data processing unit determines that the second handle on the pluggable electronic device has been touched, thus manually disconnecting the second handle from the casing of the computing device. This causes the second handle to be ungrounded and in the first level state. Based on this, the accuracy of the pluggable state being in a hot-plug working state can be further improved.

[0022] In some embodiments, the data processing unit is configured to: determine that the pluggable electronic device is in a hot-pluggable operating state when it is detected that the holding time of the first level state of the second pin is greater than a first threshold time, when it is detected that the holding time of the sensing state of the first pin is greater than a second threshold time, and when a power frequency signal is included.

[0023] With this configuration, the data processing unit determines the signal state of the second pin as a valid first-level state only when the signal state received by the data processing unit through the second pin is in a first-level state and the first-level state is maintained for a time exceeding a first threshold time. This effectively prevents noise-induced judgments and improves the accuracy of the data processing unit in determining the presence of the pluggable electronic device. Furthermore, the first pin's signal state is considered valid only when the data processing unit determines that the duration of the first pin's sensing state exceeds a second threshold time. This effectively prevents noise-induced judgments and improves the accuracy of the data processing unit in determining the presence of the pluggable electronic device. Based on this, when the duration of the first-level state of the second pin is detected to exceed the first threshold time, and when the duration of the first pin's sensing state is detected to exceed the second threshold time, and when a power frequency signal is included, determining that the pluggable electronic device is in a hot-swappable operating state can improve the accuracy of obtaining the hot-swappable operating state of the pluggable electronic device.

[0024] In some embodiments, the data processing component is configured to: poll the first pin and the second pin in multiple polling cycles, wherein one polling cycle polls the first pin and the second pin; and receive the signal status of the first pin and the second pin.

[0025] This configuration allows the data processing unit to poll the first and second pins in real time, enabling it to automatically acquire the insertion / removal status of the pluggable electronic device. The computing device can then automatically power down based on this acquired insertion / removal status, ensuring the proper functioning of both the pluggable electronic device and the computing device.

[0026] In some embodiments, the sensing unit includes a resistive touch sensor.

[0027] With this configuration, when the resistive touch sensor is not touched, it sends a first voltage to its first pin, which is in its initial state. When the resistive touch sensor is touched, the voltage value generated by the sensor changes from the first voltage to a second voltage, which is then sent to the first pin, putting it into a sensing state.

[0028] In some embodiments, the sensing unit includes an infrared sensor.

[0029] With this configuration, the voltage value generated by the infrared sensor differs depending on whether it is touched or not. Specifically, when the infrared sensor is not touched, it sends a third voltage to its first pin, which is its current state. When the infrared sensor is touched, the voltage value generated by the sensor changes from the third voltage to a fourth voltage, which is then sent to the first pin, which is now in a sensing state.

[0030] In some embodiments, the sensing unit includes a pressure sensor.

[0031] With this configuration, the voltage value generated by the pressure sensor differs depending on whether it is touched or not. Specifically, when the pressure sensor is not touched, it sends a fifth voltage to the first pin, which is the current state of the first pin. When the pressure sensor is touched, the voltage value generated by the pressure sensor changes from the fifth voltage to a sixth voltage, which is then sent to the first pin, which is now in the sensing state.

[0032] In some embodiments, the pluggable electronic device is a network interface card (NIC), and the processing unit is a NIC chip.

[0033] With this configuration, the network interface card (NIC) chip can determine the NIC's detection status based on the signal states of the first and second pins. In other words, the NIC can generate its detection status in real time using its own chip. This allows for appropriate actions to be taken in different NIC states, ensuring the NIC operates normally.

[0034] In some embodiments, the network interface card (NIC) chip is used to determine that the detection state of the NIC is an unlocked working state when the signal state of the first pin is in the initial state and the signal state of the second pin is in the first level state.

[0035] With this configuration, the network card chip's first pin signal state is in its initial state, confirming that the first handle on the network card has not been operated. Furthermore, when the network card chip's second pin signal state is in its first level state, it confirms that the second handle is disconnected from the computing device's casing, and that the second handle is not grounded (i.e., the second pin is not grounded and is in the first level state). Based on this, the network card chip can determine that the network card's detection state is an unlocked working state, based on the fact that the first handle has not been operated, but the second handle is disconnected from the computing device's casing.

[0036] In some embodiments, the network interface card (NIC) chip is configured to: determine that the detection state of the NIC is an unlocked working state when the signal state of the first pin is in the initial state, the signal state of the second pin is in the first level state, and no power frequency signal is detected.

[0037] With this configuration, when the network card chip's second pin signal is at the first level and no power frequency signal is detected, it can determine that the second handle has not been manually operated, thus preventing it from disconnecting from the computing device's casing. Based on this, the accuracy of the network card chip's determination of the second handle's status can be improved. Furthermore, by combining this with the network card chip's determination that the first handle on the network card has not been operated, the accuracy of the network card's generated unlocked working state can be improved.

[0038] In some embodiments, the network interface card chip is configured to: determine that the pluggable electronic device is in an unlocked state when it detects that the holding time of the first level state of the second pin is greater than a first threshold time and the first pin is in an initial state.

[0039] With this configuration, the data processing unit only determines that the signal state of the second pin is a valid first-level state when the signal received by the network card chip through the second pin is in a first-level state and remains in the first-level state for a period exceeding a first threshold time. This effectively prevents noise-induced judgments and improves the accuracy of the data processing unit in determining the network card's detection state. Therefore, determining that the network card is in an unlocked state after detecting that the first-level state of the second pin has been maintained for a longer than the first threshold time, and when the first pin is in its initial state, can further improve the accuracy of obtaining the unlocked state of the network card.

[0040] In some embodiments, the network interface card (NIC) chip is used to determine that the detection state of the NIC is a locking working state when the signal state of the first pin is in the initial state and the signal state of the second pin is in the second level state.

[0041] With this setup, the network card chip's signal state on the first pin is in its initial state, confirming that the first handle on the network card has not been operated. When the network card chip's signal state on the second pin is in the second level state, and no power frequency signal is detected on the second pin, it can be confirmed that the second handle is normally connected to the computing device's casing. Based on the fact that the first handle has not been touched and the second handle is normally connected to the computing device's casing, the network card chip can determine that the network card's detection state is the locked working state.

[0042] In some embodiments, the network interface card (NIC) chip is used to: determine that the detection state of the NIC is a locked working state when the signal state of the first pin is in the initial state, the signal state of the second pin is in the second level state, and no power frequency signal is detected.

[0043] With this configuration, when the network card chip's second pin signal is in the second level state and no power frequency signal is detected, it can be determined that the second handle is normally connected to the computing device's casing and has not been manually touched. Based on this, the accuracy of the network card chip's determination of the second handle's state can be improved. Furthermore, by combining this with the network card chip's determination that the first handle on the network card has not been operated, the accuracy of the locking status generated by the network card can be improved.

[0044] In some embodiments, the network interface card (NIC) chip is configured to: determine that the detection state of the NIC is a locking working state when the holding time of the sensing state of the first pin is greater than a second threshold time and the signal state of the second pin is a second level state.

[0045] With this configuration, the signal state of the first pin is considered valid only when the network card chip determines that the holding time of the first pin's sensing state is greater than a second threshold time. This effectively prevents noise-induced judgments and improves the accuracy of the data processing unit in determining the network card's detection state. Therefore, when the holding time of the first pin's sensing state is detected to be greater than the second threshold time, and the signal state of the second pin is at the second level, determining the network card's detection state as a locking state further improves the accuracy of the acquired network card locking state.

[0046] In some embodiments, the data processing component includes a storage unit and a storage board. A first handle and a second handle are disposed on the storage unit, and the storage board includes a first pin and a second pin. The storage board is used to: determine the state detection of the pluggable electronic device based on the signal state of the first pin and the signal state of the second pin.

[0047] For example, the storage unit can be a hard drive. The storage card can be a hard drive card.

[0048] This configuration allows the storage board to have a first and a second handle, and the signals received by the first and second handles can be sent to the corresponding first and second pins on the storage board. Furthermore, the storage board can determine the hard drive's detection status based on the signal states of the first and second pins. For example, it can determine whether the hard drive is in a hot-swappable state.

[0049] On the other hand, embodiments of this application provide a computing device. The computing device includes a processing unit and a pluggable electronic device as described in any of the above. The pluggable electronic device is disposed in the housing of the computing device and electrically connected to the processing unit of the computing device. The processing unit is configured to: receive a pluggable / pluggable state from a data processing component, and when the pluggable / pluggable state is identified as a hot-pluggable operating state, power down the pluggable electronic device to enable hot-plugging of the pluggable electronic device.

[0050] Since the computing device provided in the embodiments of this application includes the pluggable electronic device as described above, it has all the beneficial effects of the pluggable electronic device described above, which will not be repeated here.

[0051] In some embodiments, the computing device further includes an indication unit. The indication unit is electrically connected to the processing unit. The processing unit acquires the insertion / removal status of the pluggable electronic device and drives the indication unit to an indication state corresponding to the insertion / removal status of the pluggable electronic device.

[0052] This configuration, where the indicator unit is electrically connected to the processing unit, drives the indicator unit to a state corresponding to the pluggable electronic device's pluggable state based on the pluggable / pluggable status received from the data processing unit. This allows for more intuitive observation of the status of pluggable electronic devices within the computing device.

[0053] In some embodiments, a first handle and a second handle on a pluggable electronic device in a computing device extend outside the housing so that the second handle is fixedly connected to the housing.

[0054] As described above, the first and second handles of the pluggable electronic device extend outside the housing. The first handle facilitates pushing the pluggable electronic device, allowing it to move into the housing of the computing device and electrically connect to the processing unit within. The second handle is fixedly connected to the housing to secure both the pluggable electronic device and the computing device. When the second handle is properly fixed to the housing, it can also be electrically connected to a second power supply. This allows the pluggable electronic device's pluggable status to be determined based on the signal received from the second pin. This enables the pluggable electronic device to generate its pluggable status in real time and send it to the computing device. The computing device can then perform corresponding operations based on the received pluggable status to ensure the normal operation of both the pluggable electronic device and the computing device. Attached Figure Description

[0055] Figure 1 Block diagrams of computing devices provided in some embodiments of this application;

[0056] Figure 2 This is a structural diagram of a pluggable electronic device according to some embodiments of this application;

[0057] Figure 3 A magnified view of the top leader;

[0058] Figure 4 This is a block diagram of a pluggable electronic device according to some embodiments of this application;

[0059] Figure 5Assembly diagram of a second handle of a pluggable electronic device and a housing of a computing device provided for some embodiments of this application;

[0060] Figure 6 A polling tree diagram of a pluggable electronic device provided for some embodiments of this application;

[0061] Figure 7 A polling tree diagram of a network interface card provided in some embodiments of this application;

[0062] Figure 8 This is a structural diagram of a pluggable electronic device according to other embodiments of this application;

[0063] Figure 9 Block diagram of a computing device provided for other embodiments of this application. Detailed Implementation

[0064] The technical solutions in some embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application are within the scope of protection of this application.

[0065] Unless the context otherwise requires, throughout the specification and claims, the term "comprise" and its other forms, such as the third-person singular "comprises" and the present participle "comprising," are interpreted as open-ended and encompassing, meaning "including, but not limited to." In the description of the specification, terms such as "one embodiment," "some embodiments," "exemplary embodiments," "example," "specific example," or "some examples," etc., are intended to indicate that a particular feature, structure, material, or characteristic associated with that embodiment or example is included in at least one embodiment or example of this application. The illustrative representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics mentioned may be included in any suitable manner in any one or more embodiments or examples.

[0066] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of this application, unless otherwise stated, "a plurality of" means two or more.

[0067] In describing some embodiments, the terms "coupled" and "connected," and their derivative expressions, may be used. For example, the term "connected" may be used in describing some embodiments to indicate that two or more components have direct or indirect physical or electrical contact with each other. Similarly, the term "coupled" may be used in describing some embodiments to indicate that two or more components have direct or indirect physical or electrical contact. However, the terms "coupled" or "communicatively coupled" may also refer to two or more components that do not have direct contact with each other but still cooperate or interact with each other. The embodiments disclosed herein are not necessarily limited to the content of this document.

[0068] As used herein, “approximately” includes the value stated and the average value within an acceptable range of deviation from the given value, wherein the acceptable range of deviation is determined by a person skilled in the art taking into account the measurement under discussion and the error associated with the measurement of the given quantity (i.e., the limitations of the measurement system).

[0069] As used in this specification, the terms "component," "module," "system," etc., are used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. As illustrated, applications running on computing devices and computing devices can both be components. One or more components may reside in a process and / or an execution thread, and components may be located on a single computer and / or distributed among two or more computers. Furthermore, these components can be executed from various computer-readable media on which various data structures are stored. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).

[0070] Figure 1 Block diagram of a computing device provided for some embodiments of this application.

[0071] like Figure 1As shown, some embodiments of this application provide a computing device 200. It is understood that the computing device 200 can be an electronic device with processing, computing, and communication functions. For example, the computing device 200 can be a server or a high-performance PC (Personal Computer). It is understood that the embodiments of this application do not further limit the type of computing device 200.

[0072] In some examples, the housing of computing device 200 may enclose a receiving cavity. The receiving cavity is used to house pluggable electronic device 100 so that pluggable electronic device 100 is electrically connected to processing unit 220 within computing device 200 so that pluggable electronic device 100 and computing device 200 can interact.

[0073] In some examples, processing unit 220 can be a generic top-level domain (GTLD). However, this application is not limited to this.

[0074] It is worth noting that, at present, there is no detailed definition for hot-swapping schemes for pluggable electronic devices. Currently, after a pluggable electronic device is electrically connected to a computing device, it cannot obtain its own plugging / unplugging status in real time and send it to the computing device. Therefore, manual operation of the computing device to power down is required to enable subsequent hot-swapping of the pluggable electronic device. However, because manual operation of the software within the computing device is required, it is easy to cause accidental plugging / unplugging, thereby affecting the normal system operation of both the pluggable electronic device and the computing device.

[0075] Figure 2 This is a structural diagram of a pluggable electronic device according to some embodiments of this application.

[0076] Based on this, such as Figure 2 As shown, some embodiments of this application provide a pluggable electronic device 100. The pluggable electronic device 100 includes a data processing unit 30, a first handle 10, and a sensing unit 11.

[0077] exist Figure 2 In the illustrated embodiment, the pluggable electronic device 100 may be rectangular. For ease of description in the following embodiments, an XYZ coordinate system is established. Specifically, the length direction of the pluggable electronic device 100 is defined as the X-axis, the width direction as the Y-axis, and the height direction as the Z-axis. It is understood that the coordinate system setting of the pluggable electronic device 100 can be flexibly configured according to actual needs, and is not specifically limited here.

[0078] In some examples, the first handle 10 can be used to actuate the pluggable electronic device 100. This allows the pluggable electronic device 100 to be pushed into the housing of the computing device 200 using the first handle 10, enabling electrical connection between the pluggable electronic device 100 and the processing unit 220 within the housing, thus facilitating information interaction between the computing device 200 and the pluggable electronic device 100. Alternatively, the first handle 10 can be positioned to extend outside the housing to facilitate subsequent operations such as removing the pluggable electronic device 100 from the computing device 200 or reinserting it into the computing device 200.

[0079] In some examples, the first handle 10 may be a protrusion protruding from the inner substrate 101 of the pluggable electronic device 100. By providing the first handle 10 protruding from the inner substrate 101 of the pluggable electronic device 100, it is convenient for the user to directly contact the first handle 10 and use the first handle 10 to move the pluggable electronic device 100 into the housing within the computing device 200, so that the pluggable electronic device 100 is electrically connected to the computing device 200.

[0080] In some examples, the first handle 10 can be a cuboid handle. Setting the first handle 10 as a cuboid handle makes it easier for the user to operate the first handle 10 to push the pluggable electronic device 100; on the other hand, the first handle 10 also has multiple planes, which makes it easier to set the sensing unit 11 and prevents the sensing unit 11 from falling off the first handle 10.

[0081] For example, the sensor unit 11 may be disposed on the first handle 10 in the following ways:

[0082] The first method involves placing the sensing unit 11 on the side of the first handle 10 along the Y-axis, away from the data processing component 30.

[0083] The second method is to place the sensing unit 11 on any side of the first handle 10 along the Z-axis.

[0084] The third method is to place the sensing unit 11 on any side of the first handle 10 along the X-axis.

[0085] The following is combined with Figure 3 The third example, in which the sensing unit 11 is placed on any side of the first handle 10 along the X-axis, will be introduced.

[0086] Figure 3 This is a close-up view of the top leader. Understandable. Figure 3The accompanying drawings below only schematically illustrate some components included in the pluggable electronic device 100; the actual shape, size, location, and construction of these components are not subject to change. Figure 3 As well as the limitations of the accompanying figures below.

[0087] In some examples, this applies to the first handle 10. The first handle 10 includes a first side 10A and a second side 10B disposed opposite each other along the X-axis. The first side 10A is closer to the second handle 20 than the second side 10B. The sensing unit 11 can be disposed on either the first side 10A or the second side 10B. Figure 4 The illustration is based on the example of the sensing unit 11 being placed on the first side 10A.

[0088] Since the pluggable electronic device 100 is typically pushed using the first handle 10, the first side 10A and the second side 10B are usually held by the user's fingers. Therefore, the sensing unit 11 can be positioned on either the first side 10A or the second side 10B, making it easier for the sensing unit 11 to be touched and generate a corresponding voltage signal. This facilitates the subsequent data processing unit 30's recognition of the pluggable electronic device 100's insertion / removal status.

[0089] In some examples, the sensing unit 11 may be fixedly connected to the first handle 10. The fixed connection may be achieved by means of bonding or welding, and some embodiments of this application are not limited to this method of fixed connection.

[0090] For example, such as Figure 3 As shown, the first side 10A includes a groove K, in which the sensing unit 11 can be placed to prevent the sensing unit 11 from being accidentally touched and generating noise, or from being accidentally touched and falling off.

[0091] Below Figure 2 Based on, combined Figure 4 The internal structure of the pluggable electronic device 100 is described below:

[0092] Figure 4 This is a block diagram of a pluggable electronic device according to some embodiments of this application. For example... Figure 4 As shown, some embodiments of this application provide a pluggable electronic device 100, including a data processing unit 30, a first handle 10, and a sensing unit 11. The data processing unit 30 includes a first pin GPIO1 and a second pin GPIO2.

[0093] A sensing unit 11 is disposed on the first handle 10. The sensing unit 11 is electrically connected to the first pin GPIO1 of the data processing unit 30. The sensing unit 11 is used to: generate a sensing signal when the first handle 10 is operated; and send the sensing signal to the first pin GPIO1 of the data processing unit 30, so that the signal state of the first pin GPIO1 changes from the initial state to the sensing state.

[0094] For example, when the sensing unit 11 on the first handle 10 is not operated by a hand, the sensing unit 11 sends a first sensing signal to the first pin GPIO1 of the data processing unit 30. The first pin GPIO1 of the data processing unit 30 receives the first sensing signal and triggers the signal state of the first pin GPIO1 to the initial state. When the sensing unit 11 on the first handle 10 is operated by a hand, the sensing unit 11 sends a second sensing signal to the first pin GPIO1 of the data processing unit 30. The first pin GPIO1 of the data processing unit 30 receives the first sensing signal and triggers the signal state of the first pin GPIO1 to change from the initial state to the sensing state. That is, the initial state is used to indicate that the first handle 10 is not operated; the sensing state is used to indicate that the first handle 10 is operated.

[0095] With this configuration, the data processing unit 30 can determine whether the first handle 10 has been operated based on the signal state of the first pin GPIO1, so as to combine it with the state of the second pin GPIO2, and thus the data processing unit 30 can determine the pluggable electronic device 100's pluggable state. This prevents the different pluggable electronic device 100's pluggable state from affecting the computing device 200, thereby preventing the computing device 200 from malfunctioning.

[0096] In some embodiments, the sensing unit 11 includes any one of a resistive touch sensor, an infrared sensor, and a pressure sensor. However, some embodiments of this application do not limit the type of the sensing unit 11 to this.

[0097] In some examples, when the sensing unit 11 includes a resistive touch sensor, the resistive touch sensor is subjected to pressure when touched by a human body, which causes a change in the resistivity of the resistive touch sensor, resulting in a corresponding change in the voltage value generated by the resistive touch sensor.

[0098] Therefore, the voltage value generated by the resistive touch sensor differs depending on whether it is touched or not. Specifically, when the resistive touch sensor is not touched, it sends a first voltage to its first pin, GPIO1, which is in its initial state. When the resistive touch sensor is touched, the voltage value changes from the first voltage to a second voltage, which is then sent to GPIO1. This causes a change in the voltage value of GPIO1, from the first voltage (initial voltage) to the second voltage. Based on this second voltage, GPIO1's signal state changes from its initial state to a sensing state. At this point, the signal state of GPIO1 can be used to determine whether the handle has been operated.

[0099] The voltage values ​​of the first voltage and the second voltage are different. For example, the voltage value of the second voltage is greater than the voltage value of the first voltage.

[0100] For example, when the sensing unit 11 on the first handle 10 is not touched at all, the voltage value of the first voltage can be 0V. It is understood that in other examples, the sensing unit 11 on the first handle 10 may be accidentally touched, resulting in a smaller pressure, and in this case, the voltage value of the first voltage may be greater than 0V. However, some embodiments of this application are not limited to this and can be configured according to the specific model of the sensing unit 11.

[0101] In some examples, when the sensing unit 11 includes an infrared sensor, the infrared sensor is blocked by light when touched by a human body, causing a change in the resistance value within the infrared sensor, which in turn changes the voltage value generated by the infrared sensor. Specifically, when the infrared sensor is touched, the infrared light emitted by the infrared sensor is reflected back and received by the infrared sensor, resulting in a low-level output; otherwise, it is a high-level output.

[0102] Therefore, the voltage value generated by the infrared sensor differs depending on whether it is touched or not. Specifically, when the infrared sensor is not touched, it sends a third voltage to pin GPIO1, which is its current state. When the infrared sensor is touched, the voltage value generated changes from the third voltage to a fourth voltage, which is then sent to pin GPIO1. This causes a change in the voltage value of pin GPIO1, from the initial third voltage to the fourth voltage. Based on this fourth voltage, pin GPIO1's signal state changes from its initial state to a sensing state. At this point, the signal state of pin GPIO1 can be used to determine whether the handle has been operated.

[0103] The voltage values ​​of the third and fourth voltages are different. For example, the voltage value of the fourth voltage is greater than the voltage value of the third voltage.

[0104] For example, when the sensing unit 11 on the first handle 10 is not touched at all, the voltage value of the third voltage can be 0V. It is understood that in other examples, the sensing unit 11 on the first handle 10 may be accidentally touched, resulting in a smaller pressure, in which case the voltage value of the third voltage will be greater than 0V. However, some embodiments of this application are not limited to this and can be configured according to the specific model of the sensing unit 11.

[0105] In some examples, when the sensing unit 11 includes a pressure sensor, the pressure sensor can generate corresponding voltage values ​​based on different received pressures.

[0106] Based on this, the pressure experienced by the sensing unit 11 differs when it is touched and when it is not touched, resulting in different generated voltage values. Specifically, when the sensing unit 11 is not touched, the pressure sensor sends a fifth voltage to the first pin GPIO1, which is in its initial state. When the pressure sensor is touched, the voltage value generated by the pressure sensor changes from the fifth voltage to a sixth voltage, which is then sent to the first pin GPIO1. At this time, the voltage value of the first pin GPIO1 changes from the fifth voltage (initial voltage) to the sixth voltage. The first pin GPIO1 is triggered to change its signal state from the initial state to the sensing state based on the sixth voltage. Therefore, the signal state of the first pin GPIO1 can be used to determine whether the first handle has been operated.

[0107] The voltage values ​​of the fifth and sixth voltages are different. For example, the voltage value of the sixth voltage is greater than that of the fifth voltage.

[0108] For example, when the sensing unit 11 on the first handle 10 is not touched at all, the voltage value of the fifth voltage can be 0V. It is understood that in other examples, the sensing unit 11 on the first handle 10 may be accidentally touched, resulting in a smaller pressure, in which case the voltage value of the fifth voltage will be greater than 0V. However, some embodiments of this application are not limited to this and can be configured according to the specific model of the sensing unit 11.

[0109] The following illustration uses a resistive touch sensor as an example.

[0110] In some examples, the first pin GPIO1 can be an analog-to-digital converter (ADC). The data processing unit 30 includes an ADC processing unit electrically connected to the first pin GPIO1.

[0111] When the sensing unit 11 on the first handle 10 is not operated, the sensing unit 11 generates a first voltage (initial voltage) and sends the first voltage to the first pin GPIO1. The first voltage triggers the signal state of the first pin GPIO1 to the initial state. The data processing unit 30 receives the first voltage through the first pin GPIO1 and compares the first voltage with a threshold voltage. At this time, the voltage value of the first voltage is not greater than the threshold voltage.

[0112] Based on this, when the voltage value received by the data processing unit 30 through the first pin GPIO1 is not greater than the threshold voltage, the data processing unit 30 adjusts the signal state of the first pin GPIO1 to the initial state. Subsequently, it can be determined from the signal state (initial state) of the first pin GPIO1 that the sensing unit 11 on the first handle 10 is not operated at this time.

[0113] When the sensing unit 11 on the first handle 10 is operated, the sensing unit 11 generates a second voltage and sends the second voltage to the first pin GPIO1. The second voltage triggers the signal state of the first pin GPIO1 to be in a sensing state. For example, the data processing unit 30 receives the second voltage through the first pin GPIO1 and compares the second voltage with a threshold voltage. At this time, the voltage value of the second voltage is greater than the threshold voltage, thereby determining that the state of the first pin GPIO1 is in a sensing state.

[0114] Based on this, when the voltage value received by the data processing unit 30 through the first pin GPIO1 is greater than the threshold voltage, the data processing unit 30 adjusts the signal state of triggering the first pin GPIO1 to the sensing state. Subsequently, it can be determined that the sensing unit 11 on the first handle 10 is being operated based on the signal state (sensing state) of the first pin GPIO1.

[0115] In some examples, the threshold voltage can be greater than 0V to prevent the sensing unit 11 from being accidentally touched by a human body or other objects, causing the sensing unit 11 to detect pressure and change its voltage value, so as to ensure that the noise voltage value is within the threshold voltage range and improve the accuracy of the data processing unit 30 in determining whether the sensing unit 11 on the first handle 10 has been operated.

[0116] For example, the threshold voltage can be approximately 0.9V. However, some embodiments of this application do not limit the threshold voltage value to this. The threshold voltage value can be set according to different sensitivities and different types of sensing units 11.

[0117] Continue reading Figure 4As shown, the second pin GPIO2 in the pluggable electronic device 100 is electrically connected to the first power supply VCC, and the second pin GPIO2 is grounded through switch W. When the pluggable electronic device is inserted into the computing device, the second pin GPIO2 is grounded when switch W is closed, thereby changing the signal state of the second pin GPIO2 from the first level state to the second level state.

[0118] For example, the first power supply VCC can be a high-voltage power supply terminal. The first power supply VCC can be used to provide a high-level signal to the second pin GPIO2.

[0119] For example, the high-level signal is greater than 0V. For instance, 1.8V. However, some embodiments of this application do not limit the magnitude of the high-level signal provided by the first power supply VCC to this value.

[0120] When switch W is turned on, the second pin GPIO2 is disconnected from the ground terminal GND, and the grounded end of the second pin GPIO2 is essentially floating. Since the second pin GPIO2 is still electrically connected to the first power supply VCC, it receives a high-level signal from VCC, thus setting its signal state to the first level state. This first level state can be a high-level state.

[0121] When switch W is closed, the second pin GPIO2 is effectively electrically connected to the ground terminal GND. This makes the potential of the second pin GPIO2 the ground potential, approximately 0V, thereby changing the signal state of the second pin GPIO2 from the first level state to the second level state. At this time, the second level state can be a low level state, and the signal state of the second pin GPIO2 is a low level state.

[0122] Based on this, the data processing unit 30 within the pluggable electronic device 100 can determine the conduction status of switch W based on the signal state of the second pin GPIO2. Specifically, when the signal state of the second pin GPIO2 is at the first level, switch W is open. When the signal state of the second pin GPIO2 is at the second level, switch W is closed.

[0123] In some examples, the second pin GPIO2 can be an I / O pin. An I / O pin can be used to receive a high-level signal to generate data 1, or to receive a low-level signal to generate data 0. However, some embodiments of this application do not limit the type of the second pin GPIO2 to this.

[0124] In some embodiments, the first power supply VCC can be the power domain of the data processing unit 30. This configuration eliminates the need for a separate first power supply within the pluggable electronic device 100, simplifying the structure of the pluggable electronic device 100.

[0125] In summary, in some embodiments of the pluggable electronic device 100 provided in this application, the data processing unit 30 can determine whether the first handle 10 has been operated based on the signal state of the first pin GPIO1. Furthermore, the data processing unit 30 can determine whether the second pin GPIO2 is properly grounded based on the signal state of the second pin GPIO2, that is, according to the first or second level state of the second pin GPIO2. Therefore, the data processing unit 30 can determine the pluggable state of the pluggable electronic device 100 based on whether the first handle 10 has been operated and whether the second handle 20 is properly grounded. In other words, the data processing unit 30 in the pluggable electronic device 100 can determine the pluggable state of the pluggable electronic device 100 based on the signal states of the first pin GPIO1 and the second pin GPIO2. Thus, the pluggable electronic device 100 can acquire its own pluggable state in real time.

[0126] It is understood that the pluggable electronic device 100 can subsequently send its real-time pluggable / pluggable status to the computing device 200. The computing device 200 then performs a power-down operation based on the pluggable / pluggable status provided by the pluggable electronic device 100, thereby enabling hot-swapping of the pluggable electronic device 100. Based on this, the pluggable electronic device 100 and computing device 200 provided in this embodiment do not require manual operation; they automatically acquire trigger notifications to achieve hot-swapping, reducing the possibility of accidental plugging / plugging.

[0127] In some embodiments, return to reference Figure 2 As shown, the pluggable electronic device 100 also includes a second handle 20. The computing device 200 has a knob hole F on its panel. The knob hole F is grounded, meaning it is electrically connected to the ground terminal GND. The second handle 20 includes a knob. The knob and the knob hole F form a switch W (such as...). Figure 4 (As shown).

[0128] Based on this, the second pin GPIO2 is grounded through a switch W formed by the knob and knob hole F.

[0129] When the knob and knob hole F are tightened, it is equivalent to the switch W being closed by the knob and knob hole F. At this time, the second pin GPIO2 is grounded. This makes the potential of the second pin GPIO2 the ground potential, and the second pin GPIO2 is in the second level state.

[0130] When the knob and knob hole F are not tightened, it is equivalent to the switch W being turned on by the knob and knob hole F. At this time, the second pin GPIO2 is disconnected from the ground terminal GND. Since the second pin GPIO2 is still electrically connected to the first power supply VCC, it receives a high-level signal from the first power supply VCC, thus putting the second pin GPIO2 in the first level state.

[0131] As configured above, the data processing unit 30 within the pluggable electronic device 100 can determine the conduction status of switch W based on the signal state of the second pin GPIO2, that is, whether the second handle 20 is properly locked to the panel of the computing device 200. Specifically, when the signal state of the second pin GPIO2 is at the first level, switch W is open, and the second handle 20 is not locked to the panel of the computing device 200. When the signal state of the second pin GPIO2 is at the second level, switch W is closed, and the second handle 20 is locked to the panel of the computing device 200.

[0132] In addition, the second handle 20 can be tightened using the knob and the knob hole F on the panel of the computing device 200 to fix the pluggable electronic device 100 so that the pluggable electronic device 100 can be stably connected to the computing device 200.

[0133] In some examples, refer back Figure 2 As shown, the pluggable electronic device 100 may include a connecting protrusion Q. The connecting protrusion Q includes a screw hole. A second handle 20 is rotated and screwed into the screw hole to secure the second handle 20 to the pluggable electronic device 100.

[0134] In some examples, refer back Figure 2 As shown, the second handle 20 of the pluggable electronic device 100 extends outside the housing. It can be understood that a portion of the second handle 20 extends outside the housing.

[0135] The second handle 20 can be located outside the housing to facilitate subsequent operation of the second handle 20 by tightening or loosening the knob and knob hole F, thereby enabling the removal and installation of the pluggable electronic device 100 from the computing device 200.

[0136] Figure 5 Assembly diagram of a second handle of a pluggable electronic device and a housing of a computing device provided for some embodiments of this application.

[0137] In some examples, such as Figure 5 As shown, when the first handle 10 is operated to insert the pluggable electronic device 100 into the computing device 200, the second handle 20 can be rotated so that it passes through the screw hole E and the knob hole F in sequence, and then the tail of the second handle 20 is tightened to fix the pluggable electronic device 100 to the computing device 200. Thus, the second handle 20 can be used to fix the pluggable electronic device 100 to the casing of the computing device, serving a locking function.

[0138] In some examples, such as Figure 5As shown, the knob hole F is grounded by connecting to the housing 210 of the computing device 200. When the first handle 10 is operated to insert the pluggable electronic device 100 into the computing device 200, the second handle 20 can be rotated so that it passes through the screw hole E and the knob hole F in sequence. Tightening the tail of the second handle 20 connects the second handle 20, the screw hole E of the pluggable electronic device 100, and the knob hole F on the panel of the computing device 200. The panel of the computing device 200 is generally connected to the housing 210 of the computing device 200, and the housing of the computing device 200 can be grounded to discharge static electricity. Based on this, the knob hole F can be grounded by connecting to the housing 210 of the computing device 200.

[0139] For example, the material of the second handle 20 can be metal. The material of the casing of the computing device 200 can also be metal.

[0140] In some examples, refer back Figure 2 As shown, the first handle 10 and the second handle 20 can be arranged along the X-axis. The first handle 10 and the second handle 20 can be distributed on both sides of the pluggable electronic device 100. However, some embodiments of this application do not limit the specific positions of the first handle 10 and the second handle 20 on the pluggable electronic device 100.

[0141] In some embodiments, such as Figure 4 As shown, the pluggable electronic device 100 also includes a protection unit 21. The protection unit 21 is connected in series between the switch W and the first power supply VCC. That is, when the switch W is closed, it is equivalent to connecting the protection unit 21 in series between the ground terminal GND and the first power supply VCC.

[0142] Based on this, the protection unit 21 can be used to isolate the first power supply VCC and the ground terminal GND. In order to achieve the following, the second handle 20 is grounded, that is, the second pin GPIO2 is grounded, so that the signal state of the second pin GPIO2 is in the second level state; while when the second handle 20 is not grounded, the potential of the second pin GPIO2 is high, so that the signal state of the second pin GPIO2 is in the first level state.

[0143] For example, protection unit 21 includes a resistor. This resistor can be a pull-up resistor. A resistor is connected in series between the ground terminal GND and the first power supply VCC to isolate the first power supply VCC from the ground terminal GND. This allows the following: when the second handle 20 is grounded, the potential of the second pin GPIO2 is the ground potential, and the signal state of the second pin GPIO2 is a second level state; and when the second handle 20 is not grounded, the potential of the second pin GPIO2 is the power supply signal potential, and the signal state of the second pin GPIO2 is a first level state.

[0144] In some examples, the resistor's resistance value ranges from 4KΩ to 5KΩ. This ensures that when the second lever 20 is grounded, the power across the resistor will not exceed its nominal power, thus improving circuit stability. For example, the resistor's resistance value is approximately 4.7KΩ.

[0145] In some embodiments, such as Figure 4 As shown, the data processing unit 30 is used to determine that the pluggable electronic device 100 is in a hot-plugging state when the signal state of the first pin GPIO1 is in a sensing state and the signal state of the second pin GPIO2 is in a first level state.

[0146] When the data processing unit 30 receives the voltage from the sensing unit 11 through the first pin GPIO1, and the data processing unit 30 determines that the received voltage from the sensing unit 11 is greater than the threshold voltage, it determines that the signal state of the first pin GPIO1 is the sensing state, that is, it determines that the first handle 10 is operated at this time.

[0147] For example, the data processing unit 30 can store the corresponding status data of the sensing state of the first pin GPIO1. For example, the status data of the sensing state can be the data "1".

[0148] Based on the data processing unit 30 determining that the signal state of the first pin GPIO1 is in the initial state, the data processing unit 30 receives the first level state through the second pin GPIO2, that is, it determines that the second handle 20 is not grounded at this time. In other words, the second handle 20 is disconnected from the casing of the computing device at this time.

[0149] For example, the data processing unit 30 can store the status data of the first level state of the second pin GPIO2, for example, the status data of the first level state can be the data "1".

[0150] At this time, based on the initial state of the signal of the first pin GPIO1, the data processing unit 30 can determine that the first handle 10 on the pluggable electronic device 100 has been operated. Also, based on the first level state of the signal of the second pin GPIO2, the data processing unit 30 can determine that the second handle 20 is not connected to the housing of the computing device 200, resulting in the second handle 20 not being grounded.

[0151] Since the first handle 10 of the pluggable electronic device 100 is operated and the second handle 20 is disconnected from the housing of the computing device 200, it can be determined that the pluggable electronic device 100 was pulled out of the housing of the computing device 200 by manually operating the first handle 10, causing the second handle 20 to be disconnected from the housing of the computing device 200. Therefore, the data processing unit 30 within the pluggable electronic device 100 can determine that the pluggable electronic device 100 is in a hot-swappable operating state based on the signal state of the first pin GPIO1 being in a sensing state and the signal state of the second pin GPIO2 being in a first level state.

[0152] At this time, the data processing unit 30 can generate status data for the hot-swap operation state. For example, the status data for the hot-swap operation state can be the data "11". This data can then be sent to the processing unit via the third pin to drive the indicator unit. For example, the indicator unit can be flashing at this time.

[0153] Hot-plugging (or hot swap) allows users to remove and replace damaged components such as hard drives, power supplies, or pluggable electronic devices 100 without shutting down the system or disconnecting the power, thereby improving the system's ability to recover from disasters, its scalability, and its flexibility. The aforementioned hot-plugging operation refers to the hot-plugging of the pluggable electronic device 100. That is, the computing device 200 can be powered on continuously without shutting down, allowing for the removal of the pluggable electronic device 100 for maintenance. After maintenance, the pluggable electronic device 100 can be electrically reconnected to the computing device 200 to continue its normal operation.

[0154] In some examples, the user's human body carries its own power frequency signal. Based on this, the data processing unit 30 can determine whether the second handle 20 is grounded based on the signal state of the second pin GPIO2, and also determine whether the second handle 20 is being touched by a human body based on whether the second pin GPIO2 has a power frequency signal. Specifically, when the second handle 20 is touched by a human body, the human body can transmit a power frequency signal to the second pin GPIO2.

[0155] The concept of users carrying their own power frequency signal can be understood as follows: Since mains electricity is ubiquitous in both indoor and outdoor environments—for example, indoor computers, any charger plugged into a socket, or other electrical appliances all require mains power to function—and outdoor antennas are another example. All mains power, after passing through these appliances, returns to the substation and connects to the ground via the neutral wire. This results in our surroundings being filled with radiated mains electricity and induced current from the ground. In other words, users carry their own power frequency signal.

[0156] For example, mains power typically uses 200V, 50Hz AC power. Based on this, the human body's own power frequency signal can be a 50Hz power frequency signal. However, some embodiments of this application do not limit the magnitude of the power frequency signal to this.

[0157] Based on the human body's inherent power frequency signal:

[0158] The data processing unit 30 is used to determine that the pluggable electronic device 100 is in a hot-plugging state when the signal state of the first pin GPIO1 is in a sensing state and the signal state of the second pin GPIO2 is in a first level state and includes a power frequency signal.

[0159] Specifically, when the signal state of the second pin GPIO2 is at the first level and includes a power frequency signal, the data processing unit 30 can determine that the second handle 20 is not connected to the casing of the computing device 200 and that the second handle 20 has been touched. Therefore, it can be concluded that the second handle 20 has been manually operated to disconnect it from the casing of the computing device 200, causing the signal state of the second pin GPIO2 to be at the first level.

[0160] Determining the state of the second handle based on both the signal status of the second pin GPIO2 and the presence of a power frequency signal can prevent misjudgment of the second handle's state if it detaches from the casing of the computing device 200 due to factors such as weight. In other words, determining the state of the second handle based on both the signal status of the second pin GPIO2 and the presence of a power frequency signal improves the accuracy of the determined state of the second handle 20.

[0161] In some examples, such as Figure 4 As shown, the data processing unit 30 determines that the first level state of the second pin GPIO2 is a valid signal state when the holding time of the first level state of the second pin GPIO2 is greater than a first threshold time. Subsequently, the data processing unit 30 can determine the pluggable / pluggable state of the pluggable electronic device 100 based on the valid state signal.

[0162] Suppose that at a certain instant, the second handle 20 is not properly connected to the casing of the computing device 200, resulting in a higher voltage value at the second pin GPIO2, causing the signal state of the second pin GPIO2 to be at the first level. At other times, the second handle 20 is properly connected to the casing of the computing device 200, and the second handle is grounded through the casing of the computing device 200, pulling the voltage value of the second pin GPIO2 lower, causing the signal state of the second pin GPIO2 to be at the second level. That is, a signal state of the second pin GPIO2 at any given instant that is at the first level is invalid.

[0163] That is, the data processing unit 30 determines that the signal state of the second pin GPIO2 is a valid first level state only when the signal state received by the data processing unit 30 through the second pin GPIO2 is in a first level state and the first level state is maintained for a time exceeding a first threshold time. This effectively prevents noise-induced judgments and improves the accuracy of the data processing unit 30 in determining the presence of the pluggable electronic device 100.

[0164] In some examples, the first threshold time can be greater than 30 seconds. The second handle 20 is typically separated from the computing device's casing by rotation or other means, resulting in intermittent contact with the casing. Setting the first threshold time to be greater than 30 seconds ensures sufficient time is allowed to disconnect the second handle 20 from the casing, allowing for the identification of the information state (first level state) of the second pin GPIO2.

[0165] For example, the range of the first threshold time can be greater than 60 seconds. Setting the first threshold time relatively large allows more time for the second handle 20 to detach from the casing of the computing device, so that the information state (first level state) of the second pin GPIO2 can be identified. However, some embodiments of this application do not limit the range of the first threshold time to this, and can set it according to the structure of the second handle 20.

[0166] In some examples, such as Figure 4 As shown, the data processing unit 30 is used to: determine that the sensing state of the first pin GPIO1 is a valid signal state when the holding time of the sensing state of the first pin GPIO1 is greater than the second threshold time.

[0167] Suppose that at a certain instant, the sensing unit 11 of the first handle 10 is accidentally touched. The data processing unit 30 receives the voltage from the sensing unit 11 at this moment through the first pin GPIO1, compares it with a threshold voltage, determines that the voltage from the sensing unit 11 is greater than the threshold voltage, and judges that the first handle 10 has been operated. However, at other times, the sensing unit 11 of the first handle 10 remains normal and is not operated, and the signal state of the first pin GPIO1 is in the initial state. At this time, it can be determined that the signal state of the first pin GPIO1 at a certain instant is a noise judgment.

[0168] In other words, the data processing unit 30 determines that the signal state of the first pin GPIO1 is valid only if the holding time of the sensing state of the first pin GPIO1 is greater than a second threshold time. This effectively prevents noise-induced judgments and improves the accuracy of the data processing unit 30 in determining the presence of the pluggable electronic device 100.

[0169] In some examples, the second threshold time can be greater than 1 second. Typically, the first handle 10 is used to push the pluggable electronic device 100 into the housing of the computing device 200, electrically connecting it to the processing unit of the computing device 200. The time for pushing the pluggable electronic device 100 is generally more than 1 second, meaning it will remain in contact with the sensing unit 11 on the first handle 10 for more than 1 second. Therefore, setting the second threshold time to be greater than 1 second can effectively prevent noise-induced detection, ensuring accurate identification of the information status (sensing status) of the first pin GPIO1.

[0170] Based on this, the data processing unit 30 is used to determine that the pluggable electronic device is in a hot-swappable operating state when it detects that the holding time of the first level state of the second pin GPIO2 is greater than a first threshold time and the holding time of the sensing state of the first pin GPIO1 is greater than a second threshold time. This can effectively prevent noise judgment and improve the accuracy of the data processing unit 30 in determining the hot-swappable operating state of the pluggable electronic device 100.

[0171] Figure 6 A polling tree diagram of a pluggable electronic device provided for some embodiments of this application.

[0172] like Figure 6 As shown, in some embodiments, the data processing unit 30 is used for: at least one polling cycle, in which the first pin GPIO1 and the second pin GPIO2 are polled. The unit receives the signal status of the first pin GPIO1 and the signal status of the second pin GPIO2.

[0173] That is, the data processing unit 30 is used for: at least one polling cycle, polling the first pin GPIO1 and the second pin GPIO2 in one polling cycle; and receiving the signal status of the first pin GPIO1 and the signal status of the second pin GPIO2.

[0174] In each polling cycle, the data processing unit 30 polls the first pin GPIO1 and the second pin GPIO2 to obtain the information status of the first pin GPIO1 and the second pin GPIO2.

[0175] When the signal state of the first pin GPIO1 is in the sensing state and the signal state of the second pin GPIO2 is in the first level state, the pluggable electronic device 100 is determined to be in the hot-plugging working state.

[0176] Therefore, the data processing unit 30 polls the first pin GPIO1 and the second pin GPIO2 in real time to automatically obtain the pluggable electronic device 100's pluggable / unpluggable status. The computing device 200 can then perform a corresponding power-down operation based on the automatically obtained pluggable / unpluggable status of the pluggable electronic device 100, ensuring that both the pluggable electronic device 100 and the computing device 200 can function normally.

[0177] In some examples, the data processing unit 30 is used for: multiple polling cycles, one polling cycle polling the first pin GPIO1 and the second pin GPIO2; and receiving the signal status of the first pin GPIO1 and the signal status of the second pin GPIO2.

[0178] The data processing unit 30 polls the first pin GPIO1 and the second pin GPIO2 multiple times to obtain the information status of the first pin GPIO1 and the second pin GPIO2 in a timely manner, so as to prevent the problem of untimely information status acquisition, which would affect the use of the pluggable electronic device 100.

[0179] However, in some embodiments of this application, the number of times the data processing component 30 polls the first pin GPIO1 and the second pin GPIO2 is not limited, and can be set according to the actual situation.

[0180] In some embodiments, such as Figures 2-5 As shown, the pluggable electronic device 100 can be a network card, and the data processing unit 30 can be a network card chip.

[0181] In other embodiments, the pluggable electronic device 100 may include a storage unit 400 and a storage board 500, which form a data processing component 30 within the pluggable electronic device 100.

[0182] The following illustrations, with reference to the accompanying drawings, will first take the example where the pluggable electronic device 100 can be a network card and the data processing unit 30 can be a network card chip:

[0183] In some examples, the network interface card (NIC) can be an OCP3.0 NIC. However, some embodiments of this application do not limit the NIC model to this. Taking an OCP3.0 NIC as an example, [the following is a separate section:] Figure 2 As shown, the network card may include a substrate 101, a first handle 10, a second handle 20, and a network card chip. The network card chip is disposed on the substrate, and the first handle 10 and the second handle 20 may be disposed on one side of the substrate 101.

[0184] For example, the network interface card (NIC) may include gold fingers, and the motherboard within the processing unit 220 may include a connector. Pushing the NIC moves it into the slot of the computing device 200, electrically connecting the gold fingers on the NIC to the connector on the motherboard, enabling the NIC to electrically connect to the motherboard of the processing unit 220 and allowing the NIC and the processing unit 220 of the computing device 200 to exchange information.

[0185] The network interface card (NIC) chip can determine whether the first handle 10 has been operated based on the signal state of the first pin GPIO1. Furthermore, the NIC chip can determine whether the second handle 20 is properly grounded based on the signal state of the second pin GPIO2, specifically, according to either the first or second level state of the second pin GPIO2. Therefore, the NIC chip can determine the detection state of the NIC based on whether the first handle 10 has been operated and whether the second handle 20 is properly grounded. In other words, the NIC chip can determine the detection state of the NIC based on the signal states of the first pin GPIO1 and the second pin GPIO2. The detection state includes the insertion / removal status.

[0186] For example, the network card chip can also detect whether the second pin GPIO2 has a power frequency signal to determine whether the second handle 20 has been touched by a human body. Based on this, the network card chip can determine the detection status of the network card based on whether the first handle 10 has been operated, whether the second handle 20 is properly grounded, and whether the second handle 20 has been touched by a human body. That is, the network card chip can determine the detection status of the network card based on the signal status of the first pin GPIO1 and the signal status of the second pin GPIO2.

[0187] The network card status detection includes: unlocked working state, hot-swappable working state, and locked working state. The hot-swappable working state has been described in detail above with reference to the attached diagram. The specific method for determining whether the detection state is unlocked or locked will be described in detail below.

[0188] like Figure 4 As shown, in some embodiments, the data processing unit 30 is used to determine that the network card's detection state is an unlocked working state when the signal state of the first pin GPIO1 is in the initial state and the signal state of the second pin GPIO2 is in the first level state.

[0189] That is, the network card chip is used to determine that the network card's detection state is an unlocked working state when the signal state of the first pin GPIO1 is in the initial state and the signal state of the second pin GPIO2 is in the first level state.

[0190] Based on this, since the signal state of the first pin GPIO1 is in the initial state, it can be determined that the first handle 10, which is electrically connected to the first pin GPIO1, is not operated. Furthermore, since the signal state of the second pin GPIO2 is in the first level state, it can be determined that the second handle 20, which is electrically connected to the second pin GPIO2, is disconnected from the casing of the computing device 200. When the first handle 10 is not operated, i.e., the network card is not pulled, the second handle 20 is disconnected from the casing of the computing device 200. It can be determined that when the network card is not pulled, its disconnection from the computing device 200 will lead to poor contact between the network card and the computing device 200, thereby affecting the network status of the computing device 200.

[0191] When the network card chip receives the voltage from the sensing unit 11 through the first pin GPIO1, and the network card chip determines that the received voltage from the sensing unit 11 is not greater than the threshold voltage, it determines that the signal state of the first pin GPIO1 is the initial state, that is, it determines that the first handle 10 is not operated at this time.

[0192] For example, the network card chip can store the corresponding status data of the initial state of the first pin GPIO1. For example, the status data of the initial state can be the data "0".

[0193] Based on the network card chip's determination that the signal state of the first pin GPIO1 is in the initial state, the network card chip determines that the signal state of the second pin GPIO2 is in the first level state. Based on the first level state of the second pin GPIO2, it is determined that the second handle 20 is not grounded at this time. That is, the second handle 20 is disconnected from the casing of the computing device at this time.

[0194] For example, the network card chip can store the status data of the first level state of the second pin GPIO2. For example, the status data of the first level state can be the data "1".

[0195] Based on this, the network card chip can determine that the second handle 20 is disconnected from the casing of the computing device 200 because the first handle 10 on the network card has not been operated and the second handle 20 is not connected to the casing of the computing device 200. Since the first handle 10 has not been touched, meaning no user pulled the first handle 10 to disconnect the second handle 20 from the casing of the computing device 200, it can be concluded that the disconnection of the second handle 20 from the casing of the computing device 200 was not due to human operation, but rather due to other fault reasons. Therefore, the network card's detection state can be determined as an unlocked working state.

[0196] At this point, the network interface card (NIC) chip can generate status data for an unlocked operating state, such as "01". This data can then be sent to the processing unit via the third pin to drive the indicator unit. For example, the indicator unit can be in a closed state at this time.

[0197] Furthermore, when the signal state of the first pin GPIO1 is in the initial state and the signal state of the second pin GPIO2 is in the first level state, it can be detected whether the second pin GPIO2 has a power frequency signal. If it is determined that the second pin GPIO2 does not collect a power frequency signal, it can be determined that the second handle 20 has not been touched. However, even though the second handle 20 has not been touched, it still causes the second handle 20 to disconnect from the casing of the computing device 200. This further confirms that the disconnection between the second handle 20 and the casing of the computing device 200 is not due to human operation, but due to other fault reasons. This helps to improve the accuracy of the network card chip in determining that the network card is in an unlocked working state.

[0198] In some embodiments, the network interface card chip is configured to: determine that the pluggable electronic device is in an unlocked state when it is detected that the holding time of the first level state of the second pin GPIO2 is greater than a first threshold time, and the first pin GPIO1 is in an initial state.

[0199] With this configuration, the network card chip determines that the signal state of the second pin GPIO2 is a valid first-level state only when the signal state received by the network card chip through the second pin GPIO2 is in a first-level state and the first-level state is maintained for a time exceeding a first threshold time. This effectively prevents noise-induced judgments and improves the accuracy of the network card chip in determining the network card's detection state. Based on this, determining that the network card is in an unlocked state when the first-level state of the second pin GPIO2 is maintained for a time exceeding the first threshold time, and when the first pin GPIO1 is in its initial state, further improves the accuracy of obtaining the unlocked state of the network card.

[0200] like Figure 2 As shown, in some other embodiments, the data processing unit 30 is used to determine that the network card's detection state is a locked working state when the signal state of the first pin GPIO1 is in the initial state and the signal state of the second pin GPIO2 is in the second level state.

[0201] That is, the network card chip is used to determine the network card's detection state as the locked working state when the signal state of the first pin GPIO1 is in the initial state and the signal state of the second pin GPIO2 is in the second level state.

[0202] The locked working state refers to the situation where the network card is electrically connected to the computing device 200 and the network status of the computing device 200 is stable.

[0203] When the network card chip receives the voltage from the sensing unit 11 through the first pin GPIO1, and the network card chip determines that the received voltage from the sensing unit 11 is not greater than the threshold voltage, it determines that the signal state of the first pin GPIO1 is the initial state, that is, it determines that the first handle 10 is not operated at this time.

[0204] For example, the network card chip can store the corresponding status data of the initial state of the first pin GPIO1. For example, the status data of the initial state can be the data "0".

[0205] Based on the network card chip's determination that the signal state of the first pin GPIO1 is in the initial state, the network card chip receives the second level state through the second pin GPIO2, which means that the second handle 20 is grounded at this time. In other words, the second handle 20 is normally connected to the casing of the computing device at this time.

[0206] For example, the network card chip can store the status data of the second level state of the second pin GPIO2. For example, the status data of the second level state can be the data "0".

[0207] Based on this, the network card chip can determine that the first handle 10 and the second handle 20 on the network card are in normal condition, since the first handle 10 on the network card is not operated and the second handle 20 is normally connected to the casing of the computing device 200. Therefore, the detection state of the network card can be determined to be the locking working state.

[0208] At this point, the network interface card (NIC) chip can generate status data for the locking operation state; for example, the status data for the locking operation state can be "00". Subsequently, the third pin (e.g., Figure 5 The signal is sent from GPIO3 to the processing unit so that the processing unit can drive the indicator unit to work. For example, the indicator unit can be in a constantly lit state at this time.

[0209] Furthermore, when the signal state of the first pin GPIO1 is in the initial state and the signal state of the second pin GPIO2 is in the second level state, it can be detected whether the second pin GPIO2 has a power frequency signal. If it is determined that the second pin GPIO2 does not acquire a power frequency signal, it can be determined that the second handle 20 has not been touched. Therefore, it can be concluded that the second handle 20 is normally connected to the casing of the computing device 200, and the second handle 20 has not been touched, indicating that the user has not touched the network card. This further confirms that the second handle 20 is in a normal state. Based on this, combining the detection of whether the second handle 20 has been touched can further improve the accuracy of detecting the network card's locked working state.

[0210] In some examples, the network interface card (NIC) chip is used to determine that the detection state of the NIC is a locked working state when the holding time of the sensing state of the first pin GPIO1 is greater than a second threshold time and the signal state of the second pin GPIO2 is a second level state.

[0211] With this configuration, the signal state of the first pin GPIO1 is considered valid only when the network card chip determines that the holding time of the sensing state of the first pin GPIO1 is greater than the second threshold time. This effectively prevents noise-induced judgments and improves the accuracy of the network card chip in determining the network card's detection state. Based on this, when the holding time of the sensing state of the first pin GPIO1 is detected to be greater than the second threshold time, and the signal state of the second pin GPIO2 is at the second level, the network card's detection state is determined to be the locking working state, which helps improve the accuracy of obtaining the network card's locking working state.

[0212] Figure 7 A polling tree diagram of a network interface card provided in some embodiments of this application;

[0213] In some embodiments, such as Figure 7 As shown, the network interface card (NIC) chip is used for: at least one polling cycle, during which it polls the first pin GPIO1 and the second pin GPIO2. It receives the signal status of the first pin GPIO1 and the signal status of the second pin GPIO2.

[0214] In each polling cycle, the network card chip polls the first pin GPIO1 and the second pin GPIO2 to obtain the information status of the first pin GPIO1 and the second pin GPIO2.

[0215] When the signal state of the first pin GPIO1 is in sensing state and the signal state of the second pin GPIO2 is in the first level state, the detection state of the network card is determined to be hot-plugging working state.

[0216] When the signal state of the first pin GPIO1 is in the initial state and the signal state of the second pin GPIO2 is in the first level state, the detection state of the network card is determined to be the unlocked working state.

[0217] When the signal state of the first pin GPIO1 is in the initial state and the signal state of the second pin GPIO2 is in the second level state, the detection state of the network card is determined to be the locking working state.

[0218] Therefore, the network card chip polls its first pin GPIO1 and second pin GPIO2 in real time to automatically obtain the network card's detection status. This allows the chip to provide different prompts to the user based on the network card's different detection statuses, ensuring the network card functions properly and preventing malfunctions in the computing device 200.

[0219] In some examples, the network interface card (NIC) chip is used for: multiple polling cycles, with one polling cycle polling the first pin GPIO1 and the second pin GPIO2. It receives the signal status of the first pin GPIO1 and the signal status of the second pin GPIO2.

[0220] The network card chip polls the first pin GPIO1 and the second pin GPIO2 multiple times to obtain the information status of the first pin GPIO1 and the second pin GPIO2 in a timely manner, so as to prevent the problem of untimely information status acquisition, which would affect the use of the network card.

[0221] However, in some embodiments of this application, the number of polling cycles for the first pin GPIO1 and the second pin GPIO2 of the network card chip is not limited, and can be set according to the actual situation.

[0222] The above description uses a pluggable electronic device 100 as an example, where the network card includes a data processing unit 30, which can be a network card chip. The following will illustrate this with reference to the corresponding accompanying drawings, using the pluggable electronic device 100 including a storage unit 400 and a storage board 500 as an example.

[0223] Figure 8 This is a block diagram of a pluggable electronic device in some other embodiments of this application.

[0224] like Figure 8 As shown, in some embodiments, the pluggable electronic device 100 includes a storage unit 400 and a storage board 500, which together constitute a data processing component 30. The storage unit 400 and the storage board 500 are plugged into each other. In this case, the pluggable electronic device 100 includes: a storage unit 400, a storage board 500, a first handle 10, a second handle 20, a sensing unit 11, and a protection unit 21. The first handle 10 and the second handle 20 in the pluggable electronic device 100 are disposed on the storage unit 400. For example, the first handle 10 and the second handle 20 are disposed on the side of the storage unit 400 away from the storage board 500.

[0225] The difference from the aforementioned pluggable electronic device 100 when it is a network card is as follows:

[0226] The statement that "the data processing component 30 includes the first pin GPIO1 and the second pin GPIO2" can be understood as the storage board 500 in the data processing component 30 including the first pin GPIO1 and the second pin GPIO2.

[0227] "Detection status of the pluggable electronic device 100" can be understood as: the detection status of the storage unit 400 in the pluggable electronic device 100. The detection status of the storage unit 400 can include the hot-swap operation status of the storage unit 400. As for how the detection status of the storage unit 400 is determined based on the signal status of the first pin GPIO1 and the second pin GPIO2 of the storage board 500, it is the same as when the pluggable electronic device is a network card, and can be referred to in conjunction with the above description for pluggable electronic devices as network cards. It will not be repeated here.

[0228] Furthermore, the descriptions of the valid signal status, polling, sensing unit 11, and protection unit 21 are the same as when the pluggable electronic device is a network card, and can be combined with the above description for pluggable electronic devices as network cards. Further details will not be repeated here.

[0229] Figure 9 Block diagram of a computing device provided for other embodiments of this application.

[0230] In some other embodiments, such as Figure 9 As shown, this application provides a computing device 200. The data processing component 30 in the pluggable electronic device 100 within the computing device 200 further includes a third pin GPIO3. The processing unit 220 within the computing device 200 can be electrically connected to the third pin GPIO3 of the data processing component 30.

[0231] For example, when the pluggable electronic device 100 is a network card, the processing unit 220 can be electrically connected to the third pin GPIO3 of the network card chip. The network card chip can send the detection status of the pluggable electronic device 100 to the processing unit 220 through the third pin GPIO3, so that the computing device 200 can obtain the detection status of the pluggable electronic device 100 in real time. The detection status includes the plugging / unplugging status.

[0232] For example, when the pluggable electronic device 100 includes a storage unit 400 and a storage board 500, the processing unit 220 can be electrically connected to the third pin GPIO3 of the storage board 500. The storage board 500 can send the detection status of the pluggable electronic device 100 to the processing unit 220 through the third pin GPIO3, so that the computing device 200 can obtain the detection status of the pluggable electronic device 100 in real time. The detection status includes the plugging / unplugging status.

[0233] Based on this, the data processing unit 30 can send the pluggable electronic device 100's pluggable status to the processing unit 220 via the third pin GPIO3, so that the computing device 200 can obtain the pluggable electronic device 100's pluggable status in real time.

[0234] After the data processing unit 30 in the pluggable electronic device 100 determines the detection state of the pluggable electronic device 100 based on the signal state of the first pin GPIO1 and the signal state of the second pin GPIO2, it can send the detection state to the processing unit 220 through the third pin GPIO3 of the data processing unit 30. That is, the pluggable state can be sent to the processing unit 220 through the third pin GPIO3 of the data processing unit 30.

[0235] In some examples, such as Figure 9 As shown, the computing device 200 may further include an indicator unit 230. The indicator unit 230 is electrically connected to the processing unit 220. The processing unit 220 acquires the detection state of the pluggable electronic device 100 and drives the indicator unit 230 to an indicator state corresponding to the detection state of the pluggable electronic device 100.

[0236] In some examples, the indicator unit 230 may include a light-emitting device. For example, the indicator unit 230 may be a light-emitting diode (LED).

[0237] Taking the pluggable electronic device 100 as an example, the following is an example:

[0238] For example, when the network card chip determines that the network card is in a hot-plug working state, the processing unit 220 receives the hot-plug working state signal through the third pin GPIO3 and drives the light-emitting device to keep flashing.

[0239] For example, when the network card chip determines that the network card's detection state is locked, the processing unit 220 receives the locked working state signal through the third pin GPIO3 and drives the light-emitting device to maintain normal light-emitting state.

[0240] For example, when the network card chip determines that the network card's detection state is an unlocked working state, the processing unit 220 receives the unlocked working state signal through the third pin GPIO3 and drives the light-emitting device to remain in an off state.

[0241] Based on this, end users can understand the status of the network card at this time according to the different states of the indicator unit 230, so as to facilitate the maintenance of the computing device 200 and prevent the computing device 200 from malfunctioning.

[0242] Taking a pluggable electronic device 100, including a storage unit 400 and a storage board 500, as an example:

[0243] For example, when the data processing unit 30 determines that the network card is in a hot-plug working state, the processing unit 220 receives the hot-plug working state signal through the third pin GPIO3 and drives the light-emitting device to keep flashing.

[0244] In some feasible methods, taking the pluggable electronic device 100 as a network card as an example:

[0245] Currently, when implementing hot-swapping operations on network interface cards (NICs), the lack of detailed hot-swapping protocols means that a manual power-down operation is often used to enable hot-swapping. However, relying primarily on manual switching of NIC status can easily lead to accidental insertions and removals, thus affecting normal system operation and the network status of computing devices.

[0246] In some embodiments, such as Figure 9 As shown, the processing unit 220 is used to: receive the insertion / removal status from the data processing unit 30, and when the insertion / removal status is identified as a hot-swap working state, to power down the pluggable electronic device 100 to satisfy the hot-swap operation of the pluggable electronic device 100.

[0247] This configuration allows the data processing unit 30 within the pluggable electronic device 100 to determine its own detection status. That is, the pluggable electronic device 100 can use the data processing unit 30 to acquire its own detection status in real time and send it to the processing unit 220 of the computing device 200. The processing unit 220 can then perform corresponding operations based on the received detection status of the pluggable electronic device 100. For example, if the detection status is identified as a pluggable state, and the pluggable state is a hot-swap operating state, the pluggable electronic device 100 is powered down to allow for hot-swapping. This helps prevent mis-plugging issues that can easily occur when hot-swapping is implemented through software modification, ensuring the stable operation of both the pluggable electronic device 100 and the computing device 200.

[0248] In summary, some embodiments of the computing device 200 provided in this application include a sensing unit 11 on the first handle 10 of the pluggable electronic device 100, and the sensing unit 11 is electrically connected to the first pin GPIO1 of the data processing unit 30 to determine whether the first handle 10 is operated based on the signal state of the first pin GPIO1. Furthermore, a protection unit and a first power supply are added in series at the second handle 20 of the network card, so that the second handle 20, the second pin GPIO2 of the data processing unit 30, and the first terminal of the protection unit 21 are electrically connected to the same node N1. The second handle 20 is determined to be properly grounded based on the first or second level state of the second pin GPIO2. Thus, the data processing unit 30 determines the detection state of the pluggable electronic device 100 based on whether the first handle 10 is operated and whether the second handle 20 is properly grounded.

[0249] After the data processing unit 30 determines the detection status of the pluggable electronic device 100, it sends the detection status of the pluggable electronic device 100 to the processing unit 220 via the third pin GPIO3. The processing unit 220 then drives the indicator unit 230 to remain constantly lit, turn off, or flash. Thus, the user can clearly and intuitively obtain the detection status of the pluggable electronic device 100 based on the indicator unit 230 on the computing device 200. That is, when the detection status of the pluggable electronic device 100 changes, the computing device 200 can promptly obtain the information and take timely maintenance actions when a problem occurs with the pluggable electronic device 100, thereby preventing operational malfunctions of the computing device 200.

[0250] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A pluggable electronic device, characterized in that, It includes a data processing component, a first handle, and a sensing unit; the data processing component includes a first pin and a second pin; The first handle is used to plug and unplug the pluggable electronic device, the sensing unit is disposed on the first handle, and the sensing unit is electrically connected to the first pin; The sensing unit is used to: sense that the first handle has been operated, thereby sending a sensing signal to the first pin and triggering the signal state of the first pin to change from the initial state to the sensing state; The second pin is electrically connected to the first power supply, and the second pin is grounded through a switch; when the pluggable electronic device is inserted into the computing device, the second pin is grounded when the switch is closed, thereby changing the signal state of the second pin from the first level state to the second level state; The data processing component determines the pluggable / pluggable state of the pluggable electronic device based on the signal states of the first pin and the second pin.

2. The pluggable electronic device according to claim 1, characterized in that, It also includes a second handle, which includes a knob; the panel of the computing device is provided with a knob hole, which is grounded; the knob and the knob hole form the switch.

3. The pluggable electronic device according to claim 2, characterized in that, The data processing component is used to determine that the pluggable electronic device is in a hot-swappable operating state when the signal state of the first pin is in a sensing state and the signal state of the second pin is in a first level state.

4. The pluggable electronic device according to claim 3, characterized in that, When the second handle is touched by a human body, a power frequency signal is transmitted to the second pin; The data processing component is used to determine that the pluggable electronic device is in a hot-swappable operating state when the signal state of the first pin is in a sensing state and the signal state of the second pin is in a first level state and includes a power frequency signal.

5. The pluggable electronic device according to any one of claims 1 to 4, characterized in that, The data processing component is used for: multiple polling cycles, one of which polls the first pin and the second pin; and receiving the signal status of the first pin and the signal status of the second pin.

6. The pluggable electronic device according to claim 1, characterized in that, The sensing unit includes any one of a resistive touch sensor, a pressure sensor, and an infrared sensor.

7. The pluggable electronic device according to claim 1, characterized in that, The pluggable electronic device is a network card, and the data processing component is a network card chip.

8. The pluggable electronic device according to claim 7, characterized in that, The network card chip is used to determine that the detection state of the network card is an unlocked working state when the signal state of the first pin is in the initial state and the signal state of the second pin is in the first level state.

9. The pluggable electronic device according to claim 7, characterized in that, The network card chip is used to determine that the detection state of the network card is a locked working state when the signal state of the first pin is in the initial state and the signal state of the second pin is in the second level state.

10. The pluggable electronic device according to claim 2, characterized in that, The data processing component includes a storage unit and a storage board; the first handle and the second handle are disposed on the storage unit, and the storage board includes the first pin and the second pin; The storage board is used to: determine the status detection of the pluggable electronic device based on the signal status of the first pin and the signal status of the second pin.

11. A computing device, characterized in that, Includes a processing unit and a pluggable electronic device as described in any one of claims 1 to 10; the data processing component is electrically connected to the processing unit; The processing unit is configured to: receive the insertion / removal status from the data processing component, and when the insertion / removal status is identified as a hot-swap working state, power down the pluggable electronic device to enable the hot-swap of the pluggable electronic device.

Citation Information

Patent Citations

  • Method and device for achieving hot plug processing

    CN105786747A

  • PCIE device hot plug identification method and system and related components

    CN111339010A