CN107360030A - A kind of DALI intelligent lightings extension system and extended method - Google Patents

A kind of DALI intelligent lightings extension system and extended method Download PDF

Info

Publication number
CN107360030A
CN107360030A CN201710577149.XA CN201710577149A CN107360030A CN 107360030 A CN107360030 A CN 107360030A CN 201710577149 A CN201710577149 A CN 201710577149A CN 107360030 A CN107360030 A CN 107360030A
Authority
CN
China
Prior art keywords
dali
control
gateways
app clients
message
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.)
Pending
Application number
CN201710577149.XA
Other languages
Chinese (zh)
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.)
Shaanxi University of Science and Technology
Original Assignee
Shaanxi University of Science and Technology
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 Shaanxi University of Science and Technology filed Critical Shaanxi University of Science and Technology
Priority to CN201710577149.XA priority Critical patent/CN107360030A/en
Publication of CN107360030A publication Critical patent/CN107360030A/en
Pending legal-status Critical Current

Links

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
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • 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
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • 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/175Controlling the light source by remote control
    • H05B47/18Controlling the light source by remote control via data-bus transmission
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of DALI intelligent lightings extension system and extended method, the networking and control of multiple DALI systems are realized.Wherein, the DALI systems of different zones by DALI gateway accessing cloud platforms, establish the connection with MQTT message proxy servers, realize the issue and subscription of theme by the MQTT Message Agent service provided by cloud platform.Different control modes is realized by the thematic relation of foundation, completes unicast, multicast, broadcast and scenery control to extending system, this method extends the Lighting control scope of DALI systems, realizes the remote control of extension system.The loose coupling of subscription/publication model, it is one-to-one, one-to-many the characteristics of, make each DALI subsystems in extension system spatially separate, unified management and control of the APP clients to the DALI systems of different zones are realized, it is significant to further widening DALI systematic difference scopes.

Description

A kind of DALI intelligent lightings extension system and extended method
Technical field
The invention belongs to Lighting control field, and in particular to a kind of DALI intelligent lightings extension system and extended method, it is special It is not related to a kind of DALI Lighting Control Assembly extended methods of the publish/subscribe model based on MQTT agreements.
Background technology
With the fast development of information technology and network technology, Lighting Control Assembly is more towards intellectuality, facilitation, easily The direction of operation is developed.DALI digital addressable lighting interfaces (Digital Addressable Lighting Interface) abbreviation DALI, DALI system are simple to operate etc. with removing with the access of its succinct wire laying mode, node device Feature, it is widely used in Lighting control field.DALI agreements provide that system at most can access 64 addressable control dresses Put and 16 addressable groups and 16 kinds of lamplight scenes.Control device in bus passes through short address, group address or broadcast address Realize single control, group control and Broadcasting Control, and with upper electrical power grade, maximum, minimum power level, dimming time set and The functions such as fault inquiry.
However, because DALI systems at most can access 64 addressable control devices, DALI systems are on the one hand constrained Application scenario, be on the other hand difficult to the unified management to scattered DALI systems.Therefore multiple DALI systems are realized Networking, for improving DALI power system capacities, expansion system illumination scope, realizing that DALI systematic unity management has positive meaning Justice.
The content of the invention
The demand of networking extension is needed for DALI systems, with reference to the characteristics of MQTT agreement loosely coupled communications, it is proposed that one Kind DALI intelligent lightings extension system and extended method, complete the networking to the DALI systems of different zones.
To achieve these goals, the technical solution adopted by the present invention is:
A kind of DALI intelligent lightings extend system, including APP clients, cloud platform, DALI gateways, DALI subsystems;
Described cloud platform includes MQTT message proxy servers;
Described DALI subsystems are the Lighting Control Assembly of DALI agreements, and DALI subsystems are connected with DALI gateways;
The data link that described DALI gateways are established between cloud platform and physical layer transmission passage, for by will be more Individual DALI gateway accessings cloud platform, the connection in foundation and cloud platform between MQTT message proxy servers;
Described APP clients by establishing thematic relation between MQTT message proxy servers and multiple DALI gateways, For the data transfer between multiple DALI subsystems in different zones.
As a further improvement on the present invention, described APP clients are completed by accessing the DALI gateways of DALI buses Control to corresponding DALI subsystems, the transmission of control command and pushing away for system failure information are realized using MQTT message communicatings Send, and to the networking and control of multiple DALI subsystems.
As a further improvement on the present invention, described DALI gateways utilize control of the DALI protocol realizations to DALI subsystems System and inquiry, and the DALI control instruction message issued from APP clients is received by message proxy server, for realizing Control of the APP clients to DALI systems;Device parameter and fault message in DALI gateways timing inquiry DALI buses, and with The form of message is sent to MQTT message proxy servers, then completes device parameter by MQTT message proxy servers and believe with failure The real time propelling movement of breath.
As a further improvement on the present invention, described DALI gateways are using the communication mode foundation of Wi-Fi network and cloud Data link and physical layer transmission passage between platform.
As a further improvement on the present invention, described DALI subsystems include control device and multiple control devices, control Control equipment is connected by DALI buses with control device, for send command information to DALI buses with transmit user behavior or Control instruction;Control device is carried out by the control instruction from receiving control apparatus transmission in DALI buses, and to control command Parsing, realizes the control to LED lamp.
As a further improvement on the present invention, the handheld device of the APP application programs of the extension system is mounted with, by sweeping The 2 D code information of system is retouched, and all or part of management and the control of the extension system are obtained after keeper confirms Limit, realize real time remote management and control to extending system.
A kind of extended method based on described DALI intelligent lightings extension system, comprises the following steps:
The incidence relation established by publish/subscribe model between APP clients and multiple DALI gateways, difference will be in The gateway accessing cloud platform of the DALI systems in region, carry out the networking of multiple DALI systems;Disappeared with MQTT message proxy servers The mode of push is ceased, carries out the data transfer between APP clients and DALI gateways.
As a further improvement on the present invention, following steps are specifically included:
1) quickly networking:APP clients make DALI systems quickly access cloud platform by being configured to DALI gateways, The MQTT communication services provided by cloud platform, establish the connection of DALI gateways and MQTT message proxy servers, APP clients Realize networking with communicating with multiple DALI systems;
2) remote control:User carries out packet to the DALI gateways for accessing extension system and matched somebody with somebody according to the actual demand of system Put, APP clients are established to the data transmission channel between DALI gateways using theme:
3) parameter query and failure push:APP clients use issues DALI with target DALI system unicasts theme number Query statement message, the facility information of any control device in query expansion system;Meanwhile when event occurs for the equipment in system During barrier, DALI gateways send fault message to cloud platform MQTT proxy servers in time, MQTT proxy servers by message and When be pushed to APP clients, carry out fault message and alarm.
As a further improvement on the present invention, APP clients are divided into following three kinds to the control mode of DALI gateways:
(1) unicast control mode:DALI gateways are made with its unique device id mark structure unicast theme number, the theme number For the data transmission channel of APP clients single DALI subsystems into extension system, APP clients are issued according to the theme number MQTT message, realize the unicast control to the system;
(2) multicast control mode:System is grouped into one packet ID of each logic groups offer according to the self-defined of user, Multicast theme number is constructed using packet ID, packet theme number is subscribed to by the DALI gateways under self-defined packet, utilizes the theme number Realize that APP clients are controlled the multicast of multiple DALI systems;
(3) Broadcasting Control mode:Theme number is constructed in extension system and is used as broadcast channel, it is all in extension system DALI gateways acquiescence subscribes to the theme number, realizes that APP clients extend the control of system to whole DALI using the theme number.
As a further improvement on the present invention, according to different lighting demands, user is by the DALI systems in extension system Self-defined different combination, realize unicast, multicast, broadcast and the scenery control of extension system:
(a) unicast controls:Structure unicast theme number is identified by self ID, realizes APP clients in extension system The one-to-one control of DALI systems;
(b) multicast controls:According to the demand at illumination scene, user flexibly can enter to the DALI systems in extension system The self-defined packet control of row;Self-defined packet theme number is created, the DALI nets in the self-defined packet are configured by APP clients Close, subscribe to the packet theme number;The MQTT message that APP clients issue the theme number will be realized to the DALI systems of the packet It is uniformly controlled;
(c) Broadcasting Control:By making each DALI gateways in extension system subscribe to broadcast title broadcast, you can Realize unified management and control of the APP clients to all access extension system light fixtures;
(d) scenery control:Scene command message of the APP clients issue with unicast, multicast or broadcast title number, MQTT Message proxy server is pushed to the DALI gateways that have subscribed the theme, realizes the theme one by one according to the subject information of message Under all DALI systems scenery control.
Compared with prior art, the beneficial effects of the invention are as follows:
The DALI extension systems of the present invention in original DALI systems by increasing DALI gateways, and DALI gateways are as MQTT Client accesses cloud platform, using the MQTT proxy servers of cloud platform, is established by theme between APP clients and gateway MQTT message communicatings.Distribution subscription model realizations of the MQTT based on theme between publisher and subscriber it is spatially decoupled, when Between decoupling, synchronous decoupling, using APP clients and DALI gateways as the client of distribution subscription model, built by message subject Vertical incidence relation between the two, in a manner of MQTT message proxy servers message pushes, realize APP clients and DALI nets Data transfer between pass.Using distribution subscription models of the MQTT based on theme, the group to multiple DALI illumination control systems is realized Net, DALI system light fixture finite capacities are efficiently solved, are managed collectively the problem of difficult.
DALI system extended methods of the invention based on MQTT Message Agent protocol issuance/subscription model, by issuing/ordering The incidence relation that model is established between APP clients and multiple DALI gateways is read, by the net of the DALI systems in different zones Access cloud platform is closed, the networking of multiple DALI systems is realized, so as to realize the extension and unified management to DALI systems.The extension Method has the characteristics that the quick succinct, multi-user of the decoupling of height, networking, multiple terminals, by being configured to DALI gateways The incidence relation established between APP clients and DALI systems, when the physical space of illuminator changes, it can pass through Gateway is reconfigured, you can rapidly adapt to change of the extension system to illumination control area.
Brief description of the drawings
Fig. 1 is that DALI extends system structure diagram.
Fig. 2 is that DALI extends system unicast control schematic diagram.
Fig. 3 is that DALI extends system multicast control schematic diagram.
Fig. 4 is that DALI extends system broadcasts control schematic diagram.
Specific implementation
In order to clearly illustrate the embodiment of the present invention or technical scheme of the prior art, below will to embodiment or The required accompanying drawing used is briefly described in description of the prior art, it should be apparent that, drawings in the following description are only Some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, may be used also To obtain other accompanying drawings according to these accompanying drawings.
As shown in figure 1, a kind of DALI intelligent lightings extension system, specifically a kind of publish/subscribe based on MQTT agreements The DALI Lighting Control Assemblies of model.MQTT agreements realize message communicating using the distribution subscription mechanism based on theme, using visitor The communication pattern of family end/server.Its basic structure is made up of MQTT clients and MQTT proxy servers.MQTT clients can The message that other clients are sent is received by subscribing to message subject interested.During server transmits as MQTT message It is situated between, receives the connection request from client and the message of client issue, and push message according to theme subscribing relationship To corresponding client.
DALI extends system and terminated by increasing DALI gateways, DALI gateways in original DALI systems as MQTT client Enter cloud platform, using the MQTT proxy servers of cloud platform, the MQTT message established by theme between APP clients and gateway Communication.On the one hand, DALI gateways are received by subscribing to the theme (unicast, multicast, broadcast title) that APP clients give out information From MQTT message proxy servers push APP clients command messages, realize to DALI extension system unicast control, The various control patterns such as multicast control, Broadcasting Control.On the other hand, in APP client subscriptions system all gateways with respective The theme number to give out information of device id name, when being broken down in the DALI subsystems belonging to DALI gateways, gateway passes through The theme number issues fault message, you can realizes the real time propelling movement of system failure information.
Specifically, the extended method of the DALI Lighting Control Assemblies of the invention based on MQTT agreements is ordered based on MQTT issues Read the extension networking of model realization DALI systems.Specific implementation is by DALI gateways, MQTT message proxy servers, APP clients Three parts form.The MQTT Message Agent services that the extension system provides by cloud platform, by the way that DALI gateway accessing clouds are put down Platform, the transmission of APP client control commands and the push of system failure information are realized using MQTT message communicatings, realizes APP Networking and control of the client to multiple DALI systems.
The DALI gateways and APP clients are MQTT clients, and data are realized by MQTT message proxy servers Interaction.On the one hand, DALI gateways receive the DALI control instructions issued from APP clients by message proxy server and disappeared Breath, realizes control of the APP clients to DALI systems;On the other hand, the equipment ginseng in DALI gateways timing inquiry DALI buses Number and fault message, and are sent to MQTT message proxy servers in form of a message, then by server complete device parameter with The real time propelling movement of fault message.
The hardware circuit of the DALI gateways mainly includes Wi-Fi module circuit, controller MCU, DALI communication interface electricity Road, FLASH storage circuits and power circuit etc..
The DALI communication interface circuits of the DALI gateways realize Transistor-Transistor Logic level signal and DALI bus protocol level signals Conversion.
The Wi-Fi communication modules of DALI gateways number between wireless Wi-Fi connection setups DALI gateways and cloud platform According to link layer and the data transmission channel of physical layer.
The controller MCU of the DALI gateways completes the transplanting of DALI protocol stacks and ICP/IP protocol stack, realizes that MQTT is assisted The functions such as view and the conversions of DALI agreements, parameter storage, information inquiry.
In the preferred case of the present invention, the APP clients refer to be arranged on handheld device (mobile phone, tablet personal computer) On application program, control terminal of the handheld device as extension system complete gateway registration, gateway and user bind work, The cloud platform access of gateway is realized, is configured and is managed by the gateway that system is extended to access DALI, realize APP clients Unicast, multicast to DALI extension systems, Broadcasting Control, and DALI nets can be come from according to what MQTT message proxy servers pushed Close the fault message sent to be analyzed and processed, realize failure emergency alarm.
Be mounted with the handheld device of the APP application programs of the extension system, can by the 2 D code information of scanning system, and All or part of management and the control authority of the extension system are obtained after keeper confirms, is realized to the real-time of extension system Remote management and control.
In the preferred case of the present invention, the cloud platform is to realize multiple DALI system group networks and the important set of control Into part, it not only provides abundant api interface and sorts of systems data storage and processing services, realize APP clients and Registration, binding and the management function of DALI gateways, the cloud platform of multiple APP clients and multiple DALI systems is facilitated to access;Together When for APP clients and DALI gateways provide MQTT Message Agent services, be to realize APP clients to multiple DALI system remotes The bridge with management is controlled in real time.
In the preferred case of the present invention, the DALI gateways are that each DALI system access cloud platform is managed collectively Core, by topic of subscription complete with the data interaction of cloud platform, again as being articulated in DALI systems in DALI buses Input equipment is completed to communicate with (control device and the control device) of DALI equipment, so as to realize APP clients to DALI systems Control management, inquiry and feedback of the DALI gateways to the system failure.
Structural principle below in conjunction with the drawings and specific embodiments to the present invention, operation principle are described further.
Referring to the drawings 1, the DALI based on MQTT agreements extends system by APP clients, cloud platform, DALI gateways, DALI Subsystem forms.Control terminal of the APP clients as DALI extension systems, has user's registration, the management of DALI gateway devices, is The modules such as system control, malfunction monitoring;Data storage and forwarding hinge of the cloud platform as extension system, include api interface, user The modules such as equipment control, data storage and MQTT communication services;Core of the DALI gateways as extension system, is built by theme The passage of vertical data transfer between APP clients and gateway, utilizes the control and inquiry of DALI protocol realization sub-systems;DALI Subsystem is the basic component units that DALI extends system, is the Lighting Control Assembly for meeting standard DALI agreements.The present invention is main Realize following functions:
(1) quickly networking function.APP clients realize that DALI systems quickly access by being configured to DALI gateways Cloud platform, the MQTT communication services provided by cloud platform, the connection of gateway and MQTT message proxy servers is established, is realized Networking and communication function of the APP clients with multiple DALI systems.
(2) remote control function.User divides the DALI gateways for accessing extension system according to the actual demand of system Assemble and put, APP clients are established to unicast control, multicast between DALI gateways using unicast theme, multicast theme, broadcast title Control, the data transmission channel of Broadcasting Control.
(3) parameter query and failure push function.APP clients use to be issued with target DALI system unicasts theme number DALI query statement message, the facility information of any control device in query expansion system;Meanwhile when the equipment hair in system During raw failure, fault message is sent to cloud platform MQTT proxy servers, server and pushes away message in time by DALI gateways in time APP clients are sent to, realize fault message and alarm.
(4) empowerment management function.Keeper can be by way of mandate, the handheld device to installing the application program (mobile phone or tablet personal computer) carries out empowerment management, makes it have all or part of authority of the extension system, realizes to extension system The control of system.
Referring to the drawings 2-4, in of the invention, the type of theme of the DALI gateways subscription in access extension system, will expand APP clients are divided into following three kinds to the control mode of DALI gateways in exhibition system:
(1) unicast control mode.2, DALI gateways build unicast theme number with its unique device id mark referring to the drawings, Data transmission channel of the theme number as APP clients single DALI subsystems into extension system, APP clients are according to this Theme number issues MQTT message, realizes the unicast control to the system.
For example, gateway DALI#1, DALI#2 subscribe to the unicast theme number created by equipment of itself ID respectively<D1>/a2d、< D2>/ a2d, APP client are sent<D1>During the message of/a2d themes number, the control to DALI#1 systems will be realized.For extension Other DALI subsystems in system will not receive the push of MQTT message proxy servers<D1>/ a2d themes number disappear Breath.
(2) multicast control mode.Referring to the drawings 3, in of the invention, extension system can be grouped into often according to the self-defined of user Individual logic groups provide a packet ID, construct multicast theme number using packet ID, are ordered by the DALI gateways under self-defined packet Packet theme number is read, realizes that APP clients are controlled the multicast of multiple DALI systems using the theme number.
For example, gateway DALI#1, DALI#2 in extension system are customized for into a packet, DALI#1, DALI#2 are ordered Read same group of theme number<G1>/ a2d, APP client issue MQTT message with this group of theme number, realize in extension system The multicast control of DALI#1, DALI#2 system.
DALI systems in the present invention can be realized according to lighting demand to DALI subsystemsThe different self-defined packet of kind, n is the quantity of the DALI gateways of access extension system, right There are 16 scenes in each self-defined packet, for the DALI light fixtures in packet, can be divided into altogetherThe packet of individual DALI light fixtures.
(3) Broadcasting Control mode.Referring to the drawings 4, it is logical as broadcast that (broadcast) theme number is constructed in extension system Road, all DALI gateways acquiescences in extension system subscribe to the theme number, realize APP clients to whole using the theme number DALI extends the control of system.For example, DALI#1, DALI#2, DALI#3, DALI#4 subscribe to broadcast title broadcast, it is real Broadcasting Control of the existing APP clients to extension system.
Spatially decoupled, the time solution of distribution subscription model realizations of the MQTT based on theme between publisher and subscriber Coupling, synchronous decoupling, using APP clients and DALI gateways as the client of distribution subscription model, two are established by message subject Incidence relation between person, in a manner of MQTT message proxy servers message pushes, realize APP clients and DALI gateways it Between data transfer.
The characteristics of this method is between DALI gateways and APP clients without setting up direct TCP connections, solve with Lower problem.
(1) in same LAN, APP clients access DALI gateways by IP address, and the dynamic of IP address is divided With characteristic, it can not ensure stablize under nondeterministic network environment, fast and effectively enter row data communication.In order to The access to DALI gateways is realized under the LAN environment of dynamic change, a large amount of cumbersome configurations will be brought, causes extension system Unite it is poor for applicability, lack convenience the problems such as.
(2) Intranet penetration problem be present to the DALI systems in LAN, inartificial routing configuration with Help to establish outer net on the premise of the access path of Intranet, the network node outside LAN can not be accessed inside LAN Network node.
(3) controlled for the self-defined combination of multiple DALI systems, multicast UDP can be used and broadcast the scheme such as UDP come Realize.Multicast UDP configuration complexity is cumbersome, and broadcast UDP then can bring substantial amounts of invalid data, it is necessary to which DALI gateways utilize data Strobe utility filters invalid data, but this can not still solve the network bandwidth occupation problem of a large amount of invalid datas, also to DALI The network throughput of gateway proposes higher requirement.
The networking of multiple DALI systems of different zones is advantageously implemented by the way of MQTT publish/subscribes, is solved Above mentioned problem, realize the loose coupling between application program and publisher and subscriber.
According to different lighting demands, user can be real by the self-defined different combination of DALI systems in extension system Now extend unicast, multicast, broadcast and the scenery control of system.
(1) the unicast control of the extension system:
Because each DALI gateways are with unique ID marks, pass through self ID and identify structure unicast theme number, realize One-to-one control of the APP clients to the DALI systems in extension system.
(2) the multicast control of the extension system:
According to the demand at illumination scene, user flexibly can carry out self-defined packet to the DALI systems in extension system Control, i.e. multicast control.Self-defined packet theme number is created, the DALI nets in the self-defined packet are configured by APP clients Close, that is, subscribe to the packet theme number.APP clients issue DALI system of the MQTT message of the theme number by realization to the packet Be uniformly controlled.
(3) Broadcasting Control of the extension system:
Light fixture in extension system is uniformly controlled in order to realize, it is wide by subscribing to each DALI gateways in extension system Broadcast theme broadcast, you can realize unified management and control of the APP clients to all access extension system light fixtures.
(4) scenery control of the extension system:
For the scenery control under unicast, multicast or broadcast mode, i.e., the issue of APP clients is with unicast, multicast or wide The scene command message of theme number is broadcast, MQTT message proxy servers are pushed to have subscribed one by one according to the subject information of message The DALI gateways of the theme, realize the scenery control of all DALI systems under the theme.
More than, only presently preferred embodiments of the present invention, the practical range of the present invention is not limited only to, it is all according to the scope of the invention The equivalence changes done of content and modification, all should be the technology category of the present invention.

Claims (10)

1. a kind of DALI intelligent lightings extend system, it is characterised in that including APP clients, cloud platform, DALI gateways, DALI Subsystem;
Described cloud platform includes MQTT message proxy servers;
Described DALI subsystems are the Lighting Control Assembly of DALI agreements, and DALI subsystems are connected with DALI gateways;
The data link that described DALI gateways are established between cloud platform and physical layer transmission passage, for by will be multiple DALI gateway accessing cloud platforms, the connection in foundation and cloud platform between MQTT message proxy servers;
Described APP clients are used for by establishing thematic relation between MQTT message proxy servers and multiple DALI gateways Data transfer between multiple DALI subsystems in different zones.
A kind of 2. DALI intelligent lightings extension system according to claim 1, it is characterised in that described APP clients DALI gateways by accessing DALI buses complete the control to corresponding DALI subsystems, are realized and controlled using MQTT message communicatings The transmission of order and the push of system failure information, and to the networking and control of multiple DALI subsystems.
A kind of 3. DALI intelligent lightings extension system according to claim 1, it is characterised in that described DALI gateways profit With control and inquiry of the DALI protocol realizations to DALI subsystems, and received by message proxy server and come from APP clients The DALI control instruction message of issue, for realizing control of the APP clients to DALI systems;DALI gateways timing inquiry DALI Device parameter and fault message in bus, and MQTT message proxy servers are sent in form of a message, then disappeared by MQTT Cease the real time propelling movement that proxy server completes device parameter and fault message.
4. a kind of DALI intelligent lightings extension system according to claim 1, it is characterised in that described DALI gateways are adopted The data link and physical layer transmission passage established with the communication mode of Wi-Fi network between cloud platform.
A kind of 5. DALI intelligent lightings extension system according to claim 1, it is characterised in that described DALI subsystems Including control device and multiple control devices, control device is connected by DALI buses with control device, for sending instruction letter Cease in DALI buses to transmit user behavior or control instruction;Control device from receiving control apparatus in DALI buses by sending out The control instruction sent, and control command is parsed, realize the control to LED lamp.
6. a kind of DALI intelligent lightings extension system according to claim 1, it is characterised in that be mounted with the extension system APP application programs handheld device, by the 2 D code information of scanning system, and the extension is obtained after keeper confirms All or part of management of system and control authority, realize real time remote management and control to extending system.
7. a kind of extended method based on DALI intelligent lightings as claimed in any of claims 1 to 6 extension system, It is characterised in that it includes following steps:
The incidence relation established by publish/subscribe model between APP clients and multiple DALI gateways, different zones will be in DALI systems gateway accessing cloud platform, carry out the networking of multiple DALI systems;Pushed away with MQTT message proxy server message The mode sent, carry out the data transfer between APP clients and DALI gateways.
8. the extended method of DALI intelligent lightings according to claim 7 extension system, it is characterised in that specifically include with Lower step:
1) quickly networking:APP clients make DALI systems quickly access cloud platform, passed through by being configured to DALI gateways The MQTT communication services that cloud platform provides, establish the connection of DALI gateways and MQTT message proxy servers, APP clients and more Individual DALI systems realize networking with communicating;
2) remote control:User carries out packet configuration, profit according to the actual demand of system to the DALI gateways for accessing extension system APP clients are established to the data transmission channel between DALI gateways with theme:
3) parameter query and failure push:APP clients are used with the issue DALI inquiries of target DALI system unicasts theme number Instruction message, the facility information of any control device in query expansion system;Meanwhile when the device fails in system When, DALI gateways send fault message to cloud platform MQTT proxy servers, MQTT proxy servers that message is timely in time APP clients are pushed to, carry out fault message and alarm.
9. the extended method of DALI intelligent lightings extension system according to claim 8, it is characterised in that APP clients Following three kinds are divided into the control mode of DALI gateways:
(1) unicast control mode:DALI gateways are with its unique device id mark structure unicast theme number, the theme conduct The data transmission channel of APP clients single DALI subsystems into extension system, APP clients are issued according to the theme number MQTT message, realize the unicast control to the system;
(2) multicast control mode:System is grouped into one packet ID of each logic groups offer according to the self-defined of user, utilizes Packet ID constructs multicast theme number, subscribes to packet theme number by the DALI gateways under self-defined packet, is realized using the theme number APP clients are controlled the multicast of multiple DALI systems;
(3) Broadcasting Control mode:Theme number is constructed in extension system and is used as broadcast channel, all DALI in extension system Gateway acquiescence subscribes to the theme number, realizes that APP clients extend the control of system to whole DALI using the theme number.
10. the extended method of DALI intelligent lightings extension system according to claim 7, it is characterised in that according to difference Lighting demand, the self-defined different combination of DALI systems in extension system realized unicast, the group of extension system by user Broadcast, broadcast and scenery control:
(a) unicast controls:Structure unicast theme number is identified by self ID, realizes APP clients to the DALI in extension system The one-to-one control of system;
(b) multicast controls:According to the demand at illumination scene, user flexibly can be carried out certainly to the DALI systems in extension system Definition packet control;Self-defined packet theme number is created, the DALI gateways in the self-defined packet are configured by APP clients, Subscribe to the packet theme number;APP clients issue system of the MQTT message of the theme number by realization to the DALI systems of the packet One control;
(c) Broadcasting Control:By making each DALI gateways in extension system subscribe to broadcast title broadcast, you can realize Unified management and control of the APP clients to all access extension system light fixtures;
(d) scenery control:Scene command message of the APP clients issue with unicast, multicast or broadcast title number, MQTT message Proxy server is pushed to the DALI gateways that have subscribed the theme, realized under the theme one by one according to the subject information of message The scenery control of all DALI systems.
CN201710577149.XA 2017-07-14 2017-07-14 A kind of DALI intelligent lightings extension system and extended method Pending CN107360030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710577149.XA CN107360030A (en) 2017-07-14 2017-07-14 A kind of DALI intelligent lightings extension system and extended method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710577149.XA CN107360030A (en) 2017-07-14 2017-07-14 A kind of DALI intelligent lightings extension system and extended method

Publications (1)

Publication Number Publication Date
CN107360030A true CN107360030A (en) 2017-11-17

Family

ID=60293075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710577149.XA Pending CN107360030A (en) 2017-07-14 2017-07-14 A kind of DALI intelligent lightings extension system and extended method

Country Status (1)

Country Link
CN (1) CN107360030A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449432A (en) * 2018-05-07 2018-08-24 苏州德姆斯信息技术有限公司 Internet of Things Remote Device Control system and control method
CN109884506A (en) * 2019-03-20 2019-06-14 浙江创意声光电科技有限公司 The test method and system of lighting loop
CN110351938A (en) * 2019-07-31 2019-10-18 安徽正风建设工程有限公司 A kind of science and technology museum light monitoring system
CN110365587A (en) * 2018-03-26 2019-10-22 阿里巴巴集团控股有限公司 Communication between devices method, apparatus, equipment and storage medium
CN111158724A (en) * 2019-12-30 2020-05-15 深圳茂硕电子科技有限公司 DALI bus-based software automatic upgrading method and system
CN111183619A (en) * 2017-12-28 2020-05-19 西门子股份公司 Method, device and system for transmitting MQTT data through message queue telemetry transmission
CN111953777A (en) * 2020-08-12 2020-11-17 北京泊菲莱科技有限公司 Internet of things platform access equipment management system
CN112039976A (en) * 2020-08-26 2020-12-04 中国电力科学研究院有限公司 User intelligent management-enabled microsystem information interaction system, and establishing method, device and storage medium thereof
CN112351091A (en) * 2020-10-30 2021-02-09 无锡路通视信网络股份有限公司 MQTT-based audio publishing method, device and system
CN113099499A (en) * 2017-12-15 2021-07-09 深圳市大疆创新科技有限公司 Wireless communication method, device and system
CN113641139A (en) * 2021-08-05 2021-11-12 珠海格力电器股份有限公司 System, controller, control system, and storage medium capable of realizing asynchronous programming
CN113810495A (en) * 2021-09-17 2021-12-17 深圳市合信自动化技术有限公司 MQTT-supported building controller and communication method thereof
CN114599138A (en) * 2022-05-09 2022-06-07 杭州雅观科技有限公司 Intelligent lighting method for controlling electric lamp group
TWI768805B (en) * 2021-04-01 2022-06-21 國立勤益科技大學 Node control system of IoT architecture
CN114979097A (en) * 2021-06-03 2022-08-30 中移互联网有限公司 MQTT-based message pushing method and device and electronic equipment
CN115190147A (en) * 2022-06-29 2022-10-14 北京奕斯伟计算技术股份有限公司 Intelligent equipment control method, device and system
CN115720193A (en) * 2022-11-09 2023-02-28 中科方德软件有限公司 Multicast-based software deployment method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张玉杰: "基于DALI协议的多传感器控制设备设计", 《电子技术应用》 *
张玉杰: "基于互联网+的电力载波路灯照明系统设计", 《电子器件》 *
张玉杰: "基于蓝牙与MQTT服务器的DALI智能照明系统设计", 《陕西科技大学学报》 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099499A (en) * 2017-12-15 2021-07-09 深圳市大疆创新科技有限公司 Wireless communication method, device and system
CN111183619A (en) * 2017-12-28 2020-05-19 西门子股份公司 Method, device and system for transmitting MQTT data through message queue telemetry transmission
CN110365587A (en) * 2018-03-26 2019-10-22 阿里巴巴集团控股有限公司 Communication between devices method, apparatus, equipment and storage medium
CN110365587B (en) * 2018-03-26 2022-04-19 阿里巴巴集团控股有限公司 Inter-device communication method, device and storage medium
CN108449432A (en) * 2018-05-07 2018-08-24 苏州德姆斯信息技术有限公司 Internet of Things Remote Device Control system and control method
CN109884506A (en) * 2019-03-20 2019-06-14 浙江创意声光电科技有限公司 The test method and system of lighting loop
CN110351938A (en) * 2019-07-31 2019-10-18 安徽正风建设工程有限公司 A kind of science and technology museum light monitoring system
CN111158724A (en) * 2019-12-30 2020-05-15 深圳茂硕电子科技有限公司 DALI bus-based software automatic upgrading method and system
CN111158724B (en) * 2019-12-30 2023-05-05 深圳茂硕电子科技有限公司 Automatic software upgrading method and system based on DALI bus
CN111953777A (en) * 2020-08-12 2020-11-17 北京泊菲莱科技有限公司 Internet of things platform access equipment management system
CN111953777B (en) * 2020-08-12 2022-10-25 北京泊菲莱科技有限公司 Internet of things platform access equipment management system
CN112039976A (en) * 2020-08-26 2020-12-04 中国电力科学研究院有限公司 User intelligent management-enabled microsystem information interaction system, and establishing method, device and storage medium thereof
CN112351091A (en) * 2020-10-30 2021-02-09 无锡路通视信网络股份有限公司 MQTT-based audio publishing method, device and system
TWI768805B (en) * 2021-04-01 2022-06-21 國立勤益科技大學 Node control system of IoT architecture
CN114979097A (en) * 2021-06-03 2022-08-30 中移互联网有限公司 MQTT-based message pushing method and device and electronic equipment
CN114979097B (en) * 2021-06-03 2023-07-21 中移互联网有限公司 Message pushing method and device based on MQTT and electronic equipment
CN113641139A (en) * 2021-08-05 2021-11-12 珠海格力电器股份有限公司 System, controller, control system, and storage medium capable of realizing asynchronous programming
CN113810495A (en) * 2021-09-17 2021-12-17 深圳市合信自动化技术有限公司 MQTT-supported building controller and communication method thereof
CN114599138A (en) * 2022-05-09 2022-06-07 杭州雅观科技有限公司 Intelligent lighting method for controlling electric lamp group
CN115190147A (en) * 2022-06-29 2022-10-14 北京奕斯伟计算技术股份有限公司 Intelligent equipment control method, device and system
CN115190147B (en) * 2022-06-29 2024-03-22 北京奕斯伟计算技术股份有限公司 Intelligent device control method, device and system
CN115720193A (en) * 2022-11-09 2023-02-28 中科方德软件有限公司 Multicast-based software deployment method and device

Similar Documents

Publication Publication Date Title
CN107360030A (en) A kind of DALI intelligent lightings extension system and extended method
CN105897573A (en) Smart home gateway system supporting multiple protocols and multiple services
CN104052766A (en) Comprehensive intelligent communication method and system of heterogeneous network based on cloud calculating
CN105471686A (en) Terminal control method, terminal control apparatus and system
CN103237071B (en) A kind of method of wireless EoC terminal centralized management
CN101951369A (en) Batch terminal upgrading method and system based on automatic discovery
CN108200167A (en) A kind of long-range multipath combination control method of unmanned plane based on high in the clouds
CN101951325A (en) Network terminal configuration system based on automatic discovery and configuration method thereof
CN111478793B (en) Service request processing method and device, terminal equipment and storage medium
CN102457391B (en) Equipment unified management method for Ethernet passive optical network and Ethernet over coax (EPON+EoC) two-way cable access network
DE102014110581A1 (en) Control system for a lighting system and method for configuring and commissioning the same
CN105578568A (en) WIFI communication apparatus and WIFI network establishing method
CN110769289B (en) Terminal upgrading method and system
CN113194432A (en) Network communication method between intelligent distributed feeder automation terminals
CN107370792A (en) A kind of DALI extension systems and control method
CN114189438B (en) Industrial equipment automatic discovery and configuration method based on OPC UA
CN109842537A (en) Smart home system
CN104901757A (en) Mobile terminal control method and system for IP (Internet Protocol) network broadcast
CN106160212B (en) A kind of remote centralized control system and method for power communication terminal
CN102821443A (en) Automatic regional-information acquiring method and device based on WIFI (wireless fidelity) technology
CN211557603U (en) Intelligent lighting system
CN110087375B (en) Illumination control system based on LoRa and illumination control method thereof
CN116600330A (en) HUB hierarchical topology management method and device based on NETCONF protocol
CN111866856A (en) Mesh device control method and system, storage medium and electronic device
CN103347001A (en) Novel serverless mobile terminal conference demonstration method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171117