CN108490308B - Method, device and system for outputting information - Google Patents

Method, device and system for outputting information Download PDF

Info

Publication number
CN108490308B
CN108490308B CN201810240869.1A CN201810240869A CN108490308B CN 108490308 B CN108490308 B CN 108490308B CN 201810240869 A CN201810240869 A CN 201810240869A CN 108490308 B CN108490308 B CN 108490308B
Authority
CN
China
Prior art keywords
voltage
stage voltage
target connector
value
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810240869.1A
Other languages
Chinese (zh)
Other versions
CN108490308A (en
Inventor
宋海鹏
黄民民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810240869.1A priority Critical patent/CN108490308B/en
Publication of CN108490308A publication Critical patent/CN108490308A/en
Application granted granted Critical
Publication of CN108490308B publication Critical patent/CN108490308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • G01R31/67Testing the correctness of wire connections in electric apparatus or circuits

Abstract

The embodiment of the application discloses a method, a device and a system for outputting information. One embodiment of the method comprises: determining whether the electric equipment connected with the target connector is in a first state; in response to determining that the powered device is in the first state, performing the steps of: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector; converting a first state of the electric equipment into a second state; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value. This embodiment improves the accuracy of information output.

Description

Method, device and system for outputting information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device and a system for outputting information.
Background
In the field of data centers, a connector is used as the last link for connecting power supply equipment and electric equipment, and has important influence on the safety and reliability of power supply. However, in the actual use process, the connector often has the phenomena such as cable virtual connection, fastening infirm, and the like, and further causes the problems of local overheating, fire, power failure, and the like.
In the prior art, the connector is inspected by carrying a temperature measuring device by operation and maintenance personnel, the temperature rise of the connector is regularly detected, and then the wiring condition of the connector is judged by the existence of obvious temperature rise.
Disclosure of Invention
The embodiment of the application provides a method, a device and a system for outputting information.
In a first aspect, an embodiment of the present application provides a method for outputting information, where the method includes: determining whether an electric device connected with a target connector is in a first state, wherein the target connector is used for connecting a first power supply device and the electric device, and the first state of the electric device is that power is supplied through the first power supply device and a second power supply device; in response to determining that the powered device is in the first state, performing the steps of: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector, wherein the front-stage voltage is the voltage provided by power supply equipment when the voltage is not dropped by the connector, and the rear-stage voltage is the voltage provided by the power supply equipment after the voltage is dropped by the connector; converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
In some embodiments, generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage, and second succeeding stage voltage includes: performing difference processing on the acquired first front-stage voltage and the acquired first rear-stage voltage to acquire a first voltage difference value; performing difference processing on the obtained second front-stage voltage and second rear-stage voltage to obtain a second voltage difference value; performing difference processing on the first voltage difference value and the second voltage difference value to obtain a voltage drop value generated by the target connector; based on the obtained voltage drop value, a characteristic value for characterizing the connection characteristic of the target connector is generated.
In some embodiments, prior to transitioning the first state of the powered device to the second state, the method further comprises: acquiring a current value of a circuit where a target connector is located; and generating a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value, including: based on the obtained voltage drop value and current value, a characteristic value for characterizing the connection characteristic of the target connector is generated.
In some embodiments, generating a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value and current value includes: carrying out quotient calculation on the voltage drop value and the current value to obtain the resistance value of the target connector; the obtained resistance value is determined as a characteristic value for characterizing the connection characteristic of the target connector.
In a second aspect, an embodiment of the present application provides an apparatus for outputting information, including: the power supply device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining whether an electric device connected with a target connector is in a first state or not, the target connector is used for connecting a first power supply device and the electric device, and the first state of the electric device is that power is supplied through the first power supply device and a second power supply device; an execution unit configured to, in response to determining that the powered device is in the first state, perform the following steps: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector, wherein the front-stage voltage is the voltage provided by power supply equipment when the voltage is not dropped by the connector, and the rear-stage voltage is the voltage provided by the power supply equipment after the voltage is dropped by the connector; converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
In some embodiments, the execution unit is further configured to: performing difference processing on the acquired first front-stage voltage and the acquired first rear-stage voltage to acquire a first voltage difference value; performing difference processing on the obtained second front-stage voltage and second rear-stage voltage to obtain a second voltage difference value; performing difference processing on the first voltage difference value and the second voltage difference value to obtain a voltage drop value generated by the target connector; based on the obtained voltage drop value, a characteristic value for characterizing the connection characteristic of the target connector is generated.
In some embodiments, the execution unit is further configured to: acquiring a current value of a circuit where a target connector is located; based on the obtained voltage drop value and current value, a characteristic value for characterizing the connection characteristic of the target connector is generated.
In some embodiments, the execution unit is further configured to: carrying out quotient calculation on the voltage drop value and the current value to obtain the resistance value of the target connector; the obtained resistance value is determined as a characteristic value for characterizing the connection characteristic of the target connector.
In a third aspect, an embodiment of the present application provides a system for outputting information, where the system includes: the first detection device is used for determining the preceding-stage voltage of a target connector and sending the determined preceding-stage voltage to the server, wherein the target connector is used for connecting the first power supply device and the electric equipment, and the preceding-stage voltage is the voltage provided by the power supply device when the voltage is not dropped by the connector; the second detection device is used for determining the rear-stage voltage of the target connector and sending the determined rear-stage voltage to the server, wherein the rear-stage voltage is the voltage generated after the voltage provided by the power supply device is dropped by the connector; a server configured to determine whether an electrical device is in a first state, wherein the first state of the electrical device is to be powered by a first power supply device and a second power supply device, and in response to determining that the electrical device is in the first state, perform the following steps: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector; converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
In a fourth aspect, an embodiment of the present application provides a server, including: one or more processors; a storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement the method of any of the embodiments of the method for outputting information described above.
In a fifth aspect, the present application provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method of any one of the above-mentioned methods for outputting information.
According to the method, the device and the system for outputting the information, whether the electric equipment connected with the target connector is in the first state or not is determined, wherein the target connector is used for connecting the first power supply equipment and the electric equipment, and the first state of the electric equipment is that power is supplied through the first power supply equipment and the second power supply equipment; in response to determining that the powered device is in the first state, performing the steps of: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector, wherein the front-stage voltage is the voltage provided by power supply equipment when the voltage is not dropped by the connector, and the rear-stage voltage is the voltage provided by the power supply equipment after the voltage is dropped by the connector; converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to the fact that the generated characteristic value is larger than the preset threshold value, so that the connection state of the connector is monitored by effectively utilizing data such as the preceding-stage voltage and the subsequent-stage voltage in the two power supply processes, the virtual connection state of the connector is alarmed, meanwhile, the influence of errors of detection equipment can be reduced by determining the characteristic value through the two states of the electric equipment, and the accuracy of information output is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for outputting information, in accordance with the present application;
FIG. 3 is a schematic view of a monitoring system provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an application scenario of a method for outputting information according to the present application;
FIG. 5 is a flow diagram of yet another embodiment of a method for outputting information according to the present application;
FIG. 6 is a timing diagram for one embodiment of a system for outputting information according to the present application;
FIG. 7 is a block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for outputting information, the apparatus for outputting information or the system for outputting information of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include a detection device 101, a signal conversion circuit 102, and a server 103. The signal conversion circuit 102 is configured to convert a signal detected by the detection device 101 into a digital signal that can be recognized by the server 103, thereby implementing communication between the detection device 101 and the server 103.
The detection device 101 may be hardware or software. When the detection device 101 is hardware, it can be various electronic devices that support power detection, including but not limited to a voltmeter, an ammeter, a universal meter, a hall sensor, a voltage sensor, and the like. When the terminal apparatus 101 is software, it can be installed in various electronic apparatuses having a display screen and supporting signal processing. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 103 may be a server that provides various services, such as a signal processing server that processes a signal detected by a detection device. The signal processing server may analyze and otherwise process data such as the received voltage signal, and output a processing result (e.g., alarm information).
It should be noted that the method for outputting information provided in the embodiment of the present application is generally performed by the server 103, and accordingly, the apparatus for outputting information is generally disposed in the server 103.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of detection devices, signal conversion circuits, and servers in fig. 1 are merely illustrative. There may be any number of detection devices, signal conversion circuits, and servers, as desired for an implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for outputting information in accordance with the present application is shown. The method for outputting information comprises the following steps:
step 201, determining whether the electric equipment connected with the target connector is in a first state.
In this embodiment, an execution subject (for example, a server shown in fig. 1) of the method for outputting information may determine whether the electric device to which the target connector is connected is in the first state by a wired connection manner or a wireless connection manner. The target connector may be a connector whose connection state is to be detected. The target connector may be for connecting the first power supply device and the powered device. The electric equipment can be powered by two power supply equipment (a first power supply equipment and a second power supply equipment). Specifically, the first state of the electric equipment is that power is supplied by the first power supply equipment and the second power supply equipment. Here, the execution main body may be communicatively connected to two power supply lines of the electric device, and the execution main body may determine whether the electric device to which the target connector is connected is in the first state by determining on/off of the two power supply lines. It should be noted that the two power supply lines include a power supply line where the first power supply device is located and a power supply line where the second power supply device is located.
For example, fig. 3 is a schematic view of a monitoring system provided in an embodiment of the present application. The target connector 301 is used to connect the first power supply device 302 and the electric device 303. The connector 304 may be used to connect the second power supply device 305 and the powered device 303. The power meter 306 may be used to detect a preceding stage voltage of the target connector 301 and transmit the detected preceding stage voltage to the execution main body (server) 307. The power meter 308 may be used to detect the rear-stage voltage of the target connector 301 and transmit the detected rear-stage voltage to the execution main 307. The execution main body 307 may be communicatively connected to a power supply line on which the first power supply apparatus 302 is located and a power supply line on which the second power supply apparatus 305 is located.
Step 202, in response to determining that the powered device is in the first state, performing the following steps: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector; converting a first state of the electric equipment into a second state; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
In this embodiment, the executing body may execute the following steps in response to determining that the electric device is in the first state:
step 2021, obtain the first front stage voltage and the first back stage voltage of the target connector.
In this embodiment, the execution body may obtain a first front stage voltage and a first rear stage voltage of the target connector. The front-stage voltage is the voltage when the voltage provided by the power supply equipment is not dropped by the connector, and the rear-stage voltage is the voltage when the voltage provided by the power supply equipment is dropped by the connector. Specifically, the executing body may acquire a first former-stage voltage and a first latter-stage voltage of the target connector detected by the detecting device (e.g., the detecting device 101 shown in fig. 1). Here, the first preceding-stage voltage and the first succeeding-stage voltage correspond to the first state described above.
Step 2022, convert the first state of the powered device to a second state.
In this embodiment, the execution body may convert the first state of the electric device into the second state. And the second state of the electric equipment is that power is supplied by the second power supply equipment. Specifically, the execution main body may be communicatively connected to two power supply lines of the electric device. Furthermore, the execution main body can control the power supply state of the electric equipment by controlling the on-off of the two power supply lines. It is understood that, here, the execution main body may control the power supply line where the first power supply device is located to be disconnected to convert the first state of the electric device into the second state.
Step 2023, obtain the second front stage voltage and the second back stage voltage of the target connector.
In this embodiment, the execution body may obtain a second front stage voltage and a second rear stage voltage of the target connector. Here, the second preceding-stage voltage and the second succeeding-stage voltage correspond to the above-described second state. Specifically, the executing body may acquire the second front-stage voltage and the second rear-stage voltage of the target connector detected by the detecting device (e.g., the detecting device 101 shown in fig. 1).
Step 2024, based on the acquired first previous-stage voltage, first subsequent-stage voltage, second previous-stage voltage, and second subsequent-stage voltage, generates a characteristic value for characterizing the connection characteristic of the target connector.
In this embodiment, the execution body described above may generate a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding-stage voltage, first succeeding-stage voltage, second preceding-stage voltage, and second succeeding-stage voltage. Wherein the connection characteristic may be used to characterize a connection state of the target connector. The connection state of the target connector may include normal connection, virtual connection, and the like. Specifically, the connection characteristics of the target connector may be resistance, power consumed, voltage occupied, and the like of the target connector during use. Accordingly, the characteristic value may be a resistance value, a power value, a voltage value, or the like.
In some optional implementations of the embodiment, based on the acquired first previous-stage voltage, first subsequent-stage voltage, second previous-stage voltage, and second subsequent-stage voltage, the execution body may generate a characteristic value for characterizing a connection characteristic of the target connector by:
first, the execution main body may perform difference processing on the acquired first previous-stage voltage and first subsequent-stage voltage to obtain a first voltage difference value.
Then, the executing body may perform a difference processing on the acquired second previous-stage voltage and second subsequent-stage voltage to obtain a second voltage difference value.
Then, the executing body may perform a difference processing on the first voltage difference value and the second voltage difference value to obtain a voltage drop value generated by the target connector.
Finally, the execution body may generate a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value.
As an example, the execution body may first acquire a first former voltage "5V", a first latter voltage "4V", a second former voltage "4.7V", and a second latter voltage "3.9V" of the target connector. The execution body may then perform a difference process on the acquired first previous-stage voltage "5V" and first subsequent-stage voltage "4V" to obtain a first voltage difference value "1" (1 ═ 5-4). Then, the execution body may perform a difference process on the acquired second previous-stage voltage "4.7V" and second subsequent-stage voltage "3.9V" to obtain a second voltage difference value "0.8" (0.8 — 4.7-3.9). Next, the executing body may perform a difference processing on the first voltage difference value "1" and the second voltage difference value "0.8" to obtain a voltage drop value "0.2" (0.2 — 0.8) generated by the target connector. Finally, the execution body described above may generate a characteristic value for characterizing the connection characteristic of the target connector based on the obtained voltage drop value "0.2". For example, the execution body described above may determine the obtained voltage drop value "0.2" as a characteristic value for characterizing the connection characteristic of the target connector.
Step 2025, in response to determining that the generated characteristic value is greater than the preset threshold, outputting preset alarm information.
In this embodiment, the execution subject described above may output warning information set in advance in response to a determination that the generated characteristic value is greater than a preset threshold value. The preset threshold may be a numerical value preset by a technician for detecting the connection state of the target connector based on the attribute and performance of the target connector. The connection characteristic of the target connector corresponding to the preset threshold is the same as the connection characteristic of the target connector corresponding to the characteristic value.
For example, the execution body may determine the voltage difference value as a characteristic value for characterizing the connection characteristic of the target connector. The preset threshold may be a voltage threshold occupied by the target connector. Further, the execution body may determine whether the generated feature value is greater than a preset threshold.
In this embodiment, the alarm information may include, but is not limited to, at least one of: text, symbols, images, video, audio. The alarm information may be information preset by a technician for monitoring the connection state of the target connector.
It should be noted that, in general, for a connector used for connecting a power supply device and a power consumption device, when a virtual connection occurs during use, the resistance value of the connector will increase. The execution body may determine the connection state of the target connector based on the generated characteristic value according to the property of the connector.
With continued reference to fig. 4, fig. 4 is a schematic diagram of an application scenario of the method for outputting information according to the present embodiment. In the application scenario of fig. 4, the server 401 may first determine whether the electrical device connected to the target connector is in a first state, where the target connector is used to connect the first power supply device and the electrical device, and the first state of the electrical device is to supply power through the first power supply device and the second power supply device; next, the server 401 may perform the following steps in response to determining that the powered device is in the first state: acquiring a first front-stage voltage ("5V") 403 of the target connector sent by the detection device 402 and a first rear-stage voltage ("4V") 405 of the target connector sent by the detection device 404, wherein the front-stage voltage is a voltage when the voltage provided by the power supply device is not dropped by the connector, and the rear-stage voltage is a voltage when the voltage provided by the power supply device is dropped by the connector; next, the server 401 may convert the first state of the electrical device into a second state, where the second state of the electrical device is a state in which power is supplied by a second power supply device; then, the server 401 acquires a second former-stage voltage ("4.7V") 406 of the target connector transmitted by the detection device 402 and a second latter-stage voltage ("3.9V") 407 of the target connector transmitted by the detection device 404; next, the server 401 may generate a characteristic value ("0.2") 408 for characterizing the connection characteristic of the target connector based on the acquired first preceding-stage voltage 403, first succeeding-stage voltage 405, second preceding-stage voltage 406, and second succeeding-stage voltage 407; finally, the server 401 may output the preset alert information ("!!!!") 409 in response to determining that the generated characteristic value ("0.2") is greater than the preset threshold value ("0.1").
The method provided by the above embodiment of the present application is implemented by determining whether a powered device connected to a target connector is in a first state; in response to determining that the powered device is in the first state, performing the steps of: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector; converting a first state of the electric equipment into a second state; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to the fact that the generated characteristic value is larger than the preset threshold value, so that the connection state of the connector is monitored by effectively utilizing data such as the preceding-stage voltage and the subsequent-stage voltage in the two power supply processes, the virtual connection state of the connector is alarmed, meanwhile, the influence of errors of detection equipment can be reduced by determining the characteristic value through the two states of the electric equipment, and the accuracy of information output is improved.
With further reference to fig. 5, a flow 500 of yet another embodiment of a method for outputting information is shown. The process 500 of the method for outputting information includes the following steps:
step 501, determining whether the electric equipment connected with the target connector is in a first state.
In this embodiment, an execution subject (for example, a server shown in fig. 1) of the method for outputting information may determine whether the electric device to which the target connector is connected is in the first state by a wired connection manner or a wireless connection manner. The target connector may be a connector whose connection state is to be detected. The target connector may be for connecting the first power supply device and the powered device. The electric equipment can be powered by two power supply equipment (a first power supply equipment and a second power supply equipment). Specifically, the first state of the electric equipment is that power is supplied by the first power supply equipment and the second power supply equipment. Here, the execution main body may be communicatively connected to two power supply lines of the electric device, and the execution main body may determine whether the electric device to which the target connector is connected is in the first state by determining on/off of the two power supply lines. It should be noted that the two power supply lines include a power supply line where the first power supply device is located and a power supply line where the second power supply device is located.
Step 502, in response to determining that the powered device is in the first state, performing the following steps: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector and a current value of a circuit where the target connector is located; converting a first state of the electric equipment into a second state; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; performing difference processing on the acquired first front-stage voltage and the acquired first rear-stage voltage to acquire a first voltage difference value; performing difference processing on the obtained second front-stage voltage and second rear-stage voltage to obtain a second voltage difference value; performing difference processing on the first voltage difference value and the second voltage difference value to obtain a voltage drop value generated by the target connector; based on the obtained voltage drop value, a characteristic value for characterizing the connection characteristic of the target connector is generated. Generating a characteristic value for characterizing the connection characteristic of the target connector based on the obtained voltage drop value and current value; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
In this embodiment, the executing body may execute the following steps in response to determining that the electric device is in the first state:
step 5021, obtaining a first front-stage voltage and a first rear-stage voltage of the target connector and a current value of a circuit where the target connector is located.
In this embodiment, the executing body may obtain a first front-stage voltage and a first rear-stage voltage of the target connector, and a current value of a circuit in which the target connector is located. The front-stage voltage is the voltage when the voltage provided by the power supply equipment is not dropped by the connector, and the rear-stage voltage is the voltage when the voltage provided by the power supply equipment is dropped by the connector. Specifically, the executing body may obtain a first previous-stage voltage, a first subsequent-stage voltage, and a current value of a circuit in which the target connector is located, of the target connector detected by a detection device (for example, the detection device 101 shown in fig. 1). Here, the first preceding stage voltage, the first succeeding stage voltage, and the current value correspond to the first state.
Step 5022, the first state of the electric equipment is converted into a second state.
In this embodiment, the execution body may convert the first state of the electric device into the second state. And the second state of the electric equipment is that power is supplied by the second power supply equipment. Specifically, the execution main body may be communicatively connected to two power supply lines of the electric device. Furthermore, the execution main body can control the power supply state of the electric equipment by controlling the on-off of the two power supply lines. It is understood that, here, the execution main body may control the power supply line where the first power supply device is located to be disconnected to convert the first state of the electric device into the second state.
Step 5023, a second front-stage voltage and a second rear-stage voltage of the target connector are obtained.
In this embodiment, the execution body may obtain a second front stage voltage and a second rear stage voltage of the target connector. Specifically, the executing body may acquire the second front-stage voltage and the second rear-stage voltage of the target connector detected by the detecting device (e.g., the detecting device 101 shown in fig. 1). Here, the second preceding-stage voltage and the second succeeding-stage voltage correspond to the second state.
Step 5024, difference processing is conducted on the acquired first front-stage voltage and the acquired first rear-stage voltage, and a first voltage difference value is obtained.
In this embodiment, a difference processing is performed on the acquired first previous-stage voltage and first subsequent-stage voltage to obtain a first voltage difference value. Note that when a voltage is detected by a detection device (e.g., a power meter), the detection device itself tends to generate an error. Here, in order to output more accurate information, the sum of the first voltage difference value and the error of the detection device may be determined as a voltage drop value generated by the target connector for the first state in consideration of the error of the detection device.
Step 5025, difference processing is carried out on the obtained second front-stage voltage and the second rear-stage voltage, and a second voltage difference value is obtained.
In this embodiment, a difference between the acquired second previous-stage voltage and the acquired second subsequent-stage voltage is obtained to obtain a second voltage difference. Here, the sum of the second voltage difference value and the error of the detection device may be determined as a voltage drop value generated by the target connector for the second state. It is understood that, since the power supply line on which the first power supply device is located is disconnected when the electric device is in the above-described second state, the voltage drop value generated by the target connector is "0". Further, it can be determined that the error of the detection device is the inverse of the second voltage difference.
Step 5026, difference processing is conducted on the first voltage difference value and the second voltage difference value, and a voltage drop value generated by the target connector is obtained.
In this embodiment, the executing entity may perform a difference processing on the first voltage difference value and the second voltage difference value to obtain a voltage drop value generated by the target connector. The voltage drop value generated by the target connector is the voltage drop value generated by the target connector for the first state. It can be understood that, here, since the error of the detection device is the opposite number of the second voltage difference, the difference processing of the first voltage difference and the second voltage difference is equivalent to the summation processing of the first voltage difference and the error of the detection device, and thus the differential voltage drop value of the target connector can be obtained.
Step 5027, based on the obtained voltage drop value and the current value, a characteristic value for characterizing the connection characteristic of the target connector is generated.
In the present embodiment, the execution body described above may generate a characteristic value for characterizing the connection characteristic of the target connector based on the obtained voltage drop value and current value. Wherein the connection characteristic may be used to characterize a connection state of the target connector. The connection state of the target connector may include normal connection, virtual connection, and the like. Specifically, the connection characteristics of the target connector may be resistance, power consumed, voltage occupied, and the like of the target connector during use. Accordingly, the characteristic value may be a resistance value, a power value, a voltage value, or the like.
In some optional implementations of the present embodiment, based on the obtained voltage drop value and current value, the executing body may generate a characteristic value for characterizing a connection characteristic of the target connector by:
first, the execution body may perform quotient processing on the voltage drop value and the current value to obtain the resistance value of the target connector.
Then, the execution body described above may determine the obtained resistance value as a characteristic value for characterizing the connection characteristic of the target connector.
Optionally, the executing body may further obtain a power value of power consumed by the target connector based on performing an integral process on the voltage drop value and the current value, and further determine the obtained power value as a characteristic value for characterizing connection characteristics of the target connector.
Step 5028, responding to the fact that the generated characteristic value is larger than a preset threshold value, and outputting preset alarm information.
In this embodiment, the execution subject described above may output warning information set in advance in response to a determination that the generated characteristic value is greater than a preset threshold value. The preset threshold may be a numerical value preset by a technician for detecting the connection state of the target connector based on the attribute and performance of the target connector. The connection characteristic of the target connector corresponding to the preset threshold is the same as the connection characteristic of the target connector corresponding to the characteristic value.
For example, the execution body may determine the voltage difference value as a characteristic value for characterizing the connection characteristic of the target connector. The preset threshold may be a voltage threshold occupied by the target connector. Further, the execution body may determine whether the generated feature value is greater than a preset threshold.
In this embodiment, the alarm information may include, but is not limited to, at least one of: text, symbols, images, video, audio. The alarm information may be information preset by a technician for monitoring the connection state of the target connector.
It should be noted that, in general, for a connector used for connecting a power supply device and a power consumption device, when a virtual connection occurs during use, the resistance value of the connector will increase. The execution body may determine the connection state of the target connector based on the generated characteristic value according to the property of the connector.
As can be seen from fig. 5, compared with the embodiment corresponding to fig. 2, the flow 500 of the method for outputting information in the present embodiment highlights that the current value of the circuit where the target connector is located in the first state is obtained, and then the characteristic value for characterizing the connection characteristic of the target connector is determined by the current value and the voltage drop value generated by the target connector. Therefore, the scheme described by the embodiment can introduce more data related to the connection characteristics of the target connector, thereby realizing more accurate information output.
As an implementation of the method shown in the above figures, the present application provides an embodiment of an apparatus for outputting information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
The apparatus for outputting information of the present embodiment includes: a determination unit and an execution unit. The determining unit is configured to determine whether an electrical device connected to a target connector is in a first state, wherein the target connector is used for connecting a first power supply device and the electrical device, and the first state of the electrical device is that power is supplied through the first power supply device and a second power supply device; the execution unit is configured to, in response to determining that the powered device is in the first state, perform the following steps: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector, wherein the front-stage voltage is the voltage provided by power supply equipment when the voltage is not dropped by the connector, and the rear-stage voltage is the voltage provided by the power supply equipment after the voltage is dropped by the connector; converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
In this embodiment, the determination unit of the apparatus for outputting information may determine whether the electric device to which the target connector is connected is in the first state by a wired connection manner or a wireless connection manner. The target connector may be a connector whose connection state is to be detected. The target connector may be for connecting the first power supply device and the powered device. The electric equipment can be powered by two power supply equipment (a first power supply equipment and a second power supply equipment). Specifically, the first state of the electric equipment is that power is supplied by the first power supply equipment and the second power supply equipment. Here, the determination unit may be communicatively connected to two power supply lines of the above-mentioned electric device, and further, the determination unit may determine whether the electric device to which the target connector is connected is in the first state by determining on/off of the above-mentioned two power supply lines. It should be noted that the two power supply lines include a power supply line where the first power supply device is located and a power supply line where the second power supply device is located.
In this embodiment, the execution unit may perform, in response to determining that the powered device is in the first state, the following steps:
step 6021, acquiring a first front stage voltage and a first rear stage voltage of the target connector.
In this embodiment, the execution unit may obtain a first front stage voltage and a first rear stage voltage of the target connector. The front-stage voltage is the voltage when the voltage provided by the power supply equipment is not dropped by the connector, and the rear-stage voltage is the voltage when the voltage provided by the power supply equipment is dropped by the connector. Specifically, the execution unit may acquire a first former-stage voltage and a first latter-stage voltage of the target connector detected by the detection device (e.g., the detection device 101 shown in fig. 1). Here, the first preceding-stage voltage and the first succeeding-stage voltage correspond to the first state described above.
Step 6022, converting the first state of the powered device to a second state.
In this embodiment, the execution unit may convert the first state of the electric device into the second state. And the second state of the electric equipment is that power is supplied by the second power supply equipment. In particular, the execution unit may be communicatively connected to two power supply lines of the consumer. Furthermore, the execution unit can control the power supply state of the electric equipment by controlling the on-off of the two power supply lines. It is understood that, here, the execution unit may control the power supply line on which the first power supply device is located to be disconnected to convert the first state of the electric device into the second state.
Step 6023, acquiring a second front stage voltage and a second rear stage voltage of the target connector.
In this embodiment, the execution unit may obtain a second front stage voltage and a second rear stage voltage of the target connector. Here, the second preceding-stage voltage and the second succeeding-stage voltage correspond to the above-described second state. Specifically, the execution unit may acquire the second front-stage voltage and the second rear-stage voltage of the target connector detected by the detection device (e.g., the detection device 101 shown in fig. 1).
Step 6024 of generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding-stage voltage, first succeeding-stage voltage, second preceding-stage voltage, and second succeeding-stage voltage.
In this embodiment, the execution unit may generate a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding-stage voltage, first succeeding-stage voltage, second preceding-stage voltage, and second succeeding-stage voltage. Wherein the connection characteristic may be used to characterize a connection state of the target connector. The connection state of the target connector may include normal connection, virtual connection, and the like. Specifically, the connection characteristics of the target connector may be resistance, power consumed, voltage occupied, and the like of the target connector during use. Accordingly, the characteristic value may be a resistance value, a power value, a voltage value, or the like.
Step 6025, in response to determining that the generated characteristic value is greater than the preset threshold, outputting preset alarm information.
In this embodiment, the execution unit may output warning information set in advance in response to a determination that the generated characteristic value is greater than a preset threshold value. The preset threshold may be a numerical value preset by a technician for detecting the connection state of the target connector based on the attribute and performance of the target connector. The connection characteristic of the target connector corresponding to the preset threshold is the same as the connection characteristic of the target connector corresponding to the characteristic value.
In this embodiment, the alarm information may include, but is not limited to, at least one of: text, symbols, images, video, audio. The alarm information may be information preset by a technician for monitoring the connection state of the target connector.
It should be noted that, in general, for a connector used for connecting a power supply device and a power consumption device, when a virtual connection occurs during use, the resistance value of the connector will increase. The execution unit may determine the connection state of the target connector based on the generated characteristic value according to the above-described property of the connector.
In some optional implementations of this embodiment, the execution unit may be further configured to: performing difference processing on the acquired first front-stage voltage and the acquired first rear-stage voltage to acquire a first voltage difference value; performing difference processing on the obtained second front-stage voltage and second rear-stage voltage to obtain a second voltage difference value; performing difference processing on the first voltage difference value and the second voltage difference value to obtain a voltage drop value generated by the target connector; based on the obtained voltage drop value, a characteristic value for characterizing the connection characteristic of the target connector is generated.
In some optional implementations of this embodiment, the execution unit may be further configured to: acquiring a current value of a circuit where a target connector is located; based on the obtained voltage drop value and current value, a characteristic value for characterizing the connection characteristic of the target connector is generated.
In some optional implementations of this embodiment, the execution unit may be further configured to: carrying out quotient calculation on the voltage drop value and the current value to obtain the resistance value of the target connector; the obtained resistance value is determined as a characteristic value for characterizing the connection characteristic of the target connector.
The apparatus provided by the above embodiment of the present application determines, by the determination unit, whether the electric device to which the target connector is connected is in the first state; the execution unit, in response to determining that the powered device is in the first state, performs the steps of: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector; converting a first state of the electric equipment into a second state; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to the fact that the generated characteristic value is larger than the preset threshold value, so that the connection state of the connector is monitored by effectively utilizing data such as the preceding-stage voltage and the subsequent-stage voltage in the two power supply processes, the virtual connection state of the connector is alarmed, meanwhile, the influence of errors of detection equipment can be reduced by determining the characteristic value through the two states of the electric equipment, and the accuracy of information output is improved.
With continued reference to FIG. 6, a timing diagram for one embodiment of a system for outputting information is shown, in accordance with the present application.
The system for outputting information in the embodiment of the present application may include a first detection device for determining a preceding-stage voltage of the target connector, a second detection device for determining a subsequent-stage voltage of the target connector, and a server for processing the preceding-stage voltage and the subsequent-stage voltage. Wherein: the first detection device is used for determining the preceding-stage voltage of a target connector and sending the determined preceding-stage voltage to the server, wherein the target connector is used for connecting the first power supply device and the electric equipment, and the preceding-stage voltage is the voltage provided by the power supply device when the voltage is not dropped by the connector; the second detection device is used for determining the rear-stage voltage of the target connector and sending the determined rear-stage voltage to the server, wherein the rear-stage voltage is the voltage generated after the voltage provided by the power supply device is dropped by the connector; a server configured to determine whether an electrical device is in a first state, wherein the first state of the electrical device is to be powered by a first power supply device and a second power supply device, and in response to determining that the electrical device is in the first state, perform the following steps: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector; converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
As shown in fig. 6, in a system for outputting information, an interaction process 600 between devices may include the following steps:
in step 601, the server determines whether the powered device connected to the target connector is in the first state.
In this embodiment, a server (e.g., server 103 shown in fig. 1) may determine whether the powered device to which the target connector is connected is in the first state. The target connector may be a connector whose connection state is to be detected. The target connector may be for connecting the first power supply device and the powered device. The electric equipment can be powered by two power supply equipment (a first power supply equipment and a second power supply equipment). Specifically, the first state of the electric equipment is that power is supplied by the first power supply equipment and the second power supply equipment. Here, the server may be communicatively connected to two power supply lines of the electrical device, and the server may determine whether the electrical device connected to the target connector is in the first state by determining on/off of the two power supply lines. It should be noted that the two power supply lines include a power supply line where the first power supply device is located and a power supply line where the second power supply device is located.
Step 602, the server sends a detection instruction to the first detection device and the second detection device in response to that the electric device connected with the target connector is in the first state.
In this embodiment, the server may send a detection instruction to a first detection device (for example, the detection device 101 shown in fig. 1) and a second detection device (for example, the detection device 101 shown in fig. 1) in response to the electrical device connected to the target connector being in the first state. The detection instruction is used for controlling the first detection device and the second detection device to detect the front-stage voltage and the rear-stage voltage of the target connector.
In step 603, the first sensing device determines a first pre-stage voltage of the target connector.
In this embodiment, the first detection device may determine a first pre-stage voltage of the target connector. It should be noted that, here, the first previous stage voltage corresponds to the first state.
In step 604, the first detection device sends the determined first pre-stage voltage to a server.
In this embodiment, the first detection device may transmit the determined first pre-stage voltage to the server.
In step 605, the second detection device determines a first back-stage voltage of the target connector.
In this embodiment, the second detection device may determine the first back-stage voltage of the target connector. The rear-stage voltage is the voltage generated by voltage drop of the voltage provided by the power supply equipment through the connector. Here, the first subsequent-stage voltage corresponds to the first state described above.
And 606, the second detection device sends the determined first back-stage voltage to a server.
In this embodiment, the second detection device may transmit the determined first post-stage voltage to the server.
In step 607, the server obtains a first pre-level voltage and a first post-level voltage of the target connector.
In this embodiment, the server may obtain the first previous-stage voltage of the target connector sent by the first detection device and the first next-stage voltage of the target connector sent by the second detection device.
In step 608, the server converts the first state of the powered device to a second state.
In this embodiment, after acquiring the first front-stage voltage and the first rear-stage voltage of the target connector, the server may convert the first state of the electric device into the second state. And the second state of the electric equipment is that power is supplied by the second power supply equipment. Specifically, the server may be communicatively connected to two power supply lines of the electric device. Furthermore, the server can control the power supply state of the electric equipment by controlling the on-off of the two power supply lines. It is understood that, here, the server may control the power supply line where the first power supply device is located to be disconnected to convert the first state of the electric device into the second state.
Step 609, the server sends a detection instruction to the first detection device and the second detection device.
In this embodiment, after the first state of the electric device is converted into the second state, the server may send the detection instruction to the first detection device and the second detection device again.
At step 610, the first sensing device determines a second pre-stage voltage of the target connector.
In this embodiment, the first detection device may determine the second previous stage voltage of the target connector. Here, the second previous stage voltage corresponds to the above-described second state.
In step 611, the first detection apparatus transmits the determined second previous stage voltage to the server.
In this embodiment, the first detection device may transmit the determined second preceding stage voltage to the server.
At step 612, the second sensing device determines a second back-end voltage of the target connector.
In this embodiment, the second detection device may determine the second back-stage voltage of the target connector. Here, the second subsequent stage voltage corresponds to the above-described second state.
In step 613, the second detection device sends the determined second back-stage voltage to the server.
In this embodiment, the second detection device may transmit the determined second post-stage voltage to the server.
In step 614, the server obtains a second pre-level voltage and a second post-level voltage of the target connector.
In this embodiment, the server may obtain the second previous-stage voltage of the target connector sent by the first detection device and the second next-stage voltage of the target connector sent by the second detection device.
In step 615, the server generates a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first previous-stage voltage, first subsequent-stage voltage, second previous-stage voltage, and second subsequent-stage voltage.
In this embodiment, the server may generate a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding-stage voltage, first succeeding-stage voltage, second preceding-stage voltage, and second succeeding-stage voltage. Wherein the connection characteristic may be used to characterize a connection state of the target connector. The connection state of the target connector may include normal connection, virtual connection, and the like. Specifically, the connection characteristics of the target connector may be resistance, power consumed, voltage occupied, and the like of the target connector during use. Accordingly, the characteristic value may be a resistance value, a power value, a voltage value, or the like.
In step 616, the server outputs preset alarm information in response to determining that the generated characteristic value is greater than a preset threshold value.
In this embodiment, the server may output preset alarm information in response to determining that the generated characteristic value is greater than a preset threshold value. Wherein the alarm information may include, but is not limited to, at least one of: text, symbols, images, video, audio. The alarm information may be information preset by a technician for monitoring the connection state of the target connector.
In the system provided by the above embodiment of the present application, it is determined, by the server, whether the electrical device connected to the target connector is in the first state; in response to determining that the powered device is in the first state, performing the steps of: acquiring a first front-stage voltage of a target connector sent by first detection equipment and a first rear-stage voltage of the target connector sent by second detection equipment; converting a first state of the electric equipment into a second state; acquiring a second front-stage voltage of the target connector sent by the first detection equipment and a second rear-stage voltage of the target connector sent by the second detection equipment; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to the fact that the generated characteristic value is larger than the preset threshold value, so that the connection state of the connector is monitored by effectively utilizing data such as the preceding-stage voltage and the subsequent-stage voltage in the two power supply processes, the virtual connection state of the connector is alarmed, meanwhile, the influence of errors of detection equipment can be reduced by determining the characteristic value through the two states of the electric equipment, and the accuracy of information output is improved.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use in implementing a server according to embodiments of the present application. The server shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by a Central Processing Unit (CPU)701, performs the above-described functions defined in the method of the present application. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first acquisition unit, a generation unit, a determination unit, and an output unit. Here, the names of these units do not constitute a limitation of the unit itself in some cases, and for example, the first acquisition unit may also be described as a "unit that acquires the preceding-stage voltage and the following-stage voltage of the target connector".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: determining whether an electric device connected with a target connector is in a first state, wherein the target connector is used for connecting a first power supply device and the electric device, and the first state of the electric device is that power is supplied through the first power supply device and a second power supply device; in response to determining that the powered device is in the first state, performing the steps of: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector, wherein the front-stage voltage is the voltage provided by power supply equipment when the voltage is not dropped by the connector, and the rear-stage voltage is the voltage provided by the power supply equipment after the voltage is dropped by the connector; converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (11)

1. A method for outputting information, comprising:
determining whether an electric device connected with a target connector is in a first state, wherein the target connector is used for connecting a first power supply device and the electric device, and the first state of the electric device is that power is supplied through the first power supply device and a second power supply device;
in response to determining that the powered device is in a first state, performing the steps of:
acquiring a first front-stage voltage and a first rear-stage voltage of a target connector, wherein the front-stage voltage is the voltage provided by power supply equipment when the voltage is not dropped by the connector, and the rear-stage voltage is the voltage provided by the power supply equipment after the voltage is dropped by the connector;
converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment;
acquiring a second front-stage voltage and a second rear-stage voltage of the target connector;
generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage;
and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
2. The method according to claim 1, wherein the generating a characteristic value for characterizing a connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage, and second succeeding stage voltage includes:
performing difference processing on the acquired first front-stage voltage and the acquired first rear-stage voltage to acquire a first voltage difference value;
performing difference processing on the obtained second front-stage voltage and second rear-stage voltage to obtain a second voltage difference value;
performing difference processing on the first voltage difference value and the second voltage difference value to obtain a voltage drop value generated by the target connector;
generating a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value.
3. The method of claim 2, wherein prior to the transitioning the first state of the powered device to the second state, the method further comprises:
acquiring a current value of a circuit where the target connector is located; and
generating a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value, including:
generating a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value and the current value.
4. The method of claim 3, wherein the generating a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value and the current value comprises:
carrying out quotient calculation on the voltage drop value and the current value to obtain a resistance value of the target connector;
the obtained resistance value is determined as a characteristic value for characterizing the connection characteristic of the target connector.
5. An apparatus for outputting information, comprising:
the power supply device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining whether an electric device connected with a target connector is in a first state or not, the target connector is used for connecting a first power supply device and the electric device, and the first state of the electric device is that power is supplied through the first power supply device and a second power supply device;
an execution unit configured to, in response to determining that the powered device is in a first state, perform the following steps:
acquiring a first front-stage voltage and a first rear-stage voltage of a target connector, wherein the front-stage voltage is the voltage provided by power supply equipment when the voltage is not dropped by the connector, and the rear-stage voltage is the voltage provided by the power supply equipment after the voltage is dropped by the connector;
converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment;
acquiring a second front-stage voltage and a second rear-stage voltage of the target connector;
generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage;
and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
6. The apparatus of claim 5, wherein the execution unit is further configured to:
performing difference processing on the acquired first front-stage voltage and the acquired first rear-stage voltage to acquire a first voltage difference value;
performing difference processing on the obtained second front-stage voltage and second rear-stage voltage to obtain a second voltage difference value;
performing difference processing on the first voltage difference value and the second voltage difference value to obtain a voltage drop value generated by the target connector;
generating a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value.
7. The apparatus of claim 6, wherein the execution unit is further configured to:
acquiring a current value of a circuit where the target connector is located;
generating a characteristic value for characterizing a connection characteristic of the target connector based on the obtained voltage drop value and the current value.
8. The apparatus of claim 7, wherein the execution unit is further configured to:
carrying out quotient calculation on the voltage drop value and the current value to obtain a resistance value of the target connector;
the obtained resistance value is determined as a characteristic value for characterizing the connection characteristic of the target connector.
9. A system for outputting information, comprising:
the first detection device is used for determining a preceding-stage voltage of a target connector and sending the determined preceding-stage voltage to the server, wherein the target connector is used for connecting the first power supply device and the electric equipment, and the preceding-stage voltage is the voltage provided by the power supply device when the voltage is not dropped by the connector;
the second detection device is used for determining the rear-stage voltage of the target connector and sending the determined rear-stage voltage to the server, wherein the rear-stage voltage is the voltage generated after the voltage provided by the power supply device is dropped by the connector;
a server configured to determine whether the powered device is in a first state, wherein the first state of the powered device is powered by a first power supply device and a second power supply device, and in response to determining that the powered device is in the first state, perform the following steps: acquiring a first front-stage voltage and a first rear-stage voltage of a target connector; converting the first state of the electric equipment into a second state, wherein the second state of the electric equipment is that power is supplied through second power supply equipment; acquiring a second front-stage voltage and a second rear-stage voltage of the target connector; generating a characteristic value for characterizing the connection characteristic of the target connector based on the acquired first preceding stage voltage, first succeeding stage voltage, second preceding stage voltage and second succeeding stage voltage; and outputting preset alarm information in response to determining that the generated characteristic value is larger than a preset threshold value.
10. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
11. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201810240869.1A 2018-03-22 2018-03-22 Method, device and system for outputting information Active CN108490308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810240869.1A CN108490308B (en) 2018-03-22 2018-03-22 Method, device and system for outputting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810240869.1A CN108490308B (en) 2018-03-22 2018-03-22 Method, device and system for outputting information

Publications (2)

Publication Number Publication Date
CN108490308A CN108490308A (en) 2018-09-04
CN108490308B true CN108490308B (en) 2020-06-02

Family

ID=63319265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810240869.1A Active CN108490308B (en) 2018-03-22 2018-03-22 Method, device and system for outputting information

Country Status (1)

Country Link
CN (1) CN108490308B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102466772A (en) * 2010-11-09 2012-05-23 常熟市福莱德连接器科技有限公司 Connector testing device
FR2970784B1 (en) * 2011-01-26 2016-10-28 Peugeot Citroen Automobiles Sa DEVICE FOR DETECTING EARTH CONNECTION FAULT OF AN ELECTRICAL CONNECTOR SYSTEM
WO2015184511A1 (en) * 2014-06-05 2015-12-10 Kevin Stephen Davies System and method for detecting connector faults in power conversion system
CN105933540A (en) * 2016-06-22 2016-09-07 广东欧珀移动通信有限公司 Power supply control method, system module and mobile terminal
TWI592669B (en) * 2016-12-28 2017-07-21 致茂電子股份有限公司 Method for checking wire connections

Also Published As

Publication number Publication date
CN108490308A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN112665710A (en) Method and device for detecting running state of equipment, electronic equipment and storage medium
US10528109B2 (en) System and method for determining power loads
CN108490308B (en) Method, device and system for outputting information
US11121912B2 (en) Method and apparatus for processing information
JP2013140111A (en) Detection device, inspection device, inspection method and program
CN112240944A (en) Test system, test method, and computer-readable storage medium
JP6381498B2 (en) Weighing meter state change detection device and program
US20180041163A1 (en) Photovoltaic string combiner with modular platform architecture
US20210109586A1 (en) System and method for diagnosing resistive shorts in an information handling system
US11822407B2 (en) Power fault detection for computing device expansion modules
US20170139796A1 (en) Bus interface card detection system and method for detecting bus interface card
CN116991684B (en) Alarm information processing method, device, equipment and medium
CN112307131B (en) Equipment inspection method, system, electronic equipment and storage medium
CN211207289U (en) Server and CRPS circuit thereof
CN116991683B (en) Alarm information processing method, device, equipment and medium
CN116153385B (en) Power consumption measuring method
US20240095559A1 (en) Steady range determination system, steady range determination method, and computer readable medium
EP2492644A2 (en) Distributed computing with meters
US20220365858A1 (en) Network inspection system and network inspection method
CN109613430B (en) Current determination method and device
CN117609801A (en) Data comparison method, device, equipment and medium
CN115525488A (en) Cable detection method and system
CN108387812A (en) Methods, devices and systems for output information
CN115686969A (en) Hard disk backboard testing method, device, equipment and medium
CN115576771A (en) Computing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant