Computer extension equipment, computer system, connector detection method, equipment and medium
By installing electrical components on the connector of the computer expansion device, the electrical connection between the computer expansion device and the slot is detected, and the problem of PCIE equipment being unable to recognize or slow down is solved, achieving efficient troubleshooting and timeliness problem handling.
Patent Information
- Application Number
- CN202411505034.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-02-25
AI Technical Summary
In computer systems, PCIE devices may not be able to recognize or slow down, causing the normal operation of the device to be affected, and due to re-pluging problems, it is difficult to reproduce and determine the cause of the problem.
A computer expansion device is provided, which detects the electrical connection between the connector and the expansion device slot by installing an electrical component on the connector, connecting it to the connector pin, and grounding the other end.
This method can efficiently and conveniently detect the electrical connection between the computer expansion device and the slot, simplify the troubleshooting process, improve the timeliness of problem handling, and display the connection status through visual indicator lights, which facilitates users to observe.
Smart Images

Figure CN119518364A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of connector detection, and in particular to a computer expansion device, a computer system, a connector detection method, a device and a medium. Background Art
[0002] Computer external expansion devices, namely PCIE (PCI-Express, peripheral component interconnect express) plug-in devices, are an important part of computers. PCIE plug-in devices refer to computer external devices that use a high-speed serial computer expansion bus standard (PCIE interface standard). This interface standard is widely used in modern computer systems and is designed to provide high-speed, high-bandwidth scalability. PCIE is a universal interface with technical characteristics such as fast data transmission speed, strong scalability, and good compatibility. It can support the access of various peripheral devices, including but not limited to graphics cards, network cards, sound cards, storage controllers, etc. These devices can choose the appropriate PCIE specifications for connection according to the required bandwidth and the number of device functions.
[0003] In computer systems, PCIE slots are usually used to connect various hardware devices. Manufacturers will reserve enough PCIE slots on the host based on the product's expansion capabilities and user needs. These slots can be used to achieve functions such as multi-screen output and high-speed data transmission to meet the diverse needs of users.
[0004] With the widespread use of PCIE devices, we may encounter problems with PCIE devices being unable to be recognized or slowing down during production, testing, and daily use. These problems not only affect the normal operation of the equipment, but also bring great challenges to the root cause analysis of the problem. Especially when dealing with the problem of poor contact of the gold finger, it is often difficult to reproduce the problem by re-inserting the PCIE device, making it more difficult to determine the cause of the problem.
[0005] Therefore, a method for detecting whether there is an electrical connection between an expansion device and a device slot in a computer is urgently needed. Summary of the invention
[0006] Based on the above technical problems, the embodiments of the present application provide a computer expansion device, a computer system, a connector detection method, a device and a medium, aiming to efficiently and conveniently detect the connection relationship between the expansion device and the device slot in the computer to determine whether there is an electrical connection between the two.
[0007] A first aspect of an embodiment of the present application provides a computer expansion device, including:
[0008] A connector and an electrical component, wherein the connector is located at one side of the computer expansion device;
[0009] The connector comprises: a connector pin, a first end of the connector pin being used to connect to an expansion device slot;
[0010] The first end of the electrical component is connected to the second end of the connector pin, and the second end of the electrical component is grounded.
[0011] Optionally, the number of the connector pins is N, and the number of the electrical components is N;
[0012] The first end of the nth electrical component is connected to the second end of the nth connector pin, and the second ends of the N electrical components are connected to each other and grounded;
[0013] N is an integer greater than 1, and the value range of n is 1 to N.
[0014] Optionally, the electrical components at least include: an indicator light;
[0015] The first end of the indicator light is connected to the second end of the connector pin, and the second end of the indicator light is grounded.
[0016] Optionally, the computer expansion device further includes:
[0017] Equipment housing with light-through holes;
[0018] The indicator light is installed below the light-through hole.
[0019] A second aspect of an embodiment of the present application provides a computer system, including:
[0020] A host, a computer expansion device as described in any one of the first aspects of the embodiments of the present application;
[0021] The host comprises an expansion device slot, and the computer expansion device is connected to the expansion device slot through the connector.
[0022] A third aspect of the embodiment of the present application provides a connector detection method, which is applied to a computer system described in the second aspect of the embodiment of the present application, and the method further includes:
[0023] Supplying power to the host;
[0024] Detecting the working status information of the electrical components in the computer expansion device;
[0025] Determining whether there is an electrical connection between the connector and the expansion device slot according to the working status information of the electrical component;
[0026] When the electrical component outputs the first working state information, determining that the connector is electrically connected to the expansion device slot;
[0027] When the electrical component outputs the second working state information, it is determined that there is no electrical connection between the connector and the expansion device slot.
[0028] Optionally, when the number of the connector pins is N, the number of the electrical components is N, and when the electrical components output the first working state information, it is determined that the connector is electrically connected to the expansion device slot, the method includes:
[0029] When the nth electrical component outputs the first working state information, determining that the nth connector pin is electrically connected to the expansion device slot;
[0030] When the electrical component outputs the second working state, determining that there is no electrical connection between the connector and the expansion device slot, the method includes:
[0031] When the nth electrical component outputs the second working state information, determining that there is no electrical connection between the nth connector pin and the expansion device slot;
[0032] N is an integer greater than 1, and the value range of n is 1 to N.
[0033] Optionally, when the computer expansion device has alarm information that cannot be identified and / or is slowed down, the method further includes:
[0034] Detecting the working status information of the electrical components in the computer expansion device;
[0035] According to the working state information of the electrical component, it is determined whether the alarm information that the computer expansion device cannot be identified and / or has a reduced speed is caused by the absence of electrical connection between the connector and the expansion device slot.
[0036] Optionally, the method comprises:
[0037] In response to a factory request of the computer expansion device, supplying power to the host;
[0038] Detecting the working status information of the electrical components in the computer expansion device;
[0039] Determining whether there is an electrical connection between the connector and the expansion device slot according to the working status information of the electrical component;
[0040] When the electrical component outputs the first working state information, determining that the connector is electrically connected to the expansion device slot;
[0041] When the electrical component outputs the second working state information, it is determined that there is no electrical connection between the connector and the expansion device slot.
[0042] A fourth aspect of an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, a connector detection method as in the third aspect of an embodiment of the present application is implemented.
[0043] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the connector detection method of the third aspect of the embodiment of the present application is implemented.
[0044] A sixth aspect of an embodiment of the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the connector detection method of the third aspect of an embodiment of the present application.
[0045] According to the computer expansion device proposed in the embodiment of the present application, on the basis of the original design of the computer expansion device, each connector pin of the expansion device connector is connected to an electrical component, and the other end of the electrical component is grounded, and the electrical component can be set in a position in the computer expansion device that is easy to observe by opening a light-through hole. In addition, the computer expansion device is applied to a computer system, and the computer expansion device is connected to the expansion device slot through the connector. Then, through the connector detection method of the embodiment of the present application, under the condition of powering the host, the working status information of the electrical component in the computer expansion device is detected, and according to the working status information of the electrical component, it is determined whether each connector pin in the connector is electrically connected to the expansion device slot.
[0046] In the present application, by connecting each connector pin on the connector to an electrical component, not only can the electrical connection of the connector pin be detected, but also the electrical connection of multiple pins can be monitored at the same time. When the problem of the expansion device being unable to be recognized or slowing down occurs in the past, it is possible to immediately determine whether the problematic device has a connection between the connector and the expansion device slot, thereby simplifying the troubleshooting process and ensuring the timeliness of problem handling. In addition, by using electrical components that are easy for users to observe, the connection status between the connector and the expansion device slot is visualized, and the difference in whether there is an electrical connection is obvious, which is more convenient for users to observe and detect. In addition, through the connector detection method proposed in the present application, the device can also be tested when it leaves the factory, which is convenient to operate. In addition, since the newly added circuit connection relationship of the computer expansion device proposed in the present application is simple, the reliability is high, and it is convenient for users to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0048] Figure 1 is a schematic diagram of a computer expansion device proposed in one embodiment of the present application;
[0049] Figure 2 This is a schematic diagram of connecting a connector pin and an electrical component proposed in an embodiment of the present application;
[0050] Figure 3 It is a flowchart of the steps of a connector detection method provided by an embodiment of the present application;
[0051] Figure 4 is a schematic diagram of a connector detection provided by an embodiment of the present application;
[0052] Figure 5 It is a schematic diagram of troubleshooting shown in an embodiment of the present application;
[0053] Figure 6 It is a schematic diagram of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] In the drawings, the size of the constituent elements, the thickness of the layer or the area may be exaggerated for the sake of clarity. Therefore, any implementation of the present disclosure is not necessarily limited to the size shown in the drawings, and the shapes and sizes of the components in the drawings do not reflect the true proportions. In addition, the drawings schematically show ideal examples, and any implementation of the present disclosure is not limited to the shapes or values shown in the drawings.
[0056] Please refer to Figure 1 , Figure 1 Schematic diagram of a computer expansion device proposed in one embodiment of the present application. Figure 1 As shown, the first aspect of the embodiment of the present application proposes a computer expansion device, including:
[0057] A connector and an electrical component, wherein the connector is located at one side of the computer expansion device;
[0058] The connector comprises: a connector pin, a first end of the connector pin being used to connect to an expansion device slot;
[0059] The first end of the electrical component is connected to the second end of the connector pin, and the second end of the electrical component is grounded.
[0060] In an embodiment of the present application, the computer expansion device includes but is not limited to: PCIE devices such as graphics cards, network cards, sound cards, storage controllers, and also includes computer external expansion devices supported by other communication protocols, wherein the computer expansion device includes a connector, which is usually arranged on one side of the computer expansion device and is used to connect the computer expansion device to the computer host. The connector includes a plurality of connector pins, which are used to be plugged into the expansion device slot on the computer host to achieve electrical connection between the computer expansion device and the computer.
[0061] On the basis of realizing the original functions of the computer expansion device, in this application, some electrical components are also added to the connector of the computer expansion device, such as Figure 1 As shown in , the electrical component is represented by an indicator light, wherein the first end of the connector pin of the connector is connected to the expansion device slot, and the second end of the connector pin is connected to the first end of the electrical component, and the second end of the electrical component is grounded.
[0062] Specifically, the number of the connector pins is N, and the number of the electrical components is N;
[0063] The first end of the nth electrical component is connected to the second end of the nth connector pin, and the second ends of the N electrical components are connected to each other and grounded;
[0064] N is an integer greater than 1, and the value range of n is 1 to N.
[0065] In the embodiment of the present application, the computer expansion device may include a plurality of connector pins. Assuming that there are N connector pins, correspondingly, the electrical components proposed in the present application should also have corresponding N pins, such as Figure 2 As shown, Figure 2 This is a schematic diagram of the connection between a connector pin and an electrical component proposed in an embodiment of the present application. The indicator light symbol in the figure represents the electrical component. The electrical component corresponds to the connector pin one by one. The first end of the electrical component is connected to the connector pin, and the second end of the electrical component is connected to each other and grounded. Among them, one connector pin corresponds to only one electrical component, that is, the first end of the nth electrical component is connected to the second end of the nth connector pin, where N is a certificate greater than 1, and the value range of n is 1 to N.
[0066] Specifically, the electrical components at least include: an indicator light;
[0067] The first end of the indicator light is connected to the second end of the connector pin, and the second end of the indicator light is grounded.
[0068] In the embodiment of the present application, the electrical element is used to reflect the connection relationship between the connector pin and the expansion device slot, which converts the electrical connection relationship that cannot be directly observed into a medium that can be identified and detected. Therefore, the connection relationship between the connector pin and the expansion device slot can be reflected through a variety of carriers, and the most common way is to display it through the brightness of the indicator light. The first end of the indicator light is connected to the connector pin, and the second end of the indicator light is grounded. When there is an electrical connection between the connector pin and the expansion device slot, there is a potential difference between the first end and the second end of the indicator light, the path is connected, and the indicator light is on; when there is no electrical connection between the connector pin and the expansion device slot, there is no potential difference between the first end and the second end of the indicator light, the indicator light is off, and the path is terminated. It should be noted that after the computer expansion device is connected to the expansion device slot, the signals transmitted by each connector pin are different. For example, they include voltage, clock signal, link activation signal, differential signal and other different signals. Therefore, the voltage provided in each connector pin is also different. In order to ensure that the indicator light can be turned on when the connector pin is electrically connected to the expansion device slot, it is necessary to select an indicator light with lower power to ensure that the indicator light can be turned on even if the minimum power is provided by each connector pin.
[0069] Specifically, the computer expansion device also includes:
[0070] Equipment housing with light-through holes;
[0071] The indicator light is installed below the light-through hole.
[0072] In the embodiment of the present application, the computer expansion device should also include a device housing, but unlike the device housing in previous designs, the device housing proposed in the present application should also have the function of facilitating the observation of electrical components. Taking the electrical component as an indicator light as an example, a light-through hole should be provided on the housing of the computer expansion device to facilitate the observation of the lighting and extinguishing of the indicator light. Accordingly, the spatial position of the indicator light should also be set in a place that is easy for the user to observe, so that the user can easily observe the lighting and extinguishing of the indicator light corresponding to each connector pin through the light-through hole, so that the user can monitor in real time whether there is an electrical connection between the connector and the expansion device slot.
[0073] In this application, a computer system is also proposed, comprising:
[0074] A host, a computer expansion device as described in the first aspect of the embodiment of the present application;
[0075] The host comprises an expansion device slot, and the computer expansion device is connected to the expansion device slot through the connector.
[0076] In the embodiment of the present application, a computer system is also proposed that uses the computer expansion device described above, which specifically includes a computer host and the computer expansion device described above, wherein the host includes multiple expansion device slots, and in a specific embodiment, the expansion device slot can be a PCIE slot, and there are multiple specifications, such as PCIE x1, PCIE x4, PCIE x8, PCIE x16, etc., which differ in the number of pins and power consumption. Accordingly, the computer expansion device is installed on the host through an expansion device slot of a specification corresponding to its connector, and after the computer system is powered on, it is electrically connected to the host through the expansion device slot and information is exchanged.
[0077] The present application also proposes a connector detection method, such as Figure 3 As shown, Figure 3 : is a flowchart of a connector detection method provided in an embodiment of the present application, which is applied to a computer system in an embodiment of the present application, including steps S301 to S304:
[0078] Step S301: supplying power to the host;
[0079] Step S302: Detecting the working status information of the electrical components in the computer expansion device;
[0080] Step S303: determining whether there is an electrical connection between the connector and the expansion device slot according to the working status information of the electrical component;
[0081] Step S304: when the electrical component outputs first working status information, determining that the connector is electrically connected to the expansion device slot; when the electrical component outputs second working status information, determining that the connector is not electrically connected to the expansion device slot.
[0082] In the related art, when detecting whether a computer expansion device connected to a computer system is reliably connected, a method is used to spray ink on the pin portion of the connector and then plug and unplug the connector. The length of the ink mark wiped after plugging and unplugging is used to confirm whether the computer expansion device can be reliably connected to the expansion device slot. However, this summary method cannot monitor whether the electrical connection of the computer expansion device that has been installed and used exists. This method is only a one-time inspection, and cannot monitor connectors that may be affected by various factors such as the use environment and the use time in actual use. In addition, the method of spraying ink and machine-recognizing the ink mark will affect the computer expansion device itself. That is, when the ink mark is not clear and not thorough, it may cover the connector pins of the computer expansion device and affect the conductive performance of the pins, hindering the user's subsequent normal use.
[0083] Therefore, the present application proposes a connector detection method different from the related art in the past, by adopting a computer system including a computer expansion device proposed in the embodiment of the present application, to perform the detection of the electrical connection relationship between the connector of the computer expansion device and the expansion device slot as described in steps S301 to S304. The specific method is that, first, the computer system with the computer expansion device installed is powered on, and then the working status information of the electrical components in the computer expansion device is detected, and according to the working status information, it is determined whether the connector of the computer expansion device is electrically connected to the connector slot.
[0084] Here we still take the electrical components as indicator lights as an example, Figure 4 As shown, Figure 4 This is a schematic diagram of a connector detection provided by an embodiment of the present application. After the host is powered on, the working status information of the indicator light in the computer expansion device is detected, and the indicator light lighting state is set as the first working status information, and the indicator light off state is set as the second working status information. When the indicator light is on, that is, when the indicator light outputs the first working status information, it is determined that there is an electrical connection between the connector and the expansion device slot. When the indicator light is off, that is, when the indicator light outputs the second working status information, it is determined that there is no electrical connection between the connector and the expansion device slot.
[0085] In this way, not only can the working status information of the electrical components, such as the lighting and extinguishing of the indicator light, be intuitively used to observe whether there is an electrical connection between the computer expansion device and the expansion device slot on the host, but also the electrical connection between the computer expansion device and the expansion device slot on the host can be continuously monitored during the entire process of powering on the computer system. Compared with the methods used in the relevant technologies, the connector detection method proposed in the present application is more obvious and intuitive, and the operation is more convenient. It can also perform continuous monitoring, and not only can the connector relationship be determined during installation, but also during use, it can provide a basis for judging possible device failures, connector failures, or device abnormalities caused by environmental reasons, so that even when a fault problem occurs, the electrical connection relationship between the connector of the computer expansion device and the connector slot can be checked in the first place, thereby enhancing the reliability of the computer expansion device and facilitating user use and troubleshooting.
[0086] In combination with the above embodiments, in one implementation, the present application further provides a connector detection method, where the number of the connector pins is N, the number of the electrical components is N, and when the electrical components output first working state information, it is determined that the connector is electrically connected to the expansion device slot, including:
[0087] When the nth electrical component outputs the first working state information, determining that the nth connector pin is electrically connected to the expansion device slot;
[0088] When the electrical component outputs the second working state, determining that there is no electrical connection between the connector and the expansion device slot includes:
[0089] When the nth electrical component outputs the second working state information, determining that there is no electrical connection between the nth connector pin and the expansion device slot;
[0090] N is an integer greater than 1, and the value range of n is 1 to N.
[0091] In the embodiment of the present application, as described above, there are often multiple connector pins in the connector of the computer expansion device, and correspondingly, each connector pin is connected to an electrical component. Therefore, the connector detection method proposed in the present application can simultaneously detect each pin of the connector of the computer expansion device, that is, the first electrical component corresponds to detecting the first connector pin, the second electrical component corresponds to detecting the second connector pin, and the nth electrical component corresponds to detecting the nth connector pin. When the nth electrical component outputs the first working status information, it is determined that the nth connector pin is electrically connected to the expansion device slot. When the nth electrical component outputs the second working status information, it is determined that the nth connector pin is not electrically connected to the expansion device slot.
[0092] In this way, not only can the electrical connection relationship between the connector and the expansion device slot be monitored in real time, but also the electrical connection relationship between a certain connector pin and the expansion device slot can be accurately located, which makes it easier for users to monitor each connector pin. When a fault occurs, the problematic pin and the signal transmitted by the pin can be located at the first time, which facilitates fault analysis at the first time.
[0093] In combination with the above embodiments, in one implementation, the present application further provides a connector detection method, which, when the computer expansion device has an alarm message that it cannot be identified and / or is slowed down, further includes:
[0094] Detecting the working status information of the electrical components in the computer expansion device;
[0095] According to the working state information of the electrical component, it is determined whether the alarm information that the computer expansion device cannot be identified and / or has a reduced speed is caused by the absence of electrical connection between the connector and the expansion device slot.
[0096] In the embodiment of the present application, the connector detection method can also be used to troubleshoot the fault problem of the alarm information of the computer expansion device that cannot be recognized and / or slowed down. In the related art, due to the wide application of computer expansion devices, in the process of production, testing and daily life, the computer expansion device may not be recognized by the computer system or the computer expansion device may slow down and be lower than the normal use efficiency. These problems will not only affect the normal production and life, but also make it difficult to troubleshoot and analyze the faults. The problem is that if there is an unstable electrical connection between the connector of the computer expansion device and the expansion device slot in the computer system, then when troubleshooting, some environmental factors, such as the vibration caused by plugging and unplugging the device, will cause the fault phenomenon to disappear, making the troubleshooting difficulty greatly increased.
[0097] The above-mentioned problems can be avoided by adopting the connector detection method proposed in the present application. In the embodiment of the present application, it is not necessary to plug or unplug the computer expansion device. Instead, when the computer expansion device has an alarm message that it cannot be recognized and / or slows down, the working status information of the electrical component in the computer expansion device can be detected. As mentioned above, the working status information of the electrical component can be used to determine whether there is an electrical connection between the connector and the expansion device slot. Figure 5 As shown, Figure 5 This is a troubleshooting schematic diagram provided in an embodiment of the present application. Taking the electrical components as indicator lights as an example, after the computer system is powered on and the equipment is initialized, the working status information of the electrical components is detected. If the status indicator light is on, it proves that there is an electrical connection between the computer expansion device and the connector slot. If the status indicator light is off, it proves that there is no electrical connection between the computer expansion device and the connector slot. This indicates that the alarm information that the computer expansion device cannot be recognized and / or is slowed down may be caused by a connection problem, and further abnormality analysis is required.
[0098] In combination with the above embodiments, in one implementation, the present application further provides a connector detection method, further comprising:
[0099] In response to a factory request of the computer expansion device, supplying power to the host;
[0100] Detecting the working status information of the electrical components in the computer expansion device;
[0101] Determining whether there is an electrical connection between the connector and the expansion device slot according to the working status information of the electrical component;
[0102] When the electrical component outputs the first working state information, determining that the connector is electrically connected to the expansion device slot;
[0103] When the electrical component outputs the second working state information, it is determined that there is no electrical connection between the connector and the expansion device slot.
[0104] In the embodiment of the present application, a connector detection method for factory inspection of computer expansion devices is also proposed. The method adopts the connector detection method proposed in the present application as described above according to the factory request of the computer expansion device received, firstly powers the computer host connected to the computer expansion device, and then detects the working status information of the electrical components in the computer expansion device to be detected, and determines whether the connector is electrically connected to the expansion device slot according to the working status information of the electrical components. If there is an electrical connection, it is considered that the connector of the computer expansion device is normal, and if there is no electrical connection, further investigation is required. Optionally, the computer host connected in this embodiment should be a standard tooling for connector inspection of the computer expansion device to be shipped. Therefore, if there is no electrical connection, the corresponding connector pins of the computer expansion device and the internal circuit of the product connected to the pins should be investigated and analyzed to determine the cause of the fault. After the fault is resolved, the factory inspection is performed again. When it is determined that each electrical component outputs the first working status information, the inspection can be considered to have passed.
[0105] Based on the same design concept, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the connector detection method described in any of the above embodiments of the present application are implemented.
[0106] Based on the same design concept, another embodiment of the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps in the connector detection method described in any of the above embodiments of the present application.
[0107] Based on the same design concept, another embodiment of the present application provides an electronic device, such as Figure 6 shown. Figure 6 1 is a schematic diagram of an electronic device shown in an embodiment of the present application. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes, the steps in the connector detection method described in any of the above embodiments of the present application are implemented.
[0108] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0109] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0110] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0111] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0112] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0113] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0114] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0115] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0116] The above is a detailed introduction to a computer expansion device, a computer system, a connector detection method, a device and a medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A computer expansion device, characterized in that: include: A connector and an electrical component, wherein the connector is located at one side of the computer expansion device; The connector comprises: a connector pin, a first end of the connector pin being used to connect to an expansion device slot; The first end of the electrical component is connected to the second end of the connector pin, and the second end of the electrical component is grounded.
2. The computer expansion device according to claim 1, characterized in that: The number of connector pins is N, and the number of electrical components is N; The first end of the nth electrical component is connected to the second end of the nth connector pin, and the second ends of the N electrical components are connected to each other and grounded; N is an integer greater than 1, and the value range of n is 1 to N.
3. The computer expansion device according to claim 1, characterized in that: The electrical components at least include: an indicator light; The first end of the indicator light is connected to the second end of the connector pin, and the second end of the indicator light is grounded.
4. The computer expansion device according to claim 3, characterized in that: The computer expansion device also includes: Equipment housing with light-through holes; The indicator light is installed below the light-through hole.
5. A computer system, characterized in that: include: A host, a computer expansion device according to any one of claims 1 to 4; The host comprises an expansion device slot, and the computer expansion device is connected to the expansion device slot via a connector.
6. A connector detection method, characterized in that: The computer system as claimed in claim 5, comprising: Provide power to the host; Detecting the working status information of the electrical components in the computer expansion device; Determining whether there is an electrical connection between the connector and the expansion device slot according to the working status information of the electrical component; When the electrical component outputs the first working state information, determining that the connector is electrically connected to the expansion device slot; When the electrical component outputs the second working state information, it is determined that there is no electrical connection between the connector and the expansion device slot.
7. The connector detection method according to claim 6, characterized in that: The number of connector pins is N, the number of the electrical components is N, and when the electrical components output the first working state information, determining that the connector is electrically connected to the expansion device slot includes: When the nth electrical component outputs the first working state information, determining that the nth connector pin is electrically connected to the expansion device slot; When the electrical component outputs the second working state information, determining that there is no electrical connection between the connector and the expansion device slot includes: When the nth electrical component outputs the second working state information, determining that there is no electrical connection between the nth connector pin and the expansion device slot; N is an integer greater than 1, and the value range of n is 1 to N.
8. The connector detection method according to claim 6, characterized in that: When the computer expansion device has an alarm message that it cannot be identified and / or is slowed down, the method further includes: Detecting the working status information of the electrical components in the computer expansion device; According to the working state information of the electrical component, it is determined whether the alarm information that the computer expansion device cannot be identified and / or has a reduced speed is caused by the absence of electrical connection between the connector and the expansion device slot.
9. The connector detection method according to claim 6, characterized in that: Also includes: In response to a factory request of the computer expansion device, supplying power to the host; Detecting the working status information of the electrical components in the computer expansion device; Determining whether there is an electrical connection between the connector and the expansion device slot according to the working status information of the electrical component; When the electrical component outputs the first working state information, determining that the connector is electrically connected to the expansion device slot; When the electrical component outputs the second working state information, it is determined that there is no electrical connection between the connector and the expansion device slot.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by the processor, the connector detection method according to any one of claims 6 to 9 is implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the connector detection method according to any one of claims 6 to 9 is implemented.