Power distribution method and device, electronic equipment and storage medium
By obtaining the connection location information and communication address table of the circuit breaker module, and generating and sending communication instructions, an automated control of the distribution system is realized, solving the problem of low intelligence in the existing technology, and supporting automated power up and down and power metering.
Patent Information
- Application Number
- CN202411975982.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-30
AI Technical Summary
The DC distribution equipment of existing communication base stations is low in intelligence, and it is impossible to realize automatic up-down power control and power measurement, and cannot automatically control according to preset control strategies.
By acquiring the connection position information of the circuit breaker module, determining the communication address of the circuit breaker module based on the connection position information and the preset communication address table, determining the connection status information, generating communication instructions and sending them to the circuit breaker module, so that it distributes power to the load device according to the instructions.
It realizes automatic control of the distribution system according to the preset control strategy issued by the upper computer, improves the intelligence of the distribution equipment, and supports automatic up-and-down power and power metering.
Smart Images

Figure CN119728320A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of operation and maintenance, and specifically relates to a power distribution method, device, electronic equipment and storage medium. Background Art
[0002] The current operation and maintenance mode of communication base stations has put forward the demand for intelligent power distribution systems. The traditional DC power distribution equipment in the communication industry has a low degree of intelligence and cannot realize automatic power on and off control and directly realize power metering. Under the new situation, it is required that the power distribution device can be automatically controlled according to certain control strategies.
[0003] Therefore, a method is needed to realize automatic power distribution control according to the preset control strategy issued by the host computer. Summary of the invention
[0004] The embodiment of the present application provides a power distribution method, which can realize an automated power distribution control method according to a preset control strategy issued by a host computer or an operator.
[0005] In a first aspect, an embodiment of the present application provides a power distribution method, the method comprising: obtaining connection position information of multiple circuit breaker modules, the connection position information being used to characterize relevant information of the connection position between the circuit breaker modules and a main control module; determining a communication address of each circuit breaker module based on the connection position information of each circuit breaker module and a preset first communication address table, the first communication address table storing a correspondence between the connection position information and the communication address; determining connection status information of each circuit breaker module based on the connection position information, so that an operator can generate a communication instruction for each circuit breaker module based on the connection status information; and sending the communication instruction to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load device according to the communication instruction.
[0006] In the second aspect, an embodiment of the present application provides a power distribution device, which includes: a first acquisition module, used to acquire connection position information of multiple circuit breaker modules, the connection position information is used to characterize relevant information of the connection position of the circuit breaker module and the main control module; a first determination module, used to determine the communication address of each circuit breaker module based on the connection position information of each circuit breaker module and a preset first communication address table, the first communication address table stores the correspondence between the connection position information and the communication address; a first sending module, used to determine the connection status information of each circuit breaker module based on the connection position information, so that an operator can generate a communication instruction for each circuit breaker module based on the connection status information; a second sending module, used to send the communication instruction to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load equipment according to the communication instruction.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0010] In an embodiment of the present application, connection position information of multiple circuit breaker modules is obtained, and the connection position information is used to characterize relevant information of the connection position between the circuit breaker module and the main control module; the communication address of each circuit breaker module is determined based on the connection position information of each circuit breaker module and a preset first communication address table, and the first communication address table stores the correspondence between the connection position information and the communication address; the connection status information of each circuit breaker module is determined based on the connection position information, so that the operator can generate a communication instruction for each circuit breaker module based on the connection status information; the communication instruction is sent to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load equipment according to the communication instruction, and can realize automatic power distribution control according to the preset control strategy issued by the upper computer. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 It is a flow chart of a power distribution method provided in an embodiment of the present application; Figure 2 is a schematic diagram of a voltage divider circuit provided in an embodiment of the present application; Figure 3 is a flow chart of a second power distribution method provided in an embodiment of the present application; Figure 4 It is a schematic diagram of display number setting provided in an embodiment of the present application; Figure 5 is a flow chart of a third power distribution method provided in an embodiment of the present application; Figure 6 is a structural schematic diagram of a power distribution device provided in an embodiment of the present application; Figure 7 It is a structural schematic diagram of a power distribution equipment provided in an embodiment of the present application. DETAILED DESCRIPTION
[0012] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0013] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0014] The power distribution method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0015] Figure 1 A power distribution method provided by an embodiment of the present invention is shown. The method can be executed by an electronic device, and the electronic device may include: a server and / or a terminal device, wherein the terminal device may be, for example, a vehicle-mounted terminal or a mobile phone terminal. In other words, the method can be executed by software or hardware installed in the power distribution device, and the method includes the following steps: Step 102: Acquire connection position information of multiple circuit breaker modules.
[0016] The connection position information is used to represent relevant information of the connection position between the circuit breaker module and the main control module.
[0017] The power distribution system obtains connection position information of multiple circuit breaker modules, wherein the connection position information is related information of the connection position when the circuit breaker module is connected to the main control module. That is, the power distribution system includes multiple circuit breaker modules and a main control module, and the main control module can be connected to multiple circuit breaker modules, and can be connected through multiple positions when connected.
[0018] Specifically, the connectable area in which the main control module can connect with multiple circuit breaker modules can be one or more. However, regardless of whether there are one or more connectable areas, there can be multiple positions for multiple circuit breaker modules to connect with a single connectable area, and when multiple circuit breaker modules are connected to the same connectable area, the circuit breaker module can be connected to the main control module through any position in the connectable area, wherein the connectable area is an area in the power distribution system that can be connected to the circuit breaker module. Furthermore, any connectable area can be divided into two parts, the positive busbar and the negative busbar, and the circuit breaker module includes not only a negative card slot connected to the negative busbar and a positive card slot connected to the positive busbar, but also a communication card slot connected to the main control module, thereby completing data communication between the circuit breaker module and the main control module.
[0019] More specifically, when the power distribution system obtains the connection position information of multiple circuit breaker modules, the connection position information of each circuit breaker module can be determined by user input, such as receiving the connection position information sent by the user through the position receiving module, or the connection position information of each circuit breaker module can be obtained through a preset position acquisition module. When the connection position information of each circuit breaker module is obtained through a preset position acquisition module or a position receiving module, the connection position information of each circuit breaker module can be obtained by the position acquisition module or the position receiving module set on each circuit breaker module, and the connection position information can be sent to the main control module, or the connection position information of each circuit breaker module can be directly obtained by the position acquisition module and the position receiving module set on the main control module.
[0020] Step 104: Determine the communication address of each of the circuit breaker modules based on the connection position information of each of the circuit breaker modules and a preset communication address table.
[0021] The communication address table stores the corresponding relationship between the connection location information and the communication address.
[0022] After determining the connection position information of each circuit breaker module, the power distribution system determines the communication address of each circuit breaker module based on the connection position information of each circuit breaker module and a preset communication address table, wherein the communication address corresponding to each connection position information is stored in the communication address table, so that the main control module communicates with each circuit breaker module according to the communication address. In other words, the communication address corresponding to each position is pre-set in the connectable area of the main control module, so that after the circuit breaker module is connected to the main control module and the connection position information is obtained, the communication address corresponding to the circuit breaker module can be determined according to the correspondence between the pre-set connection position and the communication address.
[0023] Specifically, when the communication address of each circuit breaker module is determined based on the connection position information of the circuit breaker module and the preset communication address table, it can be performed by the main control module of the power distribution system, that is, after the main control module obtains the connection position information, the main control module determines the corresponding communication address based on the connection position information. It can also be performed by the circuit breaker module of the power distribution system, that is, after the circuit breaker module obtains the connection position information, the circuit breaker module determines the corresponding communication address based on the connection position information. When the communication address is determined by the circuit breaker module, the circuit breaker module can send the communication address to the main control module or the main control module can obtain the communication address of the circuit breaker module.
[0024] Step 106: Determine connection status information of each of the circuit breaker modules based on the connection position information, so that an operator can generate a communication instruction for each of the circuit breaker modules based on the connection status information.
[0025] After determining the communication address of each circuit breaker module, the main control module in the power distribution system determines the connection status information of each circuit breaker module based on the connection position information, and the connection status information is used to represent the status information of the connected circuit breaker module, and more specifically, whether the circuit breaker module is normal. After determining the connection status information of each circuit breaker module, the power distribution system displays the connection status information of each connected circuit breaker module to each operator, so that the operator can generate a power distribution instruction for each connected circuit breaker module.
[0026] Specifically, the connection status information generated by the power distribution system can include not only the connection status of each circuit breaker module, but also the identity of each circuit breaker module, which is used to characterize the identity of each circuit breaker module, and can be generated by the power distribution system according to a preset generation rule, or can be determined according to the identity of each circuit breaker module. Furthermore, the operator can generate corresponding communication instructions for each circuit breaker module based on the identity of each circuit breaker module.
[0027] Step 108: Send the communication instruction to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load device according to the communication instruction.
[0028] After the main control module of the power distribution system receives the power distribution instruction issued by the operator, the main control module sends the power distribution instruction to the corresponding circuit breaker module according to the communication address. After each circuit breaker module receives the corresponding power distribution instruction, the circuit breaker module can distribute power to the load device according to the corresponding power distribution method in the power distribution instruction.
[0029] Specifically, the power distribution instruction sent by the host computer can include the power distribution time and / or the power distribution amount. The circuit breaker module can determine the time and / or the power distribution amount for the load device according to the power distribution time and / or the power distribution amount included in the power distribution instruction, and then perform the power distribution operation on the load device according to the determined power distribution instruction.
[0030] The power distribution method provided by an embodiment of the present invention obtains connection position information of multiple circuit breaker modules, wherein the connection position information is used to characterize relevant information of the connection position between the circuit breaker module and the main control module; determines the communication address of each circuit breaker module based on the connection position information of each circuit breaker module and a preset first communication address table, wherein the first communication address table stores the correspondence between the connection position information and the communication address; determines the connection status information of each circuit breaker module based on the connection position information, so that an operator can generate a communication instruction for each circuit breaker module based on the connection status information; sends the communication instruction to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load equipment according to the communication instruction, and can realize the method of automatic power distribution control according to the preset control strategy issued by the upper computer.
[0031] In one implementation, the step of obtaining the connection position information of the plurality of disconnecting modules (step 102) may include executing step A1: Step A1: obtaining a voltage division value generated when each of the circuit breaker modules is connected to the main control module and connected to a preset voltage division circuit.
[0032] Wherein, when the connection positions of the circuit breaker module and the main control module are different, the voltage division values generated in the voltage division circuit are different.
[0033] The power distribution system obtains the voltage division value generated when each circuit breaker module is connected to the preset voltage division circuit while being connected to the main control module, wherein the voltage division value generated in the voltage division circuit is different when the connection position of the circuit breaker module and the main control module is different. That is to say, when the circuit breaker module is connected to the main control module, it is also connected to the preset voltage division circuit at the same time, and the main control module obtains the voltage division value obtained in the preset voltage division circuit.
[0034] Specifically, the voltage-dividing circuit is set based on the connectible area on the main control module. When the connection position of the circuit breaker module and the main control module is different, its connection position with the voltage-dividing circuit is also different. Moreover, when the connection position of the circuit breaker module and the voltage-dividing circuit is different, the voltage-dividing value generated by the connection in the voltage-dividing circuit is also different. That is, when the connection position of the circuit breaker module and the main control module is different, the voltage-dividing value obtained by the circuit breaker module from the voltage-dividing circuit is also different. The communication address of each circuit breaker module is determined based on the connection position information of each circuit breaker module and the preset first communication address table (step 104), and step A2 may be performed: Step A2: determining the communication address of each of the circuit breaker modules based on the voltage division value of each of the circuit breaker modules and a preset second communication address table.
[0035] The second communication address table stores the corresponding relationship between each of the voltage division values and the communication address.
[0036] After the power distribution system determines the voltage division value of the circuit breaker module in the voltage division circuit, the corresponding communication address is determined according to the voltage division value. Because the circuit breaker module has different voltage division values at different connection positions with the voltage division circuit, and the connectable area of the main control module has positions corresponding to the positions in the voltage division circuit, that is, each position in the connectable area has a one-to-one correspondence with each position in the voltage division circuit, so when the connection position of the circuit breaker module is determined according to the voltage value of the circuit breaker module, the communication address corresponding to the circuit breaker module can be determined according to the connection position (or voltage value) of each circuit breaker module and the communication address corresponding to each voltage value in the second communication address table.
[0037] Specifically, the circuit breaker module can establish RS485 communication with the main control module through the monitoring bus (there are multiple RS485 interfaces in the main control module). Since RS485 communication must rely on the communication address, three groups of voltage-reducing circuits can be arranged on the monitoring bus of the main control module. Each group of voltage-reducing circuits consists of five equal-value resistors, R1, R2, R3, R4, and R5. A 5V voltage is connected to R5. When the circuit breaker module is connected between R1 and R2, the voltage is 1V. When the circuit breaker module is connected between R2 and R3, the voltage is 2V. When the circuit breaker module is connected between R3 and R4, the voltage is 3V. When the circuit breaker module is connected between R4 and R5, the voltage is 4V. Then, when the circuit breaker module collects a voltage of 1V, it can set its own RS485 communication address to 1. When the circuit breaker module collects a voltage of 2V, it can set its own RS485 communication address to 2. By analogy, when the circuit breaker module collects a voltage of 4V, it can set its own RS485 communication address to 4. The same is true for other groups.
[0038] In one implementation, the step of obtaining the voltage division value generated when each of the circuit breaker modules is connected to the main control module and connected to a preset voltage division circuit (step A1) may include executing steps B1-B3: Step B1: obtaining a first width and a second width of a connectable area respectively occupied by the first circuit breaker module and the second circuit breaker module when they are connected to the main control module.
[0039] The power distribution system obtains the first width and the second width of the connectable area occupied by the first circuit breaker module and the second circuit breaker module when they are connected to the main control module. That is, the main control module can be connected to two different circuit breaker modules, namely the first circuit breaker module and the second circuit breaker module, and the widths occupied by different circuit breaker modules when connected to the main control module are different (the width of the connectable area that can be connected to the circuit breaker module is a fixed value), namely, the width occupied by the first circuit breaker module is the first width, and the width occupied by the second circuit breaker module is the second width.
[0040] Specifically, the first width and the second width are different due to the different capacities of the first circuit breaker module and the second circuit breaker module. When the first width is greater than the second width, it indicates that the capacity of the first circuit breaker module is greater than the capacity of the second circuit breaker module.
[0041] Step B2: Setting a voltage dividing circuit for a connectable area that can be connected to the main control module.
[0042] The distance between the resistors in the voltage divider circuit is a first distance, and the first distance is determined based on the greatest common divisor of the first width and the second width.
[0043] After determining the first width and the second width occupied by the first circuit breaker module and the second circuit breaker module to connect to the connectable area of the main control module, the power distribution system can set a voltage divider circuit for the connectable area of the main control module according to the first width and the second width, wherein the voltage divider circuit includes a plurality of circuits (the number of resistors can be the same as the maximum number of circuit breaker modules that can be connected to the connectable area), and the distance between each resistor in the voltage divider circuit is a first distance, which is determined based on the greatest common factor of the first width and the second width, and the total width of the voltage divider circuit is determined based on the least common multiple of the first width and the second width. Furthermore, because the connection position of the circuit breaker module and the connectable area of the main control module needs to be determined by the voltage divider value of the circuit breaker module in the voltage divider circuit, the connectable area can be set to be the same as the total width of the voltage divider circuit. For example, when the first width of the first circuit breaker module is 20 mm and the second width of the second circuit breaker module is 30 mm, the length of the connectable area and the voltage divider circuit can be set to 240 mm. At this time, when only the first circuit breaker module is connected in the connectable area, 12 modules can be connected; when only the second circuit breaker module is connected in the connectable area, 8 modules can be connected; when the first circuit breaker module and the second circuit breaker module are mixed and connected in the connectable area, any connection can be made when the total length of multiple first circuit breaker modules and the total length of multiple second circuit breaker modules do not exceed the width of the connectable area, such as connecting 6 first circuit breaker modules and 4 second circuit breaker modules.
[0044] Specifically, the first distance is determined according to the greatest common divisor of the first width and the second width, and the total length of the voltage divider circuit is determined according to the least common multiple of the first width and the second width. This not only eliminates the possibility of the first circuit breaker module and the second circuit breaker module appearing at the same position, but also ensures that the total length of the voltage divider circuit can fully connect multiple first circuit breaker modules and / or multiple second circuit breaker modules.
[0045] Step B3: Acquire a first divided voltage value and a second divided voltage value respectively generated when the first circuit breaker module and the second circuit breaker module are connected to the voltage divider circuit.
[0046] After setting up the voltage divider circuit, the power distribution system obtains a first voltage divider value determined by connecting the first circuit module to the voltage divider circuit and a second voltage divider value determined by connecting the second circuit breaker module to the voltage divider circuit, and then determines the connection position information of the first circuit breaker module according to the first voltage divider value of the first circuit breaker module, and determines the connection position information of the second circuit breaker module according to the second voltage divider value of the second circuit breaker module.
[0047] Specifically, Figure 2 This is a schematic diagram of a voltage divider circuit provided in an embodiment of the present application specification. Figure 2 As shown, when the width of the connectable area of the main control module is 240mm, three groups of voltage divider circuits are set in the connectable area, the width of each group of voltage divider circuits is 80mm, the first width of the first circuit breaker module is 20mm, the second width of the second circuit breaker module is 30mm, and the first distance is twice the greatest common factor, that is, 20mm. The first resistor is set at the left starting end of the voltage divider resistor, and another 4 resistors are set every 20mm, that is, the positions of the 5 resistors are 0mm, 20mm, 40mm, 60mm, and 80mm respectively. The connection point between the first circuit breaker module and / or the second circuit breaker module and the connectable area is the leftmost position of the circuit breaker module, as shown in FIG. Figure 2 When the first circuit breaker module is connected in the first area (0-20 mm), the voltage obtained is 1 V, and when the second circuit breaker module is connected in the second area, the voltage obtained is 2 V, and so on.
[0048] In one implementation, the power distribution instruction includes one or more of an authorized connection instruction, a first power distribution instruction, and a second power distribution instruction; the authorized connection instruction is used to instruct the circuit breaker module to enter a connection state based on a preset connection strategy; the first power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device based on a preset first power distribution strategy and the backup battery voltage condition; the second power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device based on a preset second power distribution strategy and the AC power supply condition.
[0049] The main control module in the power distribution system can receive the power distribution instruction sent by the host computer or the operator, and send the received power distribution instruction to the circuit breaker module corresponding to the power distribution instruction, wherein the power distribution instruction received by the main control module can include one or more of the authorization connection instruction, the first power distribution instruction and the second power distribution instruction. The authorization connection instruction is an instruction used to indicate that the circuit breaker module enters the connection state based on the preset connection strategy. The preset connection strategy can be a pre-set connection strategy or a connection strategy temporarily set by the user or operator in the host computer. The connection strategy can be connected at a preset time or when a preset condition is met. After entering the connection state, the circuit breaker module can perform power distribution operations on the load equipment through the mains power supply or the backup battery according to the preset strategy. The first power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device through the backup battery based on the preset first power distribution strategy and the voltage of the backup battery. The power distribution strategy can be to distribute power to the load device through the backup battery according to the preset time, or to distribute power to the load device according to the preset power (such as providing a preset amount of power to the load device), or to distribute power to the load device according to preset conditions (such as distributing power to the load device through the backup battery when there is no external power supply to the load device). The second power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device through the mains power supply based on the preset second power distribution strategy and the mains power supply. The power distribution strategy can be to distribute power to the load device through the mains according to the preset time, or to distribute power to the load device according to preset conditions.
[0050] That is to say, the power distribution system can obtain the power supply information of the power supply, such as determining whether the power supply is a mains power supply or a backup battery, and then execute different power distribution instructions according to different power supply information, such as when the power supply is a backup battery, the load device is distributed through the first power distribution instruction, and when the power supply is a mains power supply, the load device is distributed through the second power distribution instruction. Further, when the power supply is a backup battery, the first power distribution instruction may include a first distribution electronic instruction, a second distribution electronic instruction, and a third distribution electronic instruction, wherein the first distribution electronic instruction is used to instruct each circuit breaker module to distribute power according to the power distribution priority of each load device when the backup battery is normal (the power distribution priority is pre-set according to the importance of each load device), the second distribution electronic instruction is used to instruct the circuit breaker module to distribute power to the load device when the backup battery voltage is greater than a preset threshold, and the third distribution electronic instruction is used to instruct the circuit breaker module to distribute power to the load device when it is determined that the power supply is converted from a backup battery to a mains power supply. When the power supply is AC power, the second power distribution instruction may include a fourth power distribution instruction and a fifth power distribution instruction. The fourth power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device according to a preset time, and the fifth power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device according to a preset power saving strategy, such as instructing the circuit breaker module to obtain the ambient temperature and distribute power to the load device when the ambient temperature is within the power distribution temperature range (such as distributing power to the air conditioning load when the ambient temperature is too high).
[0051] Furthermore, when setting the power distribution strategy, the power distribution strategy can be comprehensively set according to the backup battery and the mains power supply, such as setting the power distribution duration on-off control strategy, the low-voltage disconnection control strategy, the backup point power on-off control strategy, and the exemption period on-off control strategy. Among them, the low-voltage disconnection control strategy is used to enable each circuit breaker module to independently set the low-voltage disconnection voltage. When the mains power is cut off and the battery pack is used for backup power, when the set low-voltage disconnection voltage is reached, the corresponding circuit breaker module is disconnected; when the external mains power is received, the corresponding circuit breaker module is opened. The low-voltage disconnection voltage in the low-voltage disconnection control strategy must not be lower than the battery protection voltage, so that the disconnection can be performed when the voltage of the backup battery is less than the threshold. When the circuit breaker module does not set the low-voltage disconnection voltage, the corresponding action is performed according to the battery protection voltage, so that the equipment has a protection function to avoid the circuit breaker module from repeatedly turning on and off at the disconnection voltage critical value. The backup power on-off control strategy is used to enable each circuit breaker module to independently set the backup power as needed. When the city power is cut off and the battery pack is used for backup power, when the set backup power is reached, the corresponding circuit breaker module is disconnected. When the external city power is incoming, the corresponding circuit breaker module is closed. The exemption period on-off control strategy is used to determine whether the current is an exemption period (pre-set period) when providing backup power (city power outage, oil generator is not generating electricity). During the exemption period, conventional power supply is used when the city power is normal, the equipment is not backed up when the city power is cut off, and the equipment supplies power to the load normally after the city power is restored. The system can set no less than 1 group of exemption periods, and each circuit breaker module can independently set whether to enable the exemption period. When the exemption period is not set, there is no exemption period by default.
[0052] Specifically, the circuit breaker module can not only determine the on state based on the authorized on instruction, but also determine the on state based on the externally set switch, that is, when the external switch is in the on state, it is determined to be in the on state, and when the external switch is in the off state, it is determined to be in the off state. Further, the on-state strategy set by the circuit breaker module can be an authorized on-off control strategy, a manual on-off control strategy, and a remote on-off control strategy. Among them, the authorized on-off control strategy is used to enable each circuit breaker module to independently realize on-off control according to the authorized state, and the default is the unauthorized state. It is turned on in the authorized state and disconnected in the unauthorized state. It is turned on in the temporary authorized state, and disconnected and converted to the unauthorized state after 14 days (i.e. 336 hours, which can be set). The manual on-off control strategy is used to enable each circuit breaker module to realize on-off control through a local manual control switch. In the authorized and temporary authorized states, the manual on-off control function is valid, and it must be manually turned on after manual disconnection, and it must not be turned on in other ways or strategies. After manual turning on, the original strategy continues to be executed. In the unauthorized state, the manual on-off control function is invalid. The remote on-off control strategy is used to enable each circuit breaker module to implement remote on-off control through control instructions issued by the host computer. By default, the remote on-off control function is valid in the authorized and temporary authorized states, and is invalid in the unauthorized state (it can also be set to be valid according to the preset strategy). After remote disconnection, it must be remotely opened, and it cannot be opened by other methods or strategies. After remote opening, the original strategy will continue to be executed.
[0053] Figure 3 is a flow chart of a second power distribution method provided in an embodiment of this specification, such as Figure 3 As shown, the schematic diagram includes: Step 302: Obtain a first width and a second width of a connectable area respectively occupied by the first circuit breaker module and the second circuit breaker module when they are connected to the main control module.
[0054] Step 304: Setting a voltage divider circuit for a connectable area that can be connected to the main control module.
[0055] The distance between the resistors in the voltage divider circuit is a first distance, and the first distance is determined based on the greatest common divisor of the first width and the second width.
[0056] Step 306: Acquire a first divided voltage value and a second divided voltage value respectively generated when the first disconnecting module and the second disconnecting module are connected to the voltage dividing circuit.
[0057] Wherein, when the connection positions of the circuit breaker module and the main control module are different, the voltage division values generated in the voltage division circuit are different.
[0058] Step 308: Determine the corresponding connection position information based on the voltage division value of each of the circuit breaker modules.
[0059] The connection position information is used to represent relevant information of the connection position between the circuit breaker module and the main control module.
[0060] Step 310: Determine the communication address of each of the circuit breaker modules based on the connection position information of each of the circuit breaker modules and a preset first communication address table.
[0061] The first communication address table stores the corresponding relationship between the connection location information and the communication address.
[0062] Step 312: Determine connection status information of each of the circuit breaker modules based on the connection position information, so that an operator can generate a communication instruction for each of the circuit breaker modules based on the connection status information.
[0063] Step 314: Send the communication instruction to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load device according to the communication instruction.
[0064] This embodiment pre-sets a voltage-dividing circuit in the connectable area, so that when the circuit breaker module is connected to any position of the connectable area, the circuit breaker module can determine its own address information according to the voltage-dividing value obtained from the voltage-dividing circuit according to its connection with the connectable area, and then complete the communication with the main control module, which not only realizes the hot-swappable effect of the circuit breaker module, but also increases the fault tolerance when the circuit breaker module is connected to the main control module.
[0065] In one implementation, steps C1-C2 may also be performed: Step C1: setting a plurality of connection points for a connectable area that can be connected to the main control module.
[0066] The connection points are used to detect the connection status of the circuit breaker module, and the distance between the connection points is a second distance, which is determined based on the length of the connectable area occupied by the circuit breaker module when connected to the main control module.
[0067] The power distribution system can set a plurality of connectable points for the connectable area of the main control module, wherein the connectable points are used to detect the connection status of the circuit breaker module, and the distance between each connection point is a second distance, which is determined based on the length of the connectable area occupied by the circuit breaker module when connected to the main control module (i.e., the third length), such as the second distance is less than the third length. When the second distance is less than the third length, it can be ensured that the circuit breaker module will definitely connect to the connection point when connected to the connectable area, so that the main control module determines the connection status of the circuit breaker module according to the connection information of the connection point.
[0068] Specifically, when the circuit breaker modules connected to the main control module are multiple types of circuit breaker modules, such as a first circuit breaker module and a second circuit breaker module, the second distance can be determined based on the first width of the first circuit breaker module and the second width of the second circuit breaker module, such as determining the second distance based on the greatest common multiple of the first width and the second width.
[0069] Step C2: configuring a display number for each of the connection points, so that the operator can determine the operation information of the circuit breaker module corresponding to the display number based on the display number.
[0070] After setting a plurality of connection points for the connectable area, the power distribution system pre-sets a display number for each connection point so that an operator can determine the operation information of the circuit breaker module corresponding thereto according to the display number.
[0071] Specifically, the power distribution system sets display numbers for each connection point in sequence in advance, and the sequence can be from top to bottom or from left to right. After setting the display numbers for each connection point in sequence, the power distribution system can determine the display number of the circuit breaker module according to the relevant information of the connection point each time a circuit breaker module is connected, and display the display number and the operating information of the circuit breaker module corresponding to the display number to the operator. After the operator determines the display number of the circuit breaker module according to the connection status of the circuit breaker module in the connectable area, the operating information of each circuit breaker module corresponding to the display number can be determined in the display area of the main control module according to the display number.
[0072] More specifically, Figure 4 This is a schematic diagram of a display number setting provided in an embodiment of the present application specification, such as Figure 4 As shown, when the first width of the first circuit breaker module is 20mm, the second width of the second circuit breaker module is 30mm, and the length of the connectable area is 240mm, the second distance can be determined to be 10mm, so a gold finger connection point can be set every 10mm in the monitoring bus, for a total of 24 gold finger connection points. When the circuit breaker module is connected to the first gold finger connection point, it is numbered 1, and the corresponding number 1 can be displayed on the device housing at this time. When the eighth gold finger connection of the circuit breaker module is connected to the second circuit breaker module, it is numbered 8, and the number displayed on the device housing at this time is the corresponding number 8. When the sixteenth gold finger connection of the circuit breaker module is connected to the second circuit breaker module, it is numbered 16, that is, no matter where the circuit breaker module is inserted, it can correspond to the circuit breaker module number.
[0073] The embodiment of the present application numbers the connected circuit breaker modules in a preset order (for example, from left to right) through preset connection points, and associates and displays the display number obtained by the numbering with the operating information of the circuit breaker module corresponding to the display number, so that the user can determine the display number of the circuit breaker module according to the connection status of the circuit breaker module, and then determine the operating information of each circuit breaker module through the displayed associated information.
[0074] In one implementation, steps D1-D3 may also be performed: Step D1: Obtain a first current value of the circuit breaker module.
[0075] The first current value is the sum of the distribution current values through the multiple circuit breaker modules when the backup battery distributes power to the multiple load devices through the main control module connected thereto and the multiple circuit breaker modules connected to the main control module.
[0076] The power distribution system obtains a first current value of the circuit breaker module connected to the main control module, and the first current value is the sum of the distribution current values of the backup battery through the main control module connected thereto and the multiple circuit breaker modules connected thereto when the backup battery distributes power to the multiple load devices. That is to say, when the backup battery supplies power to the multiple load devices, the current in the backup battery first flows through the main control module to the multiple circuit breaker modules, and then is controlled by each circuit breaker module to supply power to the load devices.
[0077] Specifically, when the power distribution system obtains the first current value of the circuit breaker module, it can first determine the first current sub-values passing through each circuit breaker module, and then determine the sum of the first current sub-values added together as the first current value, that is, the sum of the distribution current sub-values passing through multiple circuit breaker modules.
[0078] Step D2: Obtain a second current value of the main control module.
[0079] The second current value is a distribution current value passing through the main control module when the backup battery distributes power to the multiple load devices through the main control module connected thereto and the multiple circuit breaker modules connected to the main control module.
[0080] The power distribution system obtains the second current value of the main control module, wherein the second current value is the current value passing through the main control module when the backup battery supplies power to the load device through the main control module and the circuit breaker module. That is to say, the current in the backup battery first passes through a circuit breaker module, and then passes through multiple circuit breaker modules to supply power to the load device, and the power distribution system obtains the current value passing through the main control module.
[0081] Step D3: When the difference between the first current value and the second current value is smaller than a preset threshold, it is determined that the power distribution of the power distribution system is normal.
[0082] After the power distribution system obtains the first current value and the second current value, the power distribution system determines the difference between the first current value and the second current value, and determines that the power distribution system is performing normal power distribution work when the difference is less than a preset threshold value, and when the difference is greater than the preset threshold value, it can be determined that there is a privately connected load in the power distribution system.
[0083] Specifically, when the power distribution system is performing power distribution work normally, the current flows from the backup battery to the main control module, and then flows through each circuit breaker module through the main control module, and then the circuit breaker module controls the power distribution to the load equipment connected thereto. It can be seen that when the power distribution system is operating normally, the current value passing through the main control module is the same as the sum of the current values passing through each circuit breaker module, and considering that the acquired current may have errors, it can be determined that the power distribution system is distributing power normally when the difference between the current value passing through the main control module (the second current value) and the sum of the current values passing through each circuit breaker module (i.e., the first current value) is less than the preset threshold, and when the difference is greater than the preset threshold, it means that the current passing through the main control module does not flow entirely through each circuit breaker module, that is, there is a privately connected device that is powered by the backup battery and the main control module, wherein the preset threshold can be set according to actual conditions.
[0084] More specifically, Hall current sensors can be installed in the main control module and the circuit breaker module. Both the main control module and the circuit breaker module can obtain the current passing through them through the installed sensors, so that the power distribution system can determine whether there are any unauthorized devices based on the current passing through the main control module and the circuit breaker module, and perform alarm processing when there are any unauthorized devices, so that the operator can perform corresponding operations.
[0085] In one implementation, steps E1-E3 may also be performed: Step E1: Acquire first power data sent by the third disconnecting module at a first moment and second power data sent at a second moment.
[0086] The third circuit breaker module is the circuit breaker module connected to the main control module via a first position, the first position is any position in a connectable area that can be connected to the main control module, and the second moment is later than the first moment.
[0087] The power distribution system can also obtain the first power data sent by the third circuit breaker module at the first moment, and the second power data sent at the second moment, wherein the third circuit breaker module is a circuit breaker module connected to the main control module through the first position in the connectable area, and the first position is any position in the connectable area. In other words, the main control module obtains the power data sent twice in succession by the circuit breaker module connected to any connection position in the connectable area, namely, the first power data and the second power data.
[0088] Specifically, the circuit breaker module can acquire and store electric energy data in real time after being turned on, while the main control module acquires the electric energy data of the circuit breaker module from the circuit breaker module in real time, and determines the electric energy data with an earlier acquisition time as the first electric energy data and the electric energy data with a later acquisition time as the second electric energy data according to the order of acquisition time.
[0089] Step E2: determining whether the third circuit breaker module at the first position has been replaced based on the first power data and the second power data.
[0090] After determining the first power data and the second power data, the power distribution system determines whether the third circuit breaker module linked through the first position has been replaced based on the first power data and the second power data. In other words, the power distribution system determines whether the circuit breaker module at the same position has been replaced based on the first power data and the second power data sent by the circuit breaker module at the same position.
[0091] Specifically, the first electric energy data and the second electric energy data may include the operation strategy of the circuit breaker module and the working data generated during the operation, wherein the operation strategy of the circuit breaker module is a strategy sent by the upper computer through the main control module to instruct the circuit breaker module to distribute power to the load device, and the working data generated during the operation may be the electric energy data of the circuit breaker module supplying power to the load device, etc.
[0092] When the circuit breaker module at any position is replaced, the newly replaced circuit breaker module does not have the power data in the previous circuit breaker module, so it is possible to determine whether the circuit breaker module has been replaced based on the power data of the same circuit breaker module twice. When the power distribution system determines whether the circuit breaker module has been replaced based on the first power data and the second power data, the power distribution system can determine whether the circuit breaker module has been replaced by determining whether the operating strategy in the first power data is the same as the operating strategy in the second power data (such as determining that the circuit breaker module has not been replaced when the operating strategies are the same, and determining that the circuit breaker module has been replaced when the operating strategies are different), and can also determine whether the circuit breaker module has been replaced by determining the difference between the power data in the first power data and the power data in the second power data (such as when the power data value in the second power data is greater than the power data value in the first power data by a preset value, it is determined that the circuit breaker module has not been replaced, and in other cases it can be determined that the circuit breaker module has been replaced).
[0093] Step E3: If yes, the first power data is sent to the third circuit breaker module to update the power data of the third circuit breaker module.
[0094] When the power distribution system determines that the circuit breaker module is updated based on the first power data and the second power data, the main control system in the power distribution system sends the first power data to the circuit breaker module to update the power data in the circuit breaker module, thereby enabling the circuit breaker module to work based on the updated power data. In other words, when the main control module determines that the circuit breaker module is replaced, the power data acquired at the last moment will be automatically sent to the replaced circuit breaker module, so that the replaced circuit breaker module can perfectly replace the work of the previous circuit breaker module.
[0095] That is to say, the parameter information (user information, control strategy) and electric energy data of each circuit breaker module should be stored in each circuit breaker module and backed up in the main control module of the equipment. When a circuit breaker module fails, a new circuit breaker module is replaced, and the main control module detects whether the circuit breaker module is a new circuit breaker module. If it is a new circuit breaker module, the parameter value and electric energy value (that is, the backup data in the storage module before the failure) are automatically written back to ensure that the correct electric energy data can be obtained when communicating again (the electric energy meter obtains the electric energy value from the new monitoring module).
[0096] Figure 5 is a flow chart of a third power distribution method provided in an embodiment of this specification, such as Figure 5 As shown, the schematic diagram includes: Step 502: Acquire connection position information of multiple disconnect modules.
[0097] The connection position information is used to represent relevant information of the connection position between the circuit breaker module and the main control module.
[0098] Step 504: Determine the communication address of each of the circuit breaker modules based on the connection position information of each of the circuit breaker modules and a preset first communication address table.
[0099] The communication address table stores the corresponding relationship between the connection location information and the communication address.
[0100] Step 506: Determine the connection status information of each of the circuit breaker modules based on the connection position information, so that the operator generates a communication instruction for each of the circuit breaker modules based on the connection status information.
[0101] Step 508: Send the communication instruction to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load device according to the communication instruction.
[0102] Among them, the power distribution instruction includes one or more of an authorized connection instruction, a first power distribution instruction and a second power distribution instruction; the authorized connection instruction is used to instruct the circuit breaker module to enter the connection state based on a preset connection strategy; the first power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device through a backup battery based on a preset first power distribution strategy; the second power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device through a mains power supply based on a preset second power distribution strategy.
[0103] Step 510: Setting a plurality of connection points for a connectable area that can be connected to the main control module.
[0104] The connection points are used to detect the connection status of the circuit breaker module, and the distance between the connection points is a second distance, which is determined based on the length of the connectable area occupied by the circuit breaker module when connected to the main control module.
[0105] Step 512: configuring a display number for each of the connection points, so that an operator can determine the operation information of the circuit breaker module corresponding to the display number.
[0106] This embodiment obtains various types of power distribution instructions sent by the host computer or the operator to instruct the circuit breaker module to perform connection and power distribution operations, and sends the power distribution instructions to the circuit breaker module so that the circuit breaker module performs corresponding operations according to the strategy in the power distribution instructions. By obtaining complete control instructions from the host computer or the operator, the intelligence level of power distribution to the load equipment through the circuit breaker module can be improved. By setting display numbers in the connectable area, multiple connected circuit breaker modules can be numbered in the main control module, so that the user can determine the circuit breaker module connected to it according to the display number and determine the operating information of the circuit breaker module.
[0107] It should be noted that the power distribution method provided in the embodiment of the present application can be executed by a power distribution device or a control module in the power distribution device for executing the power distribution method. In the embodiment of the present application, the power distribution device provided in the embodiment of the present application is described by taking the power distribution device executing the power distribution method as an example.
[0108] Figure 6 Schematic diagram of the structure of a power distribution device according to an embodiment of the present invention. Figure 6 As shown, the power distribution device includes: a first acquisition module 602 , a first determination module 604 , a first sending module 606 , and a second sending module 608 .
[0109] The first acquisition module 602 is used to acquire connection position information of multiple circuit breaker modules, where the connection position information is used to represent relevant information of connection positions between the circuit breaker modules and the main control module.
[0110] The first determination module 604 is used to determine the communication address of each circuit breaker module based on the connection position information of each circuit breaker module and a preset first communication address table, wherein the first communication address table stores the correspondence between the connection position information and the communication address.
[0111] The first sending module 606 is used to determine the connection status information of each of the circuit breaker modules based on the connection position information, so that the operator can generate a communication instruction for each of the circuit breaker modules based on the connection status information.
[0112] The second sending module 608 is used to send the communication instruction to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load device according to the communication instruction.
[0113] The power distribution device in the embodiment of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0114] The power distribution device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0115] The power distribution device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0116] Based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to execute the above-mentioned power distribution method. Figure 7 A schematic diagram of the structure of an electronic device for implementing various embodiments of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706 and a communication bus 708, wherein the processor 702, the communication interface 704, and the memory 706 communicate with each other through the communication bus 708. The processor 702 may call a computer program stored in the memory 706 and executable on the processor 702 to perform the following steps: Acquire connection position information of multiple circuit breaker modules, where the connection position information is used to represent relevant information of connection positions between the circuit breaker modules and the main control module; Determine the communication address of each of the circuit breaker modules based on the connection position information of each of the circuit breaker modules and a preset first communication address table, wherein the first communication address table stores a correspondence between the connection position information and the communication address; Determine connection status information of each of the circuit breaker modules based on the connection position information, so that an operator generates a communication instruction for each of the circuit breaker modules based on the connection status information; The communication instruction is sent to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load device according to the communication instruction.
[0117] In one implementation, the obtaining of connection position information of multiple circuit breaker modules includes: Obtaining a voltage division value generated when each of the circuit breaker modules is connected to the main control module and connected to a preset voltage division circuit, wherein when the connection positions of the circuit breaker module and the main control module are different, the voltage division value generated in the voltage division circuit is different; The determining the communication address of each of the circuit breaker modules based on the connection position information of each of the circuit breaker modules and a preset first communication address table includes: The communication address of each circuit breaker module is determined based on the voltage division value of each circuit breaker module and a preset second communication address table, wherein the second communication address table stores the corresponding relationship between each voltage division value and the communication address.
[0118] In one implementation, the step of obtaining the voltage division value generated when each of the circuit breaker modules is connected to the main control module and connected to a preset voltage division circuit includes: Acquire a first width and a second width of a connectable area respectively occupied by the first circuit breaker module and the second circuit breaker module when they are connected to the main control module; A voltage divider circuit is provided for a connectable area connectable to the main control module, wherein the distance between the resistors in the voltage divider circuit is a first distance, and the first distance is determined based on the greatest common factor of the first width and the second width; A first voltage division value and a second voltage division value respectively generated by connecting the first circuit breaker module and the second circuit breaker module to the voltage division circuit are obtained.
[0119] In one implementation, the power distribution instruction includes one or more of an authorized connection instruction, a first power distribution instruction, and a second power distribution instruction; the authorized connection instruction is used to instruct the circuit breaker module to enter a connection state based on a preset connection strategy; the first power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device through a backup battery based on a preset first power distribution strategy; the second power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device through a mains power supply based on a preset second charging strategy.
[0120] In one implementation, the method further includes: A plurality of connection points are set for a connectable area that can be connected to the main control module, and the connection points are used to detect the connection status of the circuit breaker module. The distance between each of the connection points is a second distance, and the second distance is determined based on the width of the connectable area occupied by the circuit breaker module when connected to the main control module; A display number is configured for each of the connection points so that the operator can determine the operation information of the circuit breaker module corresponding to the connection point based on the display number.
[0121] In one implementation, the method further includes: Acquire a first current value of the circuit breaker module, where the first current value is the sum of the distribution current values of the multiple circuit breaker modules when the backup battery distributes power to the multiple load devices through the main control module connected thereto and the multiple circuit breaker modules connected to the main control module; Acquire a second current value of the main control module, where the second current value is a distribution current value of the backup battery passing through the main control module when the backup battery distributes power to the plurality of load devices through the main control module connected thereto and the plurality of circuit breaker modules connected to the main control module; When the difference between the first current value and the second current value is smaller than a preset threshold, it is determined that the power distribution of the power distribution system is normal.
[0122] In one implementation, the method further includes: Acquire first power data sent by a third circuit breaker module at a first moment and second power data sent at a second moment, wherein the third circuit breaker module is the circuit breaker module connected to the main control module via a first position, the first position is any position in a connectable area that can be connected to the main control module, and the second moment is later than the first moment; determining whether the third circuit breaker module at the first position has been replaced based on the first power data and the second power data; If so, the first power data is sent to the third circuit breaker module to update the power data of the third circuit breaker module.
[0123] The specific execution steps can refer to the various steps of the above-mentioned power distribution method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0124] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices except terminals.
[0125] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0126] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).
[0127] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.
[0128] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned power distribution method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0129] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0130] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned power distribution method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0131] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0132] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0134] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A power distribution method, applied to a power distribution system, comprising: Acquire connection position information of multiple circuit breaker modules, where the connection position information is used to represent relevant information of connection positions between the circuit breaker modules and the main control module; Determine the communication address of each of the circuit breaker modules based on the connection position information of each of the circuit breaker modules and a preset first communication address table, wherein the first communication address table stores a correspondence between the connection position information and the communication address; Determine connection status information of each of the circuit breaker modules based on the connection position information, so that an operator generates a communication instruction for each of the circuit breaker modules based on the connection status information; The communication instruction is sent to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load device according to the communication instruction.
2. The method according to claim 1, wherein obtaining the connection position information of the plurality of circuit breaker modules comprises: Obtaining a voltage division value generated when each of the circuit breaker modules is connected to the main control module and connected to a preset voltage division circuit, wherein when the connection positions of the circuit breaker module and the main control module are different, the voltage division value generated in the voltage division circuit is different; The determining the communication address of each of the circuit breaker modules based on the connection position information of each of the circuit breaker modules and a preset first communication address table includes: The communication address of each circuit breaker module is determined based on the voltage division value of each circuit breaker module and a preset second communication address table, wherein the second communication address table stores the corresponding relationship between each voltage division value and the communication address.
3. The method according to claim 2, wherein the step of obtaining the voltage division value generated when each of the circuit breaker modules is connected to the main control module and connected to a preset voltage division circuit comprises: Acquire a first width and a second width of a connectable area respectively occupied by the first circuit breaker module and the second circuit breaker module when they are connected to the main control module; A voltage divider circuit is provided for a connectable area connectable to the main control module, wherein the distance between the resistors in the voltage divider circuit is a first distance, and the first distance is determined based on the greatest common factor of the first width and the second width; A first voltage division value and a second voltage division value respectively generated by connecting the first circuit breaker module and the second circuit breaker module to the voltage division circuit are obtained.
4. According to the method according to claim 1, the power distribution instruction includes one or more of an authorized connection instruction, a first power distribution instruction and a second power distribution instruction; the authorized connection instruction is used to instruct the circuit breaker module to enter a connection state based on a preset connection strategy; the first power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device based on a preset first power distribution strategy and the backup battery voltage condition; the second power distribution instruction is used to instruct the circuit breaker module to distribute power to the load device based on a preset second charging strategy and the AC power supply condition.
5. The method according to claim 1, further comprising: A plurality of connection points are set for a connectable area that can be connected to the main control module, and the connection points are used to detect the connection status of the circuit breaker module. The distance between each of the connection points is a second distance, and the second distance is determined based on the width of the connectable area occupied by the circuit breaker module when connected to the main control module; A display number is configured for each of the connection points so that the operator can determine the operation information of the circuit breaker module corresponding to the connection point based on the display number.
6. The method according to claim 1, further comprising: Acquire a first current value of the circuit breaker module, where the first current value is the sum of the distribution current values of the multiple circuit breaker modules when the backup battery distributes power to the multiple load devices through the main control module connected thereto and the multiple circuit breaker modules connected to the main control module; Acquire a second current value of the main control module, where the second current value is a distribution current value of the backup battery passing through the main control module when the backup battery distributes power to the plurality of load devices through the main control module connected thereto and the plurality of circuit breaker modules connected to the main control module; When the difference between the first current value and the second current value is smaller than a preset threshold, it is determined that the power distribution of the power distribution system is normal.
7. The method according to claim 1, further comprising: Acquire first power data sent by a third circuit breaker module at a first moment and second power data sent at a second moment, wherein the third circuit breaker module is the circuit breaker module connected to the main control module via a first position, the first position is any position in a connectable area that can be connected to the main control module, and the second moment is later than the first moment; determining whether the third circuit breaker module at the first position has been replaced based on the first power data and the second power data; If so, the first power data is sent to the third circuit breaker module to update the power data of the third circuit breaker module.
8. A power distribution device, comprising: A first acquisition module, used to acquire connection position information of a plurality of circuit breaker modules, wherein the connection position information is used to represent relevant information of connection positions between the circuit breaker modules and the main control module; a first determining module, configured to determine a communication address of each of the circuit breaker modules based on connection position information of each of the circuit breaker modules and a preset first communication address table, wherein the first communication address table stores a correspondence between the connection position information and the communication address; A first sending module, configured to determine connection status information of each of the disconnecting modules based on the connection position information, so that an operator can generate a communication instruction for each of the disconnecting modules based on the connection status information; The second sending module is used to send the communication instruction to the corresponding circuit breaker module, so that the circuit breaker module distributes power to the load device according to the communication instruction.
9. A computer device, characterized in that: The device comprises: Processor; and A memory arranged to store computer executable instructions, the executable instructions being configured to be executed by the processor, the executable instructions comprising instructions for performing the steps in the method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is used to store computer-executable instructions, and the executable instructions enable a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Circuit breaker, cabinet, system, address acquisition method and device
CN112769968A
Intelligent power supply control system
CN113517692A
Hardware address matching method, device, system and module and storage medium
CN114647606A
Control device, control system, and control method
JP2020010437A
Method for the configuration of a system of connected objects in an internet of things network and corresponding central configuration station
WO2016050728A1