[go: up one dir, main page]

CN104683195A - A configuration method for devices to be configured in a smart home system - Google Patents

A configuration method for devices to be configured in a smart home system Download PDF

Info

Publication number
CN104683195A
CN104683195A CN201510092389.1A CN201510092389A CN104683195A CN 104683195 A CN104683195 A CN 104683195A CN 201510092389 A CN201510092389 A CN 201510092389A CN 104683195 A CN104683195 A CN 104683195A
Authority
CN
China
Prior art keywords
configuration
gateway
control terminal
equipment
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510092389.1A
Other languages
Chinese (zh)
Inventor
张泽旗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dct Science And Technology Development Ltd
Original Assignee
Dct Science And Technology Development 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 Dct Science And Technology Development Ltd filed Critical Dct Science And Technology Development Ltd
Priority to CN201510092389.1A priority Critical patent/CN104683195A/en
Publication of CN104683195A publication Critical patent/CN104683195A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a configuration method of a device to be configured in an intelligent home system, which comprises the following steps: the control terminal for configuring parameters is connected to the gateway; the device to be configured sends a registration request to the gateway; the control terminal forms a configuration page and displays the configuration page for configuration; after the control terminal completes configuration, the configuration data is sent to the gateway, and the gateway forwards the configuration data to the device to be configured; the equipment to be configured is configured and the configuration result is returned to the gateway; the gateway forwards the configuration result to the control terminal and updates the configuration change number; the control terminal obtains the configuration result and determines whether to remember the equipment or not by judging whether the configuration is successful or not, and after the configuration is successful, the terminal configuration number of the control terminal is changed to be consistent with the configuration change number of the gateway. The intelligent household system is convenient for equipment configuration, further realizes intelligence of the intelligent household, and has the characteristic of convenient use; particularly, the equipment or the switch actively requests configuration in the configuration process, so that the problem that the control terminal cannot distinguish the equipment is solved.

Description

一种智能家居系统中待配置设备的配置方法A configuration method for devices to be configured in a smart home system

技术领域technical field

本发明涉及智能家居技术领域,更具体地说,涉及智能家居系统中设备的参数配置方法。The present invention relates to the technical field of smart home, and more specifically, to a method for configuring parameters of devices in a smart home system.

背景技术Background technique

现有技术的智能家居系统,包括连入网关的各种设备;通过网关,各种设备向控制终端反馈状态信息;控制终端可以通过网关控制各种设备的运行状态。而各种设备的控制主要通过控制器实现,而这些控制器可以看做是一个开关。因此,本发明附图涉及的“开关”泛指智能家居环境中各种设备,特指各种设备的控制终端,如窗帘开关、灯光开关,以及空调的模式控制、温度控制等。而此处控制终端泛指智能家居的远程控制端,如图1中的手机客户端。The smart home system in the prior art includes various devices connected to the gateway; through the gateway, various devices feed back status information to the control terminal; the control terminal can control the operating status of various devices through the gateway. The control of various devices is mainly realized through controllers, and these controllers can be regarded as a switch. Therefore, the "switches" involved in the drawings of the present invention generally refer to various devices in the smart home environment, and specifically refer to the control terminals of various devices, such as curtain switches, light switches, and mode control and temperature control of air conditioners. Here, the control terminal generally refers to the remote control terminal of the smart home, such as the mobile client in Figure 1 .

现有技术下,已配置或未配置的设备连入网关,在网关处存有不同的状态信息。其中,已配置设备的配置信息存于网关;而未配置设备仅在网关处体现为一个物理地址或别名。Under the prior art, configured or unconfigured devices are connected to the gateway, and different state information is stored at the gateway. Among them, the configuration information of the configured device is stored in the gateway; while the unconfigured device is only reflected as a physical address or alias at the gateway.

此外,现有技术中设备的配置,大多以直接访问设备的方式进行配置。如设备自带web service或者开放配置接口,配置人员通过访问目标地址连接到设备后对设备进行配置。In addition, the configuration of the device in the prior art is mostly performed by directly accessing the device. If the device has its own web service or an open configuration interface, the configuration personnel can configure the device after connecting to the device through the access target address.

而用户从系统中查询到所有设备列表,该列表通过MAC或别名的方式呈现给用户,想将设备和MAC地址/别名一一对应比较费力。在不知道目标设备的地址的情况下无法配置设备,而且在配置多个设备的时候容易出现配置混乱的情况。However, the user can query the list of all devices from the system, and the list is presented to the user in the form of MAC address or alias, and it is laborious to map the devices to the MAC address/alias one by one. The device cannot be configured without knowing the address of the target device, and configuration confusion is likely to occur when configuring multiple devices.

发明内容Contents of the invention

针对上述问题,本发明提供一种智能家居系统的配置方法,旨在方便设备的配置,进一步实现智能家居的智能化,具有使用方便快捷的特点。特别是设备或开关在配置过程中,主动请求配置,解决了控制终端无法区别设备的问题。In view of the above problems, the present invention provides a configuration method of a smart home system, which aims to facilitate the configuration of equipment, further realize the intelligence of smart homes, and has the characteristics of convenient and quick use. In particular, during the configuration process of the device or switch, it actively requests configuration, which solves the problem that the control terminal cannot distinguish the device.

为此,首先需要建构智能家居系统。已配置或待配置的设备连入网关,构成智能家居系统。其中,已配置设备,是指智能家居中配置完毕,无需更新或重新配置的设备。待配置设备,是指新连接到智能家居系统中需要配置的设备,或者配置过但需要更新或重新配置的设备。To this end, it is first necessary to construct a smart home system. The configured or to-be-configured devices are connected to the gateway to form a smart home system. Among them, the configured device refers to the device that has been configured in the smart home and does not need to be updated or reconfigured. The device to be configured refers to the device that needs to be configured when it is newly connected to the smart home system, or the device that has been configured but needs to be updated or reconfigured.

为了达到上述目的,本发明提供了一种智能家居系统中待配置设备的配置方法,待配置的设备连入网关,构成智能家居系统。待配置设备出厂时预先定义了要配置的参数:参数1、参数2……参数n,并预先以按键输入方式设置向网关提出注册请求的信号指令。In order to achieve the above purpose, the present invention provides a method for configuring devices to be configured in a smart home system. The devices to be configured are connected to a gateway to form a smart home system. The parameters to be configured are pre-defined when the device to be configured leaves the factory: parameter 1, parameter 2...parameter n, and the signal instruction to submit a registration request to the gateway is set in advance by key input.

其中,按键输入方式可以是一个专用的注册请求按键,也可以是多个按键次序组合的方式输入注册请求,如有上下方向键的设备,以“上上下下”的次序按键,从而触发注册请求。Among them, the button input method can be a dedicated registration request button, or a combination of multiple button sequences to input the registration request. For a device with up and down direction keys, press the buttons in the order of "up and down" to trigger the registration request. .

本发明配置方法包括如下步骤:The configuration method of the present invention comprises the following steps:

Sa、用于配置参数的控制终端连入网关;Sa, the control terminal used to configure parameters is connected to the gateway;

Sb、待配置设备通过按键输入,向网关发送注册请求;网关将注册请求转发到控制终端;其中,所述注册请求包括待配置设备需要配置的参数信息;Sb. The device to be configured sends a registration request to the gateway through key input; the gateway forwards the registration request to the control terminal; wherein, the registration request includes parameter information that the device to be configured needs to be configured;

Sc、控制终端预设有对应各种设备配置参数的数据库,并自动根据步骤Sb要配置的参数,形成配置页面,显示出来用于配置;Sc, the control terminal is preset with a database corresponding to various equipment configuration parameters, and automatically forms a configuration page according to the parameters to be configured in step Sb, and displays it for configuration;

Sd、控制终端完成配置后,将配置数据发送到网关,网关将配置数据转发到待配置设备;待配置设备进行配置并将配置结果返回给网关;网关把配置结果转发给控制终端;Sd. After the control terminal completes the configuration, it sends the configuration data to the gateway, and the gateway forwards the configuration data to the device to be configured; the device to be configured configures and returns the configuration result to the gateway; the gateway forwards the configuration result to the control terminal;

Se、控制终端获取到配置结果,配置成功,则记住该设备。Se. The control terminal obtains the configuration result and remembers the device if the configuration is successful.

其中,所述控制终端为手机终端或PAD、PC。所述待配置的设备为灯具开关、窗帘开关或其他智能家居系统中的家电设备。Wherein, the control terminal is a mobile phone terminal, a PAD, or a PC. The device to be configured is a light switch, a curtain switch or other home appliances in the smart home system.

此外,本发明的进一步改进在于,配置方法还包括如下步骤:In addition, a further improvement of the present invention lies in that the configuration method further includes the following steps:

S1、网关存储已配置设备的全部配置信息,并设置有用于网关存储智能家居系统最新配置状态的配置变更号;S1. The gateway stores all the configuration information of the configured devices, and sets a configuration change number for the gateway to store the latest configuration status of the smart home system;

S2、存有终端配置号的控制终端连入网关后,向网关索取配置变更号,并与所述终端配置号作比较;当二者一致时,控制终端的配置信息为最新,否则控制终端向网关索取全部设备的配置信息,更新保存,并将所述终端配置号改为网关的所述配置变更号。S2. After the control terminal with the terminal configuration number is connected to the gateway, it asks the gateway for a configuration change number and compares it with the terminal configuration number; when the two are consistent, the configuration information of the control terminal is the latest, otherwise the control terminal sends The gateway obtains configuration information of all devices, updates and saves it, and changes the terminal configuration number to the configuration change number of the gateway.

其中,终端配置号用于控制终端存储智能家居系统的配置状态。配置变更号是用来检查设备配置状态的属性,每当控制终端打开时会获取网关的配置变更号并且与本机配置变更号对比如果不一致控制终端会从网关更新新的设备列表。Wherein, the terminal configuration number is used to control the terminal to store the configuration state of the smart home system. The configuration change number is an attribute used to check the configuration status of the device. Whenever the control terminal is turned on, it will obtain the configuration change number of the gateway and compare it with the local configuration change number. If it is inconsistent, the control terminal will update the new device list from the gateway.

根据上述步骤S1和S2,当待配置设备,完成配置后,更新网关处相应设备的配置信息,且网关的所述配置变更号加一更新;同时步骤Se中,控制终端获取到配置结果,配置成功,控制终端的终端配置号与网关的配置变更号改为一致。According to the above steps S1 and S2, when the configuration of the device to be configured is completed, the configuration information of the corresponding device at the gateway is updated, and the configuration change number of the gateway is updated by adding one; at the same time, in step Se, the control terminal obtains the configuration result, configures If successful, the terminal configuration number of the control terminal is changed to be consistent with the configuration change number of the gateway.

本发明的优点在于:The advantages of the present invention are:

1、在配置的时候不需要知道设备的地址是多少,想要配置哪个设备直接点击设备上的按钮即可进行注册。而且在多个设备时也不会出现不知道当前要配置的设备是哪一个的状况。由于这种模式的配置方式很灵活所以在不设置上限的情况下可以添加任意多和任意种类的设备,使系统的兼容性大大提高。1. You don’t need to know the address of the device when configuring. You can register which device you want to configure by clicking the button on the device. Moreover, when there are multiple devices, there will be no situation of not knowing which device is currently to be configured. Because the configuration method of this mode is very flexible, any number of devices of any type can be added without setting an upper limit, which greatly improves the compatibility of the system.

2、通过配置变更号,保持手机和网关的配置一致性,因为手机端会记住设备所以在手机端每次登陆时不会再去搜索系统中的设备,提高了安全性和兼容性并且节省了很多的初始化时间。2. Through the configuration change number, the configuration consistency between the mobile phone and the gateway is maintained. Because the mobile terminal will remember the device, it will not search for the device in the system every time the mobile terminal logs in, which improves security and compatibility and saves A lot of initialization time.

3、通过可配参数包的方式携带设备能力参数,尽量兼容了不同型号产品之间的差异性,系统扩展性好。3. Carry the equipment capability parameters through the configurable parameter package, which is compatible with the differences between different models of products as far as possible, and the system has good scalability.

4、设备或开关在配置过程中,主动请求配置,解决了控制终端无法区别设备的问题。4. During the configuration process of the device or switch, it actively requests configuration, which solves the problem that the control terminal cannot distinguish the device.

附图说明Description of drawings

图1是本发明配置方法的架构原理图。FIG. 1 is a schematic diagram of the architecture of the configuration method of the present invention.

图2是本发明智能家居系统手机端获取已配置信息的流程图。Fig. 2 is a flow chart of obtaining configured information by the mobile terminal of the smart home system of the present invention.

图3是本发明智能家居系统手机端进行待配置设备配置的流程图。Fig. 3 is a flow chart of configuring the device to be configured on the mobile phone terminal of the smart home system of the present invention.

具体实施方式Detailed ways

结合图1~3,以手机作为控制终端说明实现本发明智能家居系统的配置方法,具体步骤如下:In combination with Figures 1 to 3, the mobile phone is used as the control terminal to illustrate the configuration method for realizing the smart home system of the present invention, and the specific steps are as follows:

1、用手机连接到智能家居系统中,如果系统中存在没有配置的设备的话,进入配置页面;触碰待配置设备端的注册按键,设备主动向系统发送注册请求。1. Use a mobile phone to connect to the smart home system. If there are unconfigured devices in the system, enter the configuration page; touch the registration button on the device to be configured, and the device will actively send a registration request to the system.

2、当网关接收到设备的注册请求后会将注册请求转发到连接到网关的手机客户端上。2. When the gateway receives the registration request of the device, it will forward the registration request to the mobile phone client connected to the gateway.

3、注册请求中携带了开关可配置的参数类型及当前值,称为可配参数包,即使不同类型开关能力不同,也可以最大限度的兼容。如窗帘开关的可配参数包包括:设备类型为窗帘开关,可控制窗帘的路数,开关背景灯状态,开关按键音状态等;如灯光开关的可配参数包包括:设备类型为灯光开关(或者调光开关),可控制灯光的路数,开关背景灯状态,开关按键音状态,开关是否可通过红外遥控器配置,开关支持的场景个数等。3. The registration request carries the configurable parameter type and current value of the switch, which is called a configurable parameter package. Even if different types of switches have different capabilities, they can be compatible to the greatest extent. For example, the configurable parameter package of the curtain switch includes: the device type is a curtain switch, the number of curtains that can be controlled, the switch background light status, the switch key tone status, etc.; the configurable parameter package of the light switch includes: the device type is a light switch ( Or dimmer switch), which can control the number of lighting channels, switch background light status, switch button sound status, whether the switch can be configured through the infrared remote control, the number of scenes supported by the switch, etc.

4、手机端接收到注册请求后弹出对应的配置页面,用户可以直接对其进行配置。4. After the mobile terminal receives the registration request, the corresponding configuration page pops up, and the user can directly configure it.

5、配置完成后手机端将配置数据发送到网关。5. After the configuration is completed, the mobile terminal will send the configuration data to the gateway.

6、网关将配置数据转发到开关,然后开关进行配置并将配置结果返回给网关。6. The gateway forwards the configuration data to the switch, and then the switch performs configuration and returns the configuration result to the gateway.

7、网关把配置结果转发给手机端.更新配置变更号。7. The gateway forwards the configuration result to the mobile terminal and updates the configuration change number.

8、手机端获取到配置结果并且通过判断配置成功与否来决定是否记住当前设备。配置成功后更新配置变更号。8. The mobile terminal obtains the configuration result and decides whether to remember the current device by judging whether the configuration is successful or not. After the configuration is successful, the configuration change number is updated.

9、手机下次登录时,若发现配置变更号和网关一致,不需要重新获取设备列表,若配置变更号不一致,从网关获取最新的设备列表,以和网关保持一致。9. When the mobile phone logs in next time, if the configuration change number is found to be consistent with the gateway, there is no need to obtain the device list again. If the configuration change number is inconsistent, obtain the latest device list from the gateway to keep it consistent with the gateway.

实施例1——玄关灯具开关Example 1—Entry light switch

以玄关灯具开关为例,具体说明本发明的配置过程。其中,作为实施例的玄关灯具开关,出厂时独立设置注册按键;并提供需要配置的参数,包括开关所在区域(即开关安装在哪个房间),灯光路数(即开关可以控制几路灯光),每路灯光当前的配置(即每路灯光所在区域和编号,如玄关开关控制的前两路灯光在玄关,第三、四路灯光在走廊,可以将前两路灯光配置为玄关的灯1和灯2,将后两路灯光配置为走廊的灯1和灯2),背景灯开关状态(即开关上的背景灯是否亮),红外遥控器开关状态(即开关是否响应遥控器控制命令),按键音状态(即用户按按键时是否有声音提示)、开关场景配置(即开关是否支持场景功能,以及场景具体的配置)。The configuration process of the present invention will be described in detail by taking the light switch in the porch as an example. Among them, as the porch light switch of the embodiment, the registration button is set independently when leaving the factory; and the parameters that need to be configured are provided, including the area where the switch is located (that is, which room the switch is installed in), the number of light channels (that is, how many lights the switch can control), The current configuration of each light (that is, the area and number of each light, such as the first two lights controlled by the porch switch are in the porch, the third and fourth lights are in the corridor, the first two lights can be configured as lights 1 and 1 in the porch) Light 2, configure the last two lights as the light 1 and light 2 in the corridor), the switch status of the background light (that is, whether the background light on the switch is on), the switch status of the infrared remote control (that is, whether the switch responds to the remote control command), Button tone status (that is, whether there is a sound prompt when the user presses a button), switch scene configuration (that is, whether the switch supports the scene function, and the specific configuration of the scene).

实施例1-1、对于新建智能家居系统,玄关灯具开关的配置过程为:Embodiment 1-1. For a new smart home system, the configuration process of the porch light switch is as follows:

1、玄关灯具开关连入网关。因为是新建智能家居系统,网关的配置变更号为初始值0。手机作为配置参数的控制终端连入网关,终端配置号初始值为0。1. The porch lighting switch is connected to the gateway. Because it is a new smart home system, the configuration change number of the gateway is the initial value 0. The mobile phone connects to the gateway as the control terminal of the configuration parameters, and the initial value of the terminal configuration number is 0.

2、玄关灯具开关,通过人为输入按键触发注册请求,发送给网关。注册请求中包含参数有开关所在区域(出厂默认为未配置),灯光路数(根据开关实际情况填写,若支持4路灯光,此参数为4),每路灯光当前的配置(出厂默认未配置),背景灯开关状态(默认开),红外遥控器开关状态(默认开),按键音状态(默认开)、开关场景配置(支持场景个数根据实际开关能力填写,出厂默认为场景未配置)。2. The porch light switch triggers a registration request through a human input button and sends it to the gateway. The registration request contains parameters including the area where the switch is located (the factory default is not configured), the number of lighting channels (fill in according to the actual situation of the switch, if it supports 4 lighting channels, this parameter is 4), the current configuration of each lighting channel (the factory default is not configured ), background light switch status (default on), infrared remote control switch status (default on), key tone status (default on), switch scene configuration (the number of supported scenes is filled in according to the actual switch capability, and the factory default is scene not configured) .

3、网关将注册请求转发到手机;其中,玄关灯具开关将要配置的参数与注册请求一起告知控制终端。3. The gateway forwards the registration request to the mobile phone; among them, the porch lighting switch notifies the control terminal of the parameters to be configured together with the registration request.

4、手机,将根据要配置参数的情况,形成配置页面,显示出来用于配置。4. The mobile phone will form a configuration page according to the parameters to be configured, and display it for configuration.

5、配置人员通过手机完成配置后,将配置数据发送到网关,网关将配置数据转发到玄关灯具开关;玄关灯具开关进行配置并将配置结果返回给网关;网关把配置结果转发给手机,并加1更新配置变更号为1。5. After the configuration personnel complete the configuration through the mobile phone, the configuration data is sent to the gateway, and the gateway forwards the configuration data to the porch light switch; the porch light switch performs configuration and returns the configuration result to the gateway; the gateway forwards the configuration result to the mobile phone, and adds 1 Update configuration change number to 1.

6、手机获取到配置结果并且通过判断配置成功与否来决定是否记住该设备,配置成功后,终端配置号与网关的配置变更号改为一致,为1。6. The mobile phone obtains the configuration result and decides whether to remember the device by judging whether the configuration is successful or not. After the configuration is successful, the terminal configuration number is changed to the same as the gateway configuration change number, which is 1.

实施例1-2、对于已有智能家居系统,玄关灯具开关的配置过程为:Embodiment 1-2. For the existing smart home system, the configuration process of the porch light switch is as follows:

1、网关存储已配置设备的全部配置信息,配置变更号为5;1. The gateway stores all configuration information of configured devices, and the configuration change number is 5;

2、新的手机作为控制终端连入网关,终端配置号为5,则手机的配置信息为最新,否则手机向网关索取全部设备的配置信息,更新保存,并将终端配置号改为5。2. A new mobile phone connects to the gateway as a control terminal. If the terminal configuration number is 5, the configuration information of the mobile phone is the latest. Otherwise, the mobile phone asks the gateway for the configuration information of all devices, updates and saves it, and changes the terminal configuration number to 5.

3、玄关灯具开关连入网关。3. The porch lighting switch is connected to the gateway.

4、玄关灯具开关,通过人为输入按键触发注册请求,发送给网关。4. The porch light switch triggers a registration request through a human input button and sends it to the gateway.

5、网关将注册请求转发到手机;其中,玄关灯具开关将要配置的参数与注册请求一起告知手机。5. The gateway forwards the registration request to the mobile phone; among them, the porch lighting switch informs the mobile phone of the parameters to be configured together with the registration request.

6、手机,将根据要配置参数的情况,形成配置页面,显示出来用于配置。6. The mobile phone will form a configuration page according to the parameters to be configured, and display it for configuration.

7、配置人员通过手机完成配置后,将配置数据发送到网关,网关将配置数据转发到玄关灯具开关;玄关灯具开关进行配置并将配置结果返回给网关;网关把配置结果转发给手机,并加1更新配置变更号为6。7. After the configuration personnel complete the configuration through the mobile phone, the configuration data is sent to the gateway, and the gateway forwards the configuration data to the porch light switch; the porch light switch performs configuration and returns the configuration result to the gateway; the gateway forwards the configuration result to the mobile phone, and adds 1 Update configuration change number to 6.

8、手机获取到配置结果并且通过判断配置成功与否来决定是否记住该设备,配置成功后,终端配置号与网关的配置变更号改为一致,为6。8. The mobile phone obtains the configuration result and decides whether to remember the device by judging whether the configuration is successful or not. After the configuration is successful, the terminal configuration number is changed to the same as the gateway configuration change number, which is 6.

实施例2——窗帘开关Embodiment 2 - curtain switch

窗帘开关出厂时独立设置注册按键;并提供需要配置的参数;其中,窗帘注册请求消息中包含开关的区域(即开关安装在哪个房间)、可连接窗帘电机的个数、每个窗帘电机当前的配置(即每路灯光所在区域和编号,如主卧窗帘开关可控制2路窗帘,可将其配置为主卧窗帘1和主卧窗帘2)、红外遥控器开关状态(即开关是否响应遥控器控制命令)、按键音状态(即用户按按键时是否有声音提示)。与灯光开关相比,窗帘不支持背景灯控制和场景功能。When the curtain switch leaves the factory, the registration button is set independently; and the parameters that need to be configured are provided; among them, the curtain registration request message includes the area of the switch (that is, which room the switch is installed in), the number of curtain motors that can be connected, and the current status of each curtain motor. Configuration (that is, the area and number of each light, if the master bedroom curtain switch can control 2 curtains, it can be configured as master bedroom curtain 1 and master bedroom curtain 2), infrared remote control switch status (that is, whether the switch responds to the remote control control command), button tone status (that is, whether there is a sound prompt when the user presses the button). Compared with light switches, curtains do not support background light control and scene functions.

实施例2-1、对于新建智能家居系统,窗帘开关的配置过程为:Embodiment 2-1. For a new smart home system, the configuration process of the curtain switch is as follows:

1、窗帘开关连入网关。因为是新建智能家居系统,网关的配置变更号为初始值0。手机作为配置参数的控制终端连入网关,终端配置号初始值为0。1. The curtain switch is connected to the gateway. Because it is a new smart home system, the configuration change number of the gateway is the initial value 0. The mobile phone connects to the gateway as the control terminal of the configuration parameters, and the initial value of the terminal configuration number is 0.

2、窗帘开关,通过人为输入按键触发注册请求,发送给网关。注册请求中包含参数有开关所在区域(出厂默认为未配置),可连接窗帘电机的个数(根据开关实际情况填写,若支持2个窗帘电机,此参数为2),每个窗帘电机当前的配置(出厂默认未配置),红外遥控器开关状态(默认开),按键音状态(默认开)。2. The curtain switch triggers the registration request through the human input button and sends it to the gateway. The registration request contains parameters including the area where the switch is located (factory default is unconfigured), the number of curtain motors that can be connected (fill in according to the actual situation of the switch, if 2 curtain motors are supported, this parameter is 2), the current value of each curtain motor Configuration (factory default not configured), infrared remote control switch status (default on), key tone status (default on).

3、网关将注册请求转发到手机;其中,窗帘开关将要配置的参数与注册请求一起告知控制终端。3. The gateway forwards the registration request to the mobile phone; wherein, the curtain switch notifies the control terminal of the parameters to be configured together with the registration request.

4、手机,将根据要配置参数的情况,形成配置页面,显示出来用于配置。4. The mobile phone will form a configuration page according to the parameters to be configured, and display it for configuration.

5、配置人员通过手机完成配置后,将配置数据发送到网关,网关将配置数据转发到窗帘开关;窗帘开关进行配置并将配置结果返回给网关;网关把配置结果转发给手机,并加1更新配置变更号为1。5. After the configuration personnel complete the configuration through the mobile phone, the configuration data is sent to the gateway, and the gateway forwards the configuration data to the curtain switch; the curtain switch performs configuration and returns the configuration result to the gateway; the gateway forwards the configuration result to the mobile phone, and adds 1 for update The configuration change number is 1.

6、手机获取到配置结果并且通过判断配置成功与否来决定是否记住该设备,配置成功后,终端配置号与网关的配置变更号改为一致,为1。6. The mobile phone obtains the configuration result and decides whether to remember the device by judging whether the configuration is successful or not. After the configuration is successful, the terminal configuration number is changed to the same as the gateway configuration change number, which is 1.

实施例2-2、对于已有智能家居系统,窗帘开关的配置过程为:Embodiment 2-2. For the existing smart home system, the configuration process of the curtain switch is as follows:

1、网关存储已配置设备的全部配置信息,配置变更号为5;1. The gateway stores all configuration information of configured devices, and the configuration change number is 5;

2、新的手机作为控制终端连入网关,终端配置号为5,则手机的配置信息为最新,否则手机向网关索取全部设备的配置信息,更新保存,并将终端配置号改为5。2. A new mobile phone connects to the gateway as a control terminal. If the terminal configuration number is 5, the configuration information of the mobile phone is the latest. Otherwise, the mobile phone asks the gateway for the configuration information of all devices, updates and saves it, and changes the terminal configuration number to 5.

3、窗帘开关连入网关。3. The curtain switch is connected to the gateway.

4、窗帘开关,通过人为输入按键触发注册请求,发送给网关。4. The curtain switch triggers the registration request through the human input button and sends it to the gateway.

5、网关将注册请求转发到手机;其中,窗帘开关将要配置的参数与注册请求一起告知手机。5. The gateway forwards the registration request to the mobile phone; wherein, the curtain switch notifies the mobile phone of the parameters to be configured together with the registration request.

6、手机,将根据要配置参数的情况,形成配置页面,显示出来用于配置。6. The mobile phone will form a configuration page according to the parameters to be configured, and display it for configuration.

7、配置人员通过手机完成配置后,将配置数据发送到网关,网关将配置数据转发到窗帘开关;窗帘开关进行配置并将配置结果返回给网关;网关把配置结果转发给手机,并加1更新配置变更号为6。7. After the configuration personnel complete the configuration through the mobile phone, the configuration data is sent to the gateway, and the gateway forwards the configuration data to the curtain switch; the curtain switch performs configuration and returns the configuration result to the gateway; the gateway forwards the configuration result to the mobile phone, and adds 1 for update The configuration change number is 6.

8、手机获取到配置结果并且通过判断配置成功与否来决定是否记住该设备,配置成功后,终端配置号与网关的配置变更号改为一致,为6。8. The mobile phone obtains the configuration result and decides whether to remember the device by judging whether the configuration is successful or not. After the configuration is successful, the terminal configuration number is changed to the same as the gateway configuration change number, which is 6.

实施例3——感应开关Embodiment 3 - Inductive switch

感应开关用于在光线比较暗的情况下,检测到人后自动开灯,人离开后自动关灯。其配置过程与灯光开关一致,但注册请求中携带的参数不同。The sensor switch is used to automatically turn on the light after detecting a person in the dark, and automatically turn off the light after the person leaves. Its configuration process is the same as that of the light switch, but the parameters carried in the registration request are different.

感应开关出厂时独立设置注册按键;并提供需要配置的参数;其中,感应开关请求消息中包含开关的区域(即开关安装在哪个房间)、可连接灯光路数(即开关可以控制几路灯光)、每路灯光当前的配置(即每路灯光所在区域和编号,如感应开关连接了一路灯光在洗手间,可以将其配置为洗手间灯1)、亮度门限(亮度低于此门限,且检测到人才开灯)、延迟关灯时间(人离开后几分钟关灯)。When the sensor switch leaves the factory, the registration button is set independently; and the parameters that need to be configured are provided; among them, the sensor switch request message includes the area of the switch (that is, which room the switch is installed in), and the number of connectable lights (that is, how many lights the switch can control) , the current configuration of each light (that is, the area and number of each light, if the sensor switch is connected to a light in the bathroom, it can be configured as bathroom light 1), brightness threshold (the brightness is lower than this threshold, and the talent is detected Turn on the lights), delay the time to turn off the lights (turn off the lights a few minutes after people leave).

实施例3-1、对于新建智能家居系统,感应开关的配置过程为:Embodiment 3-1. For a new smart home system, the configuration process of the sensor switch is as follows:

1、感应开关连入网关。因为是新建智能家居系统,网关的配置变更号为初始值0。手机作为配置参数的控制终端连入网关,终端配置号初始值为0。1. The induction switch is connected to the gateway. Because it is a new smart home system, the configuration change number of the gateway is the initial value 0. The mobile phone connects to the gateway as the control terminal of the configuration parameters, and the initial value of the terminal configuration number is 0.

2、感应开关,通过人为输入按键触发注册请求,发送给网关。注册请求中包含参数有开关所在区域(出厂默认为未配置),灯光路数(根据开关实际情况填写,若支持4路灯光,此参数为4),每路灯光当前的配置(出厂默认未配置),亮度门限(出厂默认值,如50),延迟关灯时间(出厂默认值,如5分钟)。2. The sensor switch triggers the registration request through the human input button and sends it to the gateway. The registration request contains parameters including the area where the switch is located (the factory default is not configured), the number of lighting channels (fill in according to the actual situation of the switch, if it supports 4 lighting channels, this parameter is 4), the current configuration of each lighting channel (the factory default is not configured ), brightness threshold (factory default value, such as 50), delayed turn-off time (factory default value, such as 5 minutes).

3、网关将注册请求转发到手机;其中,感应开关将要配置的参数与注册请求一起告知控制终端。3. The gateway forwards the registration request to the mobile phone; wherein, the sensor switch notifies the control terminal of the parameters to be configured together with the registration request.

4、手机,将根据要配置参数的情况,形成配置页面,显示出来用于配置。4. The mobile phone will form a configuration page according to the parameters to be configured, and display it for configuration.

5、配置人员通过手机完成配置后,将配置数据发送到网关,网关将配置数据转发到感应开关;感应开关进行配置并将配置结果返回给网关;网关把配置结果转发给手机,并加1更新配置变更号为1。5. After the configuration personnel complete the configuration through the mobile phone, the configuration data is sent to the gateway, and the gateway forwards the configuration data to the sensor switch; the sensor switch configures and returns the configuration result to the gateway; the gateway forwards the configuration result to the mobile phone, and adds 1 for update The configuration change number is 1.

6、手机获取到配置结果并且通过判断配置成功与否来决定是否记住该设备,配置成功后,终端配置号与网关的配置变更号改为一致,为1。6. The mobile phone obtains the configuration result and decides whether to remember the device by judging whether the configuration is successful or not. After the configuration is successful, the terminal configuration number is changed to the same as the gateway configuration change number, which is 1.

实施例3-2、对于已有智能家居系统,感应开关的配置过程为:Embodiment 3-2. For the existing smart home system, the configuration process of the sensor switch is as follows:

1、网关存储已配置设备的全部配置信息,配置变更号为5;1. The gateway stores all configuration information of configured devices, and the configuration change number is 5;

2、新的手机作为控制终端连入网关,终端配置号为5,则手机的配置信息为最新,否则手机向网关索取全部设备的配置信息,更新保存,并将终端配置号改为5。2. A new mobile phone connects to the gateway as a control terminal. If the terminal configuration number is 5, the configuration information of the mobile phone is the latest. Otherwise, the mobile phone asks the gateway for the configuration information of all devices, updates and saves it, and changes the terminal configuration number to 5.

3、感应开关连入网关。3. The induction switch is connected to the gateway.

4、感应开关,通过人为输入按键触发注册请求,发送给网关。4. The sensor switch triggers the registration request through the human input button and sends it to the gateway.

5、网关将注册请求转发到手机;其中,感应开关将要配置的参数与注册请求一起告知手机。5. The gateway forwards the registration request to the mobile phone; wherein, the sensor switch informs the mobile phone of the parameters to be configured together with the registration request.

6、手机,将根据要配置参数的情况,形成配置页面,显示出来用于配置。6. The mobile phone will form a configuration page according to the parameters to be configured, and display it for configuration.

7、配置人员通过手机完成配置后,将配置数据发送到网关,网关将配置数据转发到感应开关;感应开关进行配置并将配置结果返回给网关;网关把配置结果转发给手机,并加1更新配置变更号为6。7. After the configuration personnel complete the configuration through the mobile phone, the configuration data is sent to the gateway, and the gateway forwards the configuration data to the sensor switch; the sensor switch configures and returns the configuration result to the gateway; the gateway forwards the configuration result to the mobile phone, and adds 1 for update The configuration change number is 6.

8、手机获取到配置结果并且通过判断配置成功与否来决定是否记住该设备,配置成功后,终端配置号与网关的配置变更号改为一致,为6。8. The mobile phone obtains the configuration result and decides whether to remember the device by judging whether the configuration is successful or not. After the configuration is successful, the terminal configuration number is changed to the same as the gateway configuration change number, which is 6.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明披露的技术范围内,根据本发明的技术方案及其发明构思加以等同替换或改变,都应涵盖在本发明的保护范围之内。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone familiar with the technical field within the technical scope disclosed in the present invention, according to the technical solution of the present invention Any equivalent replacement or change of the inventive concepts thereof shall fall within the protection scope of the present invention.

Claims (5)

1. the collocation method of equipment to be configured in intelligent domestic system, equipment to be configured is connected into gateway, forms intelligent domestic system; It is characterized in that,
Equipment to be configured has pre-defined the parameter that will configure when dispatching from the factory: parameter 1, parameter 2 ... parameter n, and the signal instruction proposing registration request to gateway is set in key-press input mode in advance;
Collocation method comprises the steps:
Sa, be connected into gateway for the control terminal of configuration parameter;
Sb, equipment to be configured, by key-press input, send registration request to gateway; Registration request is forwarded to control terminal by gateway; Wherein, described registration request comprises the parameter information of equipment needs to be configured configuration;
Sc, control terminal are preset with the database of corresponding various equipment configuration parameter, and the parameter that automatically will configure according to step Sb, form the configuration page, show for configuration;
After Sd, control terminal complete configuration, configuration data is sent to gateway, configuration data is forwarded to equipment to be configured by gateway; Equipment to be configured is configured and configuration result is returned to gateway; Gateway is transmitted to control terminal configuration result;
Se, control terminal get configuration result, configuration successful, then remember this equipment.
2. the collocation method of equipment to be configured in intelligent domestic system according to claim 1, it is characterized in that, described control terminal is mobile phone terminal or PAD, PC.
3. the collocation method of equipment to be configured in intelligent domestic system according to claim 1 or 2, it is characterized in that, described equipment to be configured is the home appliance in lamp switch, Curtain switch or other intelligent domestic systems.
4. the collocation method of equipment to be configured in intelligent domestic system according to claim 3, is characterized in that, also comprise the steps:
S1, gateway store whole configuration informations of devices to be configured, and are provided with the configuration change number storing intelligent domestic system latest configuration state for gateway;
After S2, the control terminal having a terminal configuration number are connected into gateway, ask for configuration change number to gateway, and make comparisons with described terminal configuration number; When the two is consistent, the configuration information of control terminal is up-to-date, otherwise control terminal asks for the configuration information of armamentarium to gateway, upgrades and preserves, and described terminal configuration number is changed into the described configuration change number of gateway.
5. the collocation method of equipment to be configured in intelligent domestic system according to claim 4, is characterized in that, equipment to be configured, after completing configuration, upgrade the configuration information of gateway relevant device, and the described configuration change number of gateway adds a renewal;
Simultaneously in step Se, control terminal gets configuration result, configuration successful, and the terminal configuration number of control terminal changes into consistent with the configuration change number of gateway.
CN201510092389.1A 2015-02-28 2015-02-28 A configuration method for devices to be configured in a smart home system Pending CN104683195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510092389.1A CN104683195A (en) 2015-02-28 2015-02-28 A configuration method for devices to be configured in a smart home system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510092389.1A CN104683195A (en) 2015-02-28 2015-02-28 A configuration method for devices to be configured in a smart home system

Publications (1)

Publication Number Publication Date
CN104683195A true CN104683195A (en) 2015-06-03

Family

ID=53317818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510092389.1A Pending CN104683195A (en) 2015-02-28 2015-02-28 A configuration method for devices to be configured in a smart home system

Country Status (1)

Country Link
CN (1) CN104683195A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325907A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 A user information pre-configuration system
CN106357485A (en) * 2016-08-16 2017-01-25 北京小米移动软件有限公司 Method and device for marking equipment
CN107332743A (en) * 2017-06-08 2017-11-07 青岛海信日立空调系统有限公司 A kind of method and device for the configuration information for updating home appliance
CN109542076A (en) * 2019-01-16 2019-03-29 四川长虹电器股份有限公司 A kind of management method of pattern of double controlling multi-circuit switch gear
CN110196671A (en) * 2018-02-27 2019-09-03 杭州海康威视数字技术股份有限公司 A kind of device management method, apparatus and system
CN114095379A (en) * 2021-10-30 2022-02-25 北京天融信网络安全技术有限公司 Rapid modeling method and system based on Internet of things
WO2022051917A1 (en) * 2020-09-08 2022-03-17 Oppo广东移动通信有限公司 Device configuration method, device network distribution method, and device
WO2024046143A1 (en) * 2022-08-30 2024-03-07 华为技术有限公司 Configuration method, medium, and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168458A1 (en) * 2006-01-16 2007-07-19 Nokia Corporation Remote access to local network
CN101599850A (en) * 2008-06-06 2009-12-09 华为技术有限公司 The collocation method of WLAN (wireless local area network), system and device
CN101616017A (en) * 2008-06-26 2009-12-30 华为技术有限公司 Method, equipment and system that network application apparatus is configured
CN102546329A (en) * 2010-12-30 2012-07-04 美国博通公司 Push button configuration of multimedia over coax alliance (moca) devices
CN102769619A (en) * 2012-07-20 2012-11-07 南京小网科技有限责任公司 Method for automatically registering intelligent home appliance in network by one key
CN103200057A (en) * 2013-03-25 2013-07-10 中山大学 Intelligent home terminal recognition system based on digital home network
CN103647810A (en) * 2013-11-28 2014-03-19 深圳市六合未来科技有限公司 A scene control system and a scene control method based on Z-Wave technology
CN103747067A (en) * 2013-12-27 2014-04-23 四川九洲电器集团有限责任公司 Data configuration method based on digital home intelligent gateway
CN104219116A (en) * 2014-09-24 2014-12-17 江苏红叶视听器材股份有限公司 Smart home system based on mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168458A1 (en) * 2006-01-16 2007-07-19 Nokia Corporation Remote access to local network
CN101599850A (en) * 2008-06-06 2009-12-09 华为技术有限公司 The collocation method of WLAN (wireless local area network), system and device
CN101616017A (en) * 2008-06-26 2009-12-30 华为技术有限公司 Method, equipment and system that network application apparatus is configured
CN102546329A (en) * 2010-12-30 2012-07-04 美国博通公司 Push button configuration of multimedia over coax alliance (moca) devices
CN102769619A (en) * 2012-07-20 2012-11-07 南京小网科技有限责任公司 Method for automatically registering intelligent home appliance in network by one key
CN103200057A (en) * 2013-03-25 2013-07-10 中山大学 Intelligent home terminal recognition system based on digital home network
CN103647810A (en) * 2013-11-28 2014-03-19 深圳市六合未来科技有限公司 A scene control system and a scene control method based on Z-Wave technology
CN103747067A (en) * 2013-12-27 2014-04-23 四川九洲电器集团有限责任公司 Data configuration method based on digital home intelligent gateway
CN104219116A (en) * 2014-09-24 2014-12-17 江苏红叶视听器材股份有限公司 Smart home system based on mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325907A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 A user information pre-configuration system
CN106357485A (en) * 2016-08-16 2017-01-25 北京小米移动软件有限公司 Method and device for marking equipment
CN106357485B (en) * 2016-08-16 2019-11-15 北京小米移动软件有限公司 The method and device of marking arrangement
CN107332743A (en) * 2017-06-08 2017-11-07 青岛海信日立空调系统有限公司 A kind of method and device for the configuration information for updating home appliance
CN110196671A (en) * 2018-02-27 2019-09-03 杭州海康威视数字技术股份有限公司 A kind of device management method, apparatus and system
CN109542076A (en) * 2019-01-16 2019-03-29 四川长虹电器股份有限公司 A kind of management method of pattern of double controlling multi-circuit switch gear
CN109542076B (en) * 2019-01-16 2021-10-29 四川长虹电器股份有限公司 Management method of double-control mode multi-way switch equipment
WO2022051917A1 (en) * 2020-09-08 2022-03-17 Oppo广东移动通信有限公司 Device configuration method, device network distribution method, and device
CN115516901A (en) * 2020-09-08 2022-12-23 Oppo广东移动通信有限公司 Equipment configuration method, equipment distribution method and equipment
CN114095379A (en) * 2021-10-30 2022-02-25 北京天融信网络安全技术有限公司 Rapid modeling method and system based on Internet of things
WO2024046143A1 (en) * 2022-08-30 2024-03-07 华为技术有限公司 Configuration method, medium, and electronic device

Similar Documents

Publication Publication Date Title
CN104683195A (en) A configuration method for devices to be configured in a smart home system
US10855488B2 (en) Scheduled automation associations for a lighting control system
KR102305360B1 (en) Standalone wireless lighting application
CN105490897B (en) Control method and control device of household appliance and mobile terminal
CN105431891B (en) lighting controller
US20140359524A1 (en) Method for controlling information apparatus and computer-readable recording medium
CN113268005B (en) Intelligent scene control method, system, device and storage medium
JP5739002B2 (en) Communication device and communication system
CN104734885A (en) A kind of smart home system configuration method
JP6479007B2 (en) Commissioning the Zigbee® Light Link network
CN105137774A (en) Intelligent household appliance control method, device and mobile terminal
CN105007206A (en) Method and device for controlling intelligent household electrical appliance and mobile terminal
CN104765291A (en) Method, device and gateway for controlling intelligent device
CN115277280B (en) Control method of intelligent household equipment and control method of server
US10701781B2 (en) Programming rules for controlling lighting based on user interactions with one or more actuators in one or more zones
CN106970600A (en) Situational positioning sensing situational mode control device
CN108353488A (en) System controller for controlling electrical load
US9836521B2 (en) Device classification method, device classification system, and device
WO2018163022A1 (en) Cooker hood and household interconnection control method based on cooker hood
CN114637216B (en) Scene configuration method and device, control method and device, intelligent device and medium
US10959315B2 (en) System and method for operation of multiple lighting units in a building
CA2964915A1 (en) Commissioning a configurable user control device for a lighting control system
US10469648B2 (en) Automatic pairing of devices to network access point
US20190215178A1 (en) Aspect oriented control system for dynamic topology of utility devices
CN205249543U (en) WiFi intelligence lamp

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150603