CN107864235B - Address allocation method and device for shunt circuit breaker of intelligent distribution box - Google Patents

Address allocation method and device for shunt circuit breaker of intelligent distribution box Download PDF

Info

Publication number
CN107864235B
CN107864235B CN201711375236.3A CN201711375236A CN107864235B CN 107864235 B CN107864235 B CN 107864235B CN 201711375236 A CN201711375236 A CN 201711375236A CN 107864235 B CN107864235 B CN 107864235B
Authority
CN
China
Prior art keywords
address
time
shunt
circuit breaker
pressing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711375236.3A
Other languages
Chinese (zh)
Other versions
CN107864235A (en
Inventor
刘丰
王军
杨睿毅
程伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Gongniu Electric Appliances Co Ltd
Original Assignee
Ningbo Gongniu Electric Appliances Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Gongniu Electric Appliances Co Ltd filed Critical Ningbo Gongniu Electric Appliances Co Ltd
Priority to CN201711375236.3A priority Critical patent/CN107864235B/en
Publication of CN107864235A publication Critical patent/CN107864235A/en
Application granted granted Critical
Publication of CN107864235B publication Critical patent/CN107864235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Distribution Board (AREA)

Abstract

The application discloses an address distribution method and device for a shunt circuit breaker of an intelligent distribution box, which comprises the steps of firstly, scanning each shunt circuit of the breaker according to an address distribution instruction, and judging whether the shunt circuit is in a configurable state; if the branches are in a configurable state, assigning addresses to the branches of the circuit breaker, and continuing to repeat the scanning instruction until the assignment of addresses for all branches is completed. In addition, whether the address setting state is entered or not can be judged according to the time for pressing the shunt switch; if the address setting state is entered, acquiring the times of pressing down the shunt switch; setting a shunt address according to the number of times the switch is pressed, and, if in the address setting state, judging whether to end the address assigning operation according to the time when the shunt switch is pressed. By adopting the method and the device provided by the application, the address can be distributed or set for the shunt switch of the circuit breaker, and then the address is distributed for the circuit breaker, so that the hardware cost is reduced in the whole process, and the circuit breaker can be conveniently distinguished.

Description

Address allocation method and device for shunt circuit breaker of intelligent distribution box
Technical Field
The application relates to the technical field of electricity, in particular to an address allocation method and device for a shunt circuit breaker of an intelligent distribution box.
Background
With the development of society, household appliances in families are various in types and the electricity utilization environment is complex, the electricity leakage, short circuit protection and other functions of the traditional distribution box cannot prevent the occurrence of an electrical fire, nearly 80% of users realize the hazard of the electrical fire, and the awareness of safe electricity utilization of people is greatly enhanced. According to big data research and display, 96% of users are willing to use the intelligent distribution box to ensure the household electricity safety, and meanwhile, the intelligent household Internet of things is realized, real-time monitoring is realized, and energy can be saved.
A circuit breaker is generally disposed in the intelligent distribution box, and the circuit breaker is a switching device capable of carrying and breaking a current under a normal circuit condition and carrying and breaking a current under an abnormal circuit condition within a predetermined time. The circuit breakers are divided into high-voltage circuit breakers and low-voltage circuit breakers according to the application range, the high-voltage and low-voltage boundary lines are relatively vague, and the circuit breakers above 3kV are generally called high-voltage electric appliances. The main circuit breaker refers to a circuit breaker used for switching on and off a main circuit, such as a distribution box. By shunt circuit breaker is meant a circuit breaker used to make and break a single circuit, such as a shunt circuit in a distribution box. The intelligent circuit breaker is characterized in that an intelligent module is added on hardware on the basis of a traditional circuit breaker, and then the intelligent control function is realized, such as remote control switch, automatic tripping power transmission, automatic leakage protection detection, overvoltage protection, overload overcurrent protection and the like.
The intelligent distribution box scheme of mainstream at present is on the basis of traditional circuit breaker, increases intelligent object to realize the function of intelligence. The circuit breakers are additionally provided with intelligent modules, the first scheme is that each circuit breaker is additionally provided with an intelligent module, so that the circuit breakers can be independently connected with a cloud server in a networking mode, but in the scheme, because each circuit breaker is additionally provided with an intelligent module, the hardware cost is high; the second scheme is that the communication part function of circuit breaker is extracted, becomes communication module alone, whole block terminal only need have a communication module like this can, save the hardware cost, nevertheless extract circuit breaker communication module after, all circuit breakers are all the same in aspects such as outward appearance, hardware, software, hardly distinguish the circuit breaker.
Disclosure of Invention
The application provides an address allocation method and device for a shunt circuit breaker of an intelligent distribution box, and aims to solve the problem that the existing circuit breakers of the intelligent distribution box are difficult to distinguish.
In one aspect, the application provides an address allocation method for a shunt circuit breaker of an intelligent distribution box, comprising the following steps:
acquiring an address allocation instruction;
scanning each shunt of the circuit breaker according to the address allocation instruction, and judging whether the shunt is in a configurable state;
if the branches are in a configurable state, the address is assigned to the branches of the circuit breaker, and the scanning instructions continue to be repeated until the address assignment for all branches is completed.
Optionally, the step of scanning each branch of the circuit breaker according to the address allocation instruction, and determining whether the branch is in the configurable state includes:
scanning each shunt of the circuit breaker according to the address allocation instruction, and judging whether shunt response is overtime or not;
if the shunt response is not overtime, judging whether the address distribution line is idle;
if the shunt response is overtime, ending the address allocation operation;
if the address distribution line is idle, the shunt circuit is in a configurable state;
if the address distribution line is busy, the current shunt is delayed, and if the delay is over, whether the address distribution line is idle is continuously judged until the shunt is in a configurable state.
Optionally, after the obtaining the address allocation instruction, the method further includes: a timeout exit time is set.
Optionally, if the branches are in the configurable state, assigning addresses to the branches of the circuit breaker, and continuing to repeat the scanning instruction until the address assignment of all branches is completed, further includes:
repeating the scanning instruction, and if the shunt response is overtime, judging whether the overtime time is greater than or equal to the overtime exit time;
if the overtime time is larger than or equal to the overtime exit time, ending the address allocation operation;
if the time-out time is less than the time-out exit time, the scanning operation continues to be repeated until the address assignment operation is ended.
Optionally, if the branches are in the configurable state, assigning addresses to the branches of the circuit breaker, and continuing to repeat the scanning instruction until the address assignment of all the branches is completed, further including:
sending the allocated address information to application software for displaying;
and renaming the shunt switch corresponding to the address information according to the address information.
In a second aspect, the present application provides a second method for allocating an address to a shunt circuit breaker of an intelligent distribution box, including:
acquiring the time for pressing down the shunt switch each time;
judging whether to enter an address setting state or not according to the time for pressing the shunt switch;
if the address setting state is entered, acquiring the times of pressing down the shunt switch;
setting a shunt address according to the number of times the shunt switch is pressed, and, if in the address setting state, judging whether to end the address assigning operation according to the time of pressing the shunt switch.
Optionally, the step of judging whether to enter the address setting state according to the time of pressing the shunt switch includes:
judging whether the time for pressing the shunt switch exceeds the preset time or not;
and if the time for pressing the shunt switch exceeds the preset time, entering an address setting state.
Optionally, if, in the process of the address setting state, the step of determining whether to end the address assignment operation according to the time for pressing the shunt switch includes:
judging whether the time for pressing the shunt switch exceeds the preset time or not;
if the time for pressing the shunt switch exceeds a preset time, the address assignment operation is ended.
Optionally, if the address setting state is entered, the step of obtaining the number of times of pressing the shunt switch includes:
if the current time exceeds the preset time, judging whether the current time for pressing the shunt switch exceeds the preset time;
if the current time for pressing the shunt switch exceeds the preset time, ending the address allocation operation;
and if the current time for pressing the shunt switch does not exceed the preset time, acquiring the times for pressing the shunt switch.
In a third aspect, the present application provides an address assignment device for a shunt circuit breaker of an intelligent distribution box, comprising:
the instruction acquisition module is used for acquiring an address allocation instruction;
the scanning module is used for scanning each shunt of the circuit breaker according to the address distribution instruction and judging whether the shunt is in a configurable state;
and the address allocation module is used for allocating addresses to the branches of the circuit breaker if the branches are in the configurable state, and continuously repeating the scanning instruction until the address allocation of all the branches is completed.
Optionally, the scanning module includes:
the overtime judging module is used for scanning each shunt of the circuit breaker according to the address distribution instruction and judging whether shunt response is overtime or not;
if the shunt response is not overtime, judging whether the address distribution line is idle;
if the shunt response is overtime, ending the address allocation operation;
an idle state judgment module, configured to, if the address distribution line is idle, divide the line into configurable states;
if the address distribution line is busy, the current shunt is delayed, and if the delay is over, whether the address distribution line is idle is continuously judged until the shunt is in a configurable state.
Optionally, the address assignment device for the shunt circuit breaker of the intelligent distribution box further includes:
and the time setting module is used for setting the overtime exit time.
Optionally, the address allocating module includes:
a first time judgment module, configured to repeat the scanning instruction, and if the shunt response is overtime, judge whether the overtime time is greater than or equal to the overtime exit time;
if the overtime time is larger than or equal to the overtime exit time, ending the address allocation operation;
if the time-out time is less than the time-out exit time, the scanning operation continues to be repeated until the address assignment operation is ended.
Optionally, the address assignment device for the shunt circuit breaker of the intelligent distribution box further includes:
the information sending module is used for sending the allocated address information to the application software for display;
and the modification module is used for renaming the shunt switch corresponding to the address information according to the address information.
In a fourth aspect, the present application provides an address assignment device for a second intelligent distribution box shunt circuit breaker, comprising:
the time acquisition module is used for acquiring the time for pressing the shunt switch each time;
the state judgment module is used for judging whether to enter an address setting state or not according to the time for pressing the shunt switch;
if the address setting state is entered, acquiring the times of pressing down the shunt switch;
and the address setting module is used for setting the shunt address according to the times of pressing the shunt switch and judging whether to finish the address distribution operation according to the time of pressing the shunt switch in the process of the address setting state.
Optionally, the state determining module includes:
the second time judgment module is used for judging whether the time for pressing the shunt switch exceeds the preset time or not;
and if the time for pressing the shunt switch exceeds the preset time, entering an address setting state.
Optionally, the address setting module includes:
the third time judgment module is used for judging whether the time for pressing the shunt switch exceeds the preset time or not;
if the time for pressing the shunt switch exceeds a preset time, the address assignment operation is ended.
Optionally, the state determining module further includes:
the fourth time judgment module is used for judging whether the current time for pressing the shunt switch exceeds the preset time or not if the address setting state is entered;
if the current time for pressing the shunt switch exceeds the preset time, ending the address allocation operation;
and if the current time for pressing the shunt switch does not exceed the preset time, acquiring the times for pressing the shunt switch.
According to the technical scheme, the address allocation method and the address allocation device for the shunt circuit breaker of the intelligent distribution box are provided, and the method and the device are characterized in that firstly, each shunt circuit of the circuit breaker is scanned according to an address allocation instruction, and whether the shunt circuit is in a configurable state or not is judged; if the branches are in a configurable state, assigning addresses to the branches of the circuit breaker, and continuing to repeat the scanning instruction until the assignment of addresses for all branches is completed. In addition, whether the address setting state is entered or not can be judged according to the time for pressing the shunt switch; if the address setting state is entered, acquiring the times of pressing down the shunt switch; setting a shunt address according to the number of times of pressing the shunt switch, and judging whether to end the address assignment operation according to the time of pressing the shunt switch in the process of the address setting state. By adopting the method and the device provided by the application, the address can be distributed or set for the shunt switch of the circuit breaker, and then the address is distributed for the circuit breaker, so that the hardware cost is reduced in the whole process, and the circuit breaker can be conveniently distinguished.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a flowchart of an address assignment method for a shunt circuit breaker of an intelligent distribution box according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an address assignment method for a shunt circuit breaker of an intelligent distribution box according to a second embodiment of the present application;
fig. 3 is a flowchart of an address assignment method for a shunt circuit breaker of an intelligent distribution box according to a third embodiment of the present application;
fig. 4 is a flowchart of an address assignment method for a shunt circuit breaker of an intelligent distribution box according to a fourth embodiment of the present application;
fig. 5 is a block diagram of an address allocation device for a shunt circuit breaker of a smart distribution box according to an embodiment of the present disclosure;
fig. 6 is a structural diagram of a scanning module according to an embodiment of the present disclosure;
fig. 7 is a block diagram of an address assignment device for a shunt circuit breaker of a smart distribution box according to an embodiment of the present disclosure;
fig. 8 is a structural diagram of a state determination module according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of an address assignment method for a shunt circuit breaker of an intelligent distribution box according to an embodiment of the present application includes:
step 101, obtaining an address allocation instruction; the address allocation instruction is used for indicating that the circuit breaker can perform address allocation operation, and after receiving the instruction, the corresponding action module in the circuit breaker starts to act.
Step 102, scanning each shunt of the breaker according to the address allocation instruction, and judging whether the shunt is in a configurable state; the configurable state represents that the current shunt is in an idle state, and when a scanning instruction is received, the current shunt can reply a signal to represent that the current shunt is in the idle state, and the breaker can perform address allocation on the shunt. If the current branch has the address or the total address distribution line is busy, the current branch does not reply to the current scanning instruction, and the address distribution cannot be carried out on the current branch.
And 103, if the branches are in the configurable state, allocating addresses to the branches of the breaker, and continuously repeating the scanning instruction until the address allocation of all the branches is completed. Generally, the address allocation operations are performed in sequence according to the order of the branches, when a scanned branch is in a configurable state, an address is allocated to the branch, and then, the next branch is scanned and allocated with an address, and so on, until the address allocation of all branches is completed.
The address distribution method for the shunt circuit breakers of the intelligent distribution box, provided by the embodiment of the application, can complete the shunt address distribution of the breakers through the processes of scanning, judging, distributing addresses and the like, so that the hardware cost is reduced in the whole process, and the breakers can be conveniently distinguished.
Referring to fig. 2, a flowchart of an address assignment method for a shunt circuit breaker of an intelligent distribution box according to a second embodiment of the present application includes:
in step 201, an address assignment instruction is obtained. The address allocation instruction is used for indicating that the circuit breaker can perform address allocation operation, and after receiving the instruction, the corresponding action module in the circuit breaker starts to act.
Step 202, setting a timeout exit time. The timeout exit time can be set according to the actual requirements of the use, for example, 5s, 10s, etc., and the subsequent timeout time should be compared with the timeout exit time before the subsequent operation is performed.
Step 203, scanning each shunt of the breaker according to the address distribution instruction, and judging whether the shunt response is overtime.
Step 204, if the shunt response is not overtime, then determine whether the address distribution line is idle.
Step 205, if the shunt response is overtime, determining whether the overtime time is greater than or equal to the overtime exit time; if the time-out time is greater than or equal to the time-out exit time, the address assignment operation is ended.
The timeout indicates that the current branch has been assigned an address and no further assignment is required, and the entire system for address setup needs to wait for the branch for a period of time to avoid the situation where the branch does not assign an address but misses an assigned address because of an excessively long response. When the overtime time exceeds the overtime exit time, the system does not wait for the branch, continues to scan the next branch, and allocates addresses for the following branches, thereby avoiding the condition of overlong waiting time.
If the time-out is less than the time-out exit time, step 203 continues.
If the address distribution line is idle, the shunt is in a configurable state, step 206.
Step 207, if the address distribution line is busy, delay processing is performed on the current shunt, and when the delay is over, whether the address distribution line is idle is continuously judged until the shunt is in a configurable state.
The method comprises the steps that an address distribution line is busy, the situation that the address of the previous shunt is not distributed is shown, so that the current shunt needs to wait, a delay time, namely waiting time, needs to be set, the delay time is set according to actual requirements, the address distribution line is judged after the delay is finished, if the address distribution line is in an idle state, the address distribution can be carried out on the current shunt, and if the address distribution line is still in a busy state, the current shunt continues to delay and wait and continues to judge until the address is distributed to the current shunt.
If the shunt is configurable, an address is assigned to the shunt of the circuit breaker, step 208. The scan instruction is repeated until the address assignment operation is completed.
The second embodiment of the application provides an address allocation method for a shunt circuit breaker of an intelligent distribution box, the same content as in the first embodiment is not repeated, and the second embodiment of the application can also complete the shunt address allocation of the breaker through processes of scanning, judging, address allocation and the like, so that the hardware cost is reduced in the whole process, and the circuit breaker can be conveniently distinguished.
It should be noted that the address allocation commands carry sequence numbers, and each address allocation command corresponds to one sequence number. When the address distribution line is idle, the splitter will also send a request command to request an address, and this request command will also contain a random sequence number, and generally, the sequence number in the address distribution command is consistent with the sequence number in the request command, so that the splitter can obtain the correct address. If the serial number in the address allocation instruction is not consistent with the serial number in the request instruction, it indicates that the address allocation at this time is not the operation corresponding to the request instruction, and the address allocation is delayed or wrong, at this time, the shunt circuit will accept the address allocation instruction again, continue the matching operation of the serial numbers, and determine whether the serial number in the address allocation instruction is consistent with the serial number in the request instruction, so as to ensure the correctness of the address allocation operation.
As to the contents in the first and second embodiments of the present application, specifically, if the branch is in a configurable state, the address is assigned to the branch of the circuit breaker, and the scanning instruction is continuously repeated until the address assignment of all branches is completed, the method further includes: sending the allocated address information to application software for displaying; and renaming the shunt switch corresponding to the address information according to the address information.
The address information is displayed and renamed by using application software (such as APP) and the like, so that a user can more visually see the corresponding relation between each address and the shunt switch, and the user can conveniently distinguish the shunt switch from the circuit breaker.
In addition, in the first and second embodiments of the present application, if the address of the branch needs to be cleared, the reset key may be pressed for a long time to complete the operation of restoring the factory settings, so that the address of the branch is cleared, and the address of the branch may be continuously allocated.
Referring to fig. 3, a flowchart of an address assignment method for a shunt circuit breaker of an intelligent distribution box according to a third embodiment of the present application includes:
step 301, the time for pressing the shunt switch each time is obtained.
Step 302, according to the time of pressing the shunt switch, judging whether to enter the address setting state. In the third embodiment of the present application, in order to conveniently display that the current shunt switch has entered the address setting state, an LED lamp may be additionally provided to indicate the address setting state, for example, when the LED lamp is turned on, it may indicate that the shunt switch has entered the address setting state, and when the LED lamp is turned off, it may indicate that the shunt switch has exited the address setting state.
Step 303, if the address setting state is entered, the number of times the shunt switch is pressed is obtained.
Step 304, setting the shunt address according to the times of pressing the shunt switch, and judging whether to finish the address allocation operation according to the time of pressing the shunt switch in the process of the address setting state.
In this embodiment, since the shunt switches of the circuit breaker are operated, the shunt switches need to be operated respectively to perform address setting, the time requirement for the key is strict, and only one switch needs to be operated for one address setting. When the time of the first pressing exceeds the preset time, the shunt enters an address setting state, and then the address of the shunt is set according to the number of times of pressing the switch, wherein the switch is normally pressed for several times, and the address of the shunt is what, for example, the address of the shunt is 1 when the shunt switch is pressed for 1 time. The circuit breaker can also monitor the time of the switch in real time when the switch is pressed, and in the process of the address setting state, if the time of pressing the shunt switch exceeds the preset time, the address setting of the shunt switch is finished. The preset time is generally set according to actual requirements, for example, 5s, 10s and the like. When the address setting of one shunt switch is completed, other switches are set in the mode.
The third address allocation method for the intelligent distribution box shunt circuit breaker provided by the embodiment of the application can judge whether the address should be set or not by judging the time length of the key, and set the address according to the times of the key, and carry out address setting by utilizing the shunt switch of the circuit breaker, so that the hardware cost of the whole process is reduced, and the circuit breaker can be conveniently distinguished.
Referring to fig. 4, a flowchart of an address assignment method for a shunt circuit breaker of an intelligent distribution box according to the fourth embodiment of the present application includes:
step 401, the time for pressing the shunt switch each time is obtained.
Step 402, judging whether the time for pressing the shunt switch exceeds the preset time; and if the time for pressing the shunt switch exceeds the preset time, entering an address setting state. The preset time is generally set according to actual requirements, for example, 5s, 10s and the like.
In step 403, if the address setting state is entered, it is determined whether the time for pressing the shunt switch currently exceeds a preset time. And if the time for pressing the shunt switch currently exceeds the preset time, ending the address allocation operation.
The preset time in this embodiment is a criterion for determining whether the shunt switch enters the address setting state, and a pressing state in which the pressing time exceeds the preset time may be referred to as a long press, and a pressing state in which the pressing time does not exceed the preset time may be referred to as a short press. When the time for pressing the shunt switch exceeds the preset time, the current shunt switch is in a long-pressing state, the long-pressing state is finished, the shunt switch enters an address setting state, and in the switch pressing state, each pressing represents the operation of address setting. However, when the switch is pressed and the long press state of the switch is detected, the address setting operation is finished, and the number of times of short pressing of the switch is used as the address of the branch. When the address setting of one shunt switch is completed, other switches are set in the mode.
And step 404, if the time for pressing the shunt switch currently does not exceed the preset time, acquiring the times for pressing the shunt switch.
Step 405, a shunt address is set based on the number of times the shunt switch is pressed. Step 401 is repeated.
The address allocation method for the intelligent distribution box shunt circuit breaker provided by the fourth embodiment of the application has the advantages that the same content is not repeated in the third embodiment, the fourth embodiment can also set the address by judging the time length of the key and judging whether the address should be set, and the address is set according to the times of the key, and the shunt switch of the circuit breaker is utilized to set the address, so that the hardware cost is reduced in the whole process, and the circuit breaker can be conveniently distinguished.
Referring to fig. 5, a structure diagram of an address assignment device for a shunt circuit breaker of a smart distribution box according to an embodiment of the present application includes:
an instruction obtaining module 501, configured to obtain an address allocation instruction;
the scanning module 502 is configured to scan each branch of the circuit breaker according to the address allocation instruction, and determine whether the branch is in a configurable state;
and the address allocation module 503 is configured to, when the branches are in the configurable state, allocate addresses to the branches of the circuit breaker, and continue to repeat the scanning instruction until the address allocation of all the branches is completed.
Optionally, as shown in fig. 6, the scanning module 502 includes:
the overtime judging module 601 is configured to scan each shunt of the circuit breaker according to the address allocation instruction, and judge whether a shunt response is overtime;
if the shunt response is not overtime, judging whether the address distribution line is idle;
if the shunt response is overtime, ending the address allocation operation;
an idle state determining module 602, configured to, if the address distribution line is idle, divide the address distribution line into configurable states;
if the address distribution line is busy, the current shunt is delayed, and if the delay is over, whether the address distribution line is idle is continuously judged until the shunt is in a configurable state.
Optionally, the address assignment device for the shunt circuit breaker of the intelligent distribution box further includes:
and a time setting module 504 for setting the timeout exit time.
Optionally, the address allocating module 503 includes:
a first time judgment module, configured to repeat the scanning instruction, and if the shunt response is overtime, judge whether the overtime time is greater than or equal to the overtime exit time;
if the overtime time is larger than or equal to the overtime exit time, ending the address allocation operation;
if the time-out time is less than the time-out exit time, the scanning operation continues to be repeated until the address assignment operation is ended.
Optionally, the address assignment device for the shunt circuit breaker of the intelligent distribution box further includes:
an information sending module 505, configured to send the allocated address information to the application software for display;
and a modifying module 506, configured to rename the shunt switch corresponding to the address information according to the address information.
Referring to fig. 7, a block diagram of an address assignment device for a shunt circuit breaker of an intelligent distribution box according to an embodiment of the present application includes:
a time obtaining module 701, configured to obtain time for pressing the shunt switch each time;
a state judgment module 702, configured to judge whether to enter an address setting state according to the time for pressing the shunt switch;
if the address setting state is entered, acquiring the times of pressing down the shunt switch;
the address setting module 703 is configured to set a shunt address according to the number of times the shunt switch is pressed, and determine whether to end the address allocation operation according to the time for pressing the shunt switch in the process of the address setting state.
Optionally, as shown in fig. 8, the state determining module 702 includes:
a second time judgment module 801, configured to judge whether a time for pressing the shunt switch exceeds a preset time;
and if the time for pressing the shunt switch exceeds the preset time, entering an address setting state.
Optionally, the address setting module 703 includes:
the third time judgment module is used for judging whether the time for pressing the shunt switch exceeds the preset time or not;
if the time for pressing the shunt switch exceeds a preset time, the address assignment operation is ended.
Optionally, the state determining module 702 further includes:
a fourth time judgment module 802, configured to judge whether a current time for pressing the shunt switch exceeds a preset time if the address setting state is entered;
if the current time for pressing the shunt switch exceeds the preset time, ending the address allocation operation;
and if the current time for pressing the shunt switch does not exceed the preset time, acquiring the times for pressing the shunt switch.
According to the technical scheme, the address allocation method and the address allocation device for the shunt circuit breaker of the intelligent distribution box are provided, and the method and the device are characterized in that firstly, each shunt circuit of the circuit breaker is scanned according to an address allocation instruction, and whether the shunt circuit is in a configurable state or not is judged; if the branches are in a configurable state, assigning addresses to the branches of the circuit breaker, and continuing to repeat the scanning instruction until the assignment of addresses for all branches is completed. In addition, whether the address setting state is entered or not can be judged according to the time for pressing the shunt switch; if the address setting state is entered, acquiring the times of pressing down the shunt switch; setting a shunt address according to the number of times of pressing the shunt switch, and judging whether to end the address assignment operation according to the time of pressing the shunt switch in the process of the address setting state. By adopting the method and the device provided by the application, the address can be distributed or set for the shunt switch of the circuit breaker, and then the address is distributed for the circuit breaker, so that the hardware cost is reduced in the whole process, and the circuit breaker can be conveniently distinguished.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The above-described embodiments of the present application do not limit the scope of the present application.

Claims (2)

1. An address allocation method for a shunt circuit breaker of an intelligent distribution box is characterized by comprising the following steps:
acquiring first time, wherein the first time is the time for pressing down a shunt switch once;
judging whether the first time exceeds a preset time or not;
if the first time exceeds the preset time, entering an address setting state;
if the address setting state is entered, acquiring a second time;
judging whether second time exceeds the preset time or not, wherein the second time is the time for pressing down the shunt switch at present;
if the second time exceeds the preset time, ending the address allocation operation;
if the second time does not exceed the preset time, acquiring the times of pressing down the shunt switch;
and setting a shunt address according to the times of pressing the shunt switch.
2. An address assignment device for a shunt circuit breaker of a smart distribution box, comprising:
the time acquisition module is used for acquiring a first time and a second time;
the first state judgment module is used for judging whether the first time exceeds a preset time or not, entering an address setting state if the first time exceeds the preset time, and acquiring second time if the first time enters the address setting state;
the second state judgment module is used for judging whether the second time exceeds the preset time or not, and acquiring the times of pressing down the shunt switch if the second time does not exceed the preset time;
and the address setting module is used for setting a shunt address according to the times of pressing the shunt switch, and ending the address distribution operation if the second time exceeds the preset time in the process of the address setting state.
CN201711375236.3A 2017-12-19 2017-12-19 Address allocation method and device for shunt circuit breaker of intelligent distribution box Active CN107864235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711375236.3A CN107864235B (en) 2017-12-19 2017-12-19 Address allocation method and device for shunt circuit breaker of intelligent distribution box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711375236.3A CN107864235B (en) 2017-12-19 2017-12-19 Address allocation method and device for shunt circuit breaker of intelligent distribution box

Publications (2)

Publication Number Publication Date
CN107864235A CN107864235A (en) 2018-03-30
CN107864235B true CN107864235B (en) 2021-03-30

Family

ID=61707119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711375236.3A Active CN107864235B (en) 2017-12-19 2017-12-19 Address allocation method and device for shunt circuit breaker of intelligent distribution box

Country Status (1)

Country Link
CN (1) CN107864235B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769968B (en) * 2019-10-21 2024-01-19 上海良信电器股份有限公司 Circuit breaker, cabinet, system, address acquisition method and equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5408506A (en) * 1993-07-09 1995-04-18 Apple Computer, Inc. Distributed time synchronization system and method
US8209371B2 (en) * 2002-11-07 2012-06-26 Hewlett-Packard Development Company, L.P. Method and system for managing communication in a computer network using aliases of computer network addresses
EP2031625B1 (en) * 2007-09-03 2011-07-06 Siemens Aktiengesellschaft Method for identifying components in an electrical low-voltage switching station
CN202059150U (en) * 2011-04-18 2011-11-30 乐清市公认电气有限公司 Earth leakage protective device suitable for setting address
CN106528176A (en) * 2016-11-28 2017-03-22 深圳市金立通信设备有限公司 Address judgment method and terminal
CN106547718A (en) * 2016-12-08 2017-03-29 东莞钜威动力技术有限公司 A kind of distribution method and battery management system of bus address
CN107105071A (en) * 2017-05-05 2017-08-29 北京京东金融科技控股有限公司 IP call methods and device, storage medium, electronic equipment
CN107454208B (en) * 2017-08-24 2020-05-08 广东雅达电子股份有限公司 Method for distributing network address for slave node equipment

Also Published As

Publication number Publication date
CN107864235A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN108270883B (en) Can automatic dispensing device address code method, breaker and storage medium
CN103634636B (en) A kind of application fast control method and system of Android intelligent television
CN109521683B (en) Control method, remote controller and control terminal of household electrical appliance in local area network
US5430430A (en) Method of managing electric power on the basis of tariff schedules, in a network within a dwelling or the like
CN204651612U (en) A kind of intelligent socket system with Monitoring and Controlling load appliance
US20170025842A1 (en) Method and apparatus for monitoring and controlling electrical energy consumption
WO2014052193A4 (en) Automatic local electric management system
EP3176898A1 (en) Power distribution terminal capable of determining fault type and determination method thereof
CN104868326A (en) Smart socket system for monitoring and controlling load electric appliances and control method thereof
CN108270286B (en) Low-voltage power distribution system and control method
CN109428315B (en) Self-adaptive protection method, device and system
WO2019196485A1 (en) Networking method and apparatus for air conditioning system, and storage medium and processor
CN107864235B (en) Address allocation method and device for shunt circuit breaker of intelligent distribution box
CN108243222A (en) Server network architecture method and device
CN105242558A (en) Control method and equipment for household electric appliance, household electric appliance and client equipment
CN203813501U (en) Charger
CN203233240U (en) System for monitoring electric current in electrical equipment
CN105554180B (en) The connection method of principal and subordinate's breaker and distribution box in a kind of distribution box
CN117118951A (en) Method for dynamically distributing addresses of universal slaves of one master and multiple slaves bus
CN107612006B (en) Charging control method and device, storage medium and processor
CN105187748A (en) Standby control circuit and display device
CN110086145A (en) A kind of breaker
CN204993299U (en) Controller
CN105759651A (en) Intelligent breaker system capable of performing energy management
CN208506592U (en) A kind of smart home wireless switch controller

Legal Events

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