Cable quality change monitoring method, device, equipment and medium
By monitoring the voltage difference between the power supply cable and the power supply detection cable in the server, sending an abnormal alarm signal and cutting off the power supply, the problem of aging or burnout of the power supply cable is solved, and the security and reliability of the server are improved.
Patent Information
- Application Number
- CN202411914398.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-28
AI Technical Summary
In the server, the power supply cable may age or burn out due to long-term use or short-circuit boards, resulting in unstable electrical signals and affecting the normal operation of the server.
By setting a voltage difference monitoring system between the power supply cable and the power supply detection cable in the server, the voltage difference is obtained and whether it is greater than the preset voltage threshold. If the threshold is exceeded, an abnormal alarm signal is issued and the server is powered off when the voltage difference reaches a higher threshold to ensure safety.
This method can promptly remind users to replace power supply cables, prevent cables from aging or burning, and improve the security and reliability of the server.
Smart Images

Figure CN119716333A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cable safety monitoring, and in particular to a cable quality change monitoring method, device, equipment and medium. Background Art
[0002] With the application of AI and big data in the server / communication field, the current demand of boards is getting higher and higher, ranging from tens of A to hundreds of A. There are many boards inside the server and the connection between boards is mostly connected by power cables. As the current increases, the number of cables used is also increasing. In the case of long-term use or board short circuit, the cable may age or burn out due to increased current. Summary of the invention
[0003] Embodiments of the present invention provide a cable quality change monitoring method, device, equipment and medium, aiming to solve at least one technical problem in the above-mentioned background technology.
[0004] In a first aspect, an embodiment of the present invention provides a cable quality change monitoring method, which includes: a server includes a first board and a second board, and the first board and the second board are connected through a power supply cable and a power supply detection cable; the cable quality change monitoring method includes:
[0005] Obtaining a voltage difference between the power supply cable and the power supply detection cable;
[0006] Determining whether the voltage difference is greater than a preset first voltage threshold;
[0007] If the voltage difference is greater than a preset first voltage threshold, an abnormal alarm signal is sent to the controller.
[0008] A further technical solution is that obtaining the voltage difference between the power supply cable and the power supply detection cable includes:
[0009] Calculating an actual voltage difference between the power supply voltage of the power supply cable and the monitoring voltage of the power supply detection cable;
[0010] The actual voltage difference is amplified by a preset multiple to obtain the voltage difference value.
[0011] A further technical solution is that the method further comprises:
[0012] Determining whether the voltage difference is greater than a preset second voltage threshold;
[0013] If the voltage difference is greater than a preset second voltage threshold, power supply to the server is cut off.
[0014] A further technical solution is that the second voltage threshold is greater than the first voltage threshold.
[0015] In a second aspect, an embodiment of the present invention proposes a cable quality change monitoring device, which includes a first board, a second board, an error amplifier, a first comparator and a controller. The first board is connected to the second board through a power supply cable and a power supply detection cable, and the input end of the error amplifier is respectively connected to the power supply cable and the power supply detection cable; the output end of the error amplifier is connected to the first comparator, and the first comparator is connected to the controller.
[0016] A further technical solution is that the cable quality change monitoring device also includes a second comparator and a power supply, the output end of the error amplifier is connected to the second comparator, and the second comparator is connected to the power supply.
[0017] A further technical solution is that the first board includes a first connector, the second cable includes a second connector, two ends of the power supply cable are respectively connected to the first connector and the second connector, and two ends of the second cable are respectively connected to the first connector and the second connector; the error amplifier is connected to the second connector.
[0018] A further technical solution is that the reference voltage of the first comparator is a first voltage threshold, and the reference voltage of the second comparator is a second voltage threshold; and the second voltage threshold is greater than the first voltage threshold.
[0019] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.
[0020] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.
[0021] The embodiments of the present invention provide a cable quality change monitoring method, device, equipment and medium. Among them, the server includes a first board and a second board, and the first board and the second board are connected through a power supply cable and a power supply detection cable; the cable quality change monitoring method includes: obtaining the voltage difference between the power supply cable and the power supply detection cable; judging whether the voltage difference is greater than a preset first voltage threshold; if the voltage difference is greater than the preset first voltage threshold, sending an abnormal alarm signal to the controller. The abnormal alarm signal is used to remind the user to replace the power supply cable in time, so that the power supply cable can be replaced in time when the quality of the power supply cable decreases, which greatly improves safety.
[0022] Furthermore, when the voltage difference is greater than a preset second voltage threshold, it indicates that the power supply cable is seriously damaged. At this time, the power supply of the server is cut off, so that the second board loses power, thereby ensuring safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0024] Figure 1 A schematic diagram of a flow chart of a cable quality change monitoring method provided by an embodiment of the present invention;
[0025] Figure 2 A schematic block diagram of a cable quality change monitoring device provided by an embodiment of the present invention;
[0026] Figure 3 A schematic block diagram of a computer device provided in an embodiment of the present invention.
[0027] Reference numerals
[0028] The first board 10 , the second board 20 , the error amplifier 30 , the first comparator 40 , the controller 50 , the second comparator 60 , the power supply 70 , the first connector 80 , and the second connector 90 . DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0031] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0032] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0033] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0034] See also Figure 1 , Figure 1 : is a flow chart of a cable quality change monitoring method provided by an embodiment of the present invention. The method is applied in a server, the server includes a first board and a second board, the first board and the second board are connected via a power supply cable and a power supply detection cable, and the first board supplies power to the second board. The power supply cable is used for power supply, and the power supply detection cable is used for detecting the power supply voltage. Figure 1 As shown, this method includes
[0035] S1, obtaining a voltage difference between the power supply cable and the power supply detection cable.
[0036] In a specific implementation, the voltages of the power supply cable and the power supply detection cable are detected respectively, and the voltage difference between the power supply cable and the power supply detection cable is further obtained. The voltage difference may be the actual voltage difference between the power supply cable and the power supply detection cable, or a preset multiple of the actual voltage difference. After amplifying the preset multiple, the value is larger, which is convenient for comparison.
[0037] For example, in one embodiment, the above step of "obtaining the voltage difference between the power supply cable and the power supply detection cable" includes: calculating the actual voltage difference between the power supply voltage of the power supply cable and the monitoring voltage of the power supply detection cable; amplifying the actual voltage difference by a preset multiple to obtain the voltage difference.
[0038] In a specific implementation, the preset multiple can be set by a person skilled in the art, and the present invention does not specifically limit it.
[0039] S2, determining whether the voltage difference is greater than a preset first voltage threshold.
[0040] In a specific implementation, the first voltage threshold may be set by a person skilled in the art, and the present invention does not specifically limit it.
[0041] S3: If the voltage difference is greater than a preset first voltage threshold, an abnormal alarm signal is sent to the controller.
[0042] In a specific implementation, if the voltage difference is greater than a preset first voltage threshold, an abnormal alarm signal is sent to the controller, and the abnormal alarm signal is used to remind the user to replace the power supply cable in time.
[0043] The controller may specifically be a BMC or a CPLD, which is not specifically limited in the present invention.
[0044] In the technical solution of the embodiment of the present invention, the server includes a first board and a second board, and the first board and the second board are connected through a power supply cable and a power supply detection cable; the cable quality change monitoring method includes: obtaining the voltage difference between the power supply cable and the power supply detection cable; judging whether the voltage difference is greater than a preset first voltage threshold; if the voltage difference is greater than the preset first voltage threshold, sending an abnormal alarm signal to the controller. The abnormal alarm signal is used to remind the user to replace the power supply cable in time, so that the power supply cable can be replaced in time when the quality of the power supply cable decreases, which greatly improves safety.
[0045] Furthermore, in some embodiments, the method further includes: determining whether the voltage difference is greater than a preset second voltage threshold; and if the voltage difference is greater than the preset second voltage threshold, cutting off the power supply to the server. The second voltage threshold is greater than the first voltage threshold.
[0046] In a specific implementation, the second voltage threshold may be set by a person skilled in the art, and the present invention does not specifically limit it.
[0047] When the voltage difference is greater than a preset second voltage threshold, it indicates that the power supply cable is seriously damaged. At this time, the power supply of the server is cut off, so that the second board loses power, thereby ensuring safety.
[0048] Specifically, a power-off signal is sent to a power supply unit (PSU), so that the power supply unit cuts off the power supply to the server.
[0049] Accordingly, see Figure 2An embodiment of the present invention provides a cable quality change monitoring device, which includes a first board 10, a second board 20, an error amplifier 30, a first comparator 40 and a controller 50. The first board 10 and the second board 20 are connected through a power supply cable and a power supply detection cable, and the input end of the error amplifier 30 is respectively connected to the power supply cable and the power supply detection cable; the output end of the error amplifier 30 is connected to the first comparator 40, and the first comparator 40 is connected to the controller 50.
[0050] In a specific implementation, the error amplifier 30 is used to amplify the actual voltage difference between the power supply cable and the power supply detection cable to obtain a voltage difference value.
[0051] The first comparator 40 is used to send an abnormal alarm signal to the controller 50 when the voltage difference is greater than a preset first voltage threshold, and the abnormal alarm signal is used to remind the user to replace the power supply cable in time. The controller 50 can be specifically a BMC or a CPLD, which is not specifically limited in the present invention. The first voltage difference can be set by a person skilled in the art, which is not specifically limited in the present invention.
[0052] Furthermore, the cable quality change monitoring device further includes a second comparator 60 and a power supply 70 , the output end of the error amplifier 30 is connected to the second comparator 60 , and the second comparator 60 is connected to the power supply 70 .
[0053] The second comparator 60 is used to send a power-off signal to a power supply unit (PSU) 70 when the voltage difference is greater than a preset second voltage threshold, so that the power supply unit 70 cuts off the power supply to the server. The second voltage difference can be set by those skilled in the art and is not specifically limited in the present invention.
[0054] The reference voltage of the first comparator 40 is a first voltage threshold, and the reference voltage of the second comparator 60 is a second voltage threshold; the second voltage threshold is greater than the first voltage threshold.
[0055] Furthermore, the first board 10 includes a first connector 80, the second cable includes a second connector 90, the two ends of the power supply cable are respectively connected to the first connector 80 and the second connector 90, and the two ends of the second cable are respectively connected to the first connector 80 and the second connector 90; the error amplifier 30 is connected to the second connector 90.
[0056] Specifically, the convenience of wiring can be greatly improved through the first connector 80 and the second connector 90.
[0057] See also Figure 3 , Figure 3 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 can be a server.
[0058] The computer device 500 includes a processor 502 , a memory, and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .
[0059] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute a cable quality change monitoring method.
[0060] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .
[0061] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a cable quality change monitoring method.
[0062] The network interface 505 is used to communicate with other devices over the network. Those skilled in the art will appreciate that the above structure is only a block diagram of a portion of the structure related to the present application solution, and does not constitute a limitation on the computer device 500 to which the present application solution is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0063] The processor 502 is used to run a computer program 5032 stored in the memory to implement the steps of a cable quality change monitoring method provided in any of the above method embodiments.
[0064] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0065] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0066] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. When the computer program is executed by a processor, the processor executes the steps of a cable quality change monitoring method provided in any of the above method embodiments.
[0067] The storage medium is a physical, non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which can store program codes. The computer-readable storage medium can be non-volatile or volatile.
[0068] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0069] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0070] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0071] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.
[0072] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0073] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0074] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A cable quality change monitoring method, characterized in that: The server includes a first board and a second board, wherein the first board is connected to the second board via a power supply cable and a power supply detection cable; The cable quality change monitoring method comprises: Obtaining a voltage difference between the power supply cable and the power supply detection cable; Determining whether the voltage difference is greater than a preset first voltage threshold; If the voltage difference is greater than a preset first voltage threshold, an abnormal alarm signal is sent to the controller.
2. The cable quality change monitoring method according to claim 1, characterized in that: The obtaining of the voltage difference between the power supply cable and the power supply detection cable includes: Calculating an actual voltage difference between the power supply voltage of the power supply cable and the monitoring voltage of the power supply detection cable; The actual voltage difference is amplified by a preset multiple to obtain the voltage difference value.
3. The cable quality change monitoring method according to claim 2, characterized in that: The method further comprises: Determining whether the voltage difference is greater than a preset second voltage threshold; If the voltage difference is greater than a preset second voltage threshold, power supply to the server is cut off.
4. The cable quality change monitoring method according to claim 3, characterized in that: The second voltage threshold is greater than the first voltage threshold.
5. A cable quality change monitoring device, characterized in that: The invention comprises a first board, a second board, an error amplifier, a first comparator and a controller. The first board is connected to the second board via a power supply cable and a power supply detection cable. The input end of the error amplifier is respectively connected to the power supply cable and the power supply detection cable. The output end of the error amplifier is connected to the first comparator, and the first comparator is connected to the controller.
6. The cable quality change monitoring device according to claim 5, characterized in that: The cable quality change monitoring device further includes a second comparator and a power supply. The output end of the error amplifier is connected to the second comparator, and the second comparator is connected to the power supply.
7. The cable quality change monitoring device according to claim 6, characterized in that: The first board includes a first connector, the second cable includes a second connector, two ends of the power supply cable are respectively connected to the first connector and the second connector, and two ends of the second cable are respectively connected to the first connector and the second connector; The error amplifier is connected to the second connector.
8. The cable quality change monitoring device according to claim 7, characterized in that: The reference voltage of the first comparator is a first voltage threshold, and the reference voltage of the second comparator is a second voltage threshold; the second voltage threshold is greater than the first voltage threshold.
9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 can be implemented.