CN104932345B - The self-recovery method and its device of intelligent lighting hardware device - Google Patents

The self-recovery method and its device of intelligent lighting hardware device Download PDF

Info

Publication number
CN104932345B
CN104932345B CN201510271912.7A CN201510271912A CN104932345B CN 104932345 B CN104932345 B CN 104932345B CN 201510271912 A CN201510271912 A CN 201510271912A CN 104932345 B CN104932345 B CN 104932345B
Authority
CN
China
Prior art keywords
intelligent lighting
hardware device
lighting hardware
sequence number
controller
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
CN201510271912.7A
Other languages
Chinese (zh)
Other versions
CN104932345A (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.)
SHENZHEN E-LINKER INTELLIGENT ELECTRIC Co Ltd
Original Assignee
SHENZHEN E-LINKER INTELLIGENT ELECTRIC 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 SHENZHEN E-LINKER INTELLIGENT ELECTRIC Co Ltd filed Critical SHENZHEN E-LINKER INTELLIGENT ELECTRIC Co Ltd
Priority to CN201510271912.7A priority Critical patent/CN104932345B/en
Publication of CN104932345A publication Critical patent/CN104932345A/en
Application granted granted Critical
Publication of CN104932345B publication Critical patent/CN104932345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25341Single 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 present invention relates to the self-recovery method and its device of intelligent lighting hardware device, it is applied to gateway, and this method is to obtain the sequence number of intelligent lighting hardware device first;Afterwards according to the sequence number compared with the sequence number prestored, judge whether consistent, if, then reacquire sequence number, otherwise, the address code of corresponding intelligent lighting hardware device is obtained by toggle switch, and original configuration information corresponding with the address code is sent to intelligent lighting hardware device, toggle switch is equal with the quantity of intelligent lighting hardware device, and each toggle switch is used to be configured the address code of a corresponding intelligent lighting hardware device.The beneficial effects of the present invention are after intelligent lighting hardware device breaks down the intelligent lighting hardware device more renewed, show up without professional and carry out redefining configuration information.

Description

The self-recovery method and its device of intelligent lighting hardware device
Technical field
The present invention relates to the self-recovery method and its dress of intelligent lighting technical field, more particularly to intelligent lighting hardware device Put.
Background technology
Existing intelligent lighting system, generally comprises hardware device, upper computer software, slave computer software three parts Composition, upper computer software, which contains, debugs configuration software, monitoring software, the microcontroller journey in slave computer software, that is, each hardware device Sequence, by debugging configuration software by functional configuration information definition to each hardware device, hardware device receives and storage configuration letter After breath, by input equipment distribution command, corresponding output equipment receives system broadcast information receipt row and has configured Function, drives open and close, the desk lamp with dimmer switch of illuminator, reaches the application target of intelligent lighting.Currently, because intelligent lighting is set Establish a capital be by upper computer software configuration feature information to each hardware device, it is necessary to specialty personnel can just grasp wiring and Configuration software.Once some equipment in Lighting Control Assembly breaks down, it is necessary to expert engineer to it is live more Good faulty equipment, imports or redefines again configuration information, with the use function of being preset before returning to, this maintenance Not only it is time-consuming, but also waste of manpower cost, if in the case that maintenance personal leaves engineering site farther out, can also cause light failure Influence main management industry or daily routines.
The content of the invention
For above-mentioned technical problem, it is an object of the present invention to provide the self- recoverage side of intelligent lighting hardware device Method, after intelligent lighting hardware device breaks down the intelligent lighting hardware device more renewed, shows up progress without professional Redefine configuration information.
One of to achieve the above object, the present invention adopts the following technical scheme that:
The self-recovery method of intelligent lighting hardware device, applied to gateway, includes the following steps:
Step 1:Obtain the sequence number of intelligent lighting hardware device;
Step 2:According to the sequence number compared with the sequence number prestored, judge whether unanimously, if so, then returning Step 1 is returned, otherwise, enters step three;
Step 3:The address code of corresponding intelligent lighting hardware device is obtained by toggle switch, and will be with the address code Corresponding original configuration information 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 right The address code for the intelligent lighting hardware device answered is configured.
Preferably, in step 1, every the sequence number that 5 seconds obtain an intelligent lighting hardware device.
Preferably, the sequence number is defaulted in the microcontroller in intelligent lighting hardware device.
Preferably, the gateway is connected by bus with intelligent lighting hardware device.
Preferably, the intelligent lighting hardware device is switch controller, light adjusting controller, color-temperature controller, color control One or more of device processed, curtain controller.
The second object of the present invention is the self-resetting devices for providing intelligent lighting hardware device, including:
At least one intelligent lighting hardware device;
The toggle switch equal with intelligent lighting hardware device quantity, each toggle switch are used for a corresponding intelligence The address code of energy illumination hardware equipment is configured;
Gateway, for by the sequence number from intelligent lighting hardware device compared with the sequence number prestored, when Determine the two it is inconsistent when, the address code of corresponding intelligent lighting hardware device is obtained by toggle switch, and will be with the ground Code corresponding original configuration information in location is sent to intelligent lighting hardware device.
Preferably, the sequence number is defaulted in the microcontroller in the intelligent lighting hardware device.
Preferably, the gateway is connected by bus with intelligent lighting hardware device.
Preferably, the intelligent lighting hardware device is switch controller, light adjusting controller, color-temperature controller, color control One or more of device processed, curtain controller.
Compared with prior art, the beneficial effects of the present invention are:
Each different intelligent lighting hardware device has different sequence numbers, is set when gateway determines intelligent lighting hardware When standby sequence number is different, illustrate there is new intelligent lighting hardware device to add, obtaining the intelligence by toggle switch shines The address code of bright hardware device, same device is corresponded to one-address code, i.e., the intelligent lighting hardware device of same model, so that Original configuration information corresponding with the device is sent to intelligent lighting hardware device, is adjusted again to scene without expert engineer Examination, uses manpower and material resources sparingly.
Brief description of the drawings
Fig. 1 is the self-recovery method flow chart of the intelligent lighting hardware device of the present invention;
Fig. 2 is the self-resetting devices frame diagram of the intelligent lighting hardware device of the present invention;
Wherein, 1, intelligent lighting hardware device;2nd, toggle switch;3rd, gateway.
Embodiment
In the following, with reference to attached drawing and embodiment, the present invention is described further:
Referring to Fig. 1, a kind of self-recovery method of intelligent lighting hardware device provided in this embodiment, includes the following steps,
Step s1:The sequence number of intelligent lighting hardware device is obtained, sequence number is defaulted in intelligent lighting hardware device In microcontroller;
Step s2:According to the sequence number compared with its advance sequence number, judge whether unanimously, if so, then return to step S1, continues cycling through the sequence number for obtaining intelligent lighting hardware device, otherwise, enters step s3;
Step s3:The address code of corresponding intelligent lighting hardware device is obtained by toggle switch, and will be with the address code Corresponding original configuration information is sent to intelligent lighting hardware device, wherein, the number of toggle switch and intelligent lighting hardware device Measure equal, and each toggle switch is used to be configured the address code of a corresponding intelligent lighting hardware device.
Gateway will circulate the sequence number for obtaining an intelligent lighting hardware device at regular intervals, its interval time is excellent Elect as 5 seconds, i.e. in above-mentioned steps s1, every the sequence number that 5 seconds obtain an intelligent lighting hardware device.Sequence number is when dispatching from the factory On microcontroller of the prior burning in intelligent lighting hardware device, when intelligent lighting hardware device breaks down, work people Member replaces according to the new identity unit of operation rules, i.e., both models are identical, and the intelligent lighting hardware device of model of the same race is set Fixed same address code, therefore gateway is clear how the distribution which kind of original configuration information extremely by the identification to address code Intelligent lighting hardware device.There is the memory of large capacity in gateway, it is hard to contain a variety of intelligent lightings in the memory memory The original configuration information of part equipment, these different original configuration information are corresponding from different address codes respectively, meanwhile, memory Memory contains multiple sequence numbers, as soon as often replacing time intelligent lighting hardware device, stores the once intelligent lighting hardware device pair The sequence number answered, after new intelligent lighting hardware device has been replaced, gateway is by the intelligent lighting hardware device of the new replacement The sequence number that is stored with its internal storage of sequence number compare, if in memory and to be stored with the intelligence with newly replacing The consistent sequence number of the sequence number of illumination hardware equipment, illustrates have new intelligent lighting hardware device to add, gateway passes through dial-up Switch gets the address code of intelligent lighting hardware device, so that accurately will original configuration information hair corresponding with the address code Send to intelligent lighting hardware device.
Gateway is connected by bus with intelligent lighting hardware device, and intelligent lighting hardware device is switch controller, light modulation One or more of controller, color-temperature controller, delicolor controller, curtain controller.The present embodiment is with intelligent lighting hardware Equipment is further described when being switch controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller, There are five intelligent lighting hardware devices, be provided simultaneously with five toggle switch, each toggle switch corresponds to an intelligence respectively Illumination hardware equipment carries out dial-up address setting, and the dial-up address of each different intelligent lighting hardware device differs, because This gateway can be with the specific corresponding device of identification intelligent illumination hardware equipment, switch controller, brightness adjustment control by dial-up address Device, color-temperature controller, delicolor controller, be respectively provided with microcontroller inside curtain controller, is set in advance respectively in their microcontroller There is sequence number, if two intelligent lighting hardware devices are equally switch controllers, then the two switch controllers possess not Same sequence number.Such as when light adjusting controller breaks down, gateway constantly obtains switch controller, light adjusting controller, colour temperature The sequence number of these intelligent lighting hardware devices of controller, delicolor controller, curtain controller, in the brightness adjustment control to break down Before device is replaced, the sequence number that gateway obtains and the sequence number that prestores contrast, the result is that consistent, when having replaced new tune After optical controller, the sequence number of the light adjusting controller of the sequence number of the new light adjusting controller from breaking down before is different, this When, gateway finds that the sequence number of new light adjusting controller and the sequence number prestored are inconsistent after judging to compare, so that The original configuration information stored in intra-gateway memory is recalled to send to new light adjusting controller, it is necessary to illustrate, gateway It is that the original configuration information corresponding with dial-up address recalled according to dial-up address from its internal storage is sent to brightness adjustment control Device.
Referring to Fig. 2, the present embodiment also provides a kind of self-resetting devices of intelligent lighting hardware device, it includes:At least one A intelligent lighting hardware sets 1;The toggle switch 2 equal with 1 quantity of intelligent lighting hardware device, each toggle switch 2 are used for The address code of corresponding intelligent lighting hardware device 1 is configured;Gateway, for by from intelligent lighting hardware device 1 Sequence number compared with the sequence number prestored, when determine both it is inconsistent when, corresponding intelligence is obtained by toggle switch 2 The address code of illumination hardware equipment 1, and original configuration information corresponding with the address code is sent to intelligent lighting hardware device 1。
Specifically, the intelligent lighting hardware device 1 of the self-resetting devices of intelligent lighting hardware device provided in this embodiment Preferably switch 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, and equal with the quantity of intelligent lighting hardware device 1, each toggle switch 2 corresponds to respectively Different intelligent lighting hardware devices 1, each toggle switch 2 carry out dial-up address to different intelligent lighting hardware devices 1 and set Put, the dial-up address of each intelligent lighting hardware device 1 differs, easy to gateway to 1 device of intelligent lighting hardware device Identification, gateway 3 are connected by bus with intelligent lighting hardware device 1, i.e. switch controller 11, light adjusting controller 12, colour temperature control Device 13 processed, delicolor controller 14, curtain controller 15 are connected by bus with gateway 3.Switch controller 11, light adjusting controller 12nd, color-temperature controller 13, delicolor controller 14, there is microcontroller respectively inside curtain controller 15, sequence number defaults in respectively In these microcontrollers, gateway 3 obtains switch controller 11, light adjusting controller 12, color-temperature controller 13, delicolor controller respectively 14th, the sequence number of curtain controller 15 is compared with the sequence number that gateway 3 prestores.
It will be apparent to those skilled in the art that technical solution that can be as described above and design, make other various Corresponding change and deformation, and all these changes and deformation should all belong to the protection domain of the claims in the present invention Within.

Claims (9)

  1. A kind of 1. self-recovery method of intelligent lighting hardware device, applied to gateway, it is characterised in that include the following steps:
    Step 1:Obtain the sequence number of intelligent lighting hardware device;The sequence number is defaulted in intelligent lighting hardware device;
    Step 2:According to the sequence number compared with the sequence number prestored, judge whether unanimously, if so, then returning to step Rapid one, otherwise, enter step three;
    Step 3:The address code of corresponding intelligent lighting hardware device is obtained by toggle switch, and will be corresponding to the address code Original configuration information send 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 corresponding The address code of one intelligent lighting hardware device is configured.
  2. 2. the self-recovery method of intelligent lighting hardware device as claimed in claim 1, it is characterised in that in step 1, often Every the sequence number that 5 seconds obtain an intelligent lighting hardware device.
  3. 3. the self-recovery method of intelligent lighting hardware device as claimed in claim 1, it is characterised in that the sequence number is preset In microcontroller in intelligent lighting hardware device.
  4. 4. the self-recovery method of intelligent lighting hardware device as claimed in claim 1, it is characterised in that the gateway passes through total Line is connected with intelligent lighting hardware device.
  5. 5. the self-recovery method of intelligent lighting hardware device as claimed in claim 1, it is characterised in that the intelligent lighting is hard Part equipment is one or more of switch controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller.
  6. A kind of 6. self-resetting devices of intelligent lighting hardware device, it is characterised in that including
    At least one intelligent lighting hardware device;
    The toggle switch equal with intelligent lighting hardware device quantity, each toggle switch are used to shine corresponding one intelligence The address code of bright hardware device is configured;
    Gateway, for compared with the sequence number prestored, the sequence number from intelligent lighting hardware device to be worked as judgement To the two it is inconsistent when, the address code of corresponding intelligent lighting hardware device is obtained by toggle switch, and will be with the address code Corresponding original configuration information is sent to intelligent lighting hardware device;
    The sequence number is defaulted in the intelligent lighting hardware device.
  7. 7. the self-resetting devices of intelligent lighting hardware device as claimed in claim 6, it is characterised in that the sequence number is preset In microcontroller in the intelligent lighting hardware device.
  8. 8. the self-resetting devices of intelligent lighting hardware device as claimed in claim 6, it is characterised in that the gateway passes through total Line is connected with intelligent lighting hardware device.
  9. 9. the self-resetting devices of intelligent lighting hardware device as claimed in claim 6, it is characterised in that the intelligent lighting is hard Part equipment is one or more of switch controller, light adjusting controller, color-temperature controller, delicolor controller, curtain controller.
CN201510271912.7A 2015-05-25 2015-05-25 The self-recovery method and its device of intelligent lighting hardware device Active CN104932345B (en)

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 CN104932345A (en) 2015-09-23
CN104932345B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278384B (en) * 2015-11-06 2019-08-06 华北电力大学(保定) Household electric appliance control method and system, intelligent exchange
CN110995490B (en) * 2019-12-03 2022-08-12 国网上海市电力公司 In-situ module device and configuration-free method
CN111850795B (en) * 2020-06-11 2022-05-06 佛山市睿宝智能科技有限公司 Needle selector control method, knitting machine, and storage medium
CN113518501B (en) * 2021-06-09 2024-04-19 广州中鸣力控信息工程有限公司 Intelligent lighting system equipment replacement method, system, device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE458379T1 (en) * 2002-12-16 2010-03-15 Koninkl Philips Electronics Nv SYSTEM AND METHOD FOR RECOVERING A LIGHTING CONTROL NETWORK AFTER MASTER FAILURE
CN101742774B (en) * 2009-12-09 2013-05-29 惠州大景照明控制有限公司 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
CN103906323B (en) * 2014-04-17 2017-02-15 钟佩仪 Intelligent light control system and method
CN104602404B (en) * 2014-12-30 2017-01-25 生迪光电科技股份有限公司 LED lighting apparatus, wireless mesh network and control method thereof

Also Published As

Publication number Publication date
CN104932345A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN104932345B (en) The self-recovery method and its device of intelligent lighting hardware device
EP3466206B1 (en) Illumination control
EP3189382B1 (en) Method for data collection for the configuration of a building automation system and method for configuring a building automation system
CN107210932A (en) The self-adaptive recovery of node failure in network system
CN106797695B (en) Control system for controlling power/data communication system
EP1624729B1 (en) Method for installing a lighting system
EP2508046B1 (en) Optical signal output of operating parameters with an led lighting unit
US20130253726A1 (en) Apparatus management system, and mobile terminal which is used in apparatus management system
CN203070060U (en) Indication circuit and hospital control system applying the indication circuit
DE102014202720A1 (en) lighting system
DE102012013894A1 (en) Method for operating of lamp in lamp circuit board, involves transmitting measurement results of detection and/or operating information of lamp to data network
JP7082652B2 (en) Rapid commissioning of lighting devices
CN103414873A (en) System and method for monitoring and protecting die-casting die
CN106686810A (en) Method for intelligently generating light position map
WO2022225113A1 (en) Smart process management system and smart process management method
CN109410085B (en) Binding system and method for farm equipment
CN105590085A (en) Information processing method, apparatus and system, and electronic device
AT15432U1 (en) Building technology bus system for the operation of building technology devices
DE212015000089U1 (en) Lighting system and control device for a lighting device
EP2869670A1 (en) Light or light assembly
CN103412261B (en) The many running statuses of a kind of generator unit represent method
CN107636719B (en) System for determining the energy consumption of individual consumers
EP3189500B1 (en) Augmented reality-based lighting system and method
CN105188234A (en) High-reliability colored lamp system control method
CN115442944A (en) Thing networking light current engineering wisdom management system

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