CN104932345A - Intelligent lighting hardware device self-recovering method and intelligent lighting hardware device self-recovering apparatus - Google Patents
Intelligent lighting hardware device self-recovering method and intelligent lighting hardware device self-recovering apparatus Download PDFInfo
- Publication number
- CN104932345A CN104932345A CN201510271912.7A CN201510271912A CN104932345A CN 104932345 A CN104932345 A CN 104932345A CN 201510271912 A CN201510271912 A CN 201510271912A CN 104932345 A CN104932345 A CN 104932345A
- Authority
- CN
- China
- Prior art keywords
- intelligent lighting
- hardware device
- lighting hardware
- controller
- sequence number
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25341—Single chip programmable controller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention relates to an intelligent lighting hardware device self-recovering method and an intelligent lighting hardware device self-recovering apparatus. The method is applied to a gateway, and comprises the following steps: acquiring the serial number of each intelligent lighting hardware device; comparing each serial number with a pre-stored serial number to judge whether the two serial numbers are consistent, and reacquiring a serial number if the two serial numbers are consistent; or, acquiring the address codes of the corresponding intelligent lighting hardware devices through dial switches, and sending original configuration information corresponding to the address codes to the intelligent lighting hardware devices, wherein the number of the dial switches is the same with that of the intelligent lighting hardware devices, and each dial switch is used to set the address code of the corresponding intelligent lighting hardware device. The beneficial effect lies in that there is no need for professional personnel to redefine configuration information on site after an intelligent lighting hardware device fails and is replaced with a new intelligent lighting hardware device.
Description
Technical field
The present invention relates to intelligent lighting technical field, particularly relate to self-recovery method and the device thereof of intelligent lighting hardware device.
Background technology
Existing intelligent lighting system, generally comprise hardware device, upper computer software, slave computer software three parts form, upper computer software is containing debugging configuration software, monitoring software, Single Chip Microcomputer (SCM) program in slave computer software i.e. each hardware device, by debugging configuration software by functional configuration information definition to each hardware device, hardware device accept and store configuration information after, by input equipment distribution command, corresponding output device receives the function that system broadcast information receipt is capable and configure, drive opening of lighting, close, desk lamp with dimmer switch, reach the application target of intelligent lighting.Current, because the setting of intelligent lighting is all by upper computer software configuration feature information to each hardware device, need the personnel of specialty just can grasp wiring and configuration software.Once time certain equipment in Lighting Control Assembly breaks down; expert engineer is just needed to arrive on-the-spot better faulty equipment; again import or redefine configuration information; with the using function preset before returning to; this maintenance is both time-consuming; waste of manpower cost again, if maintenance personal leave engineering site far away when, light failure also can be caused to affect main management industry or daily routines.
Summary of the invention
For above-mentioned technical matters, an object of the present invention is the self-recovery method providing intelligent lighting hardware device, after intelligent lighting hardware device breaks down the intelligent lighting hardware device more renewed, show up without the need to professional and carry out redefining configuration information.
One of for achieving the above object, the present invention adopts following technical scheme:
The self-recovery method of intelligent lighting hardware device, is applied to gateway, comprises the steps:
Step one: the sequence number obtaining intelligent lighting hardware device;
Step 2: compare according to this sequence number and the sequence number prestored, judges whether consistent, if so, then returns step one, otherwise, enter step 3;
Step 3: the address code being obtained corresponding intelligent lighting hardware device by toggle switch, and the original configuration information corresponding to this address code is sent to intelligent lighting hardware device;
Wherein, toggle switch is equal with the quantity of intelligent lighting hardware device, and each toggle switch is used for arranging the address code of an intelligent lighting hardware device of correspondence.
Preferably, in step one, obtained the sequence number of an intelligent lighting hardware device every 5 seconds.
Preferably, described sequence number defaults in the single-chip microcomputer in intelligent lighting hardware device.
Preferably, described gateway is connected with intelligent lighting hardware device by bus.
Preferably, described intelligent lighting hardware device is one or more in on-off controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller.
Two of object of the present invention is the self-resetting devices providing intelligent lighting hardware device, comprising:
At least one intelligent lighting hardware device;
The toggle switch equal with intelligent lighting hardware device quantity, each toggle switch is used for arranging the address code of an intelligent lighting hardware device of correspondence;
Gateway, for the sequence number from intelligent lighting hardware device is compared with the sequence number prestored, when determining the two and being inconsistent, obtained the address code of corresponding intelligent lighting hardware device by toggle switch, and the original configuration information corresponding to this address code is sent to intelligent lighting hardware device.
Preferably, described sequence number defaults in the single-chip microcomputer in described intelligent lighting hardware device.
Preferably, described gateway is connected with intelligent lighting hardware device by bus.
Preferably, described intelligent lighting hardware device is one or more in on-off controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller.
Compared to existing technology, beneficial effect of the present invention is:
Each different intelligent lighting hardware device has different sequence numbers, when the sequence number that gateway determines intelligent lighting hardware device is different, illustrate that new intelligent lighting hardware device adds, the address code of this intelligent lighting hardware device is obtained by toggle switch, with the corresponding same device of one-address code, the i.e. intelligent lighting hardware device of same model, thus the original configuration information corresponding to this device is sent to intelligent lighting hardware device, again debug to scene without the need to expert engineer, use manpower and material resources sparingly.
Accompanying drawing explanation
Fig. 1 is the self-recovery method process flow diagram of intelligent lighting hardware device of the present invention;
Fig. 2 is the self-resetting devices frame diagram of intelligent lighting hardware device of the present invention;
Wherein, 1, intelligent lighting hardware device; 2, toggle switch; 3, gateway.
Embodiment
Below, by reference to the accompanying drawings and embodiment, the present invention is described further:
See Fig. 1, the self-recovery method of a kind of intelligent lighting hardware device that the present embodiment provides, comprises the steps,
Step s1: the sequence number obtaining intelligent lighting hardware device, sequence number defaults in the single-chip microcomputer in intelligent lighting hardware device;
Step s2: compare with its sequence number in advance according to this sequence number, judges whether consistent, if so, then returns step s1, continues the sequence number that circulation obtains intelligent lighting hardware device, otherwise, enter step s3;
Step s3: the address code being obtained corresponding intelligent lighting hardware device by toggle switch, and the original configuration information corresponding to this address code is sent to intelligent lighting hardware device, wherein, toggle switch is equal with the quantity of intelligent lighting hardware device, and each toggle switch is used for arranging the address code of an intelligent lighting hardware device of correspondence.
Gateway will circulate the sequence number of an acquisition intelligent lighting hardware device at set intervals, and its interval time is preferably 5 seconds, namely in above-mentioned steps s1, obtains the sequence number of an intelligent lighting hardware device every 5 seconds.Sequence number is when dispatching from the factory on the single-chip microcomputer of burning in advance in intelligent lighting hardware device, when intelligent lighting hardware device breaks down, staff changes according to the new identity unit of working rule, namely both models are identical, the intelligent lighting hardware device of model of the same race sets same address code, and therefore by knowing the identification of address code, gateway knows which kind of original configuration information of this distribution is to intelligent lighting hardware device.There is jumbo storer in gateway, the original configuration information of multiple intelligent lighting hardware device is stored in this storer, these different original configuration information address codes respectively from different are corresponding, simultaneously, multiple sequence number is stored in storer, often change an intelligent lighting hardware device, just store the sequence number that once this intelligent lighting hardware device is corresponding, after having changed new intelligent lighting hardware device, the sequence number that the sequence number of the intelligent lighting hardware device of this new replacing and its internal storage store compares by gateway, if in storer and be the consistent sequence number of the sequence number of the intelligent lighting hardware device stored and newly change, illustrate that new intelligent lighting hardware device adds, gateway gets the address code of intelligent lighting hardware device by toggle switch, thus accurately the original configuration information corresponding to this address code is sent to intelligent lighting hardware device.
Gateway is connected with intelligent lighting hardware device by bus, and intelligent lighting hardware device is one or more in on-off controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller.The present embodiment with intelligent lighting hardware device for on-off controller, light adjusting controller, color-temperature controller, delicolor controller, be further described during curtain controller, namely there are five intelligent lighting hardware devices, possess five toggle switchs simultaneously, an each toggle switch respectively corresponding intelligent lighting hardware device carries out the setting of dial-up address, the dial-up address of each different intelligent lighting hardware device is all not identical, therefore gateway can device corresponding to identification intelligent illumination hardware equipment by dial-up address, on-off controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller inside all has single-chip microcomputer, sequence number is provided with in advance respectively in their single-chip microcomputer, if two intelligent lighting hardware devices are on-off controller equally, so these two on-off controllers possess different sequence numbers.Such as when light adjusting controller breaks down, gateway constantly obtains on-off controller, light adjusting controller, color-temperature controller, delicolor controller, the sequence number of these intelligent lighting hardware devices of curtain controller, before the light adjusting controller broken down is changed, the sequence number that gateway obtains contrasts with the sequence number prestored, result is consistent, after having changed new light adjusting controller, the sequence number of this new light adjusting controller is different from the sequence number of the light adjusting controller broken down before, now, gateway is after judging comparison, the sequence number finding new light adjusting controller is inconsistent with the sequence number prestored, thus recall the original configuration information stored in intra-gateway storer and be sent to new light adjusting controller, it should be noted that, gateway is that the original configuration information corresponding with dial-up address recalled from its internal storage according to dial-up address sends to light adjusting controller.
See Fig. 2, the present embodiment also provides a kind of self-resetting devices of intelligent lighting hardware device, and it comprises: at least one intelligent lighting hardware establishes 1; The toggle switch 2 equal with intelligent lighting hardware device 1 quantity, each toggle switch 2 is arranged for the address code of the intelligent lighting hardware device 1 to correspondence; Gateway, for the sequence number from intelligent lighting hardware device 1 is compared with the sequence number prestored, when determining both and being inconsistent, obtained the address code of corresponding intelligent lighting hardware device 1 by toggle switch 2, and the original configuration information corresponding to this address code is sent to intelligent lighting hardware device 1.
Concrete, the intelligent lighting hardware device 1 of the self-resetting devices of the intelligent lighting hardware device that the present embodiment provides is preferably on-off controller 11, light adjusting controller 12, color-temperature controller 13, delicolor controller 14, curtain controller 15, accordingly, the quantity of toggle switch 2 is five, equal with the quantity of intelligent lighting hardware device 1, the intelligent lighting hardware device 1 that each toggle switch 2 is corresponding different respectively, each toggle switch 2 carries out the setting of dial-up address to different intelligent lighting hardware devices 1, the dial-up address of each intelligent lighting hardware device 1 is all not identical, be convenient to the identification of gateway to intelligent lighting hardware device 1 device, gateway 3 is connected with intelligent lighting hardware device 1 by bus, i.e. on-off controller 11, light adjusting controller 12, color-temperature controller 13, delicolor controller 14, curtain controller 15 is all connected with gateway 3 by bus.On-off controller 11, light adjusting controller 12, color-temperature controller 13, delicolor controller 14, curtain controller 15 inside have single-chip microcomputer respectively, sequence number defaults in these single-chip microcomputers respectively, and gateway 3 obtains the sequence number that on-off controller 11, light adjusting controller 12, color-temperature controller 13, delicolor controller 14, the sequence number of curtain controller 15 and gateway 3 prestore respectively and compares.
To one skilled in the art, according to technical scheme described above and design, other various corresponding change and deformation can be made, and all these change and deformation all should belong within the protection domain of the claims in the present invention.
Claims (9)
1. a self-recovery method for intelligent lighting hardware device, is applied to gateway, it is characterized in that, comprises the steps:
Step one: the sequence number obtaining intelligent lighting hardware device;
Step 2: compare according to this sequence number and the sequence number prestored, judges whether consistent, if so, then returns step one, otherwise, enter step 3;
Step 3: the address code being obtained corresponding intelligent lighting hardware device by toggle switch, and the original configuration information corresponding to this address code is sent to intelligent lighting hardware device;
Wherein, toggle switch is equal with the quantity of intelligent lighting hardware device, and each toggle switch is used for arranging the address code of an intelligent lighting hardware device of correspondence.
2. the self-recovery method of intelligent lighting hardware device as claimed in claim 1, is characterized in that, in step one, obtains the sequence number of an intelligent lighting hardware device every 5 seconds.
3. the self-recovery method of intelligent lighting hardware device as claimed in claim 1, it is characterized in that, described sequence number defaults in the single-chip microcomputer in intelligent lighting hardware device.
4. the self-recovery method of intelligent lighting hardware device as claimed in claim 1, it is characterized in that, described gateway is connected with intelligent lighting hardware device by bus.
5. the self-recovery method of intelligent lighting hardware device as claimed in claim 1, is characterized in that, described intelligent lighting hardware device is one or more in on-off controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller.
6. a self-resetting devices for intelligent lighting hardware device, is characterized in that, comprises
At least one intelligent lighting hardware device;
The toggle switch equal with intelligent lighting hardware device quantity, each toggle switch is used for arranging the address code of an intelligent lighting hardware device of correspondence;
Gateway, for the sequence number from intelligent lighting hardware device is compared with the sequence number prestored, when determining the two and being inconsistent, obtained the address code of corresponding intelligent lighting hardware device by toggle switch, and the original configuration information corresponding to this address code is sent to intelligent lighting hardware device.
7. the self-resetting devices of intelligent lighting hardware device as claimed in claim 6, it is characterized in that, described sequence number defaults in the single-chip microcomputer in described intelligent lighting hardware device.
8. the self-resetting devices of intelligent lighting hardware device as claimed in claim 6, it is characterized in that, described gateway is connected with intelligent lighting hardware device by bus.
9. the self-resetting devices of intelligent lighting hardware device as claimed in claim 6, is characterized in that, described intelligent lighting hardware device is one or more in on-off controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510271912.7A CN104932345B (en) | 2015-05-25 | 2015-05-25 | The self-recovery method and its device of intelligent lighting hardware device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510271912.7A CN104932345B (en) | 2015-05-25 | 2015-05-25 | The self-recovery method and its device of intelligent lighting hardware device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104932345A true CN104932345A (en) | 2015-09-23 |
CN104932345B CN104932345B (en) | 2018-04-20 |
Family
ID=54119554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510271912.7A Active CN104932345B (en) | 2015-05-25 | 2015-05-25 | The self-recovery method and its device of intelligent lighting hardware device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104932345B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105278384A (en) * | 2015-11-06 | 2016-01-27 | 华北电力大学(保定) | Household appliance control method and system, and intelligent master unit |
CN110995490A (en) * | 2019-12-03 | 2020-04-10 | 国网上海市电力公司 | In-situ module device and configuration-free method |
CN111850795A (en) * | 2020-06-11 | 2020-10-30 | 佛山市睿宝智能科技有限公司 | Needle selector control method, knitting machine, and storage medium |
CN113518501A (en) * | 2021-06-09 | 2021-10-19 | 广州力控智电信息科技有限公司 | Intelligent lighting system equipment replacement method, system, device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004056157A1 (en) * | 2002-12-16 | 2004-07-01 | Koninklijke Philips Electronics N.V. | System and method for lighting control network recovery from master failure |
CN101742774A (en) * | 2009-12-09 | 2010-06-16 | 惠州大景照明控制有限公司 | Intelligent illumination bus system and control method thereof |
CN203167372U (en) * | 2013-04-03 | 2013-08-28 | 浙江科瑞电子科技有限公司 | A fire-fighting emergency lamp controller with centralized power and centralized control |
CN103906323A (en) * | 2014-04-17 | 2014-07-02 | 钟佩仪 | Intelligent light control system and method |
CN104602404A (en) * | 2014-12-30 | 2015-05-06 | 生迪光电科技股份有限公司 | LED lighting apparatus, wireless mesh network and control method thereof |
-
2015
- 2015-05-25 CN CN201510271912.7A patent/CN104932345B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004056157A1 (en) * | 2002-12-16 | 2004-07-01 | Koninklijke Philips Electronics N.V. | System and method for lighting control network recovery from master failure |
CN101742774A (en) * | 2009-12-09 | 2010-06-16 | 惠州大景照明控制有限公司 | Intelligent illumination bus system and control method thereof |
CN203167372U (en) * | 2013-04-03 | 2013-08-28 | 浙江科瑞电子科技有限公司 | A fire-fighting emergency lamp controller with centralized power and centralized control |
CN103906323A (en) * | 2014-04-17 | 2014-07-02 | 钟佩仪 | Intelligent light control system and method |
CN104602404A (en) * | 2014-12-30 | 2015-05-06 | 生迪光电科技股份有限公司 | LED lighting apparatus, wireless mesh network and control method thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105278384A (en) * | 2015-11-06 | 2016-01-27 | 华北电力大学(保定) | Household appliance control method and system, and intelligent master unit |
CN110995490A (en) * | 2019-12-03 | 2020-04-10 | 国网上海市电力公司 | In-situ module device and configuration-free method |
CN111850795A (en) * | 2020-06-11 | 2020-10-30 | 佛山市睿宝智能科技有限公司 | Needle selector control method, knitting machine, and storage medium |
CN113518501A (en) * | 2021-06-09 | 2021-10-19 | 广州力控智电信息科技有限公司 | Intelligent lighting system equipment replacement method, system, device and storage medium |
CN113518501B (en) * | 2021-06-09 | 2024-04-19 | 广州中鸣力控信息工程有限公司 | Intelligent lighting system equipment replacement method, system, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104932345B (en) | 2018-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104932345A (en) | Intelligent lighting hardware device self-recovering method and intelligent lighting hardware device self-recovering apparatus | |
CN103995197B (en) | A kind of aging testing apparatus of electronic product | |
CN108180599B (en) | Debugging method, debugging device and computer readable storage medium | |
CN104007340A (en) | Electronic product aging test system and aging test method | |
CN104052631A (en) | Equipment information collecting method, device and system | |
CN105978152A (en) | Automatic closed loop joint debugging method for telecontrol equipment and regulation and control main station of intelligent substation | |
CN104199755A (en) | Method and system for diagnosing hardware module faults based on indicator lights | |
CN103582208A (en) | Indicating lamp control method and device in embedded type equipment | |
CN105429301B (en) | A kind of Intelligent power distribution network self-healing control method based on modal analysis | |
CN104236025A (en) | System and method for controlling air conditioner | |
CN111693252B (en) | Lamp test control system and lamp test method | |
CN101978282B (en) | Switching unit adapted for communicating with a processing unit | |
WO2020098602A1 (en) | Light fixture status information query method and application thereof in a lighting control system | |
CN108462621A (en) | A kind of method of the distribution of communication apparatus address and number of devices statistics | |
CN105354769A (en) | Data processing method and device used for power distribution network equipment | |
CN103108319B (en) | For method and the device of LED street lamp built-in controller Lookup protocol address | |
CN105242160A (en) | Synchronous testing method and testing system of multiple household electric appliances | |
CN105849699A (en) | Method for controlling data center configuration device | |
CN203070060U (en) | Indication circuit and hospital control system applying the indication circuit | |
WO2021192487A1 (en) | Rapid commissioning of lighting devices | |
CN104932346A (en) | Method for realizing automatic programming of fire alarm controller | |
CN103984312A (en) | Control system for underground equipment | |
CN104753993A (en) | Method for monitoring server and monitoring device | |
JP2018022947A (en) | Gateway unit, time setting system, time setting program, and time setting method | |
CN110225634B (en) | Bidirectional communication-based lamp equipment identification method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |