CN111858264A - Method, system, equipment and medium for preventing cable from being pulled out mistakenly - Google Patents

Method, system, equipment and medium for preventing cable from being pulled out mistakenly Download PDF

Info

Publication number
CN111858264A
CN111858264A CN202010570094.1A CN202010570094A CN111858264A CN 111858264 A CN111858264 A CN 111858264A CN 202010570094 A CN202010570094 A CN 202010570094A CN 111858264 A CN111858264 A CN 111858264A
Authority
CN
China
Prior art keywords
cable
buckle
plug
pcie link
interrupt signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010570094.1A
Other languages
Chinese (zh)
Inventor
池金波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010570094.1A priority Critical patent/CN111858264A/en
Publication of CN111858264A publication Critical patent/CN111858264A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's

Abstract

The invention discloses a method, a system, equipment and a storage medium for preventing a cable from being pulled out mistakenly, wherein the method comprises the following steps: judging whether the buckle of the cable plug is normally connected with the connector buckle; sending a low-level interrupt signal to the PCH in response to the abnormal connection between the buckle of the cable plug and the connector buckle; responding to the interrupt signal to trigger the interrupt of the PCH, and starting the hot plug of the PCIE link corresponding to the plug to disconnect the PCIE link; and judging whether the PCIE link is disconnected or not, and pulling out the cable in response to the disconnection of the PCIE link. According to the scheme provided by the invention, the buckle of the cable plug is connected with the pin of the golden finger, when the connection is abnormal, the standard hot plug of the risk PCIE link is started, the data transmission of the link with the problem is stopped, and the server downtime possibly caused by violent hot plug is avoided.

Description

Method, system, equipment and medium for preventing cable from being pulled out mistakenly
Technical Field
The present invention relates to the field of servers, and more particularly, to a method, a system, a computer device, and a readable medium for preventing a cable from being pulled out by mistake.
Background
The GPU server provides fast, stable and elastic computing service for various scenes such as deep learning, scientific computing, graphic processing and the like, and provides calculation force support for the rapid development of artificial intelligence technology and the landing of schemes; the traditional rack-mounted server can reduce the occupied space, but is also limited by the space, so that the high-performance CPU and the high-performance GPU are difficult to plug in the limited space at the same time, and the heat dissipation requirement is met at the same time. The CPU server and the GPU server are externally interconnected by using a Cable (Cable), so that the function expansion of the traditional RACK (RACK) server is realized, and the requirements of certain specific scenes and applications can be met; the Interconnect bus may use PCIe (Peripheral Component Interconnect express) standard.
Selecting a proper PCIe bandwidth according to actual service requirements, installing a PCIe Repeater adapter card at an expansion port of a CPU (central processing unit) server to ensure high-performance transmission of PCIe signals, realizing interface conversion from a PCIe connector or an OCP (optical communications protocol) connector to a MiniSAS (minimal attached SCSI) connector, and simultaneously providing a relay function for long-distance transmission of the PCIe signals; the CPU server and the GPU server are externally interconnected by using Cable, and the expansion scheme is common; because the Cable is located outside the chassis, the Cable may be pulled out, if the Cable is pulled out by mistake during the normal operation of the system, the normal service is interrupted, and the non-standard hot plug may cause the shutdown of the CPU server.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method, a system, a computer device, and a computer readable storage medium for preventing a cable from being pulled out by mistake, which can easily sense whether a connection between a buckle of a cable plug and a buckle of a connector is abnormal or not by establishing a connection between the buckle of the cable plug and a pin of a gold finger, start a standard hot plug of a risky PCIE link when the connection is abnormal, terminate data transmission of a problematic link, and avoid a server downtime possibly caused by a violent hot plug.
In view of the above objects, an aspect of the embodiments of the present invention provides a method for preventing a cable from being pulled out erroneously, including the steps of: judging whether the buckle of the cable plug is normally connected with the buckle of the connector; sending a low-level interrupt signal to the PCH in response to abnormal connection of the buckle of the cable plug and the connector buckle; responding to the interrupt of the PCH triggered by the interrupt signal, and starting hot plugging of the PCIE link corresponding to the plug to disconnect the PCIE link; and judging whether the PCIE link is disconnected or not, and pulling out the cable in response to the disconnection of the PCIE link.
In some embodiments, further comprising: and responding to the interrupt signal to trigger the interrupt of the BMC, and conducting an audible and visual alarm circuit.
In some embodiments, further comprising: and closing the sound and light alarm circuit in response to the disconnection of the PCIE link.
In some embodiments, the determining whether the connection between the buckle of the cable plug and the pin of the golden finger of the plug is normal includes: and judging whether the interrupt signal corresponding to the pin of the golden finger of the plug generates a rising edge or a falling edge.
In another aspect of the embodiments of the present invention, there is also provided a system for preventing a cable from being pulled out by mistake, including: the first judgment module is configured for judging whether the buckle of the cable plug is normally connected with the connector buckle; the interrupt module is configured to respond to the fact that the buckle of the cable plug is abnormally connected with the connector buckle and send an interrupt signal with a low level to the PCH; the execution module is configured to respond to the interrupt signal to trigger the interrupt of the PCH, and start hot plugging of a PCIE link corresponding to the plug to disconnect the PCIE link; and the second judgment module is configured to judge whether the PCIE link is disconnected or not, and pull out the cable in response to the disconnection of the PCIE link.
In some embodiments, further comprising: and the alarm module is configured to respond to the interrupt signal to trigger the interrupt of the BMC and conduct the sound-light alarm circuit.
In some embodiments, the alert module is further configured to: and closing the sound and light alarm circuit in response to the disconnection of the PCIE link.
In some embodiments, the first determining module is further configured to: and judging whether the interrupt signal corresponding to the pin of the golden finger of the plug generates a rising edge or a falling edge.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: establish through the buckle with the cable plug and the pin of golden finger and be connected, whether the buckle of perception cable plug appears unusually with being connected of the buckle of connector easily, start the standard hot plug of risk PCIE link when the connection appears unusually, terminate the data transmission of problem link, avoid the server that violent hot plug probably leads to down.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic view of an embodiment of a method for preventing a cable from being pulled out by mistake according to the present invention;
FIG. 2 is a schematic diagram of the interconnection of a CPU server and a GPU server;
FIG. 3 is a schematic view of a connector and cable plug;
FIG. 4 is a schematic diagram of a mechanical connectivity detection circuit;
fig. 5 is a schematic hardware structure diagram of an embodiment of a computer device for preventing a cable from being pulled out by mistake according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above objects, a first aspect of embodiments of the present invention proposes an embodiment of a method for preventing a cable from being pulled out erroneously. Fig. 1 is a schematic view illustrating an embodiment of a method for preventing a cable from being pulled out by mistake according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, judging whether the buckle of the cable plug is normally connected with the connector buckle;
s2, sending a low-level interrupt signal to the PCH in response to the fact that the connection between the buckle of the cable plug and the connector buckle is abnormal;
s3, responding to the interrupt signal to trigger the interrupt of the PCH, and starting the hot plug of the PCIE link corresponding to the plug to disconnect the PCIE link; and
and S4, judging whether the PCIE link is disconnected or not, and pulling out the cable in response to the disconnection of the PCIE link.
Fig. 2 is a schematic diagram of the interconnection of a CPU server and a GPU server. PCIe Repeater board card 1 is located on CPU server (CPU server), interconnection interface 2 is located on CPU server and GPU server (GPU server) respectively, and acousto-optic alarm circuit 3 is located on PCIe Repeater board card 1. The CPU server and the GPU server are interconnected through PCIe (peripheral component interface express) Cable, and the CPU server end and the GPU server end are both connected with cables through interconnection interfaces 2; the interconnection interface 2 realizes electrical connection for communication on one hand and mechanical connection for fixation on the other hand; when the Cable is inserted into the connector, electrical connection is firstly completed, and then mechanical connection is completed, wherein the mechanical connection is later than the electrical connection; the Cable unplugging connector disconnects the mechanical connection first and then the electrical connection, and the mechanical connection is disconnected earlier than the electrical connection. The interrupt signal (interrupt) is generated by the mechanical connection of the interconnection interface 2, the mechanical connection of the interconnection interfaces 2 at the two ends of the Cable can be generated, the PCIe Repeater board card 1 outputs the interrupt signal (interrupt) to the mainboard BMC and the PCH, and the sound-light alarm circuit 3 is controlled by the I2C bus of the mainboard BMC.
Fig. 3 is a schematic view of a connector and cable plug. The connector is composed of a connector body 4 and a connector metal buckle 5, wherein the connector metal buckle 5 is welded on a GND (ground) of the PCB through a contact pin; the cable plug is composed of a golden finger 6 and a plug metal buckle 7; when the connector is normally connected with the cable, the golden finger 6 is electrically connected with the connector body 4, and the plug metal buckle 7 is mechanically connected with the connector metal buckle 5.
On the premise of ensuring that the PINs of the cable are not normally connected, the embodiment of the invention connects 1 PIN PIN1 on the golden finger of the cable plug with the plug metal buckle 7 through the connecting wire 8; a PIN2' (not shown in the figure) corresponding to the PIN PIN2 on the golden finger at the other end of the Cable is in buckling communication with the other end of the golden finger; when the electrical connection and the mechanical connection of the interconnection interface 2 are both normal, the PIN1, the plug metal buckle 7 and the connector metal buckle 5 are conducted with the GND on the PCB, and the PIN2' is conducted with the GND on the PCB at the other end of the Cable. Cable end is not limited to plug metal buckle and the last pin intercommunication of golden finger, can be plug metal buckle and add a button down, and button one end is with the last pin intercommunication of golden finger, and one end is with GND intercommunication, and disconnection buckle triggers the button and switches on under the button.
On the basis of the above device, the following method for preventing the cable from being pulled out by mistake can be implemented:
and judging whether the buckle of the cable plug is normally connected with the connector buckle. Before the Cable was extracted, must press the buckle earlier, mechanical connection became the off-state by the on-state this moment, can come the perception Cable buckle and be connected between the connector buckle unusually through being connected of Cable buckle and golden finger pin. Therefore, if the cable is required to be monitored whether to be pulled out by mistake, whether the buckle of the cable plug is connected with the connector buckle normally can be monitored.
In some embodiments, the determining whether the snap-fit connection of the cable plug and the connector snap-fit connection is normal includes: and judging whether the interrupt signal corresponding to the pin of the golden finger of the plug generates a rising edge or a falling edge. The change of the mechanical connection state of the interfaces at the two ends of the Calbe triggers the change of an interrupt signal, the rising edge of a PIN PIN1 on the interconnection interface 2 indicates that the mechanical connection of the interface at the CPU server end is switched on to switched off, and the rising edge of a PIN PIN2 on the interconnection interface 2 indicates that the mechanical connection of the interface at the GPU server end is switched on to switched off; the falling edge of the interrupt signal indicates that at least one end connector interconnection interface mechanical connection exists at two ends of the Cable and is switched on to off. Therefore, whether the buckle of the cable plug is normally connected with the connector buckle can be judged according to whether the interrupt signal generates a rising edge or a falling edge.
Fig. 4 shows a schematic diagram of a mechanical connectivity detection circuit. As shown in fig. 4, the mechanical connectivity detection circuit is composed of a TVS tube, a pull-up resistor R, and an inverted Schmitt trigger (Inverse Schmitt trigger); the TVS is arranged close to a signal pin of the connector and used for electrostatic protection, a pull-up resistor R ensures that a signal has a certain level, the reverse phase Schmitt trigger eliminates signal jitter and increases driving capability, and the output ends of the reverse phase Schmitt trigger are connected together and output to a mainboard (Main Board) as an interrupt signal. When the mechanical connection is disconnected, the input end of the reverse Schmitt trigger is pulled up to VCC by the resistor R, and the interrupt signal of the output end is low level; when the mechanical connection is connected, the input end of the reverse Schmitt trigger is conducted with GND, and the interrupt signal of the output end is high level. The state of the mechanical connection at this time can be judged according to the level of the interrupt signal.
And sending a low-level interrupt signal to the PCH in response to the abnormal connection between the buckle of the plug and the pin of the golden finger of the plug.
And responding to the interrupt of the PCH triggered by the interrupt signal, and starting hot plug of the PCIE link corresponding to the plug to disconnect the PCIE link. After receiving the interrupt signal, the PCH may control an interrupt service routine to notify the system to start hot plug of the problematic link.
In some embodiments, further comprising: and responding to the interrupt signal to trigger the interrupt of the BMC, and conducting an audible and visual alarm circuit. The interrupt signal can be sent to the PCH and also can be sent to the BMC, and the BMC can control the sound-light alarm circuit to alarm after receiving the interrupt signal.
And judging whether the PCIE link is disconnected or not, and pulling out the cable in response to the disconnection of the PCIE link. If the PCIE link is disconnected, indicating that there is no data transmission at this time, the cable may be unplugged. In some embodiments, further comprising: and closing the sound and light alarm circuit in response to the disconnection of the PCIE link. If the cable can be normally pulled down, the sound and light alarm circuit can be closed to stop alarming.
Through detecting the state and the change of mechanical connection between the two ends of the interconnection Cable and the high-speed connector, the PCIe interconnection interface between the RACK servers is judged in advance to be pulled out, a link is timely disconnected before the PCIe bus disconnects the electrical connector, an alarm event is generated, and the sound and light alarm is carried out on site, so that the problem of server downtime caused by manual misoperation and PCIe violent hot plug is solved, and the stability and the reliability of the system are enhanced.
It should be particularly noted that, the steps in the embodiments of the method for preventing the cable from being pulled out by mistake can be mutually crossed, replaced, added and deleted, so that the method for preventing the cable from being pulled out by mistake through reasonable permutation and combination conversion also belongs to the protection scope of the invention, and the protection scope of the invention should not be limited to the embodiments.
In view of the above object, according to a second aspect of the embodiments of the present invention, there is provided a system for preventing erroneous cable pulling-out, including: the first judgment module is configured for judging whether the buckle of the cable plug is normally connected with the connector buckle; the interrupt module is configured to respond to the fact that the buckle of the cable plug is abnormally connected with the connector buckle and send an interrupt signal with a low level to the PCH; the execution module is configured to respond to the interrupt signal to trigger the interrupt of the PCH, and start hot plugging of a PCIE link corresponding to the plug to disconnect the PCIE link; and the second judgment module is configured to judge whether the PCIE link is disconnected or not, and pull out the cable in response to the disconnection of the PCIE link.
In some embodiments, further comprising: and the alarm module is configured to respond to the interrupt signal to trigger the interrupt of the BMC and conduct the sound-light alarm circuit.
In some embodiments, the alert module is further configured to: and closing the sound and light alarm circuit in response to the disconnection of the PCIE link.
In some embodiments, the first determining module is further configured to: and judging whether the interrupt signal corresponding to the pin of the golden finger of the plug generates a rising edge or a falling edge.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, judging whether the buckle of the cable plug is normally connected with the connector buckle; s2, sending a low-level interrupt signal to the PCH in response to the fact that the connection between the buckle of the cable plug and the connector buckle is abnormal; s3, responding to the interrupt signal to trigger the interrupt of the PCH, and starting the hot plug of the PCIE link corresponding to the plug to disconnect the PCIE link; and S4, judging whether the PCIE link is disconnected or not, and pulling out the cable in response to the disconnection of the PCIE link.
In some embodiments, further comprising: and responding to the interrupt signal to trigger the interrupt of the BMC, and conducting an audible and visual alarm circuit.
In some embodiments, further comprising: and closing the sound and light alarm circuit in response to the disconnection of the PCIE link.
In some embodiments, the determining whether the snap-fit connection of the cable plug and the connector snap-fit connection is normal includes: and judging whether the interrupt signal corresponding to the pin of the golden finger of the plug generates a rising edge or a falling edge.
Fig. 2 is a schematic hardware structure diagram of an embodiment of the computer device for preventing a cable from being pulled out incorrectly according to the present invention.
Taking the apparatus shown in fig. 2 as an example, the apparatus includes a processor 301 and a memory 302, and may further include: an input device 303 and an output device 304.
The processor 301, the memory 302, the input device 303 and the output device 304 may be connected by a bus or other means, and fig. 2 illustrates the connection by a bus as an example.
The memory 302, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for preventing cable pulling errors in the embodiments of the present application. The processor 301 executes various functional applications of the server and data processing by running the nonvolatile software programs, instructions and modules stored in the memory 302, that is, implements the method of preventing the cable from being pulled out erroneously according to the above-described method embodiment.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of preventing erroneous cable pullout, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may receive information such as a user name and a password that are input. The output means 304 may comprise a display device such as a display screen.
Program instructions/modules corresponding to one or more methods for preventing erroneous cable pullout are stored in the memory 302, and when executed by the processor 301, perform the method for preventing erroneous cable pullout in any of the above-described method embodiments.
Any embodiment of the computer device executing the method for preventing the cable from being pulled out mistakenly can achieve the same or similar effects as any corresponding method embodiment.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the method for preventing a cable from being pulled out by mistake can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method of preventing erroneous cable pull-out, comprising the steps of:
judging whether the buckle of the cable plug is normally connected with the buckle of the connector;
sending a low-level interrupt signal to the PCH in response to abnormal connection of the buckle of the cable plug and the connector buckle;
responding to the interrupt of the PCH triggered by the interrupt signal, and starting hot plugging of the PCIE link corresponding to the plug to disconnect the PCIE link; and
and judging whether the PCIE link is disconnected or not, and pulling out the cable in response to the disconnection of the PCIE link.
2. The method of claim 1, further comprising:
and responding to the interrupt signal to trigger the interrupt of the BMC, and conducting an audible and visual alarm circuit.
3. The method of claim 2, further comprising:
and closing the sound and light alarm circuit in response to the disconnection of the PCIE link.
4. The method of claim 1, wherein the determining whether the snap connection of the cable plug and the connector snap connection is normal comprises:
and judging whether the interrupt signal corresponding to the pin of the golden finger of the plug generates a rising edge or a falling edge.
5. A system for preventing erroneous cable pull-out, comprising:
the first judgment module is configured for judging whether the buckle of the cable plug is normally connected with the connector buckle;
the interrupt module is configured to respond to the fact that the buckle of the cable plug is abnormally connected with the connector buckle and send an interrupt signal with a low level to the PCH;
the execution module is configured to respond to the interrupt signal to trigger the interrupt of the PCH, and start hot plugging of a PCIE link corresponding to the plug to disconnect the PCIE link; and
and the second judgment module is configured to judge whether the PCIE link is disconnected or not, and pull out the cable in response to the disconnection of the PCIE link.
6. The system of claim 5, further comprising:
and the alarm module is configured to respond to the interrupt signal to trigger the interrupt of the BMC and conduct the sound-light alarm circuit.
7. The method of claim 6, wherein the alarm module is further configured to:
and closing the sound and light alarm circuit in response to the disconnection of the PCIE link.
8. The system of claim 5, wherein the first determining module is further configured to:
and judging whether the interrupt signal corresponding to the pin of the golden finger of the plug generates a rising edge or a falling edge.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202010570094.1A 2020-06-21 2020-06-21 Method, system, equipment and medium for preventing cable from being pulled out mistakenly Withdrawn CN111858264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010570094.1A CN111858264A (en) 2020-06-21 2020-06-21 Method, system, equipment and medium for preventing cable from being pulled out mistakenly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010570094.1A CN111858264A (en) 2020-06-21 2020-06-21 Method, system, equipment and medium for preventing cable from being pulled out mistakenly

Publications (1)

Publication Number Publication Date
CN111858264A true CN111858264A (en) 2020-10-30

Family

ID=72987731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010570094.1A Withdrawn CN111858264A (en) 2020-06-21 2020-06-21 Method, system, equipment and medium for preventing cable from being pulled out mistakenly

Country Status (1)

Country Link
CN (1) CN111858264A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653591A (en) * 2020-11-24 2021-04-13 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for balancing speed of line concentration cable

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653591A (en) * 2020-11-24 2021-04-13 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for balancing speed of line concentration cable
CN112653591B (en) * 2020-11-24 2022-05-27 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for balancing speed of line concentration cable

Similar Documents

Publication Publication Date Title
US6625761B1 (en) Fault tolerant USB method and apparatus
US20150089094A1 (en) Determination of Physical Connectivity Status of Devices Based on Electrical Measurement
CN111858431B (en) PCIE (peripheral component interface express) -based extension cabinet hot plug method, device, equipment and medium
CN103308996A (en) Active optical cable connector plug and active optical cable using same
CN108170245A (en) Control system, method and the server management system of server physical button operation
CN108920397B (en) Device identification method and device, storage medium and electronic device
JP2013168122A (en) Usb 3.0 device and control method
WO2018001168A1 (en) Method and apparatus for managing main board card and backup board card
US20130254440A1 (en) Devices and methods for transmitting usb termination signals over extension media
CN111858264A (en) Method, system, equipment and medium for preventing cable from being pulled out mistakenly
TW202042075A (en) Electronic system, host device and control method
CN114090360A (en) Server debugging device, method and medium thereof
CN109478174B (en) Switch for reversible interface
CN112416828A (en) Method, system, device and medium for maintaining PCIE signal connection by using in-place signal
CN112526898B (en) Serial port line plug detection circuit and embedded equipment
US6675250B1 (en) Fault tolerant communications using a universal serial bus
US11928074B2 (en) USB active optical cable and plug capable of managing power consumption and status
EP2177999B1 (en) Terminal device
JP2002244775A (en) Usb device
CN115391260A (en) PCIe bandwidth configuration device, method, server and readable storage medium
US20070204088A1 (en) Modularized circuit board bus connection control method and system
CN112131060B (en) Method, system, equipment and medium for detecting cable full link connectivity
CN211375595U (en) Solid state disk recognition device
CN113448416B (en) Hot plug stabilizing equipment and computer
CN111769863B (en) Relay method and relay board card for TPCM communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20201030

WW01 Invention patent application withdrawn after publication