[go: up one dir, main page]

WO2017101050A1 - Control method, control panel and control system for a smart home device - Google Patents

Control method, control panel and control system for a smart home device Download PDF

Info

Publication number
WO2017101050A1
WO2017101050A1 PCT/CN2015/097639 CN2015097639W WO2017101050A1 WO 2017101050 A1 WO2017101050 A1 WO 2017101050A1 CN 2015097639 W CN2015097639 W CN 2015097639W WO 2017101050 A1 WO2017101050 A1 WO 2017101050A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
knx
target
enocean
smart home
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.)
Ceased
Application number
PCT/CN2015/097639
Other languages
French (fr)
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.)
Enno Electronics Co ltd
Original Assignee
Enno Electronics 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 Enno Electronics Co ltd filed Critical Enno Electronics Co ltd
Priority to CN201580085160.3A priority Critical patent/CN108431701B/en
Priority to PCT/CN2015/097639 priority patent/WO2017101050A1/en
Publication of WO2017101050A1 publication Critical patent/WO2017101050A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • 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
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • Embodiments of the present invention provide a control method, a control panel, and a control system for a smart home device to implement control of a smart home device.
  • an embodiment of the present invention provides a control method for a smart home device, where the control system is further applied to: a control device that corresponds to an intelligent home device and a smart home device The device corresponds to a characteristic master device; the control panel determines the address information of each object, and establishes a mapping relationship between the object and the feature, wherein the object and the feature having the mapping relationship are used to express the same operation, and the method further includes :
  • configuration information set by the master device comprising: a plurality of packets, each packet including at least one characteristic having the same service; and/or, multiple context modes, each profile Corresponding to at least one characteristic;
  • Determining, according to the control message sent by the master control device, a characteristic of the required control comprising: determining a characteristic of the required control according to the control message and the configuration information.
  • the method further includes: Store KNX objects and group addresses corresponding to each KNX object;
  • the controlling the smart home device including: modifying, according to the first target value carried in the control message, the value of the target KNX object stored by itself to the first Generating a first slave message to the KNX bus according to the target group address and the first target value, so that the KNX device sends the address information to the first slave message according to the first slave message.
  • the value of the destination KNX object of the target group address is modified to the first target value to control the smart home device corresponding to the destination KNX object according to the first target value, wherein the control panel and the control panel
  • the KNX devices are connected via a KNX bus.
  • an embodiment of the present invention further provides a control panel, where the control system is located in the control system,
  • the control system further includes: a slave control device that corresponds the smart home device to the object and a master device that corresponds the smart home device to the feature;
  • the control panel includes:
  • Establishing a unit configured to establish a mapping relationship between the object and the feature, and send the mapping relationship to the third determining unit, where the object and the characteristic having the mapping relationship are used to express the same operation;
  • a second determining unit configured to determine a characteristic of the required control according to the control message sent by the master control device, and send the determined characteristic of the required control to the third determining unit;
  • the third determining unit is configured to receive the mapping relationship sent by the establishing unit, and receive a characteristic of the required control sent by the second determining unit, and determine a target object to be controlled according to the mapping relationship, And sending the determined target object to the control unit;
  • the method further includes: an obtaining unit, configured to acquire configuration information set by the master control device, and send the configuration information to the second determining unit, where the configuration information includes: multiple packets, each of the packets includes At least one characteristic of the same service; and/or, multiple context modes, each of which corresponds to at least one characteristic;
  • the second determining unit is specifically configured to receive the configuration information sent by the acquiring unit, and determine a characteristic of the required control according to the control message and the configuration information.
  • the slave device When the master device includes an IOS device supporting the Homekit protocol, the slave device includes a KNX device supporting the KNX protocol, and the address information of each object includes a group address of each KNX object, the control The panel further includes: a KNX protocol stack for connecting to the KNX device through the KNX bus, and storing the KNX object and a group address corresponding to each KNX object;
  • the control unit is specifically configured to modify, according to the first target value carried in the control message, a value of the target KNX object stored by itself to the first target value, and according to the target group address and the Transmitting, by the first target value, a first slave message to the KNX bus, so that the KNX device modifies, according to the first slave message, a value of a destination KNX object whose address information is the target group address to the
  • the first target value is controlled according to the first target value for the smart home device corresponding to the destination KNX object.
  • the control unit is specifically configured to use target address information of the target EnOcean object and the control message. Transmitting, by the carried second target value, a second slave message to the EnOcean device, so that the EnOcean device modifies the value of the target EnOcean object whose address information is the target address information according to the second slave message For the second target value, the smart home device corresponding to the target EnOcean object is controlled according to the second target value.
  • the master control device is configured to send a control message to the control panel
  • the slave device is configured to implement control of the smart home device according to the control of the control panel.
  • the master device is further configured to set configuration information, and send the set configuration information to the control panel, where the configuration information includes: a plurality of packets, each packet including at least one characteristic having the same service And/or multiple context modes, each of which corresponds to at least one characteristic.
  • the master control device includes: an IOS device supporting the Homekit protocol;
  • the slave device includes: a KNX device supporting the KNX protocol, the KNX device is connected to the control panel through a KNx bus, and the address information of each object includes a group address of each KNX object;
  • the KNX device is specifically configured to receive a first slave control message sent by the control panel to the KNX bus, and modify a value of the destination KNX object whose address information is the target group address according to the first slave control message. a target value for controlling the smart home device corresponding to the destination KNX object according to the first target value.
  • the master device includes an IOS device supporting the Homekit protocol;
  • the slave device includes an EnOcean device supporting the EnOcean protocol
  • the EnOcean device is specifically configured to modify, according to the second slave control message sent by the control panel, a value of a target EnOcean object whose address information is the target address information to a second target value, to be related to the target EnOcean object.
  • the corresponding smart home device is controlled according to the second target value.
  • Embodiments of the present invention provide a control method, a control panel, and a control system for a smart home device, which can implement control of a smart home device.
  • FIG. 3 is a schematic structural diagram of a control system according to Embodiment 1 of the present invention.
  • Embodiment 4 is a schematic diagram of a mapping relationship provided by Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of a control method according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic structural diagram of a control system according to Embodiment 2 of the present invention.
  • Embodiment 7 is a schematic diagram of a mapping relationship provided by Embodiment 2 of the present invention.
  • FIG. 8 is a schematic structural diagram of a control panel according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another control panel according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for controlling a smart home device, where the control system is further applied to: a control panel in a control system, the control system further includes: a slave device that corresponds to the smart home device as an object, and The smart home device corresponds to a characteristic master device; the method may include the following steps:
  • Step 101 Determine address information of each object, and establish a mapping relationship between the object and the feature, wherein the object and the feature having the mapping relationship are used to express the same operation;
  • Step 102 Determine, according to a control message sent by the master control device, a characteristic of the required control
  • Step 103 Determine a target object to be controlled according to the mapping relationship
  • Step 104 Implement control of the smart home device according to the address information of the target object.
  • the mapping between the object and the feature is established by using the control panel, thereby indirectly realizing the mapping between the slave device and the master device, and the master device initiates the control message, and the control panel acts as the slave device and the master device.
  • the gateway device determines the target object that the master device needs to control according to the mapping relationship. Since the object corresponds to the smart home device, the control of the smart home device can be realized.
  • the control panel may further include: storing the KNX object and corresponding to each KNX object.
  • the controlling the smart home device including: modifying, according to the first target value carried in the control message, the value of the target KNX object stored by itself to the first Generating a first slave message to the KNX bus according to the target group address and the first target value, so that the KNX device sends the address information to the first slave message according to the first slave message.
  • the value of the destination KNX object of the target group address is modified to the first target value to control the smart home device corresponding to the destination KNX object according to the first target value, wherein the control panel and the control panel
  • the KNX devices are connected via a KNX bus.
  • the master device may include an IOS device supporting the Homekit protocol
  • the slave device includes an EnOcean device supporting the EnOcean protocol. Since the EnOcean device supports the EnOcean protocol, if the EnOcean object needs to be performed by using the IOS device, Wireless control requires a gateway device to be implemented. Therefore, in this embodiment, the control panel can be used as a gateway device between the IOS device and the EnOcean device. By mapping the object and the feature, the IOS device can be used to implement the Homekit protocol. Wireless control of the EnOcean device.
  • the slave control device is a KNX device and an EnOcean device, respectively, in conjunction with the corresponding drawings and corresponding embodiments.
  • the control method of the smart home device may include the following steps:
  • Step 201 The control panel is connected to the KNX device through the KNX bus, and the control panel is connected to the main control device by wireless.
  • the main control device (hereinafter collectively referred to as an IOS device) may be any one of a mobile phone, a tablet, and a computer with an IOS operating system installed.
  • the system architecture corresponding to the KNX protocol is a distributed system.
  • Each KNX device in the distributed system is connected through the KNX bus.
  • the relationship between the KNX devices on the KNX bus is equal, and one KNX device can control multiple
  • smart home devices can be abstracted into KNX objects in the KNX protocol, and communication between KNX devices and KNX devices is abstracted as communication between KNX objects and KNX objects.
  • the system architecture corresponding to the Homekit protocol is a centralized system, with the IOS device as the control center, and the IOS device can control multiple smart home devices.
  • the smart home device is abstracted into the Homekit feature, and Each of the achievable Homekit functions is abstracted into a collection of services, and each Homekit service can include multiple Homekit features.
  • KNX object / Homekit features can include: lamp switch, lamp brightness, air conditioning temperature, curtain lift, security system switch, heating switch, ventilation system switch.
  • a control panel can be provided as a gateway device in the control system. Since the KNX device is connected via the KNX bus, it is necessary to connect the control panel to at least one KNX device via the KNX bus.
  • the IOS device can be a mobile device, for example, a mobile phone, a tablet, a pen
  • the notebook computer, etc. can also be a non-mobile terminal device, for example, a desktop computer, so that the control panel and the IOS device can be connected wirelessly.
  • FIG. 3 is a schematic structural diagram of a control system when the slave device is a KNX device.
  • the control panel in order to implement wireless control of the KNX device by using the IOS device, can store the KNX object and the Homekit feature.
  • a KNX protocol stack may be included in the control panel, and the control panel may be connected to the KNX device through the KNX protocol stack.
  • the KNX protocol stack stores a group object table, where the group object table includes a KNX bus. All KNX objects. Therefore, when the KNX object is acquired by the control panel, all KNX objects can be taken out by traversing the group object table in the KNX protocol stack.
  • the control system may also include multiple KNX devices, each of which includes multiple KNX objects.
  • the control system comprises a KNX device 1 and a KNX device 2, wherein the KNX device 1 comprises the following KNX objects: the switch of the lamp 1, the brightness of the lamp 1, the switch of the lamp 2, the brightness of the lamp 2; the KNX device 2 comprises the following KNX Target: The temperature of the air conditioner, the wind speed of the air conditioner, and the lifting of the curtains.
  • Step 202 Establish a mapping relationship between the KNX object and the Homekit feature.
  • the KNX object with the mapping relationship and the Homekit feature are used to express the same operation.
  • the KNX object and the Homekit feature can be numbered, and the KNX object used to represent the same operation has the same number as the Homekit feature.
  • the switch for the KNX object is the lamp 1 and the switch with the Homekit characteristic of the lamp 1 is used to express the same operation.
  • KNX object 1 switch of lamp 1
  • KNX object 2 brightness of lamp 1
  • KNX object 3 switch of lamp 2
  • KNX object 4 brightness of lamp 2
  • KNX object 5 temperature of air conditioner
  • KNX object 6 wind speed of air conditioner
  • KNX object 7 lifting of curtains.
  • Homekit features are numbered as follows: Homekit feature 1: Light 1 switch; Homekit feature 2: Light 1 brightness; Homekit feature 3: Light 2 switch; Homekit feature 4: Light 2 brightness; Homekit features 5: air conditioning temperature; Homekit features 6: air conditioning wind speed; Homekit features 7: curtain lift.
  • the mapping between the KNX object and the Homekit feature is established based on the number of the KNX object and the Homekit feature. For details, see Figure 4 for the mapping relationship.
  • Step 203 Determine a group address corresponding to each KNX object, and configure the same group address for each KNX object stored according to the determined group address of each KNX object.
  • the other KNX objects are also modified accordingly.
  • the switch of the lamp 1 is the same as the group address of the two KNX objects of the switch of the lamp 2, then if the value of the switch of the lamp 1 is modified to 1 (1 means open, 0 means off), the value of the lamp 2 will also be Changed to 1.
  • the form of the group address may include: three segments, wherein the value of the first segment from left to right is 0-15, the second segment is 0-15, and the third segment is 0-255.
  • the group address needs to be configured for the KNX object stored in the control panel, and the configured group address needs to be the same as the actual group address of the corresponding KNX object.
  • the KNX object corresponding to the KNX device the switch of the lamp 1 whose group address is 1/0/1, then the group address of the KNX object 1 stored in the control panel needs to be configured as 1/0/1.
  • the configuration of the group address of the KNX object obtained in the control panel is implemented by the ETS software.
  • the KNX object configuration group address stored in the control panel may be configured by the method of this step, or the KNX object and each KNX object may be correspondingly traversed when the group object table is traversed in step 201.
  • the group address is taken out and the KNX object and the corresponding group address are stored at the same time.
  • Step 204 The IOS device sets configuration data and sends the configuration data to the control panel.
  • the Homekit feature can be configured to intelligently control smart home devices using configuration data.
  • the configuration data may comprise a plurality of packets, each packet including at least one characteristic having the same service.
  • the setting of the scenario mode may be combined with the configuration of the group.
  • the scenario mode 3 is set to modify the values of the Homekit feature 1 and the Homekit feature 3 in the packet 1 to 1, and the packet 2 is The values in Homekit Feature 2 and Homekit Feature 4 are all changed to 30.
  • the IOS device can also set a voice recognition function to implement control operations through Siri, for example, setting "turn off all lights in the bedroom", and performing the Homekit feature corresponding to all the lights in the bedroom. Correlation, for example, the Homekit feature 1 and the Homekit feature 3 of all the lights in the bedroom.
  • the control panel can be controlled so that the control panel will have the Homekit feature 1 and The value of Homekit Feature 3 is changed to 0.
  • the configuration of the smart home device can still be implemented, and the configuration data can be transmitted to the control panel through the server, and the process can include: the IOS device sends the configuration data to the server, and the server stores The configuration data is sent to the control panel, and the control panel requests the server to download the configuration data according to the configuration data update message to download the configuration data.
  • Step 205 The IOS device sends a control message to the control panel.
  • control message that the IOS device can send to the control panel can be used to modify the value of the target feature, for example, modify the value of the target feature to Homekit feature 1 to 1; can also be used to control a certain group, for example, the value of all the characteristics in group 1 is changed to 1; can also be used to adjust the scene mode to the target scene mode, for example, adjust the scene mode to Scene mode 1.
  • the characteristics corresponding to the scenario mode 1 may be determined to include: Homekit Feature 1, Homekit Feature 2, Homekit Feature 5, and Homekit Feature 6 .
  • Step 208 Modify the determined value of the target KNX object according to the control message.
  • Step 209 The KNX protocol stack sends a slave control message to the KNX bus, where the slave message Carry the group address of the target KNX object and the modified target value.
  • the KNX protocol stack can send a slave message to the KNX bus, and the slave message can carry the group address of the KNX object 1 and the modified The target value, the group address of the KNX object 2 and the modified target value, the group address of the KNX object 5 and the modified target value, the group address of the KNX object 6, and the modified target value.
  • KNX protocol stack can also send two slave messages like the KNX bus, one of which The control message carries the group address of the KNX object 1 and the modified target value, the group address of the KNX object 2 and the modified target value, and another slave message carries the group address of the KNX object 5 and the modified target value, the KNX object 6 group address and modified target value.
  • the KNX device can control the smart home device according to the modified value of each KNX object.
  • Step 501 The control panel is connected to the EnOcean device by using a radio frequency, and the control plane is The board is wirelessly connected to the master device.
  • EnOcean is a new type of wireless transmission technology that consumes less power and can transmit more than 300 meters at a transmission power of 1 mW. Based on EnOcean's ultra-low power consumption, a series of wireless, battery-free, unlimited switching products and sensor products, as well as gateway products that interface with other network transmission technologies have been developed. These products can be used in green energy-saving smart buildings, industrial data acquisition, instrumentation and many other areas without wiring or maintenance-free. However, EnOcean, as a technology widely used in sensor networks, requires a gateway for centralized control and wireless control.
  • control panel provided in this embodiment can be used as a gateway between the EnOcean device and the main control device (hereinafter collectively referred to as an IOS device) for implementing wireless control of the EnOcean device by using the IOS device.
  • IOS device main control device
  • the IOS device may be any one of a mobile phone, a tablet, and a computer with an IOS operating system installed.
  • the address of the EnOcean device needs to be added to the control panel.
  • the control panel enters a learning mode, which can add the address of the EnOcean device to the control panel;
  • the EnOcean device sends a broadcast packet to the control panel, where the broadcast packet carries the address information of the current EnOcean device.
  • FIG. 6 a schematic structural diagram of a control system when the slave control device is an EnOcean device provided in this embodiment.
  • the EnOcean object with the mapping relationship and the Homekit feature are used to express the same operation.
  • the EnOcean object and the Homekit feature can be numbered, and the EnOcean object used to represent the same operation has the same number as the Homekit feature.
  • the switch for the EnOcean object is the lamp 1 and the switch with the Homekit characteristic of the lamp 1 is used to express the same operation.
  • EnOcean objects are numbered as follows: EnOcean object 1: switch of lamp 1; EnOcean object 2: brightness of lamp 1; EnOcean object 3: switch of lamp 2; EnOcean object 4: brightness of lamp 2; EnOcean object 5 : Air conditioning temperature; EnOcean object 6: Air conditioning wind speed; EnOcean object 7: Curtain lifting.
  • Homekit features are numbered as follows: Homekit feature 1: Light 1 switch; Homekit feature 2: Light 1 brightness; Homekit feature 3: Light 2 switch; Homekit feature 4: Light 2 brightness; Homekit features 5: air conditioning temperature; Homekit features 6: air conditioning wind speed; Homekit features 7: curtain lift.
  • the mapping between the EnOcean object and the Homekit feature is established according to the number of the EnOcean object and the Homekit feature. For details, refer to Figure 7 for the mapping relationship.
  • Steps 503-505 are the same as steps 204-206, and are not described in this embodiment.
  • Step 506 Determine a target EnOcean object to be controlled according to the determined characteristics of the required control and the mapping relationship.
  • all objects required to be controlled are determined according to the mapping relationship and all the characteristics of the required control: EnOcean Object 1, EnOcean Object 2, EnOcean Object 5, and EnOcean Object 6.
  • Step 507 The EnOcean wireless module separately sends a slave control message to the corresponding EnOcean device according to the address corresponding to the target EnOcean object, where the slave message carries the EnOcean object.
  • the modified target value is such that the corresponding EnOcean device modifies the value of the corresponding EnOcean object.
  • control panel includes an EnOcean wireless module for communicating with each EnOcean device, wherein communication between the EnOcean wireless module and each EnOcean device is based on address information of the EnOcean device.
  • the control panel can respectively correspond to the addresses corresponding to all objects to be controlled.
  • the information generates four slave control messages, the slave message 1 carries the address information of the EnOcean device 1 and the modified target value of the EnOcean object 1, and the slave message 2 carries the address information of the EnOcean device 2 and the modified target value of the EnOcean object 2.
  • the slave message 3 carries the address information of the EnOcean device 5 and the modified target value of the EnOcean object 5.
  • the slave message 4 carries the address information of the EnOcean device 6 and the modified target value of the EnOcean object 6, and the four slaves are controlled. The message is sent to the corresponding EnOcean device according to the carried address.
  • Step 508 The EnOcean device that receives the slave message modifies the value of the corresponding EnOcean object according to the modified target value carried in the slave message.
  • the EnOcean device can control the smart home device according to the value of each modified EnOcean object.
  • the first determining unit 801 is configured to determine address information of each object, and send the determined address information of each object to the control unit 805;
  • the second determining unit 803 is configured to determine a characteristic of the required control according to the control message sent by the master control device, and send the determined characteristic of the required control to the third determining unit 804;
  • the third determining unit 804 is configured to receive the mapping relationship sent by the establishing unit 802, and receive a characteristic of the required control sent by the second determining unit 803, and determine, according to the mapping relationship, the required control. a target object, and the determined target object is sent to the control unit 805;
  • the control unit 805 is configured to receive address information of each object sent by the first determining unit 801, and receive the target object sent by the third determining unit 804, and according to the address information of the target object. To achieve control of smart home devices.
  • control panel may further include:
  • the obtaining unit 901 is configured to acquire configuration information set by the master control device, and send the configuration information to the second determining unit 803, where the configuration information includes: multiple packets, each of which includes the same At least one characteristic of the service; and/or, a plurality of context patterns, each of the scene patterns corresponding to at least one characteristic;
  • the slave device When the master device includes an IOS device supporting the Homekit protocol, the slave device includes a KNX device supporting the KNX protocol, and the address information of each object includes a group address of each KNX object, the control The panel further includes: a KNX protocol stack for connecting to the KNX device through the KNX bus, and storing the KNX object and a group address corresponding to each KNX object;
  • the control unit 805 is specifically configured to modify, according to the first target value carried in the control message, the value of the target KNX object stored by itself to the first target value, and according to the target group address and the location Transmitting, by the first target value, a first slave message to the KNX bus, so that the KNX device uses the address information as the destination group address according to the first slave message.
  • the value of the KNX object is modified to the first target value to control the smart home device corresponding to the destination KNX object according to the first target value.
  • the control unit 805 is specifically configured to use target address information of the target EnOcean object and the control message.
  • the second target value carried in the second generation control message is sent to the EnOcean device, so that the EnOcean device sets the address information as the value of the target EnOcean object of the target address information according to the second slave control message. Modifying to the second target value to control the smart home device corresponding to the target EnOcean object according to the second target value.
  • the master control device is configured to send a control message to the control panel
  • the slave device is configured to implement control of the smart home device according to the control of the control panel.
  • the master device is further configured to set configuration information, and send the set configuration information to the control panel, where the configuration information includes: a plurality of packets, each packet including at least one characteristic having the same service And/or multiple context modes, each of which corresponds to at least one characteristic.
  • control system may further include:
  • the master control device includes: an IOS device supporting the Homekit protocol;
  • the KNX device is specifically configured to receive the first sent by the control panel to the KNX bus. Decrypting a message, and modifying, according to the first slave message, a value of a destination KNX object whose address information is a target group address to a first target value, to follow the smart home device corresponding to the destination KNX object The first target value is controlled.
  • control system may further include:
  • the master device includes an IOS device supporting the Homekit protocol;
  • the slave device includes an EnOcean device supporting the EnOcean protocol
  • the EnOcean device is specifically configured to modify, according to the second slave control message sent by the control panel, a value of a target EnOcean object whose address information is the target address information to a second target value, to be related to the target EnOcean object.
  • the corresponding smart home device is controlled according to the second target value.
  • the embodiments of the present invention can at least achieve the following beneficial effects:
  • the mapping between the object and the feature is established by using the control panel, thereby indirectly realizing the mapping between the slave device and the master device, and the control device initiates the control message, and the control panel acts as the slave device.
  • the gateway device with the master device determines the target object that the master device needs to control according to the mapping relationship. Since the object corresponds to the smart home device, the control of the smart home device can be realized.
  • the master device by setting the configuration data to set the scenario mode for the feature, the master device can implement all the features belonging to the profile mode when the smart home device is adjusted to a context mode. Joint control to further realize the convenience of smart home and enhance the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Small-Scale Networks (AREA)

Abstract

A control method, control panel and control system for a smart home device are provided, wherein the control panel is used in the control system, and the control system comprises: designating the smart home device as a corresponding slave device of an object, and designating the smart home device as a corresponding master device of an attribute. Said method comprises: the control panel determining an address information of each object, and establishing a mapping relationship between the object and the attribute, wherein an object and attribute having a mapping relationship are used to express a same operation (101); determining the attribute to be controlled according to a control message sent by the master device (102); and determining the target object to be controlled according to the mapping relationship (103); according to the address information of the target object (104), implementing the control of the smart home device. Control of the smart home device is achieved according to the present method.

Description

智能家居设备的控制方法、控制面板及控制系统Control method, control panel and control system for smart home equipment 技术领域Technical field

本发明涉及智能家居技术领域,特别涉及智能家居设备的控制方法、控制面板及控制系统。The invention relates to the field of smart home technology, in particular to a control method, a control panel and a control system of a smart home device.

背景技术Background technique

智能家居目前得以发展和应用。Smart homes are currently being developed and applied.

智能家居的设备能够根据控制,进行对应的设备自身的调控,以完成智能功能。The smart home device can perform the control of the corresponding device according to the control to complete the intelligent function.

目前,需要实现对智能家居设备的控制。Currently, there is a need to control the smart home devices.

发明内容Summary of the invention

本发明实施例提供了智能家居设备的控制方法、控制面板及控制系统,以实现对智能家居设备的控制。Embodiments of the present invention provide a control method, a control panel, and a control system for a smart home device to implement control of a smart home device.

第一方面,本发明实施例提供了智能家居设备的控制方法,其中,应用于控制系统中的控制面板,所述控制系统还包括:将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设备;所述控制面板确定每一个对象的地址信息,并建立对象与特性的映射关系,其中,具有映射关系的对象和特性用于表述相同操作,所述方法还包括:In a first aspect, an embodiment of the present invention provides a control method for a smart home device, where the control system is further applied to: a control device that corresponds to an intelligent home device and a smart home device The device corresponds to a characteristic master device; the control panel determines the address information of each object, and establishes a mapping relationship between the object and the feature, wherein the object and the feature having the mapping relationship are used to express the same operation, and the method further includes :

根据所述主控设备发送的控制消息确定所需控制的特性,并根据所述映射关系确定所需控制的目标对象,根据所述目标对象的地址信息,实现对智能家居设备的控制。Determining a characteristic of the required control according to the control message sent by the master control device, and determining a target object to be controlled according to the mapping relationship, and implementing control on the smart home device according to the address information of the target object.

优选地,其中, Preferably, wherein

进一步包括:获取所述主控设备设置的配置信息,所述配置信息包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性;Further comprising: obtaining configuration information set by the master device, the configuration information comprising: a plurality of packets, each packet including at least one characteristic having the same service; and/or, multiple context modes, each profile Corresponding to at least one characteristic;

所述根据所述主控设备发送的控制消息确定所需控制的特性,包括:根据所述控制消息以及所述配置信息确定所需控制的特性。Determining, according to the control message sent by the master control device, a characteristic of the required control, comprising: determining a characteristic of the required control according to the control message and the configuration information.

优选地,其中,Preferably, wherein

在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持KNX协议的KNX设备时,且所述每一个对象的地址信息包括每一个KNX对象的组地址时,进一步包括:存储KNX对象以及每一个KNX对象所对应的组地址;When the master device includes an IOS device that supports the Homekit protocol, and the slave device includes a KNX device that supports the KNX protocol, and the address information of each of the objects includes a group address of each KNX object, the method further includes: Store KNX objects and group addresses corresponding to each KNX object;

所述根据所述目标对象的地址信息,实现对智能家居设备的控制,包括:根据所述控制消息中携带的第一目标值,将自身存储的该目标KNX对象的值修改为所述第一目标值,并根据所述目标组地址和所述第一目标值生成第一从控消息发送到KNX总线上,以使所述KNX设备根据所述第一从控消息,将地址信息为所述目标组地址的目的KNX对象的值修改为所述第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行控制,其中,所述控制面板与所述KNX设备通过KNX总线相连接。The controlling the smart home device according to the address information of the target object, including: modifying, according to the first target value carried in the control message, the value of the target KNX object stored by itself to the first Generating a first slave message to the KNX bus according to the target group address and the first target value, so that the KNX device sends the address information to the first slave message according to the first slave message. The value of the destination KNX object of the target group address is modified to the first target value to control the smart home device corresponding to the destination KNX object according to the first target value, wherein the control panel and the control panel The KNX devices are connected via a KNX bus.

优选地,其中,Preferably, wherein

在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持EnOcean协议的EnOcean设备时,所述根据所述目标对象的地址信息,实现对智能家居设备的控制,包括:根据目标EnOcean对象的目标地址信息以及所述控制消息中携带的第二目标值生成第二从控消息发送给所述EnOcean设备,以使所述EnOcean设备根据所述第二从控消息,将地址信息为所述目标地址信息的目标EnOcean对象的值修改为所述第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。When the master device includes an IOS device that supports the Homekit protocol, and the slave device includes an EnOcean device that supports the EnOcean protocol, the controlling the smart home device according to the address information of the target object, including: Generating, by the target address information of the target EnOcean object and the second target value carried in the control message, a second slave message to the EnOcean device, so that the EnOcean device sends the address information according to the second slave message. The value of the target EnOcean object of the target address information is modified to the second target value to control the smart home device corresponding to the target EnOcean object according to the second target value.

第二方面,本发明实施例还提供了控制面板,其中,位于控制系统中, 所述控制系统还包括:将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设备;所述控制面板包括:In a second aspect, an embodiment of the present invention further provides a control panel, where the control system is located in the control system, The control system further includes: a slave control device that corresponds the smart home device to the object and a master device that corresponds the smart home device to the feature; the control panel includes:

第一确定单元,用于确定每一个对象的地址信息,并将确定的每一个对象的地址信息发送给控制单元;a first determining unit, configured to determine address information of each object, and send the determined address information of each object to the control unit;

建立单元,用于建立对象与特性的映射关系,并将所述映射关系发送给第三确定单元,其中,具有映射关系的对象和特性用于表述相同操作;Establishing a unit, configured to establish a mapping relationship between the object and the feature, and send the mapping relationship to the third determining unit, where the object and the characteristic having the mapping relationship are used to express the same operation;

第二确定单元,用于根据所述主控设备发送的控制消息确定所需控制的特性,并将确定的所需控制的特性发送给所述第三确定单元;a second determining unit, configured to determine a characteristic of the required control according to the control message sent by the master control device, and send the determined characteristic of the required control to the third determining unit;

所述第三确定单元,用于接收所述建立单元发送的所述映射关系以及接收所述第二确定单元发送的所需控制的特性,并根据所述映射关系确定所需控制的目标对象,并将确定的所述目标对象发送给控制单元;The third determining unit is configured to receive the mapping relationship sent by the establishing unit, and receive a characteristic of the required control sent by the second determining unit, and determine a target object to be controlled according to the mapping relationship, And sending the determined target object to the control unit;

所述控制单元,用于接收所述第一确定单元发送的每一个对象的地址信息,以及接收所述第三确定单元发送的所述目标对象,并根据所述目标对象的地址信息,实现对智能家居设备的控制。The control unit is configured to receive address information of each object sent by the first determining unit, and receive the target object sent by the third determining unit, and implement the pair according to the address information of the target object. Control of smart home equipment.

优选地,其中,Preferably, wherein

进一步包括:获取单元,用于获取所述主控设备设置的配置信息,并将所述配置信息发送给所述第二确定单元,所述配置信息包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性;The method further includes: an obtaining unit, configured to acquire configuration information set by the master control device, and send the configuration information to the second determining unit, where the configuration information includes: multiple packets, each of the packets includes At least one characteristic of the same service; and/or, multiple context modes, each of which corresponds to at least one characteristic;

所述第二确定单元,具体用于接收所述获取单元发送的所述配置信息,并根据所述控制消息以及所述配置信息确定所需控制的特性。The second determining unit is specifically configured to receive the configuration information sent by the acquiring unit, and determine a characteristic of the required control according to the control message and the configuration information.

优选地,其中,Preferably, wherein

在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持KNX协议的KNX设备时,且所述每一个对象的地址信息包括每一个KNX对象的组地址时,所述控制面板进一步包括:KNX协议栈,用于通过KNX总线与所述KNX设备相连接,并存储KNX对象以及每一个KNX对象所对应的组地址; When the master device includes an IOS device supporting the Homekit protocol, the slave device includes a KNX device supporting the KNX protocol, and the address information of each object includes a group address of each KNX object, the control The panel further includes: a KNX protocol stack for connecting to the KNX device through the KNX bus, and storing the KNX object and a group address corresponding to each KNX object;

所述控制单元,具体用于根据所述控制消息中携带的第一目标值,将自身存储的该目标KNX对象的值修改为所述第一目标值,并根据所述目标组地址和所述第一目标值生成第一从控消息发送到KNX总线上,以使所述KNX设备根据所述第一从控消息,将地址信息为所述目标组地址的目的KNX对象的值修改为所述第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行控制。The control unit is specifically configured to modify, according to the first target value carried in the control message, a value of the target KNX object stored by itself to the first target value, and according to the target group address and the Transmitting, by the first target value, a first slave message to the KNX bus, so that the KNX device modifies, according to the first slave message, a value of a destination KNX object whose address information is the target group address to the The first target value is controlled according to the first target value for the smart home device corresponding to the destination KNX object.

优选地,其中,Preferably, wherein

在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持EnOcean协议的EnOcean设备时,所述控制单元,具体用于根据目标EnOcean对象的目标地址信息以及所述控制消息中携带的第二目标值生成第二从控消息发送给所述EnOcean设备,以使所述EnOcean设备根据所述第二从控消息,将地址信息为所述目标地址信息的目标EnOcean对象的值修改为所述第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。When the master device includes an IOS device that supports the Homekit protocol, and the slave device includes an EnOcean device that supports the EnOcean protocol, the control unit is specifically configured to use target address information of the target EnOcean object and the control message. Transmitting, by the carried second target value, a second slave message to the EnOcean device, so that the EnOcean device modifies the value of the target EnOcean object whose address information is the target address information according to the second slave message For the second target value, the smart home device corresponding to the target EnOcean object is controlled according to the second target value.

第三方面,本发明实施例还提供了控制系统,其中,包括上述任一所述的控制面板、将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设备;其中,In a third aspect, the embodiment of the present invention further provides a control system, which includes the control panel of any of the above, the slave control device that corresponds the smart home device to the object, and the master device that corresponds the smart home device to the feature; among them,

所述主控设备,用于向所述控制面板发送控制消息;The master control device is configured to send a control message to the control panel;

所述从控设备,用于根据所述控制面板的控制,实现对智能家居设备的控制。The slave device is configured to implement control of the smart home device according to the control of the control panel.

优选地,其中,Preferably, wherein

所述主控设备,进一步用于设置配置信息,并将设置的所述配置信息发送给所述控制面板,所述配置信息包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性。The master device is further configured to set configuration information, and send the set configuration information to the control panel, where the configuration information includes: a plurality of packets, each packet including at least one characteristic having the same service And/or multiple context modes, each of which corresponds to at least one characteristic.

优选地,其中,Preferably, wherein

所述主控设备包括:支持Homekit协议的IOS设备; The master control device includes: an IOS device supporting the Homekit protocol;

所述从控设备包括:支持KNX协议的KNX设备,所述KNX设备通过KNx总线与所述控制面板相连接,且所述每一个对象的地址信息包括每一个KNX对象的组地址;其中,The slave device includes: a KNX device supporting the KNX protocol, the KNX device is connected to the control panel through a KNx bus, and the address information of each object includes a group address of each KNX object; wherein

所述KNX设备,具体用于接收所述控制面板发送到KNX总线上的第一从控消息,并根据所述第一从控消息将地址信息为目标组地址的目的KNX对象的值修改为第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行控制。The KNX device is specifically configured to receive a first slave control message sent by the control panel to the KNX bus, and modify a value of the destination KNX object whose address information is the target group address according to the first slave control message. a target value for controlling the smart home device corresponding to the destination KNX object according to the first target value.

优选地,其中,Preferably, wherein

所述主控设备包括支持Homekit协议的IOS设备;The master device includes an IOS device supporting the Homekit protocol;

所述从控设备包括支持EnOcean协议的EnOcean设备;The slave device includes an EnOcean device supporting the EnOcean protocol;

所述EnOcean设备,具体用于根据所述控制面板发送的第二从控消息,将地址信息为目标地址信息的目标EnOcean对象的值修改为第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。The EnOcean device is specifically configured to modify, according to the second slave control message sent by the control panel, a value of a target EnOcean object whose address information is the target address information to a second target value, to be related to the target EnOcean object. The corresponding smart home device is controlled according to the second target value.

本发明实施例提供了智能家居设备的控制方法、控制面板及控制系统,可以实现对智能家居设备的控制。Embodiments of the present invention provide a control method, a control panel, and a control system for a smart home device, which can implement control of a smart home device.

附图说明DRAWINGS

图1是本发明实施例提供的控制方法流程图;1 is a flowchart of a control method provided by an embodiment of the present invention;

图2是本发明实施例一提供的控制方法流程图;2 is a flowchart of a control method according to Embodiment 1 of the present invention;

图3是本发明实施例一提供的控制系统结构示意图;3 is a schematic structural diagram of a control system according to Embodiment 1 of the present invention;

图4是本发明实施例一提供的映射关系示意图;4 is a schematic diagram of a mapping relationship provided by Embodiment 1 of the present invention;

图5是本发明实施例二提供的控制方法流程图;FIG. 5 is a flowchart of a control method according to Embodiment 2 of the present invention; FIG.

图6是本发明实施例二提供的控制系统结构示意图;6 is a schematic structural diagram of a control system according to Embodiment 2 of the present invention;

图7是本发明实施例二提供的映射关系示意图;7 is a schematic diagram of a mapping relationship provided by Embodiment 2 of the present invention;

图8是本发明实施例提供的控制面板结构示意图;8 is a schematic structural diagram of a control panel according to an embodiment of the present invention;

图9是本发明实施例提供的另一控制面板结构示意图。 FIG. 9 is a schematic structural diagram of another control panel according to an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

如图1所示,本发明实施例提供了智能家居设备的控制方法,其中,应用于控制系统中的控制面板,所述控制系统还包括:将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设备;该方法可以包括以下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a method for controlling a smart home device, where the control system is further applied to: a control panel in a control system, the control system further includes: a slave device that corresponds to the smart home device as an object, and The smart home device corresponds to a characteristic master device; the method may include the following steps:

步骤101:确定每一个对象的地址信息,并建立对象与特性的映射关系,其中,具有映射关系的对象和特性用于表述相同操作;Step 101: Determine address information of each object, and establish a mapping relationship between the object and the feature, wherein the object and the feature having the mapping relationship are used to express the same operation;

步骤102:根据所述主控设备发送的控制消息确定所需控制的特性;Step 102: Determine, according to a control message sent by the master control device, a characteristic of the required control;

步骤103:并根据所述映射关系确定所需控制的目标对象;Step 103: Determine a target object to be controlled according to the mapping relationship;

步骤104:根据所述目标对象的地址信息,实现对智能家居设备的控制。Step 104: Implement control of the smart home device according to the address information of the target object.

根据本方案,通过利用控制面板建立对象与特性的映射关系,从而间接实现了将从控设备与主控设备的映射,由主控设备发起控制消息,控制面板作为从控设备与主控设备之间的网关设备,根据映射关系确定主控设备所需控制的目标对象,由于对象与智能家居设备相对应,从而可以实现对智能家居设备的控制。According to the solution, the mapping between the object and the feature is established by using the control panel, thereby indirectly realizing the mapping between the slave device and the master device, and the master device initiates the control message, and the control panel acts as the slave device and the master device. The gateway device determines the target object that the master device needs to control according to the mapping relationship. Since the object corresponds to the smart home device, the control of the smart home device can be realized.

在本发明一个优选实施例中,还可以由主控设备设置配置信息,该配置信息可以包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性;当配置信息包括多个分组时,可以根据控制消息实现对一个分组中包括的至少一个特性进行共同控制;当配置信息包括多个情景模式时,可以实现对属于同一个情景模式内的至少一个特性进行共同控制,从而可以提高对智能将埃及设备控制的便捷性。 In a preferred embodiment of the present invention, configuration information may also be set by the master device, the configuration information may include: a plurality of packets, each packet including at least one characteristic having the same service; and/or multiple context modes Each of the scene modes corresponds to at least one characteristic; when the configuration information includes multiple groups, the at least one characteristic included in one group may be jointly controlled according to the control message; when the configuration information includes multiple scene modes, the implementation may be implemented. Common control of at least one feature belonging to the same profile can improve the convenience of intelligently controlling Egyptian devices.

在本发明一个优选实施例中,该主控设备可以包括支持Homekit协议的IOS设备,该从控设备包括支持KNX协议的KNX设备,由于KNX设备支持KNX协议,只能够通过KNX设备上的按键实现对智能家居设备的控制,而本实施例可以通过将对象和特性进行映射,可以利用IOS设备实现对不支持Homekit协议的KNX设备的无线控制。In a preferred embodiment of the present invention, the master device may include an IOS device supporting the Homekit protocol, and the slave device includes a KNX device supporting the KNX protocol. Since the KNX device supports the KNX protocol, only the buttons on the KNX device can be implemented. For the control of the smart home device, the embodiment can map the object and the feature, and the IOS device can be used to implement wireless control of the KNX device that does not support the Homekit protocol.

由于KNX对象之间的通信是依据组地址来实现的,每一个对象的地址信息包括每一个KNX对象的组地址,因此,该控制面板可以进一步包括:存储KNX对象以及每一个KNX对象所对应的组地址;Since the communication between the KNX objects is implemented according to the group address, the address information of each object includes the group address of each KNX object. Therefore, the control panel may further include: storing the KNX object and corresponding to each KNX object. Group address

所述根据所述目标对象的地址信息,实现对智能家居设备的控制,包括:根据所述控制消息中携带的第一目标值,将自身存储的该目标KNX对象的值修改为所述第一目标值,并根据所述目标组地址和所述第一目标值生成第一从控消息发送到KNX总线上,以使所述KNX设备根据所述第一从控消息,将地址信息为所述目标组地址的目的KNX对象的值修改为所述第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行控制,其中,所述控制面板与所述KNX设备通过KNX总线相连接。The controlling the smart home device according to the address information of the target object, including: modifying, according to the first target value carried in the control message, the value of the target KNX object stored by itself to the first Generating a first slave message to the KNX bus according to the target group address and the first target value, so that the KNX device sends the address information to the first slave message according to the first slave message. The value of the destination KNX object of the target group address is modified to the first target value to control the smart home device corresponding to the destination KNX object according to the first target value, wherein the control panel and the control panel The KNX devices are connected via a KNX bus.

在本发明一个优选实施例中,该主控设备可以包括支持Homekit协议的IOS设备,该从控设备包括支持EnOcean协议的EnOcean设备,由于EnOcean设备支持EnOcean协议,若需要利用IOS设备对EnOcean对象进行无线控制,需要一个网关设备才能够实现,因此,本实施例可以利用控制面板作为IOS设备与EnOcean设备之间的网关设备,通过将对象和特性进行映射,可以利用IOS设备实现对不支持Homekit协议的EnOcean设备的无线控制。In a preferred embodiment of the present invention, the master device may include an IOS device supporting the Homekit protocol, and the slave device includes an EnOcean device supporting the EnOcean protocol. Since the EnOcean device supports the EnOcean protocol, if the EnOcean object needs to be performed by using the IOS device, Wireless control requires a gateway device to be implemented. Therefore, in this embodiment, the control panel can be used as a gateway device between the IOS device and the EnOcean device. By mapping the object and the feature, the IOS device can be used to implement the Homekit protocol. Wireless control of the EnOcean device.

因此,所述根据所述目标对象的地址信息,实现对智能家居设备的控制,包括:根据目标EnOcean对象的目标地址信息以及所述控制消息中携带的第二目标值生成第二从控消息发送给所述EnOcean设备,以使所述EnOcean设备根据所述第二从控消息,将地址信息为所述目标地址信息的目标EnOcean对象的值修改为所述第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。 Therefore, the controlling the smart home device according to the address information of the target object includes: generating a second slave message according to the target address information of the target EnOcean object and the second target value carried in the control message Giving the EnOcean device, so that the EnOcean device modifies, according to the second slave message, a value of a target EnOcean object whose address information is the target address information to the second target value, to The smart home device corresponding to the target EnOcean object is controlled according to the second target value.

为使本发明的目的、技术方案和优点更加清楚,下面可以从该从控设备分别为KNX设备和EnOcean设备时,结合相应附图及相应具体实施例,分别对本发明作进一步地详细描述。In order to make the object, the technical solution and the advantages of the present invention more clear, the present invention can be further described in detail below when the slave control device is a KNX device and an EnOcean device, respectively, in conjunction with the corresponding drawings and corresponding embodiments.

实施例一Embodiment 1

在从控设备包括KNX设备时,请参考图2,该智能家居设备的控制方法可以包括以下步骤:When the slave device includes the KNX device, please refer to FIG. 2, the control method of the smart home device may include the following steps:

步骤201:控制面板通过KNX总线与KNX设备相连接,控制面板通过无线方式与主控设备相连接。Step 201: The control panel is connected to the KNX device through the KNX bus, and the control panel is connected to the main control device by wireless.

在本实施例中,该主控设备(以下均统称为IOS设备)可以是安装有IOS操作系统的手机、平板和电脑中的任意一种。In this embodiment, the main control device (hereinafter collectively referred to as an IOS device) may be any one of a mobile phone, a tablet, and a computer with an IOS operating system installed.

KNX设备支持的是KNX协议,IOS设备支持的是Homekit协议,而KNX协议和Homekit协议所对应的系统架构是不一样的。The KNX device supports the KNX protocol, and the IOS device supports the Homekit protocol. The system architecture corresponding to the KNX protocol and the Homekit protocol is different.

其中,KNX协议所对应的系统架构是分布式系统,分布式系统中的各个KNX设备通过KNX总线相连接,KNX总线上的各个KNX设备之间的关系是平等关系,一个KNX设备可以控制多个智能家居设备,在KNX协议中可以将智能家居设备抽象为KNX对象,KNX设备与KNX设备之间的通信则被抽象为KNX对象与KNX对象之间的通信。Among them, the system architecture corresponding to the KNX protocol is a distributed system. Each KNX device in the distributed system is connected through the KNX bus. The relationship between the KNX devices on the KNX bus is equal, and one KNX device can control multiple In smart home devices, smart home devices can be abstracted into KNX objects in the KNX protocol, and communication between KNX devices and KNX devices is abstracted as communication between KNX objects and KNX objects.

其中,Homekit协议所对应的系统架构是一个集中式的系统,以IOS设备为控制中心,IOS设备可以控制多个智能家居设备,在Homekit协议中,以将智能家居设备抽象为Homekit特性,且可以将各个可以实现的Homekit功能抽象为服务的集合,每一个Homekit服务可以包括多个Homekit特性。The system architecture corresponding to the Homekit protocol is a centralized system, with the IOS device as the control center, and the IOS device can control multiple smart home devices. In the Homekit protocol, the smart home device is abstracted into the Homekit feature, and Each of the achievable Homekit functions is abstracted into a collection of services, and each Homekit service can include multiple Homekit features.

其中,KNX对象/Homekit特性都可以包括:灯的开关、灯的亮度、空调的温度、窗帘的升降、保安系统的开关、供暖开关、通风系统的开关等。Among them, KNX object / Homekit features can include: lamp switch, lamp brightness, air conditioning temperature, curtain lift, security system switch, heating switch, ventilation system switch.

为了实现对KNX设备的控制与Homekit协议中的控制对应起来,并能协同工作,可以提供控制面板,作为控制系统中的网关设备。由于KNX设备是通过KNX总线连接的,因此,需要将控制面板与至少一个KNX设备通过KNX总线相连接。而IOS设备可以是移动设备,例如,手机、平板、笔 记本电脑等,也可以是非移动的终端设备,例如,台式电脑,因此,可以将控制面板与IOS设备通过无线的方式进行连接。请参考图3,为从控设备为KNX设备时的控制系统的结构示意图。In order to achieve control of the KNX device and control in the Homekit protocol, and can work together, a control panel can be provided as a gateway device in the control system. Since the KNX device is connected via the KNX bus, it is necessary to connect the control panel to at least one KNX device via the KNX bus. The IOS device can be a mobile device, for example, a mobile phone, a tablet, a pen The notebook computer, etc., can also be a non-mobile terminal device, for example, a desktop computer, so that the control panel and the IOS device can be connected wirelessly. Please refer to FIG. 3 , which is a schematic structural diagram of a control system when the slave device is a KNX device.

在本实施例中,为了实现利用IOS设备对KNX设备进行无线控制,该控制面板可以存储KNX对象和Homekit特性。In this embodiment, in order to implement wireless control of the KNX device by using the IOS device, the control panel can store the KNX object and the Homekit feature.

在本实施例中,在控制面板中可以包括一个KNX协议栈,控制面板可以通过该KNX协议栈与KNX设备相连接,该KNX协议栈中存储有组对象表,该组对象表中包括KNX总线上所有KNX对象。因此,在控制面板获取KNX对象时,可以通过遍历KNX协议栈中的组对象表,将所有的KNX对象取出来。In this embodiment, a KNX protocol stack may be included in the control panel, and the control panel may be connected to the KNX device through the KNX protocol stack. The KNX protocol stack stores a group object table, where the group object table includes a KNX bus. All KNX objects. Therefore, when the KNX object is acquired by the control panel, all KNX objects can be taken out by traversing the group object table in the KNX protocol stack.

其中,该控制系统也可以包括多个KNX设备,每一个KNX设备包括多个KNX对象。例如,该控制系统包括KNX设备1和KNX设备2,其中,KNX设备1包括以下KNX对象:灯1的开关、灯1的亮度、灯2的开关、灯2的亮度;KNX设备2包括以下KNX对象:空调的温度、空调的风速、窗帘的升降。The control system may also include multiple KNX devices, each of which includes multiple KNX objects. For example, the control system comprises a KNX device 1 and a KNX device 2, wherein the KNX device 1 comprises the following KNX objects: the switch of the lamp 1, the brightness of the lamp 1, the switch of the lamp 2, the brightness of the lamp 2; the KNX device 2 comprises the following KNX Target: The temperature of the air conditioner, the wind speed of the air conditioner, and the lifting of the curtains.

相同的,该控制系统包括Homekit服务的以下特性:灯1的开关、灯1的亮度、灯2的开关、灯2的亮度、空调的温度、空调的风速、窗帘的升降。Similarly, the control system includes the following characteristics of the Homekit service: the switch of the lamp 1, the brightness of the lamp 1, the switch of the lamp 2, the brightness of the lamp 2, the temperature of the air conditioner, the wind speed of the air conditioner, and the lifting and lowering of the curtain.

步骤202:建立KNX对象与Homekit特性的映射关系。Step 202: Establish a mapping relationship between the KNX object and the Homekit feature.

在本发明一个优选实施例中,建立的映射关系中,具有映射关系的KNX对象与Homekit特性用于表述相同操作。为了保证在建立映射关系时的有序性,可以对KNX对象与Homekit特性进行编号,且用于表述相同操作的KNX对象与Homekit特性的编号相同。其中,对于KNX对象为灯1的开关与Homekit特性为灯1的开关用于表述相同操作。In a preferred embodiment of the present invention, in the established mapping relationship, the KNX object with the mapping relationship and the Homekit feature are used to express the same operation. To ensure the ordering of the mapping relationship, the KNX object and the Homekit feature can be numbered, and the KNX object used to represent the same operation has the same number as the Homekit feature. Among them, the switch for the KNX object is the lamp 1 and the switch with the Homekit characteristic of the lamp 1 is used to express the same operation.

例如,对以下KNX对象分别进行编号为:KNX对象1:灯1的开关;KNX对象2:灯1的亮度;KNX对象3:灯2的开关;KNX对象4:灯2的亮度;KNX对象5:空调的温度;KNX对象6:空调的风速;KNX对象7:窗帘的升降。 For example, the following KNX objects are numbered separately: KNX object 1: switch of lamp 1; KNX object 2: brightness of lamp 1; KNX object 3: switch of lamp 2; KNX object 4: brightness of lamp 2; KNX object 5 : temperature of air conditioner; KNX object 6: wind speed of air conditioner; KNX object 7: lifting of curtains.

相应的,对以下Homekit特性分别进行编号为:Homekit特性1:灯1的开关;Homekit特性2:灯1的亮度;Homekit特性3:灯2的开关;Homekit特性4:灯2的亮度;Homekit特性5:空调的温度;Homekit特性6:空调的风速;Homekit特性7:窗帘的升降。Correspondingly, the following Homekit features are numbered as follows: Homekit feature 1: Light 1 switch; Homekit feature 2: Light 1 brightness; Homekit feature 3: Light 2 switch; Homekit feature 4: Light 2 brightness; Homekit features 5: air conditioning temperature; Homekit features 6: air conditioning wind speed; Homekit features 7: curtain lift.

根据对KNX对象和Homekit特性进行的编号,建立KNX对象和Homekit特性映射关系,请参考图4,为建立的映射关系示意图。The mapping between the KNX object and the Homekit feature is established based on the number of the KNX object and the Homekit feature. For details, see Figure 4 for the mapping relationship.

步骤203:确定每一个KNX对象分别对应的组地址,并根据确定的每一个KNX对象分别对应的组地址,为存储的每一个KNX对象分别配置相同的组地址。Step 203: Determine a group address corresponding to each KNX object, and configure the same group address for each KNX object stored according to the determined group address of each KNX object.

由于KNX对象与KNX对象之间的通信是通过组地址实现的,即组地址相同的多个KNX对象中,在其中一个KNX对象的值被修改之后,其他KNX对象也会被相应修改。例如,灯1的开关与灯2的开关两个KNX对象的组地址相同,那么若灯1的开关的值被修改为1(1表示开,0表示关)后,灯2的值也会被修改为1。Since the communication between the KNX object and the KNX object is implemented by the group address, that is, among the plurality of KNX objects with the same group address, after the value of one of the KNX objects is modified, the other KNX objects are also modified accordingly. For example, the switch of the lamp 1 is the same as the group address of the two KNX objects of the switch of the lamp 2, then if the value of the switch of the lamp 1 is modified to 1 (1 means open, 0 means off), the value of the lamp 2 will also be Changed to 1.

其中,组地址的形式可以包括:三段,其中,从左向右的第一段的值为0-15,第二段为0-15,第三段为0-255。The form of the group address may include: three segments, wherein the value of the first segment from left to right is 0-15, the second segment is 0-15, and the third segment is 0-255.

因此,为了实现利用IOS设备对KNX设备的无线控制,需要为控制面板中存储的KNX对象配置组地址,且配置的组地址需要与相应的KNX对象的实际的组地址相同。Therefore, in order to implement wireless control of the KNX device by the IOS device, the group address needs to be configured for the KNX object stored in the control panel, and the configured group address needs to be the same as the actual group address of the corresponding KNX object.

例如,KNX设备对应的KNX对象1:灯1的开关,其组地址为1/0/1,那么需要将控制面板中存储的KNX对象1的组地址配置为1/0/1。For example, the KNX object corresponding to the KNX device: the switch of the lamp 1 whose group address is 1/0/1, then the group address of the KNX object 1 stored in the control panel needs to be configured as 1/0/1.

其中,对控制面板中获取的KNX对象的组地址的配置是通过ETS软件实现的。The configuration of the group address of the KNX object obtained in the control panel is implemented by the ETS software.

在本实施例中,对控制面板中存储的KNX对象配置组地址,可以是通过本步骤的方式进行配置,也可以在步骤201中遍历组对象表时一同将KNX对象和每一个KNX对象对应的组地址取出来,并同时存储KNX对象及相应的组地址。 In this embodiment, the KNX object configuration group address stored in the control panel may be configured by the method of this step, or the KNX object and each KNX object may be correspondingly traversed when the group object table is traversed in step 201. The group address is taken out and the KNX object and the corresponding group address are stored at the same time.

步骤204:IOS设备设置配置数据,并将配置数据发送给控制面板。Step 204: The IOS device sets configuration data and sends the configuration data to the control panel.

为了实现对智能家居设备的智能控制,可以通过对Homekit特性进行配置,以利用配置数据对智能家居设备进行智能控制。In order to achieve intelligent control of smart home devices, the Homekit feature can be configured to intelligently control smart home devices using configuration data.

在本发明一个优选实施例中,该配置数据可以包括多个分组,每一个分组中包括具有相同服务的至少一个特性,。In a preferred embodiment of the invention, the configuration data may comprise a plurality of packets, each packet including at least one characteristic having the same service.

例如,将Homekit特性1:灯1的开关,和Homekit特性3:灯2的开关,分成一个分组1;将Homekit特性2:灯1的亮度,和Homekit特性4:灯2的亮度,分成一个分组2。For example, divide the switch of Homekit feature 1: lamp 1 and the switch of Homekit feature 3: lamp 2 into one group 1; divide the brightness of Homekit feature 2: lamp 1 and the brightness of Homekit feature 4: lamp 2 into one group 2.

需要说明的是,可以针对其他特性中的每一个特性分别设置为一个分组,也可以不对其他特性进行分组,在不对其他特性进行分组的情况下,可以默认为该特性单独位于一个分组中。It should be noted that each of the other characteristics may be set as one packet, or may not be grouped. If other characteristics are not grouped, the feature may be separately located in one packet by default.

如此,可以实现IOS设备在对其中一个特性进行控制时,可以实现对与该特性位于同一个分组中的所有特性的控制,或者,可以实现IOS设备在对一个分组进行控制时,可以实现对该分组中所有特性的控制,从而可以提高智能家居设备的控制便捷性,提高用户体验。In this way, the IOS device can implement control of all the features in the same group with the feature when controlling one of the characteristics, or can implement the IOS device when controlling a group. The control of all the features in the group can improve the control convenience of the smart home device and improve the user experience.

在本发明一个优选实施例中,该配置数据还可以包括:多个情景模式,每一个情景模式对应于至少一个特性。In a preferred embodiment of the present invention, the configuration data may further include: a plurality of scene modes, each of the scene patterns corresponding to the at least one characteristic.

例如,设置如下情景模式1:将Homekit特性1为灯1的开关的值修改为1(打开状态),将Homekit特性2为灯1的亮度值设置为30(其中,灯的亮度可以是从0-100,数值越小亮度越低,数值越大亮度越高),将Homekit特性5为空调的温度的值调整为30度,将Homekit特性6为空调的风速调整为低风。For example, set the following scenario mode 1: Change the value of the switch with Homekit feature 1 to lamp 1 to 1 (open state), and set the brightness value of Homekit feature 2 to lamp 1 to 30 (where the brightness of the lamp can be from 0) -100, the smaller the value is, the lower the brightness is, the higher the value is, the higher the brightness is.) The Homekit characteristic 5 is adjusted to a temperature of 30 degrees for the air conditioner, and the Homekit characteristic 6 is adjusted to a low wind for the air speed of the air conditioner.

再如,设置如下情景模式2:将Homekit特性3为灯2的开关的值修改为0(关闭状态),将Homekit特性7为窗帘的开关的值修改为1(打开状态,0为关闭状态)。For another example, set the following scenario 2: Change the value of the switch of Homekit feature 3 to lamp 2 to 0 (off state), and change the value of the switch of Homekit feature 7 to the curtain to 1 (open state, 0 is off state) .

如此,可以实现IOS设备在确定调整为某一个情景模式时,可以实现将该情景模式对应的所有特性进行相应模式的调整,从而可以提高智能家居设 备的控制便捷性,提高用户体验。In this way, when the IOS device is determined to be adjusted to a certain scene mode, all the features corresponding to the scene mode can be adjusted in corresponding modes, thereby improving the smart home setting. The convenience of control is provided to improve the user experience.

进一步地,在本实施例中,还可以将情景模式的设置与分组的配置进行结合,例如设置情景模式3为将分组1中Homekit特性1和Homekit特性3的值均修改为1,将分组2中Homekit特性2和Homekit特性4中的值均修改为30。Further, in this embodiment, the setting of the scenario mode may be combined with the configuration of the group. For example, the scenario mode 3 is set to modify the values of the Homekit feature 1 and the Homekit feature 3 in the packet 1 to 1, and the packet 2 is The values in Homekit Feature 2 and Homekit Feature 4 are all changed to 30.

在本发明一个优选实施例中,IOS设备还可以设置语音识别功能,通过Siri实现控制操作,例如,设置“关闭卧室所有的灯”,将该句语音与卧室内所有的灯对应的Homekit特性进行关联,例如,卧室所有的灯对应的Homekit特性1和Homekit特性3,当用户通过Siri说出“关闭卧室所有的灯”时,可以实现对控制面板的控制,以使控制面板将Homekit特性1和Homekit特性3的值均修改为0。In a preferred embodiment of the present invention, the IOS device can also set a voice recognition function to implement control operations through Siri, for example, setting "turn off all lights in the bedroom", and performing the Homekit feature corresponding to all the lights in the bedroom. Correlation, for example, the Homekit feature 1 and the Homekit feature 3 of all the lights in the bedroom. When the user says "turn off all the lights in the bedroom" through Siri, the control panel can be controlled so that the control panel will have the Homekit feature 1 and The value of Homekit Feature 3 is changed to 0.

在本发明一个优选实施例中,IOS设备还可以设置定时或重复触发一系列的操作。例如,在某日某时触发关灯的操作等等。In a preferred embodiment of the invention, the IOS device can also set a series of operations to be triggered periodically or repeatedly. For example, an operation to turn off the light at a certain time on a certain day, and the like.

在本实施例中,为了保证用户更换了IOS设备依然可以实现对智能家居设备的配置,该配置数据可以通过服务器传送给控制面板,该过程可以包括:IOS设备将配置数据发送给服务器,服务器存储该配置数据,并向控制面板发送配置数据更新消息,控制面板根据该配置数据更新消息向服务器请求下载该配置数据,以实现对该配置数据的下载。In this embodiment, in order to ensure that the user replaces the IOS device, the configuration of the smart home device can still be implemented, and the configuration data can be transmitted to the control panel through the server, and the process can include: the IOS device sends the configuration data to the server, and the server stores The configuration data is sent to the control panel, and the control panel requests the server to download the configuration data according to the configuration data update message to download the configuration data.

其中,控制面板将下载的配置数据存储在内存中,由于每当控制面板重启之后,内存中的数据会消失,因此,为了保证该配置数据不丢失,可以将该配置数据存储到Flash中。其中,该Flash中存储的数据在控制面板重启之后,不会消失。因此,也可以将建立的映射关系、存储的KNX对象及组地址存储到Flash中,当控制面板重启之后,可以将Flash中的数据读取到内存中。The control panel stores the downloaded configuration data in the memory. Since the data in the memory disappears after the control panel is restarted, the configuration data can be stored in the Flash in order to ensure that the configuration data is not lost. The data stored in the Flash does not disappear after the control panel is restarted. Therefore, the established mapping relationship, the stored KNX object and the group address can also be stored in the Flash. After the control panel is restarted, the data in the Flash can be read into the memory.

步骤205:IOS设备向控制面板发送控制消息。Step 205: The IOS device sends a control message to the control panel.

在本实施例中,IOS设备可以向控制面板发送的该控制消息,可以用于对目标特性的值进行修改,例如,将目标特性为Homekit特性1的值修改为 1;也可以用于实现对某个分组的控制,例如,将分组1中的所有特性的值均修改为1;也可以用于将情景模式调整为目标情景模式,例如,将情景模式调整为情景模式1。In this embodiment, the control message that the IOS device can send to the control panel can be used to modify the value of the target feature, for example, modify the value of the target feature to Homekit feature 1 to 1; can also be used to control a certain group, for example, the value of all the characteristics in group 1 is changed to 1; can also be used to adjust the scene mode to the target scene mode, for example, adjust the scene mode to Scene mode 1.

步骤206:控制面板根据该控制消息,确定IOS设备所需控制的所有特性。Step 206: The control panel determines, according to the control message, all characteristics required to be controlled by the IOS device.

例如,当该控制消息用于对分组1中所有特性的值进行修改时,根据内存中存储的配置数据,可以确定该分组1中包括Homekit特性1和Homekit特性3,因此,可以将该Homekit特性1和Homekit特性3作为确定的所需控制的特性。For example, when the control message is used to modify the values of all the characteristics in the packet 1, according to the configuration data stored in the memory, it can be determined that the packet 1 includes the Homekit feature 1 and the Homekit feature 3, and therefore, the Homekit feature can be selected. 1 and Homekit feature 3 as a characteristic of the required control.

再如,当该控制消息用于将情景模式调整为情景模式1时,根据该配置数据,可以确定该情景模式1对应的特性包括:Homekit特性1、Homekit特性2、Homekit特性5和Homekit特性6。For example, when the control message is used to adjust the context mode to the scenario mode 1, according to the configuration data, the characteristics corresponding to the scenario mode 1 may be determined to include: Homekit Feature 1, Homekit Feature 2, Homekit Feature 5, and Homekit Feature 6 .

下面以该控制消息用于将情景模式调整为情景模式1为例,对本实施例进行说明。The following describes the embodiment by using the control message as an example for adjusting the scene mode to the scene mode 1.

步骤207:根据确定的该所需控制的特性以及映射关系,确定所需控制的目标KNX对象。Step 207: Determine the target KNX object to be controlled according to the determined characteristics of the required control and the mapping relationship.

在本实施例中,可以根据该映射关系直接确定所需控制的目标KNX对象,以对确定的目标KNX对象的值进行修改,也可以预先存储特性,并根据控制消息对确定的所需控制的特性的值进行相应修改,在此不做具体限定。In this embodiment, the target KNX object to be controlled may be directly determined according to the mapping relationship, so as to modify the value of the determined target KNX object, or may store the feature in advance, and determine the required control according to the control message. The value of the feature is modified accordingly, and is not specifically limited herein.

在本实施例中,可以根据映射关系以及该所需控制的所有特性,确定所需控制的目标KNX对象为:KNX对象1、KNX对象2、KNX对象5和KNX对象6。In this embodiment, the target KNX objects to be controlled may be determined according to the mapping relationship and all the characteristics of the required control: KNX object 1, KNX object 2, KNX object 5, and KNX object 6.

步骤208:将确定的目标KNX对象的值根据控制消息进行修改。Step 208: Modify the determined value of the target KNX object according to the control message.

在本实施例中,由于控制消息是用于将智能家居设备调整为情景模式1,因此,控制面板可以将存储的KNX对象1的值修改为1,KNX对象2的值修改为30,将KNX对象5的值修改30和将KNX对象6的值修改为8低风。In this embodiment, since the control message is used to adjust the smart home device to the scene mode 1, the control panel can change the value of the stored KNX object 1 to 1, and the value of the KNX object 2 to 30, which will be KNX. The value of object 5 is modified 30 and the value of KNX object 6 is modified to 8 low winds.

步骤209:KNX协议栈向KNX总线发送从控消息,其中,该从控消息 携带目标KNX对象的组地址和修改后的目标值。Step 209: The KNX protocol stack sends a slave control message to the KNX bus, where the slave message Carry the group address of the target KNX object and the modified target value.

在本实施例中,由于KNX对象之间是通过组地址来实现通信的,因此,KNX协议栈可以向KNX总线发送从控消息,该从控消息中可以携带KNX对象1的组地址和修改后的目标值,KNX对象2的组地址和修改后的目标值,KNX对象5的组地址和修改后的目标值,KNX对象6的组地址和修改后的目标值。In this embodiment, since the KNX objects are communicated by the group address, the KNX protocol stack can send a slave message to the KNX bus, and the slave message can carry the group address of the KNX object 1 and the modified The target value, the group address of the KNX object 2 and the modified target value, the group address of the KNX object 5 and the modified target value, the group address of the KNX object 6, and the modified target value.

由于KNX对象1和KNX对象2对应于同一个KNX设备1,KNX对象5和KNX对象6对应于同一个KNX设备2,该KNX协议栈也可以像KNX总线发送两个从控消息,其中一个从控消息携带KNX对象1的组地址和修改后的目标值,KNX对象2的组地址和修改后的目标值,另一个从控消息携带KNX对象5的组地址和修改后的目标值,KNX对象6的组地址和修改后的目标值。Since KNX object 1 and KNX object 2 correspond to the same KNX device 1, KNX object 5 and KNX object 6 correspond to the same KNX device 2, the KNX protocol stack can also send two slave messages like the KNX bus, one of which The control message carries the group address of the KNX object 1 and the modified target value, the group address of the KNX object 2 and the modified target value, and another slave message carries the group address of the KNX object 5 and the modified target value, the KNX object 6 group address and modified target value.

对于KNX协议栈向KNX总线发送从控消息的个数,可以根据用户需求进行设定,本实施例对此不作具体限定。The number of the slave messages sent by the KNX protocol stack to the KNX bus can be set according to the requirements of the user. This embodiment does not specifically limit this.

步骤210:与KNX总线相连接的相应KNX设备,根据该从控消息中携带的信息将相应的KNX对象的值进行修改。Step 210: The corresponding KNX device connected to the KNX bus modifies the value of the corresponding KNX object according to the information carried in the slave control message.

其中,KNX设备1可以将KNX对象1的值修改为1,将KNX对象2的值修改为30;以及,KNX设备2可以将KNX对象5的值修改30,将KNX对象6的值修改为8。The KNX device 1 can change the value of the KNX object 1 to 1, and the value of the KNX object 2 to 30; and the KNX device 2 can modify the value of the KNX object 5 by 30, and the value of the KNX object 6 to 8 .

由于KNX对象与智能家居设备相对应,因此,可以实现KNX设备对智能家居设备按照修改后的各个KNX对象的值将相应的智能家居设备进行控制。Since the KNX object corresponds to the smart home device, the KNX device can control the smart home device according to the modified value of each KNX object.

以上,实现了利用IOS设备对KNX设备的无线控制。In the above, wireless control of the KNX device using the IOS device is realized.

实施例二Embodiment 2

在从控设备包括EnOcean设备时,请参考图5,该智能家居设备的控制方法可以包括以下步骤:When the slave device includes the EnOcean device, please refer to FIG. 5, the control method of the smart home device may include the following steps:

步骤501:控制面板通过无线射频方式与EnOcean设备相连接,控制面 板通过无线方式与主控设备相连接。Step 501: The control panel is connected to the EnOcean device by using a radio frequency, and the control plane is The board is wirelessly connected to the master device.

EnOcean是一种新型的无线传输技术,其功耗较低,可以在1mW的发射功率传输距离超过300米。基于EnOcean超低功耗的特性,已经开发出了一系列的无线、无电池、无限制的开关产品及传感器产品以及和其他网络传输技术衔接的网关产品。这些产品可以不用布线、免维护的运用于绿色节能智能建筑、工业数据采集、仪器仪表及其他很多领域。但是EnOcean作为一种在传感器网络中广泛使用的技术,在集中控制和无线控制方面,需要一种网关才能实现。EnOcean is a new type of wireless transmission technology that consumes less power and can transmit more than 300 meters at a transmission power of 1 mW. Based on EnOcean's ultra-low power consumption, a series of wireless, battery-free, unlimited switching products and sensor products, as well as gateway products that interface with other network transmission technologies have been developed. These products can be used in green energy-saving smart buildings, industrial data acquisition, instrumentation and many other areas without wiring or maintenance-free. However, EnOcean, as a technology widely used in sensor networks, requires a gateway for centralized control and wireless control.

因此,本实施例提供的该控制面板可以作为EnOcean设备和主控设备(以下均统称为IOS设备)之间的网关,用于实现利用IOS设备对EnOcean设备的无线控制。Therefore, the control panel provided in this embodiment can be used as a gateway between the EnOcean device and the main control device (hereinafter collectively referred to as an IOS device) for implementing wireless control of the EnOcean device by using the IOS device.

其中,该IOS设备可以是安装有IOS操作系统的手机、平板和电脑中的任意一种。The IOS device may be any one of a mobile phone, a tablet, and a computer with an IOS operating system installed.

在本实施例中,为了能够使得控制面板能够识别EnOcean设备,需要将EnOcean设备的地址添加到控制面板中。In this embodiment, in order to enable the control panel to recognize the EnOcean device, the address of the EnOcean device needs to be added to the control panel.

该步骤可以包括:This step can include:

S1:控制面板进入学习模式,该模式可以添加EnOcean设备的地址到控制面板;S1: The control panel enters a learning mode, which can add the address of the EnOcean device to the control panel;

S2:EnOcean设备向控制面板发送广播报文,该广播报文中携带有当前EnOcean设备的地址信息;S2: The EnOcean device sends a broadcast packet to the control panel, where the broadcast packet carries the address information of the current EnOcean device.

S3:控制面板根据该广播报文记录每一个EnOcean设备的地址信息,退出学习模式,完成EnOcean设备的添加。S3: The control panel records the address information of each EnOcean device according to the broadcast message, exits the learning mode, and completes the addition of the EnOcean device.

其中,在该过程中,控制面板可以获取到每一个EnOcean设备对应的EnOcean对象。该EnOcean对象可以携带在该广播报文中。In the process, the control panel can obtain the EnOcean object corresponding to each EnOcean device. The EnOcean object can be carried in the broadcast message.

如图6所示,为本实施例提供的从控设备为EnOcean设备时的控制系统的结构示意图。As shown in FIG. 6 , a schematic structural diagram of a control system when the slave control device is an EnOcean device provided in this embodiment.

在本实施例中,IOS设备支持的是Homekit协议,包括多个Homekit特 性,而EnOcean设备一般只包括一个EnOcean对象,其中,该EnOcean对象/Homekit特性可以包括:灯的开关、灯的亮度、空调的温度、窗帘的升降、保安系统的开关、供暖开关、通风系统的开关等。In this embodiment, the IOS device supports the Homekit protocol, including multiple Homekit specials. Sex, while EnOcean devices generally only include one EnOcean object, where the EnOcean object/Homekit features can include: lamp switch, lamp brightness, air conditioning temperature, curtain lift, security system switch, heating switch, ventilation system Switch, etc.

步骤502:建立EnOcean对象与Homekit特性的映射关系。Step 502: Establish a mapping relationship between the EnOcean object and the Homekit feature.

在本发明一个优选实施例中,建立的映射关系中,具有映射关系的EnOcean对象与Homekit特性用于表述相同操作。为了保证在建立映射关系时的有序性,可以对EnOcean对象与Homekit特性进行编号,且用于表述相同操作的EnOcean对象与Homekit特性的编号相同。其中,对于EnOcean对象为灯1的开关与Homekit特性为灯1的开关用于表述相同操作。In a preferred embodiment of the present invention, in the established mapping relationship, the EnOcean object with the mapping relationship and the Homekit feature are used to express the same operation. To ensure the ordering of the mapping relationship, the EnOcean object and the Homekit feature can be numbered, and the EnOcean object used to represent the same operation has the same number as the Homekit feature. Among them, the switch for the EnOcean object is the lamp 1 and the switch with the Homekit characteristic of the lamp 1 is used to express the same operation.

例如,对以下EnOcean对象分别进行编号为:EnOcean对象1:灯1的开关;EnOcean对象2:灯1的亮度;EnOcean对象3:灯2的开关;EnOcean对象4:灯2的亮度;EnOcean对象5:空调的温度;EnOcean对象6:空调的风速;EnOcean对象7:窗帘的升降。For example, the following EnOcean objects are numbered as follows: EnOcean object 1: switch of lamp 1; EnOcean object 2: brightness of lamp 1; EnOcean object 3: switch of lamp 2; EnOcean object 4: brightness of lamp 2; EnOcean object 5 : Air conditioning temperature; EnOcean object 6: Air conditioning wind speed; EnOcean object 7: Curtain lifting.

相应的,对以下Homekit特性分别进行编号为:Homekit特性1:灯1的开关;Homekit特性2:灯1的亮度;Homekit特性3:灯2的开关;Homekit特性4:灯2的亮度;Homekit特性5:空调的温度;Homekit特性6:空调的风速;Homekit特性7:窗帘的升降。Correspondingly, the following Homekit features are numbered as follows: Homekit feature 1: Light 1 switch; Homekit feature 2: Light 1 brightness; Homekit feature 3: Light 2 switch; Homekit feature 4: Light 2 brightness; Homekit features 5: air conditioning temperature; Homekit features 6: air conditioning wind speed; Homekit features 7: curtain lift.

根据对EnOcean对象和Homekit特性进行的编号,建立EnOcean对象和Homekit特性的映射关系,请参考图7,为建立的映射关系示意图。The mapping between the EnOcean object and the Homekit feature is established according to the number of the EnOcean object and the Homekit feature. For details, refer to Figure 7 for the mapping relationship.

步骤503~505步骤与步骤204~206步骤相同,本实施例对此不在赘述。Steps 503-505 are the same as steps 204-206, and are not described in this embodiment.

步骤506:根据确定的该所需控制的特性以及映射关系,确定所需控制的目标EnOcean对象。Step 506: Determine a target EnOcean object to be controlled according to the determined characteristics of the required control and the mapping relationship.

在本实施例中,根据映射关系以及该所需控制的所有特性,确定所需控制的所有对象为:EnOcean对象1、EnOcean对象2、EnOcean对象5和EnOcean对象6。In the present embodiment, all objects required to be controlled are determined according to the mapping relationship and all the characteristics of the required control: EnOcean Object 1, EnOcean Object 2, EnOcean Object 5, and EnOcean Object 6.

步骤507:EnOcean无线模块根据目标EnOcean对象对应的地址,向相应的EnOcean设备分别发送从控消息,其中,该从控消息携带EnOcean对象 修改后的目标值,以使相应EnOcean设备将所对应的EnOcean对象的值进行修改。Step 507: The EnOcean wireless module separately sends a slave control message to the corresponding EnOcean device according to the address corresponding to the target EnOcean object, where the slave message carries the EnOcean object. The modified target value is such that the corresponding EnOcean device modifies the value of the corresponding EnOcean object.

在本实施例中,控制面板中包括有EnOcean无线模块,用来与各个EnOcean设备之间进行通信,其中,EnOcean无线模块与各个EnOcean设备之间的通信是基于EnOcean设备的地址信息来通信的。In this embodiment, the control panel includes an EnOcean wireless module for communicating with each EnOcean device, wherein communication between the EnOcean wireless module and each EnOcean device is based on address information of the EnOcean device.

假设EnOcean对象1、EnOcean对象2、EnOcean对象5和EnOcean对象6分别对应EnOcean设备1、EnOcean设备2、EnOcean设备5和EnOcean设备6,那么,控制面板可以根据所需控制的所有对象分别对应的地址信息,生成四个从控消息,从控消息1携带EnOcean设备1的地址信息和EnOcean对象1修改后的目标值,从控消息2携带EnOcean设备2的地址信息和EnOcean对象2修改后的目标值,从控消息3携带EnOcean设备5的地址信息和EnOcean对象5修改后的目标值,从控消息4携带EnOcean设备6的地址信息和EnOcean对象6修改后的目标值,并将这四个从控消息按照携带的地址发送给相应的EnOcean设备。Assume that the EnOcean object 1, the EnOcean object 2, the EnOcean object 5, and the EnOcean object 6 correspond to the EnOcean device 1, the EnOcean device 2, the EnOcean device 5, and the EnOcean device 6, respectively, and then the control panel can respectively correspond to the addresses corresponding to all objects to be controlled. The information generates four slave control messages, the slave message 1 carries the address information of the EnOcean device 1 and the modified target value of the EnOcean object 1, and the slave message 2 carries the address information of the EnOcean device 2 and the modified target value of the EnOcean object 2. The slave message 3 carries the address information of the EnOcean device 5 and the modified target value of the EnOcean object 5. The slave message 4 carries the address information of the EnOcean device 6 and the modified target value of the EnOcean object 6, and the four slaves are controlled. The message is sent to the corresponding EnOcean device according to the carried address.

步骤508:接收到从控消息的EnOcean设备根据从控消息中携带的修改后的目标值,将相应的EnOcean对象的值进行修改。Step 508: The EnOcean device that receives the slave message modifies the value of the corresponding EnOcean object according to the modified target value carried in the slave message.

由于EnOcean对象与智能家居设备相对应,因此,可以实现EnOcean设备对智能家居设备按照修改后的各个EnOcean对象的值将相应的智能家居设备进行控制。Since the EnOcean object corresponds to the smart home device, the EnOcean device can control the smart home device according to the value of each modified EnOcean object.

以上,实现了利用IOS设备对EnOcean设备的无线控制。In the above, the wireless control of the EnOcean device by using the IOS device is realized.

请参考图8,本实施例提供了控制面板,位于控制系统中,所述控制系统还包括:将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设备;所述控制面板包括:Referring to FIG. 8 , the embodiment provides a control panel, which is located in a control system. The control system further includes: a slave device that corresponds to the smart home device as an object and a master device that corresponds the smart home device to a feature; The control panel includes:

第一确定单元801,用于确定每一个对象的地址信息,并将确定的每一个对象的地址信息发送给控制单元805;The first determining unit 801 is configured to determine address information of each object, and send the determined address information of each object to the control unit 805;

建立单元802,用于建立对象与特性的映射关系,并将所述映射关系发送给第三确定单元804,其中,具有映射关系的对象和特性用于表述相同操 作;The establishing unit 802 is configured to establish a mapping relationship between the object and the feature, and send the mapping relationship to the third determining unit 804, where the object and the characteristic having the mapping relationship are used to express the same operation. Work

第二确定单元803,用于根据所述主控设备发送的控制消息确定所需控制的特性,并将确定的所需控制的特性发送给所述第三确定单元804;The second determining unit 803 is configured to determine a characteristic of the required control according to the control message sent by the master control device, and send the determined characteristic of the required control to the third determining unit 804;

所述第三确定单元804,用于接收所述建立单元802发送的所述映射关系以及接收所述第二确定单元803发送的所需控制的特性,并根据所述映射关系确定所需控制的目标对象,并将确定的所述目标对象发送给控制单元805;The third determining unit 804 is configured to receive the mapping relationship sent by the establishing unit 802, and receive a characteristic of the required control sent by the second determining unit 803, and determine, according to the mapping relationship, the required control. a target object, and the determined target object is sent to the control unit 805;

所述控制单元805,用于接收所述第一确定单元801发送的每一个对象的地址信息,以及接收所述第三确定单元804发送的所述目标对象,并根据所述目标对象的地址信息,实现对智能家居设备的控制。The control unit 805 is configured to receive address information of each object sent by the first determining unit 801, and receive the target object sent by the third determining unit 804, and according to the address information of the target object. To achieve control of smart home devices.

在本发明一个优选实施例中,请参考图9,该控制面板可以进一步包括:In a preferred embodiment of the present invention, referring to FIG. 9, the control panel may further include:

获取单元901,用于获取所述主控设备设置的配置信息,并将所述配置信息发送给所述第二确定单元803,所述配置信息包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性;The obtaining unit 901 is configured to acquire configuration information set by the master control device, and send the configuration information to the second determining unit 803, where the configuration information includes: multiple packets, each of which includes the same At least one characteristic of the service; and/or, a plurality of context patterns, each of the scene patterns corresponding to at least one characteristic;

所述第二确定单元803,具体用于接收所述获取单元发送的所述配置信息,并根据所述控制消息以及所述配置信息确定所需控制的特性。The second determining unit 803 is specifically configured to receive the configuration information sent by the acquiring unit, and determine a characteristic of the required control according to the control message and the configuration information.

进一步地,further,

在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持KNX协议的KNX设备时,且所述每一个对象的地址信息包括每一个KNX对象的组地址时,所述控制面板进一步包括:KNX协议栈,用于通过KNX总线与所述KNX设备相连接,并存储KNX对象以及每一个KNX对象所对应的组地址;When the master device includes an IOS device supporting the Homekit protocol, the slave device includes a KNX device supporting the KNX protocol, and the address information of each object includes a group address of each KNX object, the control The panel further includes: a KNX protocol stack for connecting to the KNX device through the KNX bus, and storing the KNX object and a group address corresponding to each KNX object;

所述控制单元805,具体用于根据所述控制消息中携带的第一目标值,将自身存储的该目标KNX对象的值修改为所述第一目标值,并根据所述目标组地址和所述第一目标值生成第一从控消息发送到KNX总线上,以使所述KNX设备根据所述第一从控消息,将地址信息为所述目标组地址的目的 KNX对象的值修改为所述第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行控制。The control unit 805 is specifically configured to modify, according to the first target value carried in the control message, the value of the target KNX object stored by itself to the first target value, and according to the target group address and the location Transmitting, by the first target value, a first slave message to the KNX bus, so that the KNX device uses the address information as the destination group address according to the first slave message. The value of the KNX object is modified to the first target value to control the smart home device corresponding to the destination KNX object according to the first target value.

进一步地,further,

在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持EnOcean协议的EnOcean设备时,所述控制单元805,具体用于根据目标EnOcean对象的目标地址信息以及所述控制消息中携带的第二目标值生成第二从控消息发送给所述EnOcean设备,以使所述EnOcean设备根据所述第二从控消息,将地址信息为所述目标地址信息的目标EnOcean对象的值修改为所述第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。When the master device includes an IOS device that supports the Homekit protocol, and the slave device includes an EnOcean device that supports the EnOcean protocol, the control unit 805 is specifically configured to use target address information of the target EnOcean object and the control message. The second target value carried in the second generation control message is sent to the EnOcean device, so that the EnOcean device sets the address information as the value of the target EnOcean object of the target address information according to the second slave control message. Modifying to the second target value to control the smart home device corresponding to the target EnOcean object according to the second target value.

本发明实施例还提供了控制系统,其中,包括上述实施例中任一所述的控制面板、将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设备;其中,The embodiment of the present invention further provides a control system, which includes the control panel of any of the above embodiments, the slave control device that corresponds the smart home device to the object, and the master device that corresponds the smart home device to the feature; ,

所述主控设备,用于向所述控制面板发送控制消息;The master control device is configured to send a control message to the control panel;

所述从控设备,用于根据所述控制面板的控制,实现对智能家居设备的控制。The slave device is configured to implement control of the smart home device according to the control of the control panel.

进一步地,further,

所述主控设备,进一步用于设置配置信息,并将设置的所述配置信息发送给所述控制面板,所述配置信息包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性。The master device is further configured to set configuration information, and send the set configuration information to the control panel, where the configuration information includes: a plurality of packets, each packet including at least one characteristic having the same service And/or multiple context modes, each of which corresponds to at least one characteristic.

在本发明一个优选实施例中,该控制系统可以进一步包括:In a preferred embodiment of the present invention, the control system may further include:

所述主控设备包括:支持Homekit协议的IOS设备;The master control device includes: an IOS device supporting the Homekit protocol;

所述从控设备包括:支持KNX协议的KNX设备,所述KNX设备通过KNx总线与所述控制面板相连接,且所述每一个对象的地址信息包括每一个KNX对象的组地址;其中,The slave device includes: a KNX device supporting the KNX protocol, the KNX device is connected to the control panel through a KNx bus, and the address information of each object includes a group address of each KNX object; wherein

所述KNX设备,具体用于接收所述控制面板发送到KNX总线上的第一 从控消息,并根据所述第一从控消息将地址信息为目标组地址的目的KNX对象的值修改为第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行控制。The KNX device is specifically configured to receive the first sent by the control panel to the KNX bus. Decrypting a message, and modifying, according to the first slave message, a value of a destination KNX object whose address information is a target group address to a first target value, to follow the smart home device corresponding to the destination KNX object The first target value is controlled.

在本发明一个优选实施例中,该控制系统可以进一步包括:In a preferred embodiment of the present invention, the control system may further include:

所述主控设备包括支持Homekit协议的IOS设备;The master device includes an IOS device supporting the Homekit protocol;

所述从控设备包括支持EnOcean协议的EnOcean设备;The slave device includes an EnOcean device supporting the EnOcean protocol;

所述EnOcean设备,具体用于根据所述控制面板发送的第二从控消息,将地址信息为目标地址信息的目标EnOcean对象的值修改为第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。The EnOcean device is specifically configured to modify, according to the second slave control message sent by the control panel, a value of a target EnOcean object whose address information is the target address information to a second target value, to be related to the target EnOcean object. The corresponding smart home device is controlled according to the second target value.

综上,本发明实施例至少可以实现如下有益效果:In summary, the embodiments of the present invention can at least achieve the following beneficial effects:

1、在本发明实施例中,通过利用控制面板建立对象与特性的映射关系,从而间接实现了将从控设备与主控设备的映射,由主控设备发起控制消息,控制面板作为从控设备与主控设备之间的网关设备,根据映射关系确定主控设备所需控制的目标对象,由于对象与智能家居设备相对应,从而可以实现对智能家居设备的控制。In the embodiment of the present invention, the mapping between the object and the feature is established by using the control panel, thereby indirectly realizing the mapping between the slave device and the master device, and the control device initiates the control message, and the control panel acts as the slave device. The gateway device with the master device determines the target object that the master device needs to control according to the mapping relationship. Since the object corresponds to the smart home device, the control of the smart home device can be realized.

2、在本发明实施例中,通过设置配置数据,以对特性进行分组,当主控设备在对其中一个分组进行控制时,可以实现对与该分组中的所有特性进行共同控制,从而可以实现智能家居控制的便捷性,提高用户体验。2. In the embodiment of the present invention, by configuring configuration data to group characteristics, when the master device controls one of the packets, it can implement common control with all the features in the packet, thereby achieving The convenience of smart home control enhances the user experience.

3、在本发明实施例中,通过设置配置数据,以对特性设置情景模式,可以使得主控设备在将智能家居设备调整为一个情景模式时,即可实现对属于该情景模式的所有特性进行共同控制,以进一步实现智能家居的便捷性,以及提高用户体验,3. In the embodiment of the present invention, by setting the configuration data to set the scenario mode for the feature, the master device can implement all the features belonging to the profile mode when the smart home device is adjusted to a context mode. Joint control to further realize the convenience of smart home and enhance the user experience.

4、在本发明实施例中,通过配置数据、建立的映射关系存储在Flash中,使得控制面板即使在重启之后,Flash中的数据不会丢失,从而提高数据的安全性。4. In the embodiment of the present invention, the configuration data and the established mapping relationship are stored in the Flash, so that the data in the Flash is not lost even after the control panel is restarted, thereby improving data security.

上述设备内的各单元之间的信息交互、执行过程等内容,由于与本发明 方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。Information exchange, execution process, and the like between units in the above device, due to the present invention The method embodiment is based on the same concept. For details, refer to the description in the method embodiment of the present invention, and details are not described herein again.

需要说明的是,在本文中,诸如第一和第二之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个······”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同因素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying between these entities or operations. There are any such actual relationships or sequences. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element defined by the phrase "comprising a singularity", without further limitation, does not exclude the presence of additional equivalents in the process, method, article, or device that comprises the element.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储在计算机可读取的存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质中。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The steps of the foregoing method embodiments are included; and the foregoing storage medium includes: various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均包含在本发明的保护范围内。 It should be noted that the above description is only a preferred embodiment of the present invention, and is only for explaining the technical solutions of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (12)

智能家居设备的控制方法,其中,应用于控制系统中的控制面板,所述控制系统还包括:将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设备;所述控制面板确定每一个对象的地址信息,并建立对象与特性的映射关系,其中,具有映射关系的对象和特性用于表述相同操作,所述方法还包括:A control method for a smart home device, wherein the control system is applied to a control panel in a control system, the control system further comprising: a slave device that corresponds the smart home device to the object and a master device that corresponds the smart home device to the feature; The control panel determines the address information of each object, and establishes a mapping relationship between the object and the feature, wherein the object and the feature having the mapping relationship are used to express the same operation, and the method further includes: 根据所述主控设备发送的控制消息确定所需控制的特性,并根据所述映射关系确定所需控制的目标对象,根据所述目标对象的地址信息,实现对智能家居设备的控制。Determining a characteristic of the required control according to the control message sent by the master control device, and determining a target object to be controlled according to the mapping relationship, and implementing control on the smart home device according to the address information of the target object. 根据权利要求1所述的智能家居设备的控制方法,其中,The control method of a smart home device according to claim 1, wherein 进一步包括:获取所述主控设备设置的配置信息,所述配置信息包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性;Further comprising: obtaining configuration information set by the master device, the configuration information comprising: a plurality of packets, each packet including at least one characteristic having the same service; and/or, multiple context modes, each profile Corresponding to at least one characteristic; 所述根据所述主控设备发送的控制消息确定所需控制的特性,包括:根据所述控制消息以及所述配置信息确定所需控制的特性。Determining, according to the control message sent by the master control device, a characteristic of the required control, comprising: determining a characteristic of the required control according to the control message and the configuration information. 根据权利要求1或2所述的智能家居设备的控制方法,其中,The method of controlling a smart home device according to claim 1 or 2, wherein 在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持KNX协议的KNX设备时,且所述每一个对象的地址信息包括每一个KNX对象的组地址时,进一步包括:存储KNX对象以及每一个KNX对象所对应的组地址;When the master device includes an IOS device that supports the Homekit protocol, and the slave device includes a KNX device that supports the KNX protocol, and the address information of each of the objects includes a group address of each KNX object, the method further includes: Store KNX objects and group addresses corresponding to each KNX object; 所述根据所述目标对象的地址信息,实现对智能家居设备的控制,包括:根据所述控制消息中携带的第一目标值,将自身存储的该目标KNX对象的值修改为所述第一目标值,并根据所述目标组地址和所述第一目标值生成第一从控消息发送到KNX总线上,以使所述KNX设备根据所述第一从控消息,将地址信息为所述目标组地址的目的KNX对象的值修改为所述第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行 控制,其中,所述控制面板与所述KNX设备通过KNX总线相连接。The controlling the smart home device according to the address information of the target object, including: modifying, according to the first target value carried in the control message, the value of the target KNX object stored by itself to the first Generating a first slave message to the KNX bus according to the target group address and the first target value, so that the KNX device sends the address information to the first slave message according to the first slave message. The value of the destination KNX object of the target group address is modified to the first target value to perform the first target value for the smart home device corresponding to the destination KNX object. Control, wherein the control panel is connected to the KNX device via a KNX bus. 根据权利要求1或2所述的智能家居设备的控制方法,其中,The method of controlling a smart home device according to claim 1 or 2, wherein 在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持EnOcean协议的EnOcean设备时,所述根据所述目标对象的地址信息,实现对智能家居设备的控制,包括:根据目标EnOcean对象的目标地址信息以及所述控制消息中携带的第二目标值生成第二从控消息发送给所述EnOcean设备,以使所述EnOcean设备根据所述第二从控消息,将地址信息为所述目标地址信息的目标EnOcean对象的值修改为所述第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。When the master device includes an IOS device that supports the Homekit protocol, and the slave device includes an EnOcean device that supports the EnOcean protocol, the controlling the smart home device according to the address information of the target object, including: Generating, by the target address information of the target EnOcean object and the second target value carried in the control message, a second slave message to the EnOcean device, so that the EnOcean device sends the address information according to the second slave message. The value of the target EnOcean object of the target address information is modified to the second target value to control the smart home device corresponding to the target EnOcean object according to the second target value. 控制面板,其中,位于控制系统中,所述控制系统还包括:将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设备;所述控制面板包括:a control panel, wherein, in the control system, the control system further includes: a slave control device that corresponds the smart home device to the object and a master device that corresponds the smart home device to the feature; the control panel includes: 第一确定单元,用于确定每一个对象的地址信息,并将确定的每一个对象的地址信息发送给控制单元;a first determining unit, configured to determine address information of each object, and send the determined address information of each object to the control unit; 建立单元,用于建立对象与特性的映射关系,并将所述映射关系发送给第三确定单元,其中,具有映射关系的对象和特性用于表述相同操作;Establishing a unit, configured to establish a mapping relationship between the object and the feature, and send the mapping relationship to the third determining unit, where the object and the characteristic having the mapping relationship are used to express the same operation; 第二确定单元,用于根据所述主控设备发送的控制消息确定所需控制的特性,并将确定的所需控制的特性发送给所述第三确定单元;a second determining unit, configured to determine a characteristic of the required control according to the control message sent by the master control device, and send the determined characteristic of the required control to the third determining unit; 所述第三确定单元,用于接收所述建立单元发送的所述映射关系以及接收所述第二确定单元发送的所需控制的特性,并根据所述映射关系确定所需控制的目标对象,并将确定的所述目标对象发送给控制单元;The third determining unit is configured to receive the mapping relationship sent by the establishing unit, and receive a characteristic of the required control sent by the second determining unit, and determine a target object to be controlled according to the mapping relationship, And sending the determined target object to the control unit; 所述控制单元,用于接收所述第一确定单元发送的每一个对象的地址信息,以及接收所述第三确定单元发送的所述目标对象,并根据所述目标对象的地址信息,实现对智能家居设备的控制。The control unit is configured to receive address information of each object sent by the first determining unit, and receive the target object sent by the third determining unit, and implement the pair according to the address information of the target object. Control of smart home equipment. 根据权利要求5所述的控制面板,其中,The control panel according to claim 5, wherein 进一步包括:获取单元,用于获取所述主控设备设置的配置信息,并将 所述配置信息发送给所述第二确定单元,所述配置信息包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性;Further comprising: an obtaining unit, configured to acquire configuration information set by the master device, and The configuration information is sent to the second determining unit, where the configuration information includes: a plurality of packets, each of the packets includes at least one characteristic having the same service; and/or, multiple context modes, each of which corresponds to a scenario mode At least one characteristic; 所述第二确定单元,具体用于接收所述获取单元发送的所述配置信息,并根据所述控制消息以及所述配置信息确定所需控制的特性。The second determining unit is specifically configured to receive the configuration information sent by the acquiring unit, and determine a characteristic of the required control according to the control message and the configuration information. 根据权利要求5或6所述的控制面板,其中,A control panel according to claim 5 or 6, wherein 在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持KNX协议的KNX设备时,且所述每一个对象的地址信息包括每一个KNX对象的组地址时,所述控制面板进一步包括:KNX协议栈,用于通过KNX总线与所述KNX设备相连接,并存储KNX对象以及每一个KNX对象所对应的组地址;When the master device includes an IOS device supporting the Homekit protocol, the slave device includes a KNX device supporting the KNX protocol, and the address information of each object includes a group address of each KNX object, the control The panel further includes: a KNX protocol stack for connecting to the KNX device through the KNX bus, and storing the KNX object and a group address corresponding to each KNX object; 所述控制单元,具体用于根据所述控制消息中携带的第一目标值,将自身存储的该目标KNX对象的值修改为所述第一目标值,并根据所述目标组地址和所述第一目标值生成第一从控消息发送到KNX总线上,以使所述KNX设备根据所述第一从控消息,将地址信息为所述目标组地址的目的KNX对象的值修改为所述第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行控制。The control unit is specifically configured to modify, according to the first target value carried in the control message, a value of the target KNX object stored by itself to the first target value, and according to the target group address and the Transmitting, by the first target value, a first slave message to the KNX bus, so that the KNX device modifies, according to the first slave message, a value of a destination KNX object whose address information is the target group address to the The first target value is controlled according to the first target value for the smart home device corresponding to the destination KNX object. 根据权利要求5或6所述的控制面板,其中,A control panel according to claim 5 or 6, wherein 在所述主控设备包括支持Homekit协议的IOS设备,所述从控设备包括支持EnOcean协议的EnOcean设备时,所述控制单元,具体用于根据目标EnOcean对象的目标地址信息以及所述控制消息中携带的第二目标值生成第二从控消息发送给所述EnOcean设备,以使所述EnOcean设备根据所述第二从控消息,将地址信息为所述目标地址信息的目标EnOcean对象的值修改为所述第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。When the master device includes an IOS device that supports the Homekit protocol, and the slave device includes an EnOcean device that supports the EnOcean protocol, the control unit is specifically configured to use target address information of the target EnOcean object and the control message. Transmitting, by the carried second target value, a second slave message to the EnOcean device, so that the EnOcean device modifies the value of the target EnOcean object whose address information is the target address information according to the second slave message For the second target value, the smart home device corresponding to the target EnOcean object is controlled according to the second target value. 控制系统,其中,包括上述权利要求5-8中任一所述的控制面板、将智能家居设备对应为对象的从控设备和将智能家居设备对应为特性的主控设 备;其中,A control system, comprising: the control panel according to any one of the preceding claims 5-8, the slave control device that corresponds to the smart home device as the object, and the master control device that corresponds the smart home device to the feature Prepared; among them, 所述主控设备,用于向所述控制面板发送控制消息;The master control device is configured to send a control message to the control panel; 所述从控设备,用于根据所述控制面板的控制,实现对智能家居设备的控制。The slave device is configured to implement control of the smart home device according to the control of the control panel. 根据权利要求9所述的控制系统,其中,The control system according to claim 9, wherein 所述主控设备,进一步用于设置配置信息,并将设置的所述配置信息发送给所述控制面板,所述配置信息包括:多个分组,每一个分组中包括具有相同服务的至少一个特性;和/或,多个情景模式,每一个情景模式对应于至少一个特性。The master device is further configured to set configuration information, and send the set configuration information to the control panel, where the configuration information includes: a plurality of packets, each packet including at least one characteristic having the same service And/or multiple context modes, each of which corresponds to at least one characteristic. 根据权利要求9或10所述的控制系统,其中,A control system according to claim 9 or 10, wherein 所述主控设备包括:支持Homekit协议的IOS设备;The master control device includes: an IOS device supporting the Homekit protocol; 所述从控设备包括:支持KNX协议的KNX设备,所述KNX设备通过KNx总线与所述控制面板相连接,且所述每一个对象的地址信息包括每一个KNX对象的组地址;其中,The slave device includes: a KNX device supporting the KNX protocol, the KNX device is connected to the control panel through a KNx bus, and the address information of each object includes a group address of each KNX object; wherein 所述KNX设备,具体用于接收所述控制面板发送到KNX总线上的第一从控消息,并根据所述第一从控消息将地址信息为目标组地址的目的KNX对象的值修改为第一目标值,以对与所述目的KNX对象相对应的智能家居设备按照所述第一目标值进行控制。The KNX device is specifically configured to receive a first slave control message sent by the control panel to the KNX bus, and modify a value of the destination KNX object whose address information is the target group address according to the first slave control message. a target value for controlling the smart home device corresponding to the destination KNX object according to the first target value. 根据权利要求9或10所述的控制系统,其中,A control system according to claim 9 or 10, wherein 所述主控设备包括支持Homekit协议的IOS设备;The master device includes an IOS device supporting the Homekit protocol; 所述从控设备包括支持EnOcean协议的EnOcean设备;The slave device includes an EnOcean device supporting the EnOcean protocol; 所述EnOcean设备,具体用于根据所述控制面板发送的第二从控消息,将地址信息为目标地址信息的目标EnOcean对象的值修改为第二目标值,以对与所述目标EnOcean对象相对应的智能家居设备按照所述第二目标值进行控制。 The EnOcean device is specifically configured to modify, according to the second slave control message sent by the control panel, a value of a target EnOcean object whose address information is the target address information to a second target value, to be related to the target EnOcean object. The corresponding smart home device is controlled according to the second target value.
PCT/CN2015/097639 2015-12-16 2015-12-16 Control method, control panel and control system for a smart home device Ceased WO2017101050A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580085160.3A CN108431701B (en) 2015-12-16 2015-12-16 Control method, control panel and control system for smart home equipment
PCT/CN2015/097639 WO2017101050A1 (en) 2015-12-16 2015-12-16 Control method, control panel and control system for a smart home device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/097639 WO2017101050A1 (en) 2015-12-16 2015-12-16 Control method, control panel and control system for a smart home device

Publications (1)

Publication Number Publication Date
WO2017101050A1 true WO2017101050A1 (en) 2017-06-22

Family

ID=59055393

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097639 Ceased WO2017101050A1 (en) 2015-12-16 2015-12-16 Control method, control panel and control system for a smart home device

Country Status (2)

Country Link
CN (1) CN108431701B (en)
WO (1) WO2017101050A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110850827A (en) * 2019-11-15 2020-02-28 三星电子(中国)研发中心 Method and electronic device for automatic control of intelligent equipment
WO2020170276A1 (en) * 2019-02-19 2020-08-27 Freedompro Srl Connecting device for domotic knx devices, and domotic system comprising the connecting device
CN111786837A (en) * 2020-07-13 2020-10-16 浙江源创建筑智能科技有限公司 System and method for wirelessly modifying configuration parameters of KNX (Konnex) equipment
CN111918151A (en) * 2020-06-11 2020-11-10 深圳市欧瑞博科技股份有限公司 Intelligent household control panel, intercom method, terminal equipment and storage medium
CN112187593A (en) * 2020-09-28 2021-01-05 西安锦威电子科技有限公司 KNX intelligent home gateway method, system and KNX gateway equipment
CN115524978A (en) * 2021-06-24 2022-12-27 西门子(中国)有限公司 Control method and device of intelligent household equipment and intelligent household equipment
CN117319120A (en) * 2023-11-24 2023-12-29 广州海盈电气技术有限公司 Intelligent household data transmission processing method based on KNX bus

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039959A (en) * 2020-08-14 2020-12-04 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent equipment, intelligent control panel and storage medium
CN113759740B (en) * 2021-09-18 2022-09-20 江苏悦达绿色建筑科技有限公司 Equipment regulation and control method for smart house
CN115373354B (en) * 2022-08-17 2024-09-13 深圳市汇川技术股份有限公司 Equipment control method, device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012168263A1 (en) * 2011-06-06 2012-12-13 S. Siedle & Söhne Telefon- und Telegrafenwerke OHG Device and method for the script-controlled data processing of data for a home communication system or home automation system
CN103713612A (en) * 2014-01-03 2014-04-09 左华亮 Intelligent home system solution facilitating personalized customization and expansion
CN103763187A (en) * 2014-02-17 2014-04-30 南京天溯自动化控制系统有限公司 IP gateway of EnOcean and KNX and communication network and method
CN104181818A (en) * 2014-08-27 2014-12-03 湖南湖大华龙电气与信息技术有限公司 Smart home logic control method and system based on KNX bus protocol
CN104580464A (en) * 2015-01-08 2015-04-29 珠海格力电器股份有限公司 Control method, device and system of intelligent household equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005019070A1 (en) * 2005-04-23 2006-10-26 Insta Elektro Gmbh Building installation system, has bus systems with respective devices that include structure so that one bus device is simply applicable to another bus system under utilization of adapted physical layer as adapted bus device
DE102009049378B4 (en) * 2009-08-01 2011-09-01 Abb Ag Bus-compatible connection unit for an electrical installation
WO2012110089A1 (en) * 2011-02-16 2012-08-23 Mivune Ag System and method for controlling a building
WO2013014740A1 (en) * 2011-07-25 2013-01-31 三菱電機株式会社 System construction support device and system structure chart creation method
CN104460784A (en) * 2013-09-22 2015-03-25 天津职业技术师范大学 Region greenhouse environment control device based on KNX bus
CN104640280A (en) * 2013-11-08 2015-05-20 天津职业技术师范大学 Teaching building intelligent lighting control system
CN203552041U (en) * 2013-11-08 2014-04-16 天津职业技术师范大学 Electrical wiring system in indoor area
CN204128131U (en) * 2014-08-21 2015-01-28 蔡淮东 A kind of intelligent ceiling system
CN104391487A (en) * 2014-11-14 2015-03-04 戴万谋 Intelligent controller and control method thereof
CN104754422B (en) * 2015-03-24 2018-04-17 福建新大陆通信科技股份有限公司 The control method of smart home device is realized based on set-top box
CN104898449B (en) * 2015-06-04 2019-01-11 泰凌微电子(上海)有限公司 Smart home system and its control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012168263A1 (en) * 2011-06-06 2012-12-13 S. Siedle & Söhne Telefon- und Telegrafenwerke OHG Device and method for the script-controlled data processing of data for a home communication system or home automation system
CN103713612A (en) * 2014-01-03 2014-04-09 左华亮 Intelligent home system solution facilitating personalized customization and expansion
CN103763187A (en) * 2014-02-17 2014-04-30 南京天溯自动化控制系统有限公司 IP gateway of EnOcean and KNX and communication network and method
CN104181818A (en) * 2014-08-27 2014-12-03 湖南湖大华龙电气与信息技术有限公司 Smart home logic control method and system based on KNX bus protocol
CN104580464A (en) * 2015-01-08 2015-04-29 珠海格力电器股份有限公司 Control method, device and system of intelligent household equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020170276A1 (en) * 2019-02-19 2020-08-27 Freedompro Srl Connecting device for domotic knx devices, and domotic system comprising the connecting device
CN110850827A (en) * 2019-11-15 2020-02-28 三星电子(中国)研发中心 Method and electronic device for automatic control of intelligent equipment
CN111918151A (en) * 2020-06-11 2020-11-10 深圳市欧瑞博科技股份有限公司 Intelligent household control panel, intercom method, terminal equipment and storage medium
CN111786837A (en) * 2020-07-13 2020-10-16 浙江源创建筑智能科技有限公司 System and method for wirelessly modifying configuration parameters of KNX (Konnex) equipment
CN112187593A (en) * 2020-09-28 2021-01-05 西安锦威电子科技有限公司 KNX intelligent home gateway method, system and KNX gateway equipment
CN115524978A (en) * 2021-06-24 2022-12-27 西门子(中国)有限公司 Control method and device of intelligent household equipment and intelligent household equipment
CN117319120A (en) * 2023-11-24 2023-12-29 广州海盈电气技术有限公司 Intelligent household data transmission processing method based on KNX bus
CN117319120B (en) * 2023-11-24 2024-01-26 广州海盈电气技术有限公司 Intelligent household data transmission processing method based on KNX bus

Also Published As

Publication number Publication date
CN108431701B (en) 2020-11-24
CN108431701A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
WO2017101050A1 (en) Control method, control panel and control system for a smart home device
US10129383B2 (en) Home management system and method
CN111052687B (en) Apparatus and method for controlling addition of network nodes to a multihop network
EP3288296B1 (en) Method and system for building steady piconet based on bluetooth
CN107566229A (en) The packet control process of intelligent domestic system
CN107148038A (en) Methods, devices and systems for management and communication of wireless mesh networks
WO2019205134A1 (en) Smart home voice control method, apparatus, device and system
EP3075206B1 (en) Zigbee light link network commissioning
CN105515853A (en) Wireless network node and state update method thereof
CN111050417B (en) Wireless Internet of things equipment control method and related device
CN104865835A (en) Intelligent household system based on ZigBee
CN106993340A (en) A multi-level gateway wireless ad hoc network, networking method and communication method thereof
JP2016524422A (en) Configuration connection device
CN108234562B (en) Equipment control method, control equipment and controlled equipment
CN112153090A (en) Control method, device, gateway and readable storage medium for IoT device
WO2022002173A1 (en) Intelligent device networking method and apparatus, and intelligent device control system and method
CN102625530A (en) Light emitting diode (LED) lamplight remote control system based on institute of electrical and electronic engineers (IEEE) 802.15.4
CN112152884A (en) Equipment control method and device and household appliance
CN205563123U (en) Control panel and control system
WO2019227379A1 (en) Network connection method and apparatus, and readable storage medium
CN106683376B (en) Remote control code learning device, electrical equipment control system and control method thereof
CN105869375B (en) Method and device for remote control terminal to control terminal equipment, and remote control terminal
CN109712380A (en) Find method and device, the storage medium, terminal device, remote control equipment of remote control equipment
CN116545794A (en) A network control method for intelligent equipment, terminal equipment and storage medium
CN114640551A (en) An indoor distributed voice control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15910522

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15910522

Country of ref document: EP

Kind code of ref document: A1