CN114513496A - Control method, system, device and medium for intelligent lamp - Google Patents

Control method, system, device and medium for intelligent lamp Download PDF

Info

Publication number
CN114513496A
CN114513496A CN202111641395.XA CN202111641395A CN114513496A CN 114513496 A CN114513496 A CN 114513496A CN 202111641395 A CN202111641395 A CN 202111641395A CN 114513496 A CN114513496 A CN 114513496A
Authority
CN
China
Prior art keywords
dali
file
editing
knx
intelligent lamp
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
Application number
CN202111641395.XA
Other languages
Chinese (zh)
Other versions
CN114513496B (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.)
Hangzhou Shendu Technology Co ltd
Original Assignee
Hangzhou Shendu Technology 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 Hangzhou Shendu Technology Co ltd filed Critical Hangzhou Shendu Technology Co ltd
Priority to CN202111641395.XA priority Critical patent/CN114513496B/en
Publication of CN114513496A publication Critical patent/CN114513496A/en
Application granted granted Critical
Publication of CN114513496B publication Critical patent/CN114513496B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The application relates to a control method, a system, a device and a medium of an intelligent lamp, wherein the method comprises the following steps: the method comprises the steps of acquiring an editing file of the intelligent lamp sent by a client and uploading the editing file to a cloud server, sending the editing file to a corresponding local server through the cloud server, encrypting the editing file into a configuration file with a preset data format through the local server, sending the configuration file to a DALI gateway through a KNX bus, editing the intelligent lamp through the DALI gateway according to editing information in the configuration file, and controlling the edited intelligent lamp to realize a preset function.

Description

Control method, system, device and medium for intelligent lamp
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a method, a system, a device, and a medium for controlling a smart lamp.
Background
DALI (Digital Addressable Lighting Interface) is a two-line bidirectional serial Digital communication protocol, and is a Digital clock Lighting communication system researched and developed by Lighting manufacturers due to the requirement of energy conservation, and the DALI system has the advantages of simple structure, convenience in installation, easiness in operation and the like. In practical building intelligent project applications, the DALI system is usually docked with the KNX bus system as one of the subsystems, and provides powerful support for intelligent lighting control of a building. The existing KNX/DALI gateways on the market are very complicated in debugging, and debugging engineers are required to map each DALI lamp address into a corresponding KNX control address one by one through DALI gateway programming.
Therefore, the KNX/DALI gateway needs to find out the DALI lamp address of each lamp and then associates the DALI lamp address with the KNX control address. Under the condition of a large number of lamps, the debugging process becomes very complicated and time-consuming; and after debugging and delivery, the function of the intelligent lamp is inconvenient for the user to edit by himself, and after the equipment breaks down, the user can not solve the problem by simply replacing the equipment and needs to reprogram and download the intelligent lamp into the equipment.
At present, no effective solution is provided aiming at the problem that the editing control of an intelligent lamp in the related art is inconvenient.
Disclosure of Invention
The embodiment of the application provides a control method, a control system, a control device and a control medium of an intelligent lamp, and aims to at least solve the problem that the editing control of the intelligent lamp in the related technology is inconvenient.
In a first aspect, an embodiment of the present application provides a control method for an intelligent luminaire, where the method includes:
acquiring an editing file of the intelligent lamp sent by a client and uploading the editing file to a cloud server;
sending the edited file to a corresponding local server through the cloud server according to the KNX gateway ID in the edited file;
encrypting the editing file into a configuration file with a preset data format through the local server, and sending the configuration file to a DALI gateway through a KNX bus;
and editing the intelligent lamp through the DALI gateway according to the editing information in the configuration file, and controlling the edited intelligent lamp to realize a preset function.
In some embodiments, editing, by the DALI gateway, the smart luminaire according to the editing information in the configuration file comprises:
according to the grouping information in the configuration file, obtaining DALI equipment hardware addresses of a plurality of intelligent lamps in the grouping through the DALI gateway, and mapping the DALI equipment hardware addresses to obtain DALI equipment virtual addresses;
and calculating to obtain a KNX device control address according to the DALI device virtual address and the KNX device hardware address, and completing the re-association configuration of the DALI device hardware address of the intelligent lamp in the group and the KNX device control address.
In some of these embodiments, encrypting, by the local server, the edit file into a configuration file in a preset data format, the sending of the configuration file to the DALI gateway via the KNX bus comprising:
and encrypting the editing file in the JSON data format into a configuration file in a VSON data format through the local server, and sending the configuration file to the DALI gateway through a KNX bus.
In some embodiments, mapping the DALI device hardware address to obtain a DALI device virtual address includes:
and sequentially arranging the DALI equipment hardware addresses according to a preset sequence to obtain an arrangement sequence number, and setting the arrangement sequence number as a corresponding DALI equipment virtual address.
In some embodiments, calculating the KNX device control address from the DALI device virtual address and the KNX device hardware address includes:
calculating a KNX device switch address according to the DALI device virtual address DN and the KNX device hardware address KN by a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
In some embodiments, controlling the edited intelligent lamp to realize the preset function includes:
controlling the opening and closing of the edited intelligent lamp, adjusting the brightness of the edited intelligent lamp, and adjusting the color temperature of the edited intelligent lamp.
In some embodiments, before obtaining the edit file of the intelligent lamp sent by the client and uploading the edit file to the cloud server, the method further includes:
renaming intelligent lamps through a client, and grouping the intelligent lamps according to preset rules to generate an editing file, wherein the preset rules comprise region range rules and lamp type rules.
In a second aspect, an embodiment of the present application provides a control system for an intelligent lamp, where the system includes a data acquisition module, a data issuing module, a data processing module, and an editing control module;
the data acquisition module acquires an edit file of the intelligent lamp sent by the client and uploads the edit file to the cloud server;
the data issuing module sends the edited file to a corresponding local server through the cloud server according to the KNX gateway ID in the edited file;
the data processing module encrypts the editing file into a configuration file with a preset data format through the local server, and sends the configuration file to the DALI gateway through the KNX bus;
and the editing control module edits the intelligent lamp through the DALI gateway according to the editing information in the configuration file, and controls the edited intelligent lamp to realize a preset function.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the processor implements the control method of the intelligent luminaire according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the control method of the intelligent luminaire as described in the first aspect above.
Compared with the related art, the control method, the system, the device and the medium of the intelligent lamp provided by the embodiment of the application are characterized in that the editing file of the intelligent lamp sent by the client is acquired and uploaded to the cloud server, the editing file is sent to the corresponding local server through the cloud server according to the KNX gateway ID in the editing file, the editing file is encrypted into the configuration file with the preset data format through the local server, the configuration file is sent to the DALI gateway through the KNX bus, the intelligent lamp is edited through the DALI gateway according to the editing information in the configuration file, the edited intelligent lamp is controlled to realize the preset function, the problem that the editing control of the intelligent lamp in the related art is inconvenient is solved, the function that a user can edit the intelligent lamp by himself after debugging and delivery is realized, and the problem that the user can simply replace equipment after the equipment fails is solved, the reprogramming configuration of the intelligent lamp after editing and replacing is avoided.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of steps of an intelligent luminaire control method according to an embodiment of the present application;
FIG. 2 is a flowchart of the steps for an intelligent light fixture editing configuration;
fig. 3 is a block diagram of an intelligent luminaire control system according to an embodiment of the present application;
fig. 4 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Description of the drawings: 31. a data acquisition module; 32. a data issuing module; 33. a data processing module; 34. and an editing control module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
An embodiment of the present application provides a control method of an intelligent lamp, and fig. 1 is a flowchart illustrating steps of the control method of the intelligent lamp according to the embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S102, acquiring an editing file of the intelligent lamp sent by a client and uploading the editing file to a cloud server;
step S104, sending the edited file to a corresponding local server through a cloud server according to the KNX gateway ID in the edited file;
step S106, encrypting the editing file into a configuration file with a preset data format through a local server, and sending the configuration file to the DALI gateway through a KNX bus;
and S108, editing the intelligent lamp through the DALI gateway according to the editing information in the configuration file, and controlling the edited intelligent lamp to realize a preset function.
Through steps S102 to S108 in the embodiment of the present application, a problem that editing control of an intelligent lamp in the related art is inconvenient is solved, a function that a user can edit the intelligent lamp by himself after debugging and delivery is realized, and a user can also solve the problem by simply replacing equipment after equipment fails, thereby avoiding reprogramming configuration after editing and replacing the intelligent lamp.
In some embodiments, fig. 2 is a flowchart of steps of editing configuration by an intelligent luminaire, and as shown in fig. 2, the step S108 of editing the intelligent luminaire through a DALI gateway according to editing information in a configuration file includes:
step S202, obtaining DALI equipment hardware addresses of a plurality of intelligent lamps in a group through a DALI gateway according to group information in a configuration file, and mapping the DALI equipment hardware addresses to obtain DALI equipment virtual addresses;
and S204, calculating to obtain a KNX device control address according to the DALI device virtual address and the KNX device hardware address, and finishing the re-association configuration of the DALI device hardware address and the KNX device control address of the intelligent lamp in the sub-group.
In some embodiments, step S106, encrypting, by the local server, the edit file into a configuration file in a preset data format, and sending the configuration file to the DALI gateway through the KNX bus includes:
and encrypting the editing file in the JSON data format into a configuration file in the VSON data format through a local server, and sending the configuration file to the DALI gateway through a KNX bus.
In some embodiments, in step S202, mapping the DALI device hardware address to obtain a DALI device virtual address includes:
sequentially arranging the DALI equipment hardware addresses according to a preset sequence to obtain an arrangement sequence number, and setting the arrangement sequence number as a corresponding DALI equipment virtual address.
Specifically, table 1 is a mapping table of DALI device hardware addresses and DALI device virtual addresses, and as shown in table 1, the DALI device hardware addresses (64, 17, 19, 12, 5, 7, 9) are arranged in descending order (5, 7, 9, 12, 17, 19, 64), and an arrangement number (1, 2, 3, 4, 5, 6, 7) is obtained, and the arrangement number is set as the DALI device virtual address, that is, a mapping pair (5-1, 7-2, 9-3, 12-4, 17-5, 19-6, 64-7) is obtained.
TABLE 1
DALI device hardware address DALI device virtual address
5 1
7 2
9 3
12 4
17 5
19 6
64 7
It should be noted that the preset sequence may be from small to large, from large to small, or under a preset rule that does not violate a natural rule.
In some embodiments, the step S204 of calculating the KNX device control address according to the DALI device virtual address and the KNX device hardware address includes:
calculating a KNX device switch address according to the DALI device virtual address DN and the KNX device hardware address KN by using a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
In particular, table 2 is a mapping table of associations between KNX device control addresses, DALI device virtual addresses, and DALI device hardware addresses, as shown in table 2,
TABLE 2
Figure BDA0003443876100000071
Calculating the KNX equipment switch address through a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; calculating a KNX device color temperature address by using a formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2; in the formula, KN is a hardware address of the KNX equipment (dial determination or automatic distribution generation, which is unique in the same set of KNX system); DN is DALI device virtual address. It should be noted that the KNX device control address includes a KNX device switch address, a KNX device brightness address, and a KNX device color temperature address.
In some embodiments, in step S108, controlling the edited intelligent luminaire to implement the preset function includes:
and controlling the opening and closing of the edited intelligent lamp, adjusting the brightness of the edited intelligent lamp, and adjusting the color temperature of the edited intelligent lamp.
Specifically, opening and closing of the edited intelligent lamp are controlled through the KNX equipment switch address, the brightness of the edited intelligent lamp is adjusted through the KNX equipment brightness address, and the color temperature of the edited intelligent lamp is adjusted through the KNX equipment color temperature address
In some embodiments, in step S102, before obtaining the edit file of the intelligent luminaire sent by the client and uploading the edit file to the cloud server, the method further includes:
renaming the intelligent lamps through a client, and grouping the intelligent lamps according to preset rules to generate an editing file, wherein the preset rules comprise an area range rule and a lamp type rule.
Specifically, the client discovers devices such as intelligent lamps, renames the intelligent lamps (naming is not limited, such as hall lights, bedroom lights, hall lights and the like), creates a group, adds the intelligent lamps to the group, and generates an editing file. The intelligent lamps added to the same group can be designed according to region range rules (such as living rooms), lamp type rules (such as A-type intelligent lamps), or other rules which are designed according to requirements and accord with natural rules.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The embodiment of the application provides a control system of an intelligent lamp, fig. 3 is a structural block diagram of the control system of the intelligent lamp according to the embodiment of the application, and as shown in fig. 3, the system includes a data acquisition module 31, a data issuing module 32, a data processing module 33 and an editing control module 34;
the data acquisition module 31 acquires an edit file of the intelligent lamp sent by the client and uploads the edit file to the cloud server;
the data issuing module 32 sends the edited file to a corresponding local server through the cloud server according to the KNX gateway ID in the edited file;
the data processing module 33 encrypts the edit file into a configuration file with a preset data format through the local server, and sends the configuration file to the DALI gateway through the KNX bus;
the editing control module 34 edits the intelligent lamp through the DALI gateway according to the editing information in the configuration file, and controls the edited intelligent lamp to realize a preset function.
Through the data acquisition module 31, the data issuing module 32, the data processing module 33 and the editing control module 34 in the embodiment of the application, the problem that editing control of the intelligent lamp in the related technology is inconvenient is solved, the function that a user can edit the intelligent lamp by himself after debugging and delivery is realized, the problem that the user can edit the intelligent lamp by simply replacing the equipment after the equipment is in failure is solved, and reprogramming configuration after the intelligent lamp is edited and replaced is avoided.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The present embodiment also provides an electronic device comprising a memory having a computer program stored therein and a processor configured to execute the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
It should be noted that, for specific examples in this embodiment, reference may be made to examples described in the foregoing embodiments and optional implementations, and details of this embodiment are not described herein again.
In addition, by combining the control method of the intelligent lamp in the above embodiment, the embodiment of the present application can be implemented by providing a storage medium. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any one of the above-described embodiments of the control method for an intelligent luminaire.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a control method of an intelligent luminaire. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, fig. 4 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, and as shown in fig. 4, there is provided an electronic device, which may be a server, and its internal structure diagram may be as shown in fig. 4. The electronic device comprises a processor, a network interface, an internal memory and a non-volatile memory connected by an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used for providing calculation and control capability, the network interface is used for communicating with an external terminal through network connection, the internal memory is used for providing an environment for an operating system and the running of a computer program, the computer program is executed by the processor to realize the control method of the intelligent lamp, and the database is used for storing data.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application, and does not constitute a limitation on the electronic device to which the present application is applied, and a particular electronic device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It should be understood by those skilled in the art that various technical features of the above-described embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described, however, so long as there is no contradiction between the combinations of the technical features, they should be considered as being within the scope of the present description.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A control method of an intelligent lamp, the method comprising:
acquiring an editing file of the intelligent lamp sent by a client and uploading the editing file to a cloud server;
sending the edited file to a corresponding local server through the cloud server according to the KNX gateway ID in the edited file;
encrypting the editing file into a configuration file with a preset data format through the local server, and sending the configuration file to a DALI gateway through a KNX bus;
and editing the intelligent lamp through the DALI gateway according to the editing information in the configuration file, and controlling the edited intelligent lamp to realize a preset function.
2. The method of claim 1, wherein editing the smart light fixture via the DALI gateway according to the editing information in the configuration file comprises:
according to the grouping information in the configuration file, obtaining DALI equipment hardware addresses of a plurality of intelligent lamps in the grouping through the DALI gateway, and mapping the DALI equipment hardware addresses to obtain DALI equipment virtual addresses;
and calculating to obtain a KNX device control address according to the DALI device virtual address and the KNX device hardware address, and completing the re-association configuration of the DALI device hardware address of the intelligent lamp in the group and the KNX device control address.
3. The method of claim 1, wherein encrypting the edit file by the local server into a configuration file in a preset data format, the sending the configuration file to a DALI gateway via a KNX bus comprises:
and encrypting the editing file in the JSON data format into a configuration file in a VSON data format through the local server, and sending the configuration file to the DALI gateway through a KNX bus.
4. The method of claim 2, wherein mapping the DALI device hardware address to a DALI device virtual address comprises:
and sequentially arranging the DALI equipment hardware addresses according to a preset sequence to obtain an arrangement sequence number, and setting the arrangement sequence number as a corresponding DALI equipment virtual address.
5. The method of claim 2, wherein calculating the KNX device control address from the DALI device virtual address and the KNX device hardware address comprises:
calculating a KNX device switch address according to the DALI device virtual address DN and the KNX device hardware address KN by a formula ADDR1 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 0; calculating the KNX device brightness address by using ADDR2 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 1; the KNX device color temperature address is calculated by the formula ADDR3 ═ 0x7000+ (KN × 64 × 4) +4 × DN + 2.
6. The method according to claim 1 or 5, wherein controlling the edited intelligent lamp to realize the preset function comprises:
controlling the opening and closing of the edited intelligent lamp, adjusting the brightness of the edited intelligent lamp, and adjusting the color temperature of the edited intelligent lamp.
7. The method of claim 1, wherein before the obtaining and uploading the edited file of the smart luminaire sent by the client to the cloud server, the method further comprises:
renaming intelligent lamps through a client, and grouping the intelligent lamps according to preset rules to generate an editing file, wherein the preset rules comprise region range rules and lamp type rules.
8. The control system of the intelligent lamp is characterized by comprising a data acquisition module, a data issuing module, a data processing module and an editing control module;
the data acquisition module acquires an edit file of the intelligent lamp sent by the client and uploads the edit file to the cloud server;
the data issuing module sends the edited file to a corresponding local server through the cloud server according to the KNX gateway ID in the edited file;
the data processing module encrypts the editing file into a configuration file with a preset data format through the local server, and sends the configuration file to the DALI gateway through the KNX bus;
and the editing control module edits the intelligent lamp through the DALI gateway according to the editing information in the configuration file, and controls the edited intelligent lamp to realize a preset function.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the control method of the intelligent luminaire according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method of controlling an intelligent luminaire according to any one of claims 1 to 7.
CN202111641395.XA 2021-12-29 2021-12-29 Control method, system, device and medium of intelligent lamp Active CN114513496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111641395.XA CN114513496B (en) 2021-12-29 2021-12-29 Control method, system, device and medium of intelligent lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111641395.XA CN114513496B (en) 2021-12-29 2021-12-29 Control method, system, device and medium of intelligent lamp

Publications (2)

Publication Number Publication Date
CN114513496A true CN114513496A (en) 2022-05-17
CN114513496B CN114513496B (en) 2024-02-13

Family

ID=81548613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111641395.XA Active CN114513496B (en) 2021-12-29 2021-12-29 Control method, system, device and medium of intelligent lamp

Country Status (1)

Country Link
CN (1) CN114513496B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206380148U (en) * 2016-12-28 2017-08-04 凯明威(天津)电气设备科技有限公司 A kind of intelligent lighting system compatible with multisystem
US20180116022A1 (en) * 2016-10-26 2018-04-26 General Electric Company Modular lighting controller and data acquisition platform
CN109788605A (en) * 2018-11-28 2019-05-21 赛尔富电子有限公司 Intelligent lighting system based on Internet of Things
CN111356261A (en) * 2020-02-18 2020-06-30 杭州士兰微电子股份有限公司 Distributed lighting control system, control method thereof and client
CN211702458U (en) * 2019-09-11 2020-10-16 上海亚明照明有限公司 Multimode communication controller and LED lamp subassembly

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180116022A1 (en) * 2016-10-26 2018-04-26 General Electric Company Modular lighting controller and data acquisition platform
CN206380148U (en) * 2016-12-28 2017-08-04 凯明威(天津)电气设备科技有限公司 A kind of intelligent lighting system compatible with multisystem
CN109788605A (en) * 2018-11-28 2019-05-21 赛尔富电子有限公司 Intelligent lighting system based on Internet of Things
CN211702458U (en) * 2019-09-11 2020-10-16 上海亚明照明有限公司 Multimode communication controller and LED lamp subassembly
CN111356261A (en) * 2020-02-18 2020-06-30 杭州士兰微电子股份有限公司 Distributed lighting control system, control method thereof and client

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张玉杰;郭向阳;李栋;: "基于蓝牙与MQTT服务器的DALI智能照明系统设计", 陕西科技大学学报(自然科学版), no. 05, pages 1 - 4 *
阮玉华;董文厚;: "智能照明系统在地铁列车客室中的应用研究", 交通节能与环保, no. 06, pages 1 - 3 *

Also Published As

Publication number Publication date
CN114513496B (en) 2024-02-13

Similar Documents

Publication Publication Date Title
US9826601B2 (en) Systems and methods for lighting control
US9980352B2 (en) Wireless light pairing, dimming and control
US9497832B2 (en) Systems and methods for managing environmental conditions
US20150008846A1 (en) Integrated wireless and wired light control system
CN107924301A (en) With equipment communication
CN103970553B (en) A kind of control method of household appliances function upgrading
CN105704234A (en) Control method and apparatus for intelligent device
US11368337B2 (en) Integrating and controlling multiple load control systems
CN113625589A (en) Equipment control method and device, electronic equipment and storage medium
CN104506448B (en) A kind of intelligent router that Internet of Things is adaptive
CN114513496A (en) Control method, system, device and medium for intelligent lamp
KR101672868B1 (en) Method and system for provisioning software in internet of thing(IOT) device
CN113286313A (en) Hardware equipment layout method and device
CN109617713A (en) The implementation method and server of resource dissemination
US20170286559A1 (en) Method and apparatus for executing application
US10778462B2 (en) Determining preferences in a sensor device platform
CN115915556A (en) Distributed intelligent light control method, device, equipment and medium
CN114785628A (en) Whole-house intelligent equipment group control method, electronic equipment and medium
CN114500455A (en) Configuration method and system of intelligent lamp
CN112417659A (en) Lamplight display control method, device and system, computer equipment and storage medium
AU2022100049A4 (en) A system for configuring a control device of a mesh network of connected devices
Stepanova EnOcean antenna, KNX DALI and IKEA TRÅDFRI gateway interconnection and communication possibilities through Wiser for KNX
KR100600135B1 (en) Method for control of homenetwork system
CN117994405A (en) Design drawing processing method and device, electronic equipment and storage medium
CN110677965A (en) WeChat-based lighting system control method and device

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