Smart box power supply method, system, device and storage medium
The impedance value is detected by the PoE interface of the smart box to determine whether the powered device needs power supply, which solves the problem of unified management of smart box and PoE functions, realizes the intelligent power supply management of smart box, and simplifies the management process.
Patent Information
- Application Number
- CN202311800739.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2043-12-26
AI Technical Summary
The existing smart boxes rely on independent switches to achieve PoE power supply when powering, resulting in complex management and the unification of unified management of smart boxes and PoE functions.
The impedance value of the device to be powered is detected through the PoE interface of the smart box, determine whether power is needed, and determine the power supply level based on the impedance value, so as to realize the unified management of the smart box and PoE functions.
It realizes intelligent power supply management of smart boxes for power-receiving equipment, simplifies the unified management of PoE functions, and improves the application complexity and management efficiency of smart boxes.
Smart Images

Figure CN117458723B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart boxes, and in particular to a smart box method, system, device and storage medium. Background Art
[0002] Smart boxes are widely used in the detection of fault phenomena, etc., which include a box body; a door body that can be opened and closed on the box body; an intelligent control unit, various terminal devices, a power access component, a voltage distribution component and a network access component located in the box body; the power access component, the voltage distribution component, the intelligent control unit, and the terminal devices are electrically connected in sequence; the intelligent control unit and the terminal devices are both connected to the network access component; the voltage distribution component is configured to distribute the input voltage of the power access component into input voltages that are respectively suitable for various terminal devices; the intelligent control unit is configured to connect the voltage distribution component to which terminal device.
[0003] With the development of the Internet of Things and smart security, the demand for smart boxes is becoming more and more abundant, and the applications between smart boxes are becoming more and more complex. When the smart boxes are powered externally, most of them now rely on independent switches placed in the boxes to implement PoE (Power Over Ethernet, active Ethernet) power supply. This requires multiple addresses and methods to manage PoE and smart boxes, and it is impossible to achieve unified management of smart boxes and PoE and other functions. Summary of the invention
[0004] The main purpose of the present invention is to solve the technical problem of how to achieve unified management of smart boxes and PoE functions.
[0005] A first aspect of the present invention provides a smart box power supply method, the smart box power supply method comprising:
[0006] The smart box receives a power supply request, and according to the power supply request, turns on the PoE function of the smart box;
[0007] Detecting the impedance value of the device to be powered corresponding to the smart box through the PoE interface of the smart box, and judging whether the device to be powered needs power supply according to the impedance value;
[0008] If power supply is required, the smart box supplies power to the device to be powered through the PoE interface;
[0009] The power supply status of the smart box is displayed through the interactive interface of the smart box.
[0010] Optionally, in a first implementation of the first aspect of the present invention, detecting, through the PoE interface of the smart box, the impedance value of the device to be powered corresponding to each smart box, and judging whether the device to be powered needs power supply according to the impedance value includes:
[0011] Detecting the current value of the device to be powered corresponding to the smart box through the PoE interface of the smart box;
[0012] Obtaining an impedance value of the device to be powered according to a current value of the device to be powered;
[0013] Whether the device to be powered needs power is determined according to the impedance value of the device to be powered.
[0014] Optionally, in a second implementation of the first aspect of the present invention, if power supply is required, the smart box supplies power to the device to be powered through the PoE interface, including:
[0015] If power supply is required, determining the power supply level of the device to be powered according to the impedance value of the device to be powered;
[0016] The smart box supplies power to the device to be powered through the PoE interface according to the power supply level.
[0017] Optionally, in a third implementation of the first aspect of the present invention, before detecting the impedance value of the device to be powered corresponding to the smart box through the PoE interface of the smart box, the method further includes:
[0018] Push web control interface;
[0019] Through the web control interface, turn on the PoE interface of the smart box;
[0020] The impedance value of the device to be powered corresponding to the smart box is detected through the PoE interface.
[0021] A second aspect of the present invention provides a smart box power supply system, including a smart box, a device to be powered, a power supply device management module, and a power supply module;
[0022] The smart box receives a power supply request, and turns on the PoE function of the smart box according to the power supply request;
[0023] The power supply module detects the impedance value of the device to be powered corresponding to the smart box, and determines whether the device to be powered needs power supply according to the impedance value; if power supply is required, the smart box supplies power to the device to be powered through the power supply module;
[0024] The power supply equipment management module obtains the power supply status of the smart box and displays the power supply status.
[0025] Optionally, in a first implementation of the second aspect of the present invention, the power supply module includes a PoE interface, and the PoE interface is connected to the network port of the smart box to supply power to the device to be powered through the network port of the smart box.
[0026] Optionally, in a second implementation of the second aspect of the present invention, the power supply module also includes a PSE chip board, and the PSE chip board is arranged on the main board of the smart box. The smart box is connected to the power supply module through the I2C interface in the main board and the PSE chip board to read the register information of the power supply module.
[0027] Optionally, in a second implementation of the third aspect of the present invention, the power supply equipment management module obtains the power supply status in the register information of the power supply module through the mainboard of the smart box and the I2C interface in the PSE chip board.
[0028] The second aspect of the present invention provides a smart box power supply device, comprising: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected through lines; the at least one processor calls the instructions in the memory so that the smart box power supply device executes the above-mentioned smart box power supply method.
[0029] A third aspect of the present invention provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned smart box power supply method.
[0030] In an embodiment of the present invention, a smart box receives a power supply request, and according to the power supply request, turns on the PoE function of the smart box; detects the impedance value of the device to be powered corresponding to the smart box through the PoE interface of the smart box, and determines whether the device to be powered needs power based on the impedance value; if power is required, the smart box supplies power to the device to be powered through the PoE interface; and displays the power supply status of the smart box through the interactive interface of the smart box. In the present invention, the impedance value of the device to be powered corresponding to the smart box is detected through the PoE interface of the smart box, and determines whether the device to be powered needs power based on the impedance value; if power is required, the smart box supplies power to the device to be powered, and the PoE function in the smart box can be integrated, and external PoE power supply can be provided, thereby realizing unified management of the smart box and PoE functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of an embodiment of a method for powering a smart box in an embodiment of the present invention;
[0032] Figure 2A schematic diagram of an embodiment of a power supply system for a smart box in an embodiment of the present invention;
[0033] Figure 3 It is a schematic diagram of an embodiment of a smart box power supply device in an embodiment of the present invention. DETAILED DESCRIPTION
[0034] Embodiments of the present invention provide a smart box power supply method, system, device and storage medium.
[0035] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.
[0036] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0037] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the smart box power supply method in the embodiment of the present invention includes:
[0038] S100, the smart box receives a power supply request, and turns on the PoE function of the smart box according to the power supply request.
[0039] In this embodiment, the smart box receives a power supply request, automatically detects whether the device to be powered needs power, and turns on the PoE function of the smart box based on the power supply request. The PoE function of the smart box is also an Ethernet power supply function. It is a technology that can provide DC power supply for some IP-based terminals (such as IP phones, wireless LAN access points AP, network cameras, etc.) while transmitting data signals for such devices.
[0040] S200, detecting the impedance value of the device to be powered corresponding to the smart box through the PoE interface of the smart box, and judging whether the device to be powered needs power supply according to the impedance value.
[0041] In this embodiment, after the PoE function of the smart box is turned on, the PoE interface of the smart box determines whether the device to be powered is a PD (Power Device), that is, whether the device to be powered needs power supply by detecting the impedance value of the device to be powered. Generally, the impedance value between the PoE power supply pins is detected by a preset detection voltage, wherein the preset detection voltage can be a voltage of about 5V.
[0042] S300, if power supply is required, the smart box supplies power to the powered device through the PoE interface.
[0043] In this embodiment, when the smart box determines that the powered device needs power supply, it will supply power to the PD device.
[0044] S400, displays the power supply status of the smart box through the interactive interface of the smart box.
[0045] In this embodiment, after the smart box is powered successfully, the PoE information can be reported to the device management platform at the same time through the MQTT (Message Queuing Telemetry Transport) protocol. The PoE information includes the power supply voltage and current, etc. The PoE information is displayed through the interactive interface of the management platform so that the power supply voltage and current of the smart box can be checked in time.
[0046] In an optional implementation of the first aspect of the present invention, detecting the impedance value of the device to be powered corresponding to each smart box through the PoE interface of the smart box, and judging whether the device to be powered needs power supply according to the impedance value includes:
[0047] Through the PoE interface of the smart box, the current value of the device to be powered corresponding to the smart box is detected; based on the current value of the device to be powered, the impedance value of the device to be powered is obtained; based on the impedance value of the device to be powered, it is determined whether the device to be powered needs power supply.
[0048] In this embodiment, the smart box applies a specific voltage (such as 5-12V) to the device to be powered, and observes the current value to determine the impedance of the device to be powered. Impedance is a physical quantity that represents the performance of a component or the electrical performance of a circuit. The ratio of the peak voltage (or effective value) across a passive circuit in an AC circuit to the peak current (or effective value) passing through the circuit is called impedance. When the voltage is constant, the greater the impedance, the smaller the current, and the impedance has a limiting effect on the current. The impedance value is compared with the preset impedance threshold. If the impedance value is greater than the preset impedance threshold, it is determined that the device to be powered needs power.
[0049] In an optional implementation manner of the first aspect of the present invention, if power supply is required, the smart box supplies power to the powered device through the PoE interface, including:
[0050] If power supply is required, the power supply level of the device to be powered is determined according to the impedance value of the device to be powered; the smart box supplies power to the device to be powered through the PoE interface according to the power supply level.
[0051] In this embodiment, different power supply levels are first set for the smart box, and then the impedance value of the device to be powered is detected through the PoE interface of the smart box. Whether to power the device to be powered is determined based on the impedance value. If power supply is required, the power supply level corresponding to the impedance value is obtained by checking the preset power supply list. According to the power supply level, the smart box provides corresponding power supply to the powered device through the PoE interface.
[0052] In an optional implementation of the first aspect of the present invention, before detecting the impedance value of the device to be powered corresponding to the smart box through the PoE interface of the smart box, the method further includes:
[0053] Push the web control interface; open the PoE interface of the smart box through the web control interface; detect the impedance value of the device to be powered corresponding to the smart box through the PoE interface.
[0054] In this embodiment, the smart box power supply management system pushes a web control interface, and the PoE interface of each smart box can be turned on and off through the web control interface. The PoE interface of each smart box can be turned on and off by clicking the disable / enable button, and the PoE interface status can also be viewed on the web control interface. Through the PoE interface, the impedance value of the device to be powered corresponding to the smart box is detected.
[0055] See also Figure 2 , an embodiment of the smart box power supply system in the embodiment of the present invention includes:
[0056] The smart box 30 receives a power supply request, and turns on the PoE function of the smart box 30 according to the power supply request; the power supply module 20 detects the impedance value of the device 10 to be powered corresponding to the smart box, and determines whether the device 10 to be powered needs power based on the impedance value; if power supply is required, the smart box 30 supplies power to the device 10 to be powered through the power supply module 20; the power supply equipment management module 40 obtains the power supply status of the smart box 30 and displays the power supply status.
[0057] In this embodiment, the smart box 30 receives a power supply request sent by the user, and turns on the PoE function of the smart box 30 according to the power supply request; the power supply module 20 detects the current value of the device to be powered 10 through the PoE interface of the smart box 30 to determine the impedance value of the device to be powered 10, and determines whether the device to be powered 10 needs power according to the impedance value and a preset impedance threshold; if power supply is required, the power supply level is determined, and then the power supply module 20 uses the PoE interface to power the device to be powered 10 according to the power supply level; the power supply management module 40 obtains the power supply status of the smart box 30, and displays the power supply status on the interactive interface.
[0058] In an optional implementation of the second aspect of the present invention, the power supply module 20 includes a PoE interface, which is connected to the network port of the smart box 30 to supply power to the device 10 to be powered at the network port of the smart box 30 .
[0059] In this embodiment, the power supply module 20 includes a PoE interface, which is connected to the network port of the smart box 30. The PoE interface provides Ethernet power supply function, and supplies power to the device 10 to be powered at the network port of the smart box 30, following the support of 802.3AF and 802.3AT. When the network port is inserted into the PoE interface, the PoE interface will detect whether the device is a powered device that needs power, that is, PD, by detecting the voltage. If it is detected as a powered device, the device will be powered. If it is not detected as a power supply device, it will not be powered. The management of the PoE function is achieved by connecting the main control CPU of the smart box 30 with the I2C interface of the PSE chip to control and manage PoE.
[0060] In an optional implementation of the second aspect of the present invention, the power supply module 20 also includes a PSE chip board, which is arranged on the main board of the smart box 30. The smart box 30 is connected to the power supply module 20 through the I2C interface in the main board and the PSE chip board to read the register information of the power supply module 20.
[0061] In this embodiment, the power supply module 20 also includes a PSE chip board. The main PSE chip of PoE is made into a buckle board, which is buckled on the main board of the smart box 30. The smart box 30 is connected to the power supply module 20 through the internal I2C interface of the mainboard CPU and the PoE chip board, and can directly read the register information of the power supply module 20, so as to control and query
[0062] In an optional implementation of the second aspect of the present invention, the power supply equipment management module obtains the power supply status in the register information of the power supply module 20 through the main board of the smart box 30 and the I2C interface in the PSE chip board.
[0063] In this embodiment, the power supply equipment management module reads the register information of the PSE chip through the I2C interface between the mainboard CPU and the PSE chip board, obtains the power supply voltage and current, encapsulates the data in the API interface, calls the API through the web front-end interface to obtain the information, and then displays it on the display interface.
[0064] Figure 3 It is a structural diagram of a smart box power supply device provided by an embodiment of the present invention. The smart box power supply device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the smart box power supply device 500. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the smart box power supply device 500.
[0065] The smart box-based power supply device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, Free BSD, etc. Those skilled in the art will appreciate that Figure 3 The structure of the smart box power supply device shown does not constitute a limitation on the smart box power supply device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0066] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the smart box power supply method.
[0067] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0068] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.
[0069] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for powering a smart box, characterized in that: The smart box power supply method comprises: The smart box receives a power supply request, and according to the power supply request, turns on the PoE function of the smart box; Detecting the impedance value of the device to be powered corresponding to the smart box through the PoE interface of the smart box, and judging whether the device to be powered needs power supply according to the impedance value; If power supply is required, the smart box supplies power to the device to be powered through the PoE interface; The power supply status of the smart box is displayed through the interactive interface of the smart box; Before detecting the impedance value of the device to be powered corresponding to the smart box through the PoE interface of the smart box, the method further includes: pushing a web control interface; opening the PoE interface of the smart box through the web control interface; detecting the impedance value of the device to be powered corresponding to the smart box through the PoE interface; controlling the opening and closing of the PoE interface of each smart box through the web control interface, wherein the PoE interface of each smart box is opened and closed by clicking the disable / enable button, and at the same time, the PoE interface status is checked on the web control interface; after the smart box is powered successfully, the PoE information is simultaneously reported to the management platform of the device through the MQTT protocol, and the PoE information is displayed through the interactive interface of the management platform, so as to timely check the power supply voltage and current of the smart box; The detecting, through the PoE interface of the smart box, the impedance value of the device to be powered corresponding to the smart box, and judging whether the device to be powered needs power supply according to the impedance value includes: Detecting the current value of the device to be powered corresponding to the smart box through the PoE interface of the smart box; Obtaining an impedance value of the device to be powered according to a current value of the device to be powered; Determining whether the device to be powered needs power supply according to the impedance value of the device to be powered; The determination of whether the device to be powered needs power is performed by detecting the impedance value between the PoE power supply pins through a preset detection voltage; the smart box applies the preset detection voltage to the device to be powered, and determines the impedance value of the device to be powered by the current value of the device to be powered during the detection; the impedance value is compared with a preset impedance threshold, and if the impedance value is greater than the preset impedance threshold, it is determined that the device to be powered needs power; If power supply is required, the smart box supplies power to the device to be powered through the PoE interface, including: If power supply is required, determining the power supply level of the device to be powered according to the impedance value of the device to be powered; The smart box supplies power to the device to be powered through the PoE interface according to the power supply level.
2. A smart box power supply system, comprising a smart box, a device to be powered, a power supply equipment management module, and a power supply module; The smart box receives a power supply request, and turns on the PoE function of the smart box according to the power supply request; The power supply module detects the impedance value of the device to be powered corresponding to the smart box, and determines whether the device to be powered needs power supply according to the impedance value; if power supply is required, the smart box supplies power to the device to be powered through the power supply module; The power supply equipment management module obtains the power supply status of the smart box and displays the power supply status; The smart box power supply system pushes a web control interface; through the web control interface, the PoE interface of the smart box is turned on; through the PoE interface, the impedance value of the device to be powered corresponding to the smart box is detected; through the web control interface, the PoE interface of each smart box is controlled to be turned on and off, wherein, The PoE interface of each smart box can be turned on and off by clicking the disable / enable button, and the PoE interface status can be checked on the web control interface; after the smart box is powered successfully, the PoE information is reported to the device management platform through the MQTT protocol, and the PoE information is displayed through the interactive interface of the management platform, so as to timely check the power supply voltage and current of the smart box; The power supply module also includes a PSE chip board, which is arranged on the main board of the smart box. The smart box is connected to the power supply module through the I2C interface in the main board and the PSE chip board to read the register information of the power supply module; the power supply equipment management module obtains the power supply status in the register information of the power supply module through the main board of the smart box and the I2C interface in the PSE chip board to obtain the power supply voltage and current, and then encapsulates the voltage and current data in the API interface, obtains the information through the web front-end interface calling the API, and then displays it on the display interface; The determination of whether the device to be powered needs power is performed by detecting the impedance value between the PoE power supply pins through a preset detection voltage; the smart box applies the preset detection voltage to the device to be powered, and determines the impedance value of the device to be powered by the current value of the device to be powered during the detection; the impedance value is compared with a preset impedance threshold, and if the impedance value is greater than the preset impedance threshold, it is determined that the device to be powered needs power; If power supply is required, the power supply level of the device to be powered is determined according to the impedance value of the device to be powered; the smart box supplies power to the device to be powered through the PoE interface according to the power supply level; The power supply module includes a PoE interface, which is connected to the network port of the smart box to supply power to the device to be powered at the network port of the smart box; when the network port is inserted into the PoE interface, the PoE interface detects whether the device to be powered is a powered device that needs power by detecting the voltage. If it is detected as the powered device, the device is powered; if it is not detected as the powered device, the device is not powered. The management of the PoE function is achieved by connecting the main control CPU of the smart box to the I2C interface in the PSE chip board to control and manage the PoE function.
3. A smart box power supply device, characterized in that: The smart box power supply device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory to enable the smart box power supply device to execute the smart box power supply method according to claim 1.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the smart box power supply method as claimed in claim 1 is implemented.
Citation Information
Patent Citations
Storage device and power supply method thereof
CN103488268A
WLAN (wireless local area network)-based communication method and system
CN104519513A
Power supply control method and power supply control apparatus
CN109660365A
Remote POE power supply device and power supply method
CN112886710A
Ethernet card for connection to a local network, for controlling connection to a communication terminal
US20050110618A1