[go: up one dir, main page]

CN115792483A - Double-network-port cascade power supply detection method, device, medium and system - Google Patents

Double-network-port cascade power supply detection method, device, medium and system Download PDF

Info

Publication number
CN115792483A
CN115792483A CN202111060761.2A CN202111060761A CN115792483A CN 115792483 A CN115792483 A CN 115792483A CN 202111060761 A CN202111060761 A CN 202111060761A CN 115792483 A CN115792483 A CN 115792483A
Authority
CN
China
Prior art keywords
port
network
voltage
power supply
detection point
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.)
Pending
Application number
CN202111060761.2A
Other languages
Chinese (zh)
Inventor
陈凯浩
陈迁钻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202111060761.2A priority Critical patent/CN115792483A/en
Publication of CN115792483A publication Critical patent/CN115792483A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The embodiment of the application discloses a method, a device, a medium and a system for detecting double-network-port cascade power supply. The method comprises the following steps: acquiring a first detection point voltage and a second detection point voltage; determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage; and calculating the load impedance of the rear-stage link based on the power receiving port, and if the load impedance does not meet the preset threshold constraint condition, judging that the rear-stage link has a fault. And judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port network port so as to control the on or off of a dual-network-port power supply link of the current equipment. According to the technical scheme, whether the cascade link has the fault or not can be detected, so that normal power supply of the preceding link of the fault equipment is maintained. And the aim of assisting maintenance personnel to quickly locate the node position of the fault equipment is fulfilled.

Description

Double-network-port cascade power supply detection method, device, medium and system
Technical Field
The embodiment of the application relates to the technical field of network cascade power supply, in particular to a method, a device, a medium and a system for detecting double-network-port cascade power supply.
Background
More than two devices are connected in a certain mode, and the effect of capacity expansion is cascade connection. For example, in a parking lot, a plurality of cameras are cascaded to detect a parking space.
In the prior art, a plurality of devices are powered by a dual-network-port cascade mode, that is, not only network signals and data but also power signals are transmitted between network cables. Usually, a power supply is connected to a first device, and then the devices which are cascaded are only connected in series through a network cable, so that the first device can normally operate without a separate external power adapter.
The mode of cascade power supply through the network port is simple and convenient, not only is the construction difficulty reduced, but also the cost can be reduced, but certain risks and problems also exist in the technology, and if one device in N cascaded devices is short-circuited due to faults, the whole link cannot work, and the maintenance cost is increased.
Disclosure of Invention
The embodiment of the application provides a method, a device, a medium and a system for detecting double-network-port cascade power supply, which can detect whether a cascade link has a fault or not, so that normal power supply of a preceding link of a fault device is maintained.
In a first aspect, an embodiment of the present application provides a method for detecting a dual-network-port cascade power supply, where the method includes:
acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage;
calculating the load impedance of the rear-stage link based on the receiving end network port, and if the load impedance does not meet the constraint condition of a preset threshold, judging that the rear-stage link has a fault; and/or the presence of a gas in the gas,
judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port network port so as to control the on or off of a dual-network-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
In a second aspect, an embodiment of the present application provides a dual-network-port cascaded power supply detection apparatus, where the apparatus includes:
the voltage acquisition subunit is used for acquiring the voltage of the first detection point and the voltage of the second detection point; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
the network port determining subunit is configured to determine, according to the first detection point voltage and the second detection point voltage, a receiving-end network port and a power-supply-end network port from the first network port and the second network port;
the fault judging subunit is used for calculating the load impedance of the rear-stage link based on the receiving end network port, and judging that the rear-stage link has a fault if the load impedance does not meet the constraint condition of a preset threshold; and/or the presence of a gas in the atmosphere,
the current equipment control subunit is used for judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port so as to control the on/off of a dual-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
In a third aspect, an embodiment of 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 dual-socket cascaded power supply detection method according to the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a system, which includes a detection unit and a control unit; the detection unit comprises a load detection module, an analog-to-digital conversion module and an MCU;
the analog-to-digital conversion module is connected with the MCU and used for acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port; determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage;
the MCU is connected with the load detection module and is used for controlling the detection switch to be closed based on the power receiving port;
the load detection module is used for calculating the load impedance of the rear-stage link based on the receiving end network port, and if the load impedance does not meet the constraint condition of a preset threshold, judging that the rear-stage link has a fault;
the control unit is used for controlling the connection or disconnection of the dual-network-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
According to the technical scheme provided by the embodiment of the application, the voltage of a first detection point and the voltage of a second detection point are obtained; the first detection point is connected with the first internet access; the second detection point is connected with a second network port; determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage; and calculating the load impedance of the rear-stage link based on the power receiving port, and if the load impedance does not meet the preset threshold constraint condition, judging that the rear-stage link has a fault. Judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port network port so as to control the on or off of a dual-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port. According to the technical scheme, whether the cascade link has the fault or not can be detected, so that normal power supply of the preceding link of the fault equipment is maintained. And the aim of assisting maintenance personnel to quickly locate the node position of the fault equipment is fulfilled. And the stability of power supply of the cascade link can be ensured, and the number of cascade equipment can be accurately controlled.
Drawings
Fig. 1 is a flowchart of a method for detecting a dual-network-port cascaded power supply according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a device cascade connection manner provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a detection unit according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a detection circuit provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a dual-network-port cascaded power supply detection process provided in the second embodiment of the present application;
fig. 6 is a schematic structural diagram of a control unit provided in the second embodiment of the present application;
fig. 7 is a schematic structural diagram of a dual-network-port cascaded power supply detection apparatus according to a third embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application;
fig. 9 is a schematic structural diagram of a dual-network-port cascaded power supply detection system according to a sixth embodiment 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 application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures associated with the present application are shown in the drawings, not all of them.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a dual-socket cascaded power supply detection method according to an embodiment of the present application, where the present embodiment is applicable to a case where whether a dual-socket cascaded link has a fault or not, and the method may be executed by the dual-socket cascaded power supply detection apparatus provided in the embodiment of the present application, and the apparatus may be implemented in a software and/or hardware manner, and may be integrated in an intelligent terminal and other devices for fault detection.
As shown in fig. 1, the method for detecting a dual-network-port cascade power supply includes:
s110, acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
in the scheme, a plurality of devices are powered in a double-network-port cascading mode, namely, not only network signals and data but also power signals are transmitted among network cables. Usually, a power supply is connected to a first device, and then the devices which are cascaded are only connected in series through a network cable, and can normally operate without a separate external power adapter.
Exemplarily, fig. 2 is a schematic diagram of a device cascade connection mode provided in an embodiment of the present application, and as shown in fig. 2, N devices are cascaded, where any network port of a first device is connected to a switch and a dc power adapter, and another network port is connected out through a network cable and directly connected to any network port of a next device. The latter equipment is only required to be sequentially and directly connected to the Nth equipment through a network cable. According to the signal definition of 8 pins at the network port, the pins 1, 2, 3 and 6 are used for transmitting data, the remaining four pins are used as a pair of positive power supply and a pair of negative power supply, for example, the positive pole of the adapter is connected to the pins 4 and 5, the negative pole is connected to the pins 7 and 8, and the pins 1, 2, 3 and 6 are connected to the switch. The latter equipment is only required to be sequentially and directly connected to the Nth equipment through a network cable.
In this embodiment, N devices are cascaded through a network port, and each device includes two network ports, i.e., a first network port and a second network port. A detection control circuit is designed in each device, and the detection control circuit is composed of a control unit and a detection unit. The detection unit is used for measuring the equivalent impedance of the equipment at the later stage, namely whether the equipment at the later stage has a fault. The control unit is controlled by the detection unit, and the executed function depends on the detection result of the detection unit.
For example, fig. 3 is a schematic structural diagram of a detection unit provided in an embodiment of the present application, and as shown in fig. 3, the detection unit inside the device is composed of a load detection module, an ADC (analog-to-digital conversion) module, an MCU (micro control unit), two detection switches K2 and K3, and four voltage dividing resistors. The point A is a first detection point, and the point B is a second detection point. The ADC module is used for detecting the voltage on the voltage dividing resistor; the MCU is used for controlling the closing of the detection switch; the load detection module is used for calculating the load impedance of the subsequent equipment.
Preferably, two divider resistors are respectively arranged to be connected with the first network port and the second network port, and the detection point is arranged between the two divider resistors. A plurality of divider resistors can be respectively arranged to be connected with the network ports. The number of the voltage dividing resistors and the positions of the detection points can be set according to the connection requirements of the dual-network-port cascade equipment.
In this embodiment, optionally, the obtaining the voltage of the first detection point and the voltage of the second detection point includes:
and acquiring the voltage of the first detection point based on the analog-to-digital conversion module to obtain the voltage of the first detection point, and acquiring the voltage of the second detection point to obtain the voltage of the second detection point.
The analog-to-digital conversion module can calculate and obtain the voltage of the first detection point and the voltage of the second detection point according to the resistance value of the divider resistor.
By acquiring the voltage of the detection point, whether the cascade link has a fault can be detected, so that the normal power supply of the preceding link of the short-circuit fault equipment is maintained.
S120, determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage;
in this embodiment, the present apparatus includes a first network port and a second network port, one of the two network ports is a power supply port, and the other is a power receiving port. The power supply port and the power receiving port can be judged according to the voltage of the detection point.
In this technical solution, optionally, determining a receiving port and a supplying port from the first port and the second port according to the first detection point voltage and the second detection point voltage, includes:
if the voltage of the first detection point is greater than the voltage of the second detection point, determining that a second network port of the current equipment is a power receiving terminal network port, and the first network port is a power supply terminal network port;
and if the voltage of the first detection point is less than the voltage of the second detection point, determining that the first network port of the current device is a power receiving network port and the second network port is a power supply network port.
In the scheme, the receiving port and the power supply port can be determined by comparing the voltages of the first detection point and the second detection point. Generally, the voltage of the power supply end is greater than that of the power receiving end during normal power-on, and a situation of voltage false detection caused by incomplete release of the power supply voltage may exist after rapid power-on and power-off, so that a certain time delay can be set, for example, one or two seconds, and then the magnitude relation between the voltage of the first detection point and the voltage of the second detection point is detected and compared. When the voltage of the first detection point is greater than the voltage of the second detection point, or the voltage of the first detection point detected for the first time is less than the voltage of the second detection point, and the voltage of the first detection point detected for the second time is greater than the voltage of the second detection point, the second network port is determined to be a power receiving network port; and when the voltage of the second detection point is greater than the voltage of the first detection point, or the voltage of the first detection point is less than the voltage of the first detection point, and the voltage of the second detection point is greater than the voltage of the first detection point, the first network port is determined to be the power receiving network port.
By comparing the voltage of the detection point, whether the cascade link has a fault or not can be detected, so that the normal power supply of the preceding link of the short-circuit fault equipment is maintained.
And S130, calculating the load impedance of the rear-stage link based on the receiving end network port, and if the load impedance does not meet the constraint condition of a preset threshold, judging that the rear-stage link has a fault.
Wherein the threshold constraint condition may be that the load impedance is smaller than an impedance criterion value. The magnitude of the standard impedance value can be set according to the condition of the cascade equipment circuit.
In the scheme, if the rear-stage link has a fault, the current device cannot supply power to the device of the rear-stage link, and at this time, the calculated load impedance value of the rear-stage link is small. Whether the rear-stage link has a fault can be judged by comparing the load impedance with the impedance standard value. The failure of the rear link may be a short-circuit failure or a failure not meeting a power supply condition.
In this technical solution, optionally, the detection switch is controlled to be closed based on the receiving end network port, and the load impedance of the rear link of the receiving end network port is calculated based on the load detection module.
In this embodiment, if the receiving port is the first port, the detection switch K2 is controlled to be closed based on the MCU to form the detection loop 1, and the load impedance of the subsequent link of the receiving port is calculated based on the load detection module. If the receiving end network port is the second network port, the detection switch K3 is controlled to be closed based on the MCU to form a detection loop 2, and the load impedance of the rear-stage link of the receiving end network port is calculated based on the load detection module. Wherein, the power supply port is the power supply input end.
For example, fig. 4 is a schematic diagram of a detection circuit provided in the first embodiment of the present application. As shown in fig. 4, the loop 1 and the loop 2 are both detection loops of a back-stage link device, and the load impedance of the back-stage link of the power receiving port can be calculated by the load detection module.
By calculating the load impedance, whether the cascade link has a fault or not can be detected, so that the normal power supply of the preceding link of the short-circuit fault equipment is maintained.
S140, judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port network port so as to control the on or off of a dual-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
In this scheme, the standard voltage constraint condition may be set according to the number of cascaded devices. When a plurality of cascaded devices are available, the problem that the state of the device is unstable or the device cannot be started due to too low rear-stage input voltage is inevitable, and a standard voltage VS can be set at the moment and compared with the detected voltage of the network port of the power supply terminal. And controlling the connection or disconnection of the power supply link of the internal network port of the current equipment by the control unit. The stability of power supply of the cascade link can be guaranteed, and the number of cascade devices can be accurately controlled.
According to the technical scheme provided by the embodiment of the application, the voltage of a first detection point and the voltage of a second detection point are obtained; the first detection point is connected with the first internet access; the second detection point is connected with the second network port; determining a receiving end network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage; and calculating the load impedance of the rear-stage link based on the power receiving port, and if the load impedance does not meet the preset threshold constraint condition, judging that the rear-stage link has a fault. Judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port network port so as to control the on or off of a dual-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port. By executing the technical scheme, whether the cascade link has a fault can be detected, so that normal power supply of the preceding link of the short-circuit fault equipment is maintained. By judging the voltage of the power supply port, the stability of power supply of the cascade link can be guaranteed, and the number of cascade equipment can be accurately controlled.
Example two
Fig. 5 is a schematic diagram of a dual-network-port cascaded power supply detection process provided in the second embodiment of the present application, and the second embodiment is further optimized based on the first embodiment. The concrete optimization is as follows: after determining that the back-stage link has a failure, the method further comprises: and controlling the dual-network-port power supply link of the current equipment to be disconnected so as to ensure the normal operation of the preceding-stage link. The details which are not described in detail in this embodiment are shown in the first embodiment.
As shown in fig. 5, the method comprises the steps of:
s510, acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
s520, determining a power receiving port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage;
s530, calculating the load impedance of the rear-stage link based on the receiving end network port, and if the load impedance does not meet the constraint condition of a preset threshold, judging that the rear-stage link has a fault;
and S540, controlling the dual-network-port power supply link of the current equipment to be disconnected so as to ensure the normal operation of the preceding-stage link.
In the scheme, a control unit in the equipment consists of two one-way diodes and a conduction switch, wherein the one-way diodes are used for cutting off direct conduction between the two network ports, and the conduction switch is used for connecting the two network ports. If the load impedance of the post-stage equipment is detected to be normal, controlling the conduction switch to be closed, and conducting the dual-network-port power supply link in the equipment at the moment; if the detecting unit detects that the rear link of the current equipment has a fault condition, the conducting switch is controlled to keep an off state, and at the moment, the dual-network-port power supply link inside the equipment is disconnected, so that the normal operation of the front link is ensured.
Exemplarily, fig. 6 is a schematic structural diagram of a control unit provided in the second embodiment of the present application, and as shown in fig. 6, the control unit is composed of two unidirectional diodes and a conducting switch K1, the unidirectional diodes are used to block direct conduction between the two network ports, and the conducting switch K1 is used to connect the two network ports.
In this technical solution, optionally, after controlling the dual-port power link of the current device to be disconnected, the method further includes:
and returning a signal to the monitoring platform according to the current on-off state of the equipment so as to enable the monitoring platform to locate the fault equipment.
The on-switch state includes two states of on and off.
In this embodiment, the signal may be an IP address of the current device, or may be a concatenation position of the current device. Preferably, the signal may be the IP address of the current device. For example, if the n +1 th device has a short-circuit fault, the MCU of the nth device reads the state of the on switch K1 and returns a signal to the main monitoring platform, so that it can quickly determine which device has a problem.
After the double-network-port power supply link of the current equipment is controlled to be disconnected, a signal is returned to the monitoring platform according to the on-off state of the current equipment, so that the problem of quick positioning of maintenance personnel can be assisted, the efficiency is improved, and the labor cost is saved.
In this technical solution, optionally, based on the power supply port network interface, determining whether the voltage of the power supply port network interface meets a standard voltage constraint condition to control a dual-network-interface power link of the current device to be turned on or off includes:
if the voltage of the power supply end network port meets the standard voltage constraint condition, controlling the double-network-port power supply link of the current equipment to be conducted;
and if the voltage of the power supply end network port does not meet the standard voltage constraint condition, controlling the dual-network-port power supply link of the current equipment to be disconnected.
In the scheme, if the voltage of the power supply end network port is detected to be smaller than the standard voltage, the cascade number of the equipment exceeds the set standard, the power supply link of the network port in the equipment is directly disconnected through the control module, the power is not supplied to the subsequent equipment, and the IP address of the last normal equipment is returned. If the voltage of the network port of the power supply end is detected to be greater than the standard voltage, the cascade number of the equipment does not exceed the set standard, and the network port power supply link inside the equipment is conducted through the control module.
By judging the voltage of the power supply port, the stability of power supply of the cascade link can be guaranteed, and the number of cascade equipment can be accurately controlled.
According to the technical scheme provided by the embodiment of the application, the voltage of a first detection point and the voltage of a second detection point are obtained; determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage; and calculating the load impedance of the rear-stage link based on the power receiving port, and if the load impedance does not meet the preset threshold constraint condition, judging that the rear-stage link has a fault. And controlling the dual-network-port power supply link of the current equipment to be disconnected so as to ensure the normal operation of the preceding-stage link. By executing the technical scheme, whether the cascade link has a fault can be detected, so that normal power supply of a preceding link of the fault equipment is maintained. And the aim of assisting maintenance personnel to quickly locate the node position of the fault equipment is fulfilled.
EXAMPLE III
Fig. 7 is a schematic structural diagram of a dual-network-port cascaded power supply detection device provided in the third embodiment of the present application, and as shown in fig. 7, the dual-network-port cascaded power supply detection device includes:
a voltage acquisition subunit 710 configured to acquire a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
a network port determining subunit 720, configured to determine, according to the first detection point voltage and the second detection point voltage, a receiving-end network port and a supplying-end network port from the first network port and the second network port;
a fault determination subunit 730, configured to calculate a load impedance of the subsequent link based on the receiving end network port, and determine that a fault exists in the subsequent link if the load impedance does not meet a preset threshold constraint condition;
a current device control subunit 740, configured to determine, based on the power supply port network interface, whether a voltage of the power supply port network interface meets a standard voltage constraint condition, so as to control a dual-network-interface power link of a current device to be turned on or off; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
In this technical solution, optionally, the receiving port network interface determining unit 720 is specifically configured to:
if the voltage of the first detection point is greater than the voltage of the second detection point, determining that a second network port of the current equipment is a power receiving end network port, and determining that a first network port is a power supply end network port;
and if the voltage of the first detection point is less than the voltage of the second detection point, determining that the first network port of the current device is a power receiving network port and the second network port is a power supply network port.
In this technical solution, optionally, the voltage obtaining unit 710 is specifically configured to:
and acquiring the voltage of the first detection point based on the analog-to-digital conversion module to obtain the voltage of the first detection point, and acquiring the voltage of the second detection point to obtain the voltage of the second detection point.
In this technical solution, optionally, the short-circuit fault determining unit 730 is specifically configured to:
controlling a detection switch to be closed based on the receiving end network port, and calculating to obtain the load impedance of a rear-stage link of the receiving end network port based on a load detection module; the detection switch is respectively connected with the first network port and the second network port.
In this technical solution, optionally, the apparatus further includes:
and the dual-network-port power supply link control subunit is used for controlling the dual-network-port power supply link of the current equipment to be disconnected so as to ensure the normal operation of the preceding-stage link.
In this technical solution, optionally, the apparatus further includes:
and the fault equipment positioning subunit is used for returning a signal to the monitoring platform according to the current on-off state of the equipment so as to position the fault equipment by the monitoring platform.
In this technical solution, optionally, the apparatus further includes:
the dual-network-port power supply link conduction subunit is used for controlling the dual-network-port power supply link conduction of the current equipment if the voltage of the power supply port meets the standard voltage constraint condition;
and the dual-network-port power supply link disconnection subunit is used for controlling the dual-network-port power supply link of the current equipment to be disconnected if the voltage of the power supply port does not meet the standard voltage constraint condition.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Embodiments of the present application also provide a medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for dual-socket cascaded power supply detection, the method including:
acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage;
calculating the load impedance of the rear-stage link based on the receiving end network port, and if the load impedance does not meet the constraint condition of a preset threshold, judging that the rear-stage link has a fault;
judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port network port so as to control the on or off of a dual-network-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
Media-any of various types of memory devices or storage devices. The term "media" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The medium may also include other types of memory or combinations thereof. In addition, the medium may be located in the computer system in which the program is executed, or may be located in a different second computer system, which is connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "media" may include two or more media that may reside in different locations, such as in different computer systems that are connected by a network. The media may store program instructions (e.g., embodied as computer programs) that are executable by one or more processors.
Of course, the medium including the computer-executable instructions provided in the embodiments of the present application is not limited to the dual-port cascaded power supply detection operation described above, and may also perform related operations in the dual-port cascaded power supply detection method provided in any embodiment of the present application.
EXAMPLE five
The embodiment of the application provides electronic equipment, and the double-network-port cascade power supply detection device provided by the embodiment of the application can be integrated in the electronic equipment. Fig. 8 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 8, the present embodiment provides an electronic device 800, which includes: one or more processors 820; the storage 810 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 820, the one or more processors 820 are configured to implement the method for detecting a cascaded dual-network-port power supply according to the embodiment of the present disclosure, where the method includes:
acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage;
calculating the load impedance of the rear-stage link based on the receiving end network port, and if the load impedance does not meet the constraint condition of a preset threshold, judging that the rear-stage link has a fault;
judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port network port so as to control the on or off of a dual-network-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
Of course, those skilled in the art can understand that the processor 820 further implements the technical solution of the dual-socket cascaded power supply detection method provided in any embodiment of the present application.
The electronic device 800 shown in fig. 8 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. 8, the electronic device 800 includes a processor 820, a storage 810, an input device 830, and an output device 840; the number of the processors 820 in the electronic device may be one or more, and one processor 820 is taken as an example in fig. 8; the processor 820, the storage 810, the input 830, and the output 840 in the electronic device may be connected by a bus or other means, such as the bus 850 in fig. 8.
The storage device 810 is a computer-readable medium, and can be used to store a software program, a computer-executable program, and module units, such as program instructions corresponding to the dual-socket cascaded power supply detection method in the embodiment of the present application.
The storage device 810 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 810 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 810 may further include memory located remotely from processor 820, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 830 may be used to receive input numbers, character information, or voice information, and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 840 may include a display screen, a speaker, and other electronic devices.
The electronic equipment provided by the embodiment of the application can achieve the purpose of detecting whether the cascade link has the short-circuit fault or not, so that the normal power supply of the preceding link of the short-circuit fault equipment is maintained. And the aim of assisting maintenance personnel to quickly locate the node position of the fault equipment is fulfilled.
EXAMPLE six
Fig. 9 is a schematic structural diagram of a dual-network-port cascaded power supply detection system provided in a sixth embodiment of the present application, and as shown in fig. 9, the system includes a detection unit 910 and a control unit 920; the detection unit 910 includes a load detection module 911, an analog-to-digital conversion module 912 and an MCU913;
the analog-to-digital conversion module 912 is connected with the MCU913 and is configured to obtain a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port; determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage;
the MCU913 is connected with the load detection module 911 and is used for controlling the detection switch to be closed based on the receiving end network port;
the load detection module 911 is configured to calculate a load impedance of a subsequent link based on the power receiving port, and determine that the subsequent link has a fault if the load impedance does not meet a preset threshold constraint condition;
the control unit 920 is configured to control a dual-port power link of the current device to be turned on or off; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
In the scheme, a dual-network-port cascade power supply detection system is added between dual network ports in equipment, a circuit in a single equipment forms a module, firstly, two network ports are arranged, namely a first network port and a second network port, a control unit 920 and a detection unit 910 are connected between dual-network-port power supply links, and the detection unit 910 comprises a load detection module 911, an analog-to-digital conversion module 912 and an MCU913; an analog-to-digital conversion module 912, configured to obtain a first detection point voltage and a second detection point voltage, and determine a receiving-end network port and a power-supply-end network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage; the MCU913 is used for controlling the detection switch to be closed based on the receiving end network port, calculating the load impedance of the rear link based on the load detection module 911, and determining that the rear link has a fault if the load impedance does not meet the preset threshold constraint condition; after determining that the back-stage link has a fault, the control unit 920 controls the dual-port power link of the current device to remain disconnected, so as to ensure normal operation of the front-stage link.
In this embodiment, if the voltage of the power supply port network port meets the standard voltage constraint condition, the control unit 920 controls the dual-network-port power link of the current device to be turned on; if the voltage of the power supply port does not satisfy the standard voltage constraint condition, the control unit 920 controls the dual-port power link of the current device to be disconnected.
According to the technical scheme provided by the embodiment of the application, the analog-to-digital conversion module is used for acquiring the voltage of a first detection point and the voltage of a second detection point; determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage; the MCU is used for controlling the detection switch to be closed based on the receiving end network port; the load detection module is used for calculating the load impedance of the rear-stage link based on the power receiving port, and if the load impedance does not meet the preset threshold constraint condition, judging that the rear-stage link has a fault; and the control unit is used for controlling the on/off of the dual-network-port power link of the current equipment. By executing the technical scheme, whether the cascade link has a fault can be detected, so that normal power supply of a preceding link of the fault equipment is maintained. And the aim of assisting maintenance personnel to quickly locate the node position of the fault equipment is fulfilled.
The dual-network-port cascade power supply detection device, medium and system provided in the above embodiments can execute the dual-network-port cascade power supply detection method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For details of the dual-port cascaded power supply detection method provided in any embodiment of the present application, reference may be made to the technical details not described in detail in the above embodiments.
It is to be noted that the foregoing is only illustrative of the presently preferred embodiments and application of the principles of the present invention. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A double-network-port cascade power supply detection method is characterized by comprising the following steps:
acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
determining a receiving port network interface and a power supply port network interface from the first network interface and the second network interface according to the first detection point voltage and the second detection point voltage;
calculating the load impedance of the rear-stage link based on the receiving end network port, and if the load impedance does not meet the constraint condition of a preset threshold, judging that the rear-stage link has a fault; and/or the presence of a gas in the gas,
judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port network port so as to control the on or off of a dual-network-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
2. The method of claim 1, wherein determining a power receiving port and a power supplying port from the first and second ports based on the first and second checkpoint voltages comprises:
if the voltage of the first detection point is greater than the voltage of the second detection point, determining that a second network port of the current equipment is a power receiving end network port, and determining that a first network port is a power supply end network port;
and if the voltage of the first detection point is less than the voltage of the second detection point, determining that the first network port of the current device is a power receiving network port and the second network port is a power supply network port.
3. The method of claim 1, wherein obtaining the first checkpoint voltage and the second checkpoint voltage comprises:
and acquiring the voltage of the first detection point based on the analog-to-digital conversion module to obtain the voltage of the first detection point, and acquiring the voltage of the second detection point to obtain the voltage of the second detection point.
4. The method of claim 1, wherein calculating the load impedance of the back-stage link based on the receiving port comprises:
controlling a detection switch to be closed based on the power receiving port network interface, and calculating to obtain the load impedance of a rear-stage link of the power receiving port network interface based on a load detection module; the detection switch is respectively connected with the first network port and the second network port.
5. The method of claim 1, wherein after determining that the subsequent link has failed, the method further comprises:
and controlling the dual-network-port power supply link of the current equipment to be disconnected so as to ensure the normal operation of the preceding-stage link.
6. The method of claim 5, wherein after controlling the dual-portal power link of the current device to be disconnected, the method further comprises:
and returning a signal to the monitoring platform according to the current on-off state of the equipment so as to enable the monitoring platform to locate the fault equipment.
7. The method of claim 1, wherein determining whether the voltage of the power port meets a standard voltage constraint condition based on the power port network port to control a dual-port power link of a current device to be turned on or off comprises:
if the voltage of the power supply port network port meets the standard voltage constraint condition, controlling the double-network-port power supply link of the current equipment to be conducted;
and if the voltage of the power supply end network port does not meet the standard voltage constraint condition, controlling the dual-network-port power supply link of the current equipment to be disconnected.
8. The utility model provides a two net gapes cascade power supply detection device which characterized in that includes:
the voltage acquisition subunit is used for acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port;
the network port determining subunit is configured to determine, according to the first detection point voltage and the second detection point voltage, a receiving-end network port and a power-supply-end network port from the first network port and the second network port;
the fault judging subunit is used for calculating the load impedance of the rear-stage link based on the receiving end network port, and judging that the rear-stage link has a fault if the load impedance does not meet the constraint condition of a preset threshold; and/or the presence of a gas in the gas,
the current equipment control subunit is used for judging whether the voltage of the power supply port meets a standard voltage constraint condition or not based on the power supply port so as to control the on/off of a dual-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, implements the dual portal cascading power supply detection method as recited in any one of claims 1 to 7.
10. A double-network-port cascade power supply detection system is characterized by comprising a detection unit and a control unit; the detection unit comprises a load detection module, an analog-to-digital conversion module and an MCU;
the analog-to-digital conversion module is connected with the MCU and used for acquiring a first detection point voltage and a second detection point voltage; the first detection point is connected with a first internet access; the second detection point is connected with a second network port; determining a receiving port network port and a power supply port network port from the first network port and the second network port according to the first detection point voltage and the second detection point voltage;
the MCU is connected with the load detection module and is used for controlling the detection switch to be closed based on the power receiving port;
the load detection module is used for calculating the load impedance of the rear-stage link based on the receiving end network port, and if the load impedance does not meet the constraint condition of a preset threshold, judging that the rear-stage link has a fault;
the control unit is used for controlling the on/off of a dual-network-port power supply link of the current equipment; and the dual-network-port power supply link is used for connecting the first network port and the second network port.
CN202111060761.2A 2021-09-10 2021-09-10 Double-network-port cascade power supply detection method, device, medium and system Pending CN115792483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111060761.2A CN115792483A (en) 2021-09-10 2021-09-10 Double-network-port cascade power supply detection method, device, medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111060761.2A CN115792483A (en) 2021-09-10 2021-09-10 Double-network-port cascade power supply detection method, device, medium and system

Publications (1)

Publication Number Publication Date
CN115792483A true CN115792483A (en) 2023-03-14

Family

ID=85417027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111060761.2A Pending CN115792483A (en) 2021-09-10 2021-09-10 Double-network-port cascade power supply detection method, device, medium and system

Country Status (1)

Country Link
CN (1) CN115792483A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116886454A (en) * 2023-03-31 2023-10-13 广州开得联智能科技有限公司 Power supply device and system, audio acquisition equipment and system and power supply method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116886454A (en) * 2023-03-31 2023-10-13 广州开得联智能科技有限公司 Power supply device and system, audio acquisition equipment and system and power supply method

Similar Documents

Publication Publication Date Title
TWI765083B (en) Electric vehicle power-on method and computer-readable storage medium based on wake-up source
CN104932358A (en) Large and medium-sized satellite general emission console based on PXI framework
KR102546893B1 (en) SYSTEM FOR SEQUENTIAL CONTROL OF NETWORK SWITCH FOR PoE-BASED IoT SYSTEM AND METHOD THEREOF
WO2022082503A1 (en) Relay adhesion detection circuit, method and system
CN202218041U (en) A dual-redundant aviation power supply
CN103167526A (en) Method and system for realizing overall information management of communication base station
US20240421629A1 (en) Control circuit, method, and apparatus for backup battery unit, and storage system
CN108248417A (en) A kind of charging pile control device of dual processor
CN115792483A (en) Double-network-port cascade power supply detection method, device, medium and system
CN109546741B (en) Self-checking system of storage battery remote maintenance equipment
CN111323648B (en) A RS485 cascade multi-user electric energy meter and its data transmission method
CN104734904A (en) Automatic detection method and system of by-pass equipment
CN112540252A (en) System and method for monitoring and analyzing running state of intelligent broadcasting and television power equipment
TW201934375A (en) Electric vehicle charging control device and electric vehicle charging control method
CN109159713A (en) DC charging control method, online addition detection method and high-power group's charging system
CN102608371A (en) Storage battery detecting device and undervoltage protection method thereof
CN106921535A (en) Automated testing method and device
CN103856338A (en) Automatic bypass device and method for tandem connection of communication device
JP2002207538A (en) Information processing system, internet connection system, electric power supply device and power failure processing computer program
CN110994791A (en) Missile ground power supply system and power supply method based on CAN communication startup and shutdown
WO2018103334A1 (en) Fault detection method and device
CN106814643B (en) A kind of control method and system of two-node cluster hot backup
CN111665444B (en) Wiring studying and judging method and storage battery discharging studying and judging method based on communication power supply voltage control
CN107612854A (en) A kind of non-management type PoE interchangers and control method
CN207611262U (en) Integrated electrical system

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