[go: up one dir, main page]

CN114690649B - Multi-mode configuration method and device for control panel, equipment, panel and medium - Google Patents

Multi-mode configuration method and device for control panel, equipment, panel and medium Download PDF

Info

Publication number
CN114690649B
CN114690649B CN202011613207.8A CN202011613207A CN114690649B CN 114690649 B CN114690649 B CN 114690649B CN 202011613207 A CN202011613207 A CN 202011613207A CN 114690649 B CN114690649 B CN 114690649B
Authority
CN
China
Prior art keywords
panel
devices
key
relation
intelligent control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011613207.8A
Other languages
Chinese (zh)
Other versions
CN114690649A (en
Inventor
陈雷
游震春
汤孝义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202011613207.8A priority Critical patent/CN114690649B/en
Publication of CN114690649A publication Critical patent/CN114690649A/en
Application granted granted Critical
Publication of CN114690649B publication Critical patent/CN114690649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • 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]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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]

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)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the application provides a multi-mode configuration method and device of an intelligent control panel, the intelligent control panel, terminal equipment and medium, wherein the intelligent control panel comprises a base and a panel which are detachably connected, and the method comprises the following steps: acquiring the number of on-off devices included in the base; and determining the parameter relation between the keys and the on-off device included in the panel, determining the control relation between the keys and the on-off device according to the parameter relation, and forming different control modes of load equipment associated with the on-off device according to the control relation. The corresponding relation between the keys and the on-off devices is defined through the configuration parameter relation, and the panels containing different numbers of keys and the bottom plates of different paths of on-off devices can be assembled, so that the configuration of the intelligent control panel is more universal, wrong installation and combination can be avoided, different intelligent control panel products do not need to be developed respectively aiming at various application scenes, and the cost is effectively reduced.

Description

控制面板的多模式配置方法及装置、设备、面板及介质Multi-mode configuration method and device, equipment, panel and medium for control panel

技术领域Technical Field

本申请涉及智能家居技术领域,尤其是涉及一种智能控制面板的多模式配置方法及装置、智能控制面板、终端设备及计算机可读存储介质。The present application relates to the field of smart home technology, and in particular to a multi-mode configuration method and device for a smart control panel, a smart control panel, a terminal device, and a computer-readable storage medium.

背景技术Background Art

智能化家居是信息化社会的趋势,现有的智能家居设备,一般都采用远程控制技术,将所有的智能家居设备通过面板开关接入同一个网关或路由器,来实现联网功能以进行远程控制。所述面板开关通常由强电(Alternating Current,AC)和弱电(DirectCurrent,DC)两部分组成,其中AC由面板开关中多路继电器分别控制,DC由面板开关中物理按键或触屏控制。Smart home is the trend of information society. Existing smart home devices generally use remote control technology to connect all smart home devices to the same gateway or router through panel switches to achieve networking functions for remote control. The panel switch is usually composed of two parts: strong current (Alternating Current, AC) and weak current (Direct Current, DC). The AC is controlled by multiple relays in the panel switch, and the DC is controlled by physical buttons or touch screens in the panel switch.

然而,已知的面板开关需要根据外接的负载设备回路的数量来配置对应路数的继电器和/或物理按键,使得所述面板开关的配置不具备通用性,不仅容易出错,而且不方便升级,极大的提高了成本。However, the known panel switch needs to configure the corresponding number of relays and/or physical buttons according to the number of external load device loops, which makes the configuration of the panel switch not universal, not only prone to errors, but also inconvenient to upgrade, greatly increasing the cost.

发明内容Summary of the invention

为解决现有存在的技术问题,本申请提供一种能够有效避免错误、降低成本、通用性更高的智能控制面板的多模式配置方法及装置、智能控制面板、终端设备及计算机可读存储介质。In order to solve the existing technical problems, the present application provides a multi-mode configuration method and device for an intelligent control panel, an intelligent control panel, a terminal device and a computer-readable storage medium that can effectively avoid errors, reduce costs and have higher versatility.

为达到上述目的,本申请实施例的技术方案是这样实现的:To achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:

第一方面,本申请实施例提供一种智能控制面板的多模式配置方法,所述智能控制面板包括可拆卸连接的底座和面板,所述方法包括:In a first aspect, an embodiment of the present application provides a multi-mode configuration method for an intelligent control panel, wherein the intelligent control panel includes a detachably connected base and a panel, and the method includes:

获取所述底座包括的通断装置的数量;Obtaining the number of on-off devices included in the base;

确定所述面板包括的按键与所述通断装置的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。Determine the parameter relationship between the buttons included in the panel and the on-off device, determine the control relationship between the buttons and the on-off device according to the parameter relationship, and form different control modes for the load equipment associated with the on-off device according to the control relationship.

第二方面,本申请实施例提供一种智能控制面板的多模式配置装置,所述智能控制面板包括可拆卸连接的底座和面板,所述装置包括:In a second aspect, an embodiment of the present application provides a multi-mode configuration device for an intelligent control panel, wherein the intelligent control panel includes a detachably connected base and a panel, and the device includes:

获取模块,用于获取所述底座包括的通断装置的数量;An acquisition module, used for acquiring the number of the on-off devices included in the base;

控制模块,用于确定所述面板包括的按键与所述通断装置的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。The control module is used to determine the parameter relationship between the buttons included in the panel and the on-off device, determine the control relationship between the buttons and the on-off device according to the parameter relationship, and form different control modes for the load equipment associated with the on-off device according to the control relationship.

第三方面,本申请实施例提供一种智能控制面板,包括可拆卸连接的底座和面板,所述底座包括第一控制器、与所述第一控制器连接的第一存储器及至少一通断装置,所述面板包括第二控制器、与所述第二控制器连接的第二存储器及通信模块,所述第一控制器和所述第二控制器之间采用串口通讯协议进行数据传输,In a third aspect, an embodiment of the present application provides an intelligent control panel, including a detachably connected base and a panel, wherein the base includes a first controller, a first memory connected to the first controller, and at least one on-off device, and the panel includes a second controller, a second memory connected to the second controller, and a communication module, wherein the first controller and the second controller use a serial communication protocol for data transmission.

所述第一存储器和所述第二存储器内存储有可被对应的所述第一控制器和所述第二控制器执行的计算机程序,所述计算机程序被所述第一控制器和所述第二控制器执行时实现本申请应用于所述智能控制面板的任一实施例所述的智能控制面板的多模式配置方法。The first memory and the second memory store computer programs that can be executed by the corresponding first controller and the second controller. When the computer program is executed by the first controller and the second controller, the multi-mode configuration method of the intelligent control panel described in any embodiment of the present application applied to the intelligent control panel is implemented.

本申请上述实施例提供的智能控制面板的多模式配置方法、装置及智能控制面板,智能控制面板包括可拆卸连接的底座和面板,通过获取底座中包含的通断装置的数量,确定所述面板包括的按键与通断装置的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式,如此,通过配置参数关系来定义按键与通断装置的对应关系,包含不同数量按键的面板与不同路数通断装置的底板均可进行组配,从而所述智能控制面板的配置更具有通用性,可避免出现错误的安装组合,并能适用于各种外接不同负载设备回路的应用场景,方便根据外接不同数量的负载设备回路时更改按键与通断装置的参数关系来完成升级,无需针对各种应用场景分别开发不同智能控制面板产品,有效地降低了成本。The multi-mode configuration method, device and intelligent control panel provided in the above-mentioned embodiments of the present application, the intelligent control panel includes a detachably connected base and panel, and the parameter relationship between the buttons and the on-off devices included in the panel is determined by obtaining the number of on-off devices included in the base, and the control relationship between the buttons and the on-off devices is determined according to the parameter relationship. Different control modes for load devices associated with the on-off devices are formed according to the control relationship. In this way, the correspondence between the buttons and the on-off devices is defined by configuring the parameter relationship, and panels containing different numbers of buttons and base plates with different numbers of on-off devices can be assembled, so that the configuration of the intelligent control panel is more universal, which can avoid incorrect installation combinations and can be applicable to various application scenarios of external load device loops. It is convenient to change the parameter relationship between the buttons and the on-off devices when different numbers of load device loops are connected to complete the upgrade. There is no need to develop different intelligent control panel products for various application scenarios, which effectively reduces costs.

第四方面,本申请实施例提供一种智能控制面板的多模式配置方法,应用于终端设备,所述智能控制面板包括可拆卸连接的底座和面板,所述方法包括:In a fourth aspect, an embodiment of the present application provides a multi-mode configuration method of an intelligent control panel, which is applied to a terminal device, wherein the intelligent control panel includes a detachably connected base and a panel, and the method includes:

接收所述智能控制面板发送的所述底座包括的通断装置的数量,根据所述通断装置的数量生成匹配的按键界面;Receiving the number of the on-off devices included in the base sent by the intelligent control panel, and generating a matching key interface according to the number of the on-off devices;

基于所述按键界面获取按键与所述通断装置的配置参数;Acquiring configuration parameters of the button and the on-off device based on the button interface;

将所述配置参数发送给所述智能控制面板,由所述智能控制面板根据所述配置参数确定所述按键与所述通断装置的控制关系,以形成对所述通断装置关联的负载设备的不同控制模式。The configuration parameters are sent to the intelligent control panel, and the intelligent control panel determines the control relationship between the button and the on-off device according to the configuration parameters to form different control modes for the load equipment associated with the on-off device.

第五方面,本申请实施例提供一种智能控制面板的多模式配置装置,应用于终端设备,所述智能控制面板包括可拆卸连接的底座和面板,所述装置包括:In a fifth aspect, an embodiment of the present application provides a multi-mode configuration device of an intelligent control panel, which is applied to a terminal device, wherein the intelligent control panel includes a detachably connected base and a panel, and the device includes:

接收模块,用于接收所述智能控制面板发送的所述底座包括的通断装置的数量,根据所述通断装置的数量生成匹配的按键界面;A receiving module, used for receiving the number of the on-off devices included in the base sent by the intelligent control panel, and generating a matching key interface according to the number of the on-off devices;

配置模块,用于基于所述按键界面获取按键与所述通断装置的配置参数;A configuration module, used for acquiring configuration parameters of the buttons and the on-off device based on the button interface;

发送模块,用于将所述配置参数发送给所述智能控制面板,由所述智能控制面板根据所述配置参数确定所述按键与所述通断装置的控制关系,以形成对所述通断装置关联的负载设备的不同控制模式。The sending module is used to send the configuration parameters to the intelligent control panel, and the intelligent control panel determines the control relationship between the button and the on-off device according to the configuration parameters to form different control modes for the load equipment associated with the on-off device.

第六方面,本申请实施例提供一种终端设备,包括处理器、存储器及存储在所述存储器上并可被所述处理器执行的计算机程序,所述计算机程序被所述处理器执行时实现本申请应用于所述终端设备的任一实施例所述的智能控制面板的多模式配置方法。In a sixth aspect, an embodiment of the present application provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the multi-mode configuration method of the intelligent control panel described in any embodiment of the present application applied to the terminal device is implemented.

本申请实施例提供的智能控制面板的多模式配置方法、装置、智能控制面板,终端设备接收智能控制面板发送的所述底座包括的通断装置的数量,根据所述通断装置的数量生成匹配的按键界面;基于所述按键界面获取按键与所述通断装置的配置参数;将所述配置参数发送给所述智能控制面板,由所述智能控制面板根据所述配置参数确定所述按键与所述通断装置的控制关系,以形成对所述通断装置关联的负载设备的不同控制模式;如此,通过终端设备基于通断装置的数量对按键与通断装置之间的参数关系进行配置,通过配置参数关系来定义按键与通断装置的对应关系,包含不同数量按键的面板与不同路数通断装置的底板均可进行组配,使得智能控制面板的配置更具有通用性,可避免出现错误的安装组合,并能适用于各种外接不同负载设备回路的应用场景,方便根据外接不同数量的负载设备回路时更改按键与通断装置的参数关系来完成升级,无需针对各种应用场景分别开发不同智能控制面板产品,有效地降低了成本。The multi-mode configuration method, device, and intelligent control panel of the intelligent control panel provided in the embodiment of the present application, the terminal device receives the number of on-off devices included in the base sent by the intelligent control panel, and generates a matching button interface according to the number of on-off devices; obtains the configuration parameters of the button and the on-off device based on the button interface; sends the configuration parameters to the intelligent control panel, and the intelligent control panel determines the control relationship between the button and the on-off device according to the configuration parameters to form different control modes for the load device associated with the on-off device; in this way, the terminal device configures the parameter relationship between the button and the on-off device based on the number of on-off devices, and defines the corresponding relationship between the button and the on-off device through the configuration parameter relationship. Panels containing different numbers of buttons and base plates with different numbers of on-off devices can be assembled, so that the configuration of the intelligent control panel is more universal, which can avoid incorrect installation combinations, and can be applicable to various application scenarios of externally connected load device loops, and it is convenient to change the parameter relationship between the button and the on-off device when different numbers of load device loops are connected to complete the upgrade, without the need to develop different intelligent control panel products for various application scenarios, which effectively reduces costs.

第七方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如本申请任一实施例所述的智能控制面板的多模式配置方法。In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the multi-mode configuration method of the intelligent control panel as described in any embodiment of the present application is implemented.

上述实施例所提供的计算机可读存储介质,用于实施本申请实施例所提供的智能控制面板的多模式配置方法,具有与所述智能控制面板的多模式配置方法的相同的技术效果,为避免重复,这里不再赘述。The computer-readable storage medium provided in the above embodiment is used to implement the multi-mode configuration method of the intelligent control panel provided in the embodiment of the present application, and has the same technical effect as the multi-mode configuration method of the intelligent control panel. To avoid repetition, it will not be repeated here.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请实施例中智能控制面板的多模式配置方法的可选的应用场景的物联网系统框架图;FIG1 is a framework diagram of an Internet of Things system for an optional application scenario of a multi-mode configuration method for an intelligent control panel in an embodiment of the present application;

图2为本申请实施例中智能控制面板的结构示意图;FIG2 is a schematic diagram of the structure of the intelligent control panel in an embodiment of the present application;

图3为本申请实施例中智能控制面板的另一结构示意图;FIG3 is another schematic diagram of the structure of the intelligent control panel in the embodiment of the present application;

图4为本申请实施例中智能控制面板的多模式配置方法的流程图;FIG4 is a flow chart of a multi-mode configuration method of an intelligent control panel in an embodiment of the present application;

图5为本申请实施例中按键与通断装置的参数关系的示意图;FIG5 is a schematic diagram of the relationship between the parameters of the button and the on-off device in the embodiment of the present application;

图6为本申请另一实施例中智能控制面板的多模式配置方法的流程图;FIG6 is a flow chart of a multi-mode configuration method of an intelligent control panel in another embodiment of the present application;

图7为本申请一可选示例中智能控制面板的多模式配置方法的流程图;FIG7 is a flowchart of a multi-mode configuration method of an intelligent control panel in an optional example of the present application;

图8为本申请另一可选示例中智能控制面板的多模式配置方法的流程图;FIG8 is a flowchart of a multi-mode configuration method of an intelligent control panel in another optional example of the present application;

图9为本申请一实施例中智能控制面板的多模式配置装置的示意图;FIG9 is a schematic diagram of a multi-mode configuration device of an intelligent control panel in an embodiment of the present application;

图10为本申请另一实施例中智能控制面板的多模式配置装置的示意图;FIG10 is a schematic diagram of a multi-mode configuration device of an intelligent control panel in another embodiment of the present application;

图11为本申请一实施例中智能控制面板的结构示意图;FIG11 is a schematic diagram of the structure of an intelligent control panel in an embodiment of the present application;

图12为本申请另一实施例中智能控制面板的结构示意图;FIG12 is a schematic diagram of the structure of an intelligent control panel in another embodiment of the present application;

图13为本申请一实施例中终端设备的结构示意图;FIG13 is a schematic diagram of the structure of a terminal device in an embodiment of the present application;

图14为本申请另一实施例中智能控制面板的结构示意图。FIG. 14 is a schematic diagram of the structure of an intelligent control panel in another embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

以下结合说明书附图及具体实施例对本申请技术方案做进一步的详细阐述。The technical solution of the present application is further elaborated in detail below in conjunction with the accompanying drawings and specific embodiments of the specification.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请的实现方式。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the implementation of this application. The term "and/or" used herein includes any and all combinations of one or more related listed items.

在本申请的描述中,需要理解的是,术语“中心”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present application, it should be understood that the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating positions or positional relationships, are based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present application. In the description of the present application, unless otherwise specified, "multiple" means two or more.

在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

请参阅图1,为本申请实施例提供的智能控制面板的多模式配置方法的可选的应用场景的物联网系统框架图。其中,物联网系统由智能控制面板10、网关设备53、服务器52、终端设备51等组成。终端设备51可以是任何具备通信和存储功能的设备,例如:智能手机、台式电脑、笔记本电脑、平板电脑或其他具有网络连接功能的智能通信设备。服务器52可以是网络接入服务器、数据库服务器、云服务器等。可选的,网关设备53可以为基于ZigBee协议搭建,物联网负载设备受控于智能控制面板10,可以是预先加入网关设备53,例如,物联网负载设备可以是网关设备53出厂时网关设备所归属套件中的设备;也可以是后续通过用户操作连接至网关设备53中的设备。Please refer to Figure 1, which is a framework diagram of the Internet of Things system for optional application scenarios of the multi-mode configuration method of the smart control panel provided in the embodiment of the present application. Among them, the Internet of Things system is composed of an intelligent control panel 10, a gateway device 53, a server 52, a terminal device 51, etc. The terminal device 51 can be any device with communication and storage functions, such as: a smart phone, a desktop computer, a laptop computer, a tablet computer or other intelligent communication device with a network connection function. The server 52 can be a network access server, a database server, a cloud server, etc. Optionally, the gateway device 53 can be built based on the ZigBee protocol, and the Internet of Things load device is controlled by the intelligent control panel 10. It can be pre-added to the gateway device 53. For example, the Internet of Things load device can be a device in the kit to which the gateway device 53 belongs when the gateway device 53 leaves the factory; it can also be a device subsequently connected to the gateway device 53 through user operation.

可选的,终端设备51中安装了可以对物联网负载设备进行管理的客户端,所述客户端可以是应用程序客户端(如手机APP),也可以是网页客户端,在此不作限定。Optionally, a client capable of managing the IoT load device is installed in the terminal device 51 , and the client may be an application client (such as a mobile phone APP) or a web client, which is not limited here.

可选的,智能控制面板10可以基于ZigBee协议与网关设备53建立网络连接,从而加入到ZigBee网络中。Optionally, the intelligent control panel 10 may establish a network connection with the gateway device 53 based on the ZigBee protocol, thereby joining the ZigBee network.

智能控制面板10、终端设备51及物联网负载设备均可以通过网关设备53接入到以太网中,网关设备53可以通过有线或无线的通信连接方式接入服务器。例如,网关设备53以及终端设备51可以将获取的信息存储到服务器52中。可选的,终端设备51还可以通过2G/3G/4G/5G、WiFi等与服务器52建立网络连接,从而可以获取服务器52下发的数据。The intelligent control panel 10, the terminal device 51 and the IoT load device can all be connected to the Ethernet through the gateway device 53, and the gateway device 53 can be connected to the server through a wired or wireless communication connection. For example, the gateway device 53 and the terminal device 51 can store the acquired information in the server 52. Optionally, the terminal device 51 can also establish a network connection with the server 52 through 2G/3G/4G/5G, WiFi, etc., so as to obtain the data sent by the server 52.

可选的,所述终端设备51、网关设备53和智能控制面板10可以在同一局域网络中,也可以和服务器52在同一广域网络中。其中,当所述终端设备51与网关设备53在同一局域网络中时,终端设备51可通过局域网路径与网关设备53以及连接至网关设备53的智能控制面板10进行交互;也可以通过广域网路径与网关设备53以及连接至网关设备53的智能控制面板10进行交互。当终端设备51与网关设备53不在同一局域网络中时,终端设备51可以通过广域网路径与网关设备53以及连接至网关设备53的智能控制面板10进行交互。物联网系统可以通过所述智能控制面板10进一步实现对所属局域网范围内或与其相应连接的物联网负载设备进行开启或关闭的控制。其中,所述物联网负载设备可以包括但不限于,智能灯具、自动窗帘、空调等智能家居产品。Optionally, the terminal device 51, the gateway device 53 and the intelligent control panel 10 may be in the same local area network, or in the same wide area network as the server 52. When the terminal device 51 and the gateway device 53 are in the same local area network, the terminal device 51 may interact with the gateway device 53 and the intelligent control panel 10 connected to the gateway device 53 through the local area network path; or may interact with the gateway device 53 and the intelligent control panel 10 connected to the gateway device 53 through the wide area network path. When the terminal device 51 and the gateway device 53 are not in the same local area network, the terminal device 51 may interact with the gateway device 53 and the intelligent control panel 10 connected to the gateway device 53 through the wide area network path. The Internet of Things system can further realize the control of turning on or off the Internet of Things load devices within the scope of the local area network or correspondingly connected thereto through the intelligent control panel 10. The Internet of Things load devices may include, but are not limited to, smart home products such as smart lamps, automatic curtains, and air conditioners.

请结合参阅图2和图3,所述智能控制面板的底座15为强电(AC,AlternatingCurrent交流电)板,面板16为弱电(DC,Direct Current直流电)板。所述面板16可以是触控面板,触控面板包含的按键相应为虚拟按键;所述面板16也可以是按键面板,按键面板包含的按键相应为实体按键。底座15和面板16之间使用串口通讯协议传输进行数据通信,如,底座15将包含的通断装置的数量发送给面板16,面板16接收到外部控制指令后根据按键与通断装置的控制关系将控制指令发送给底座15上对应的通断装置等。底座15上包含的通断装置的数量可以是一个或任意多个,面板16获取底座15中包含的通断装置的数量,确定所述面板16包括的按键与所述通断装置的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。Please refer to Figures 2 and 3. The base 15 of the intelligent control panel is a strong current (AC, Alternating Current) board, and the panel 16 is a weak current (DC, Direct Current) board. The panel 16 can be a touch panel, and the buttons included in the touch panel are virtual buttons; the panel 16 can also be a button panel, and the buttons included in the button panel are physical buttons. The base 15 and the panel 16 use serial communication protocol transmission for data communication, such as the base 15 sends the number of on-off devices included to the panel 16, and the panel 16 sends the control instruction to the corresponding on-off device on the base 15 according to the control relationship between the button and the on-off device after receiving the external control instruction. The number of on-off devices included in the base 15 can be one or any number. The panel 16 obtains the number of on-off devices included in the base 15, determines the parameter relationship between the button included in the panel 16 and the on-off device, determines the control relationship between the button and the on-off device according to the parameter relationship, and forms different control modes for the load device associated with the on-off device according to the control relationship.

以面板16为触控面板为例,触控面板获取底座15中包含的通断装置的数量,在触摸屏上显示相同个数的虚拟按键,触控面板将底座15中包含的通断装置的数量发送给终端设备,终端设备在实施智能控制面板的多模式配置方法的应用程序的对应配置页面上显示相同个数的虚拟按键,用户可以在终端设备的对应配置页面配置按键与通断装置的参数关系,通过按键与通断装置的逻辑关系实现智能控制面板的不同工作模式,其中按键与通断装置之间的控制关系可以为一对一、一对多、互斥、互锁等,从而设定有效的通断装置个数、以及设置按键与有效的通断装置的控制关系以实现对所连接的物联网负载设备的不同控制模式。Taking panel 16 as a touch panel as an example, the touch panel obtains the number of on-off devices contained in the base 15, and displays the same number of virtual buttons on the touch screen. The touch panel sends the number of on-off devices contained in the base 15 to the terminal device, and the terminal device displays the same number of virtual buttons on the corresponding configuration page of the application program that implements the multi-mode configuration method of the intelligent control panel. The user can configure the parameter relationship between the button and the on-off device on the corresponding configuration page of the terminal device, and realize different working modes of the intelligent control panel through the logical relationship between the button and the on-off device, wherein the control relationship between the button and the on-off device can be one-to-one, one-to-many, mutually exclusive, interlocked, etc., so as to set the number of effective on-off devices and set the control relationship between the button and the effective on-off device to realize different control modes of the connected Internet of Things load devices.

以面板16为按键面板为例,按键面板获取底座15中包含的通断装置的数量,按键面板将底座15中包含的通断装置的数量以及自身所包含的机械按键的个数发送给终端设备,终端设备实施智能控制面板的多模式配置方法的应用程序的对应配置页面上显示与机械按键个数相同的虚拟按键,用户可以在终端设备的对应配置页面配置按键与通断装置的参数关系,通过按键与通断装置的逻辑关系实现智能控制面板的不同工作模式,其中按键与通断装置之间的控制关系可以为一对一、一对多、互斥、互锁等,从而设定有效的通断装置个数、以及设置按键与有效的通断装置的控制关系以实现对所连接的物联网负载设备的不同控制模式。Taking panel 16 as a button panel as an example, the button panel obtains the number of on-off devices contained in the base 15, and sends the number of on-off devices contained in the base 15 and the number of mechanical buttons contained in itself to the terminal device. The terminal device displays virtual buttons with the same number of mechanical buttons on the corresponding configuration page of the application program of the multi-mode configuration method of the intelligent control panel. The user can configure the parameter relationship between the buttons and the on-off devices on the corresponding configuration page of the terminal device, and realize different working modes of the intelligent control panel through the logical relationship between the buttons and the on-off devices, wherein the control relationship between the buttons and the on-off devices can be one-to-one, one-to-many, mutually exclusive, interlocked, etc., so as to set the number of effective on-off devices and set the control relationship between the buttons and the effective on-off devices to realize different control modes of the connected Internet of Things load devices.

请参阅图4,为本申请一实施例提供的一种智能控制面板的多模式配置方法,可应用于图1所示的智能控制面板。其中,所述智能控制面板包括可拆卸连接的底座和面板,所述智能控制面板的多模式配置方法包括但不限于S101和S103,具体介绍如下:Please refer to FIG4 , which is a multi-mode configuration method of an intelligent control panel provided in an embodiment of the present application, which can be applied to the intelligent control panel shown in FIG1 . The intelligent control panel includes a detachably connected base and a panel, and the multi-mode configuration method of the intelligent control panel includes but is not limited to S101 and S103, which are specifically described as follows:

S101,获取所述底座包括的通断装置的数量。S101, obtaining the number of the on-off devices included in the base.

智能控制面板可以采用包含任意数量的通断装置的底座与不同类型的面板进行组配。组配完成的智能控制面板接入网络后,智能控制面板获取底座包含的通断装置的数量,并将底座包含的通断装置的数量发送给对应的终端设备。所述通断装置可以是指继电器。The intelligent control panel can be assembled with a base containing any number of on-off devices and different types of panels. After the assembled intelligent control panel is connected to the network, the intelligent control panel obtains the number of on-off devices contained in the base and sends the number of on-off devices contained in the base to the corresponding terminal device. The on-off device may be a relay.

S103,确定所述面板包括的按键与所述通断装置的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。S103, determining a parameter relationship between the buttons included in the panel and the on-off device, determining a control relationship between the buttons and the on-off device according to the parameter relationship, and forming different control modes for the load equipment associated with the on-off device according to the control relationship.

智能控制面板确定所述面板包含的按键与所述通断装置的参数关系,可采用下面两种方式:第一、智能控制面板根据底座所包含的通断装置的数量、以及与所述通断装置数量对应的初始配置参数,确定按键与所述通断装置的参数关系;第二、智能控制面板根据底座所包含的通断装置的数量、以及终端设备依据所述通断装置的数量对按键与通断装置进行配置后的更新配置参数,确定按键与所述通断装置的参数关系。所述按键与通断装置的参数关系可以包括按键与通断装置的对应状态以及所述按键与通断装置的动作状态。The intelligent control panel determines the parameter relationship between the button included in the panel and the switch device in the following two ways: first, the intelligent control panel determines the parameter relationship between the button and the switch device according to the number of switch devices included in the base and the initial configuration parameters corresponding to the number of switch devices; second, the intelligent control panel determines the parameter relationship between the button and the switch device according to the number of switch devices included in the base and the updated configuration parameters after the terminal device configures the button and the switch device according to the number of switch devices. The parameter relationship between the button and the switch device may include the corresponding state of the button and the switch device and the action state of the button and the switch device.

对第一种方式,与通断装置数量对应的初始配置参数可包括如下示例:通断装置的数量为1,按键与通断装置的对应状态为默认单按键1与所述通断装置为一对一对应,此时,按键1的动作对一个通断装置有效;通断装置的数量为2,按键与通断装置的对应状态为默认单按键1与所述通断装置为一对二对应,此时,按键1的动作对2个通断装置有效;通断装置的数量为3,按键与通断装置的对应状态为默认单按键1与所述通断装置为一对三对应,此时,按键1的动作对3个通断装置有效。按键与通断装置的动作状态为默认同向动作。For the first method, the initial configuration parameters corresponding to the number of on-off devices may include the following examples: the number of on-off devices is 1, and the corresponding state of the button and the on-off device is that the single button 1 corresponds to the on-off device in a one-to-one manner by default, and at this time, the action of button 1 is effective for one on-off device; the number of on-off devices is 2, and the corresponding state of the button and the on-off device is that the single button 1 corresponds to the on-off device in a one-to-two manner by default, and at this time, the action of button 1 is effective for two on-off devices; the number of on-off devices is 3, and the corresponding state of the button and the on-off device is that the single button 1 corresponds to the on-off device in a one-to-three manner by default, and at this time, the action of button 1 is effective for three on-off devices. The action state of the button and the on-off device is the default same-direction action.

对第二种方式,与通断装置数量对应的更新配置参数可包括但不限于如下示例:通断装置的数量为1,可以配置不同单按键与所述通断装置为一对一对应,如按键面板中包含的按键数量为两个,可以配置左按键1与所述通断装置为一对一对应或者配置右按键2与所述通断装置为一对一对应。通断装置的数量为2,可以配置不同单按键与所述通断装置为一对一对应,如按键面板中包含的按键数量为两个,可以配置左按键1与左通断装置为一对一对应或者配置右按键2与右通断装置为一对一对应;也可以配置不同单按键与所述通断装置为一对二对应,如配置左按键1与两个通断装置一对二对应,或配置右按键2与两个通断装置一对二对应;或者可以配置不同单按键与一通断装置对应,而另一通断装置不可控,如可以配置右按键1与右通断装置一对一对应,而左通断装置无效。通断装置的数量为3,可以配置不同单按键与所述通断装置为一对一对应,如按键面板中包含的按键数量为三个,可以配置左按键1、中按键2、右按键3分别与左通断装置、中通断装置、右通断装置为一对一对应;或者可以配置不同单按键与所述通断装置为一对二对应,而另一通断装置不可控,如左按键1与左通断装置、中通断装置对应,而右通断装置不可控;或者配置不同单按键与所述通断装置为一对三对应,如左按键1与三个通断装置为一对三对应。当按键与通断装置为一对多对应状态时,按键与通断装置的动作状态可选配置为同向动作或互斥动作。同向动作是指多个通断装置根据与其关联的同一个通断装置的闭合或断开而执行相同动作,互斥动作是指多个通断装置根据与其关联的同一个通断装置的闭合或断开保持反向动作。For the second method, the update configuration parameters corresponding to the number of on-off devices may include but are not limited to the following examples: the number of on-off devices is 1, and different single buttons can be configured to correspond to the on-off devices in a one-to-one manner, such as if the number of buttons included in the button panel is two, the left button 1 can be configured to correspond to the on-off device in a one-to-one manner, or the right button 2 can be configured to correspond to the on-off device in a one-to-one manner. The number of on-off devices is 2, and different single buttons can be configured to correspond to the on-off devices in a one-to-one manner, such as if the number of buttons included in the button panel is two, the left button 1 can be configured to correspond to the left on-off device in a one-to-one manner, or the right button 2 can be configured to correspond to the right on-off device in a one-to-one manner; different single buttons can also be configured to correspond to the on-off devices in a one-to-two manner, such as configuring the left button 1 to correspond to the two on-off devices in a one-to-two manner, or configuring the right button 2 to correspond to the two on-off devices in a one-to-two manner; or different single buttons can be configured to correspond to one on-off device, while the other on-off device is uncontrollable, such as configuring the right button 1 to correspond to the right on-off device in a one-to-one manner, while the left on-off device is invalid. The number of on-off devices is 3, and different single buttons can be configured to correspond one-to-one with the on-off devices. For example, if the number of buttons included in the button panel is three, the left button 1, the middle button 2, and the right button 3 can be configured to correspond one-to-one with the left on-off device, the middle on-off device, and the right on-off device respectively; or different single buttons can be configured to correspond one-to-two with the on-off devices, and the other on-off device is uncontrollable, such as the left button 1 corresponds to the left on-off device and the middle on-off device, and the right on-off device is uncontrollable; or different single buttons can be configured to correspond one-to-three with the on-off devices, such as the left button 1 corresponds one-to-three with the three on-off devices. When the button and the on-off device are in a one-to-many correspondence state, the action state of the button and the on-off device can be optionally configured as a same-direction action or a mutually exclusive action. Same-direction action means that multiple on-off devices perform the same action according to the closing or opening of the same on-off device associated with them, and mutually exclusive action means that multiple on-off devices maintain reverse actions according to the closing or opening of the same on-off device associated with them.

智能控制面板根据按键与通断装置的参数关系确定所述按键与通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。其中,所述按键与通断装置的控制关系是指,根据按键与通断装置的参数关系可以确定面板中各个按键可相应进行控制的通断装置以及各个按键的开启或关闭可控制相应的通断装置闭合或断开,结合所述通断装置与受控于所述智能控制面板的物联网负载设备之间的连接关系,形成对所述通断装置关联的负载设备的不同控制模式。The intelligent control panel determines the control relationship between the button and the on-off device according to the parameter relationship between the button and the on-off device, and forms different control modes for the load device associated with the on-off device according to the control relationship. The control relationship between the button and the on-off device means that the on-off device that can be controlled by each button in the panel can be determined according to the parameter relationship between the button and the on-off device, and the opening or closing of each button can control the corresponding on-off device to close or open, and the connection relationship between the on-off device and the IoT load device controlled by the intelligent control panel is combined to form different control modes for the load device associated with the on-off device.

本申请上述实施例中,智能控制面板包括可拆卸连接的底座和面板,通过获取底座中包含的通断装置的数量,确定所述面板包括的按键与通断装置的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式,如此,通过配置参数关系来定义按键与通断装置的对应关系,使得包含不同数量按键的面板与不同路数通断装置的底板均可进行组配,从而所述智能控制面板的配置更具有通用性,可避免出现错误的安装组合,并能适用于各种外接不同物联网负载设备回路的应用场景,当外接不同数量的物联网负载设备回路时可以方便更改按键与通断装置的参数关系来完成升级,无需针对各种应用场景分别开发不同智能控制面板产品,有效地降低了成本。In the above embodiment of the present application, the intelligent control panel includes a detachably connected base and panel. By obtaining the number of on-off devices included in the base, the parameter relationship between the buttons included in the panel and the on-off devices is determined, and the control relationship between the buttons and the on-off devices is determined according to the parameter relationship. Different control modes for load devices associated with the on-off devices are formed according to the control relationship. In this way, the correspondence between the buttons and the on-off devices is defined by configuring the parameter relationship, so that panels containing different numbers of buttons and base plates with different numbers of on-off devices can be assembled, so that the configuration of the intelligent control panel is more universal, which can avoid incorrect installation combinations and can be applicable to various application scenarios of external IoT load device loops. When different numbers of IoT load device loops are connected, the parameter relationship between the buttons and the on-off devices can be conveniently changed to complete the upgrade. There is no need to develop different intelligent control panel products for various application scenarios, which effectively reduces costs.

在一些实施例中,所述面板为触控面板,所述确定所述面板包括的按键与所述通断装置的参数关系之前,还包括:In some embodiments, the panel is a touch panel, and before determining the parameter relationship between the buttons included in the panel and the on-off device, the method further includes:

根据所述通断装置的数量在所述面板上形成分别与所述通断装置对应的虚拟按键。Virtual buttons respectively corresponding to the on-off devices are formed on the panel according to the number of the on-off devices.

包含任意数量的通断装置的底座可与触控面板组配,组配完成的智能控制面板接入网络后,触控面板获取底座中包含的通断装置的数量,根据与其组配的底座中包含的通断装置的数量在面板上形成相应个数的虚拟按键。其中,触控面板还将底座中包含的通断装置的数量发送给对应的终端设备,以供终端设备在实施智能控制面板的多模式配置方法的应用程序的对应配置页面上形成相应个数的虚拟按键。A base containing any number of on-off devices can be assembled with a touch panel. After the assembled intelligent control panel is connected to the network, the touch panel obtains the number of on-off devices contained in the base, and forms a corresponding number of virtual keys on the panel according to the number of on-off devices contained in the base assembled with it. The touch panel also sends the number of on-off devices contained in the base to the corresponding terminal device, so that the terminal device forms a corresponding number of virtual keys on the corresponding configuration page of the application program implementing the multi-mode configuration method of the intelligent control panel.

触控面板根据当前与其组配的底座中包含的通断装置的数量,形成相应个数的虚拟按键,后续再配置各个按键与通断装置之间的参数关系,从而触控面板与任意数量的通断装置的底座均可组配,以提高智能控制面板的通用性。The touch panel forms a corresponding number of virtual buttons according to the number of on-off devices contained in the base currently assembled with it, and then configures the parameter relationship between each button and the on-off device, so that the touch panel can be assembled with bases of any number of on-off devices to improve the versatility of the intelligent control panel.

在一些实施例中,所述确定所述面板包括的按键与所述通断装置的参数关系,包括:In some embodiments, determining the parameter relationship between the buttons included in the panel and the on-off device includes:

将所述通断装置的数量发送给终端设备,由所述终端设备根据所述通断装置的数量形成匹配的按键界面;Sending the number of the on-off devices to a terminal device, and the terminal device forming a matching key interface according to the number of the on-off devices;

接收所述终端设备基于所述按键界面获取到的按键与所述通断装置的配置参数;Receiving configuration parameters of the buttons and the on-off device acquired by the terminal device based on the button interface;

根据所述配置参数确定所述按键与所述通断装置的参数关系。A parameter relationship between the button and the on-off device is determined according to the configuration parameters.

智能控制面板将通断装置的数量发送给终端设备,由所述终端设备根据所述通断装置的数量形成匹配的按键界面,用户通过终端设备上的按键界面对按键和通断装置进行配置操作,所述配置操作可以设置各个按键与通断装置之间的对应状态参数,以及针对按键与通断装置之间一对多对应状态的情况下设置按键与通断装置的动作状态参数,终端设备基于用户的配置操作得到按键与所述通断装置的配置参数发送给智能控制面板,由智能控制面板根据所述配置参数确定按键与通断装置的参数关系。其中,智能控制面板可以通过面板中包含的无线通信模块与终端设备进行通信,实现智能控制面板与终端设备之间的数据交互,如通过面板获取底座中包含的通断装置的数量发送给终端设备,并接收终端设备发送的按键与通断装置的配置参数。The intelligent control panel sends the number of on-off devices to the terminal device, and the terminal device forms a matching key interface according to the number of on-off devices. The user configures the keys and on-off devices through the key interface on the terminal device. The configuration operation can set the corresponding state parameters between each key and the on-off device, and set the action state parameters of the keys and on-off devices in the case of a one-to-many correspondence between the keys and the on-off devices. The terminal device obtains the configuration parameters of the keys and the on-off devices based on the user's configuration operation and sends them to the intelligent control panel, and the intelligent control panel determines the parameter relationship between the keys and the on-off devices according to the configuration parameters. Among them, the intelligent control panel can communicate with the terminal device through the wireless communication module included in the panel to realize data interaction between the intelligent control panel and the terminal device, such as obtaining the number of on-off devices included in the base through the panel and sending it to the terminal device, and receiving the configuration parameters of the keys and on-off devices sent by the terminal device.

其中,当面板为触控面板时,触控面板根据底座中包含的通断装置的数量形成相应个数的虚拟按键,触控面板中按键数量、以及终端设备中按键界面中虚拟按键数量均与通断装置的数量保持相同,终端设备的按键界面中虚拟按键相应与智能控制面板中触控面板中虚拟按键对应。当面板为按键面板时,按键面板还将包含的按键数量发送给终端设备,终端设备根据按键面板包含的按键数量以及所述通断装置的数量形成匹配的按键界面,终端设备基于所述按键界面接收用户对按键与通断装置的配置操作,根据配置操作得到配置参数发送给智能控制面板,智能控制面板根据所述配置参数确定所述按键与所述通断装置的参数关系。Among them, when the panel is a touch panel, the touch panel forms a corresponding number of virtual keys according to the number of on-off devices contained in the base, the number of keys in the touch panel and the number of virtual keys in the key interface in the terminal device are the same as the number of on-off devices, and the virtual keys in the key interface of the terminal device correspond to the virtual keys in the touch panel in the intelligent control panel. When the panel is a key panel, the key panel also sends the number of keys contained to the terminal device, and the terminal device forms a matching key interface according to the number of keys contained in the key panel and the number of the on-off devices. The terminal device receives the user's configuration operation on the keys and the on-off devices based on the key interface, obtains configuration parameters according to the configuration operation and sends them to the intelligent control panel, and the intelligent control panel determines the parameter relationship between the keys and the on-off devices according to the configuration parameters.

智能控制面板可由包含任意数量的通断装置的底座与不同类型的面板组配而成,组配完成的智能控制面板入网后,可以通过与终端设备进行交互,完成对面板中按键与底座中通断装置的逻辑关系的配置,通过配置形成面板的按键与底座中通断装置的不同控制关系,进而形成智能控制面板对所外接的物联网负载设备回路的不同控制模式,提高了智能控制面板的通用性。The intelligent control panel can be composed of a base containing any number of on-off devices and different types of panels. After the assembled intelligent control panel is connected to the network, it can interact with the terminal equipment to complete the configuration of the logical relationship between the buttons in the panel and the on-off devices in the base. By configuring different control relationships between the buttons of the panel and the on-off devices in the base, different control modes of the intelligent control panel for the external IoT load device circuit are formed, thereby improving the versatility of the intelligent control panel.

在一些实施例中,所述面板为按键面板,所述确定所述面板包括的按键与所述通断装置的参数关系,还包括:In some embodiments, the panel is a button panel, and determining the parameter relationship between the buttons included in the panel and the on-off device further includes:

将包含的实体按键的数量发送给终端设备;Sending the number of included physical keys to the terminal device;

所述接收所述终端设备基于所述按键界面获取到的按键与所述通断装置的配置参数,根据所述配置参数确定所述按键与所述通断装置的参数关系,包括:The receiving the configuration parameters of the button and the on-off device acquired by the terminal device based on the button interface, and determining the parameter relationship between the button and the on-off device according to the configuration parameters, includes:

接收所述终端设备基于所述按键界面获取到的按键与所述通断装置的配置参数,根据所述配置参数确定所述面板包括的有效实体按键的数量以及所述有效实体按键与所述通断装置的参数关系。Receive the configuration parameters of the buttons and the on-off device acquired by the terminal device based on the button interface, and determine the number of valid physical buttons included in the panel and the parameter relationship between the valid physical buttons and the on-off device according to the configuration parameters.

智能控制面板可以由包含任意数量的通断装置的底座与不同类型的按键面板组配,当底座中包含的通断装置的数量与按键面板中包含的按键数量不一致时,终端设备根据按键数量和通断装置数量来形成对应的按键界面。有效实体按键的数量是指用户通过终端设备上的按键界面设置实际与通断装置之间建立对应关系的按键的数量。以通断装置为2,按键面板中按键数量为3为例,终端设备形成的按键界面中虚拟按键数量为3,用户可以通过该按键界面中配置其中一个或两个虚拟按键与两个通断装置的对应状态和动作状态,如配置虚拟按键1与通断装置1对应,虚拟按键2与通断装置2对应,根据所述配置操作可以相应确定面板的按键1和按键2与通断装置的参数关系,其中所述按键1和按键2为有效实体按键。The intelligent control panel can be composed of a base containing any number of on-off devices and a combination of different types of key panels. When the number of on-off devices contained in the base is inconsistent with the number of keys contained in the key panel, the terminal device forms a corresponding key interface based on the number of keys and the number of on-off devices. The number of valid physical keys refers to the number of keys that the user sets through the key interface on the terminal device to establish a corresponding relationship with the on-off devices. Taking the on-off devices as 2 and the number of keys in the key panel as 3 as an example, the number of virtual keys in the key interface formed by the terminal device is 3. The user can configure the corresponding state and action state of one or two virtual keys with the two on-off devices through the key interface, such as configuring virtual key 1 to correspond to on-off device 1 and virtual key 2 to correspond to on-off device 2. According to the configuration operation, the parameter relationship between key 1 and key 2 of the panel and the on-off devices can be determined accordingly, where key 1 and key 2 are valid physical keys.

智能控制面板将底座中通断装置的数量以及按键面板中按键数量发送给终端设备,由所述终端设备形成匹配的按键界面,用户通过终端设备上的按键界面对按键和通断装置进行配置操作,所述配置操作可以设置各个按键与通断装置之间的对应状态参数,以及针对按键与通断装置之间一对多对应状态的情况下设置按键与通断装置的动作状态参数,终端设备基于用户的配置操作得到按键与所述通断装置的配置参数发送给智能控制面板,由智能控制面板根据所述配置参数确定按键与通断装置的参数关系。智能控制面板可由包含任意数量的通断装置的底座与包含任意个数按键的按键面板组配而成,组配完成的智能控制面板入网后,可以通过与终端设备进行交互,完成对面板中按键与底座中通断装置的逻辑关系的配置,通过配置形成面板的按键与底座中通断装置的不同控制关系,进而形成智能控制面板对所外接的物联网负载设备回路的不同控制模式,提高了智能控制面板的通用性。The intelligent control panel sends the number of on-off devices in the base and the number of buttons in the button panel to the terminal device, and the terminal device forms a matching button interface. The user configures the buttons and the on-off devices through the button interface on the terminal device. The configuration operation can set the corresponding state parameters between each button and the on-off device, and set the action state parameters of the buttons and the on-off devices in the case of a one-to-many correspondence between the buttons and the on-off devices. The terminal device obtains the configuration parameters of the buttons and the on-off devices based on the user's configuration operation and sends them to the intelligent control panel, and the intelligent control panel determines the parameter relationship between the buttons and the on-off devices according to the configuration parameters. The intelligent control panel can be composed of a base containing any number of on-off devices and a button panel containing any number of buttons. After the assembled intelligent control panel is connected to the network, it can interact with the terminal device to complete the configuration of the logical relationship between the buttons in the panel and the on-off devices in the base. Different control relationships between the buttons on the panel and the on-off devices in the base are formed by configuration, thereby forming different control modes of the intelligent control panel for the external Internet of Things load device circuit, thereby improving the versatility of the intelligent control panel.

在一些实施例中,所述根据所述配置参数确定所述按键与所述通断装置的参数关系,包括:In some embodiments, determining the parameter relationship between the button and the on-off device according to the configuration parameter includes:

在确定当前配置状态为初始状态的情况下,所述面板根据包括的实体按键的数量、及预设的不同按键数量与所述通断装置的初始配置参数,确定所述按键与所述通断装置的参数关系;When it is determined that the current configuration state is the initial state, the panel determines the parameter relationship between the button and the on-off device according to the number of physical buttons included, the preset number of different buttons and the initial configuration parameters of the on-off device;

在确定当前配置状态为更新状态的情况下,所述面板根据所述终端设备发送的配置参数确定所述按键与所述通断装置的参数关系。When it is determined that the current configuration state is an update state, the panel determines a parameter relationship between the button and the on-off device according to the configuration parameters sent by the terminal device.

其中,初始状态是指智能控制面板组装完成后,未进行配置之前或配置后恢复到出厂设置时的状态。更新状态是指智能控制面板组装完成后,用户通过终端设备对按键与通断装置的对应状态和动作状态进行了配置后的状态。智能控制面板上电后,判断当前用户是否对按键与通断装置之间的参数关系进行过配置,若智能控制面板组装完成后,未进行配置之前或进行过配置后又恢复到出厂设置时,也即当前配置状态为初始状态,则优先依据与所述通断装置数量对应的初始配置参数,采用默认的参数关系来确定所述按键与通断装置的控制关系,根据所述控制关系形成对与所述通断装置关联的负载设备的不同控制模式。智能控制面板组装完成后,对按键与通断装置的对应状态和动作状态进行了配置的前提下,也即当前配置状态为更新状态,则优先依据配置后的更新配置参数来确定按键与通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。Among them, the initial state refers to the state when the intelligent control panel is restored to the factory settings before or after configuration after assembly. The updated state refers to the state after the intelligent control panel is assembled and the user configures the corresponding state and action state of the button and the on-off device through the terminal device. After the intelligent control panel is powered on, it is determined whether the current user has configured the parameter relationship between the button and the on-off device. If the intelligent control panel is assembled and restored to the factory settings before or after configuration, that is, the current configuration state is the initial state, then the control relationship between the button and the on-off device is determined based on the initial configuration parameters corresponding to the number of on-off devices, and the default parameter relationship is used to form different control modes for the load device associated with the on-off device according to the control relationship. After the intelligent control panel is assembled, the corresponding state and action state of the button and the on-off device are configured, that is, the current configuration state is the updated state, then the control relationship between the button and the on-off device is determined based on the configured updated configuration parameters, and different control modes for the load device associated with the on-off device are formed according to the control relationship.

作为一个可选示例,与所述通断装置数量对应的初始配置参数、以及对按键与通断装置的对应状态和动作状态进行配置后得到的更新配置参数可以如下表一所示:As an optional example, the initial configuration parameters corresponding to the number of the on-off devices and the updated configuration parameters obtained after configuring the corresponding states and action states of the buttons and the on-off devices may be shown in the following Table 1:

表一Table 1

通过设置与不同通断装置数量对应的初始配置参数,可以确保智能控制面板选用不同数量的通断装置的底座与不同类型的面板组配后,均能实现对外接的物联网负载设备的控制,避免错误安装组合的情况出现;而支持对按键与通断装置的对应状态和动作状态进行更新,可以实现满足用户不同需求的控制模式,满足用户不断增长的高端需求,增加用户体验,且针对各种场景无需分别开发不同产品,适用性更强。By setting the initial configuration parameters corresponding to different numbers of on-off devices, it can be ensured that the intelligent control panel can control the external IoT load equipment after selecting bases with different numbers of on-off devices and combining them with different types of panels, thereby avoiding the occurrence of incorrect installation combinations; and supporting the updating of the corresponding status and action status of buttons and on-off devices, it can realize control modes that meet the different needs of users, meet the users' growing high-end needs, increase user experience, and there is no need to develop different products for various scenarios, so it is more applicable.

可选的,所述智能控制面板的多模式配置方法,还包括:Optionally, the multi-mode configuration method of the intelligent control panel further includes:

接收所述终端设备发送的基于所述按键的操作指令,或,所述面板获取针对所述按键的操作指令;Receiving an operation instruction based on the button sent by the terminal device, or the panel acquiring the operation instruction for the button;

根据所述操作指令和所述控制关系控制所述通断装置关联的负载设备执行相应动作。According to the operation instruction and the control relationship, the load device associated with the on-off device is controlled to perform a corresponding action.

用户可以通过终端设备对智能控制面板对应外接的物联网负载设备进行控制。终端设备检测用户对按键界面中按键的触控操作,基于对所述按键的触控操作向智能控制面板发送操作指令,智能控制面板根据所述操作指令以及按键与通断装置的控制关系,控制相应的通断装置执行闭合/断开动作,从而相应实现对所述通断装置对应连接的物联网负载设备执行相应动作,如控制所述物联网负载设备开启或关闭、或控制所述物联网负载设备的电机正转或反转等。可选的,用户也可以直接对智能控制面板的面板中按键进行操作,来对智能控制面板对应外接的物联网负载设备进行控制。触控面板检测用户对虚拟按键的触控操作,或按键面板检测用户对机械按键的按压操作或拨动操作,基于对所述面板中按键的操作形成操作指令,智能控制面板根据所述操作指令以及按键与通断装置的控制关系,控制相应的通断装置执行闭合/断开动作,从而相应实现对所述通断装置对应连接的物联网负载设备执行相应动作。The user can control the IoT load device connected to the smart control panel through the terminal device. The terminal device detects the user's touch operation on the button in the button interface, and sends an operation instruction to the smart control panel based on the touch operation on the button. The smart control panel controls the corresponding on-off device to perform a closing/opening action according to the operation instruction and the control relationship between the button and the on-off device, thereby correspondingly implementing the execution of corresponding actions on the IoT load device connected to the on-off device, such as controlling the IoT load device to turn on or off, or controlling the forward or reverse rotation of the motor of the IoT load device. Optionally, the user can also directly operate the buttons in the panel of the smart control panel to control the IoT load device connected to the smart control panel. The touch panel detects the user's touch operation on the virtual button, or the button panel detects the user's pressing operation or toggling operation on the mechanical button, and forms an operation instruction based on the operation on the button in the panel. The smart control panel controls the corresponding on-off device to perform a closing/opening action according to the operation instruction and the control relationship between the button and the on-off device, thereby correspondingly implementing the execution of corresponding actions on the IoT load device connected to the on-off device.

智能控制面板可由包含任意数量的通断装置的底座与包含任意个数按键的按键面板组配而成,组配完成的智能控制面板入网后,可以通过与终端设备进行交互,完成对面板中按键与底座中通断装置的逻辑关系的配置,通过配置形成面板的按键与底座中通断装置的不同控制关系,用户可以操作终端设备或智能控制面板本地的面板来控制智能控制面板对所外接的物联网负载设备回路的不同控制模式,提高了智能控制面板的通用性,满足用户不断增长的高端使用需求。The intelligent control panel can be composed of a base containing any number of on-off devices and a button panel containing any number of buttons. After the assembled intelligent control panel is connected to the network, it can interact with the terminal device to complete the configuration of the logical relationship between the buttons in the panel and the on-off devices in the base. By configuring different control relationships between the buttons on the panel and the on-off devices in the base, the user can operate the terminal device or the local panel of the intelligent control panel to control the different control modes of the intelligent control panel for the external IoT load device circuit, thereby improving the versatility of the intelligent control panel and meeting the user's growing high-end usage needs.

在一些实施例中,所述根据所述操作指令和所述控制关系控制所述通断装置关联的负载设备执行相应动作,包括:In some embodiments, controlling the load device associated with the on-off device to perform a corresponding action according to the operation instruction and the control relationship includes:

在所述控制模式为单开控制模式的情况下,所述按键与所述通断装置之间的控制关系为一一对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备执行相应动作;When the control mode is a single-open control mode, the control relationship between the button and the on-off device is a one-to-one correspondence, and the load device associated with the corresponding on-off device is controlled to perform a corresponding action according to the operation instruction and the control relationship;

在所述控制模式为双开控制模式的情况下,所述按键与所述通断装置之间的控制关系为一一对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备执行相应动作;或,所述按键与所述通断装置之间的控制关系为一对二同步对应关系,根据所述操作指令和所述控制关系控制对应的通断装置关联的负载设备同时执行相应动作;或,所述按键与所述通断装置之间的控制关系为一对二互斥对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备分别执行相反动作;In the case where the control mode is a double-open control mode, the control relationship between the button and the on-off device is a one-to-one correspondence, and the load device associated with the corresponding on-off device is controlled to perform a corresponding action according to the operation instruction and the control relationship; or, the control relationship between the button and the on-off device is a one-to-two synchronous correspondence, and the load device associated with the corresponding on-off device is controlled to perform a corresponding action at the same time according to the operation instruction and the control relationship; or, the control relationship between the button and the on-off device is a one-to-two mutually exclusive correspondence, and the load device associated with the corresponding on-off device is controlled to perform opposite actions respectively according to the operation instruction and the control relationship;

在所述控制模式为三开控制模式的情况下,所述按键与所述通断装置之间的控制关系为一一对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备执行相应动作;或,所述按键与所述通断装置之间的控制关系为一对多同步对应关系,根据所述操作指令和所述控制关系控制对应的通断装置关联的负载设备同时执行相应动作;或,所述按键与所述通断装置之间的控制关系为一对多互斥对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备分别执行相反动作。When the control mode is a three-open control mode, the control relationship between the button and the on-off device is a one-to-one correspondence, and the load device associated with the corresponding on-off device is controlled to perform a corresponding action according to the operation instruction and the control relationship; or, the control relationship between the button and the on-off device is a one-to-many synchronous correspondence, and the load device associated with the corresponding on-off device is controlled to perform a corresponding action at the same time according to the operation instruction and the control relationship; or, the control relationship between the button and the on-off device is a one-to-many mutually exclusive correspondence, and the load device associated with the corresponding on-off device is controlled to perform opposite actions respectively according to the operation instruction and the control relationship.

其中,如图5中5-1所示,所述按键与通断装置之间的控制关系为一一对应关系是指,智能控制面板中面板包含的按键数量与通断装置数量相同,且一个按键与一个通断装置对应,各个按键的开启或关闭控制对应的通断装置闭合或断开。如图5中5-2所示,所述按键与通断装置之间的控制关系为一对多同步对应关系是指,所述智能控制面板的面板中一个按键同时与多个通断装置对应,所述按键的开启或关闭控制对应的多个通断装置闭合或断开。如图5中5-3所示,所述按键与通断装置之间的控制关系为一对多互斥对应关系是指,智能控制面板的面板中一个按键同时与多个通断装置对应,所述按键的开启控制对应的多个通断装置中部分通断装置闭合时、另一部分通断装置断开,反之所述按键的关闭控制对应的多个通断装置中部分通断装置断开时、另一部分通断装置闭合。例如,按键1在控制通断装置1开启时,同时会控制通断装置3关闭;按键3在控制通断装置3开启时,同时会控制通断装置1关闭。Among them, as shown in 5-1 in FIG. 5, the control relationship between the button and the on-off device is a one-to-one correspondence, which means that the number of buttons contained in the panel of the intelligent control panel is the same as the number of on-off devices, and one button corresponds to one on-off device, and the opening or closing of each button controls the corresponding on-off device to be closed or disconnected. As shown in 5-2 in FIG. 5, the control relationship between the button and the on-off device is a one-to-many synchronous correspondence, which means that one button in the panel of the intelligent control panel corresponds to multiple on-off devices at the same time, and the opening or closing of the button controls the corresponding multiple on-off devices to be closed or disconnected. As shown in 5-3 in FIG. 5, the control relationship between the button and the on-off device is a one-to-many mutually exclusive correspondence, which means that one button in the panel of the intelligent control panel corresponds to multiple on-off devices at the same time, when the opening of the button controls the closing of some of the corresponding multiple on-off devices, the other part of the on-off devices is disconnected, and vice versa, when the closing of the button controls the disconnection of some of the corresponding multiple on-off devices, the other part of the on-off devices is closed. For example, when button 1 controls the on-off device 1 to be turned on, it will also control the on-off device 3 to be turned off; when button 3 controls the on-off device 3 to be turned on, it will also control the on-off device 1 to be turned off.

在一个可选的具体示例中,单开控制模式下,按键与通断装置之间的控制关系、以及控制负载设备执行相应动作的关系可以如下表2-1所示:In an optional specific example, in the single-open control mode, the control relationship between the button and the on-off device, and the relationship between controlling the load device to perform the corresponding action can be shown in the following Table 2-1:

表2-1Table 2-1

在一个可选的具体示例中,双开控制模式下,按键与通断装置之间的控制关系、以及控制负载设备执行相应动作的关系可以如下表2-2所示:In an optional specific example, in the dual-open control mode, the control relationship between the button and the on-off device, and the relationship between controlling the load device to perform the corresponding action can be shown in the following Table 2-2:

表2-2Table 2-2

在一个可选的具体示例中,三开控制模式下,按键与通断装置之间的控制关系、以及控制负载设备执行相应动作的关系可以如下表2-3所示:In an optional specific example, in the three-open control mode, the control relationship between the button and the on-off device, and the relationship between controlling the load device to perform the corresponding action can be shown in the following Table 2-3:

表2-3Table 2-3

其中,不同控制模式的配置与智能控制面板中底座包含的通断装置的数量有关,当底座中包含的通断装置的数量仅包括一个时,则控制模式仅支持单开控制模式,不支持按键与通断装置之间一对多同步对应关系、或一对多互斥对应关系。当底座中包含的通断装置的数量为两个时,则控制模式可支持单开控制模式,也支持双开控制模式,在双开控制模式下,可以配置一个按键动作实现两个通断装置同时相同动作或者配置一个按键动作实现两个通断装置保持反向动作。当底座中包含的通断装置的数量为三个时,则控制模式可支持单开控制模式、双开控制模式或三开控制模式,在三开控制模式下,可以配置一个按键动作实现三个通断装置同时相同动作或配置一个按键动作实现两个通断装置与另一个通断装置保持反向动作。而每一通断装置对应与一个或多个负载设备回路连接,每一通断装置动作相应控制对应的一个或多个负载设备回路中的负载设备执行对应动作,如控制对应负载设备开启或关闭、控制对应负载设备的阀门打开或关闭、控制对应负载设备的电机正转或反转等。Among them, the configuration of different control modes is related to the number of on-off devices contained in the base of the intelligent control panel. When the number of on-off devices contained in the base includes only one, the control mode only supports the single-open control mode, and does not support the one-to-many synchronous correspondence between the button and the on-off device, or the one-to-many mutually exclusive correspondence. When the number of on-off devices contained in the base is two, the control mode can support the single-open control mode and the double-open control mode. In the double-open control mode, one button action can be configured to realize the same action of the two on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action. When the number of on-off devices contained in the base is three, the control mode can support the single-open control mode, the double-open control mode or the three-open control mode. In the three-open control mode, one button action can be configured to realize the same action of the three on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action with another on-off device. Each on-off device is connected to one or more load device circuits, and each on-off device action controls the corresponding load devices in the one or more load device circuits to perform corresponding actions, such as controlling the corresponding load device to open or close, controlling the valve of the corresponding load device to open or close, controlling the motor of the corresponding load device to rotate forward or reverse, etc.

请参阅图6,本申请实施例另一方面,还提供一种智能控制面板的多模式配置方法,可应用于图1所示的终端设备,包括但不限于S201、S203和S205,具体介绍如下:Please refer to FIG6 . In another aspect, the present application embodiment further provides a multi-mode configuration method for an intelligent control panel, which can be applied to the terminal device shown in FIG1 , including but not limited to S201 , S203 and S205 , and is specifically described as follows:

S201,接收所述智能控制面板发送的所述底座包括的通断装置的数量,根据所述通断装置的数量生成匹配的按键界面。S201, receiving the number of the on-off devices included in the base sent by the intelligent control panel, and generating a matching button interface according to the number of the on-off devices.

组配完成的智能控制面板接入网络后,智能控制面板获取底座包含的通断装置的数量,并将底座包含的通断装置的数量发送给对应的终端设备。终端设备接收智能控制面板发送的通断装置的数量,根据所述通断装置的数量生成匹配的按键界面。可选的,所述智能控制面板中底座可以与触控面板组配,也可以是与按键面板组配,当面板为按键面板时,智能控制面板还包括将按键面板包含的按键数量发送给终端设备,终端设备根据按键数量和通断装置的数量生成匹配的按键界面。After the assembled intelligent control panel is connected to the network, the intelligent control panel obtains the number of on-off devices contained in the base, and sends the number of on-off devices contained in the base to the corresponding terminal device. The terminal device receives the number of on-off devices sent by the intelligent control panel, and generates a matching key interface according to the number of on-off devices. Optionally, the base in the intelligent control panel can be assembled with a touch panel or a key panel. When the panel is a key panel, the intelligent control panel also includes sending the number of buttons contained in the key panel to the terminal device, and the terminal device generates a matching key interface according to the number of buttons and the number of on-off devices.

S203,基于所述按键界面获取按键与所述通断装置的配置参数。S203: Acquire configuration parameters of the buttons and the on-off device based on the button interface.

终端设备检测用户基于所述按键界面进行配置操作,获取按键与通断装置的配置参数。所述配置参数包括按键与通断装置的对应状态以及按键与通断装置的动作状态。其中,根据通断装置的数量为一个或者多个,可配置按键与通断装置的对应状态为一对一关系或者一对多关系;当按键与通断装置的对应状态为一对一关系时,每一按键控制与其关联的通断装置执行相应动作,当按键与通断装置的对应状态为一对多关系时,按键与通断装置的动作状态可以为同向动作或互斥动作。同向动作是指多个通断装置根据与其关联的同一个通断装置的闭合或断开而执行相同动作,互斥动作是指多个通断装置根据与其关联的同一个通断装置的闭合或断开保持反向动作。The terminal device detects that the user performs configuration operations based on the button interface, and obtains configuration parameters of the button and the on-off device. The configuration parameters include the corresponding state of the button and the on-off device and the action state of the button and the on-off device. According to the number of on-off devices being one or more, the corresponding state of the button and the on-off device can be configured to be a one-to-one relationship or a one-to-many relationship; when the corresponding state of the button and the on-off device is a one-to-one relationship, each button controls the on-off device associated with it to perform a corresponding action, and when the corresponding state of the button and the on-off device is a one-to-many relationship, the action state of the button and the on-off device can be a same-direction action or a mutually exclusive action. Same-direction action means that multiple on-off devices perform the same action according to the closing or opening of the same on-off device associated with them, and mutually exclusive action means that multiple on-off devices maintain reverse action according to the closing or opening of the same on-off device associated with them.

S205,将所述配置参数发送给所述智能控制面板,由所述智能控制面板根据所述配置参数确定所述按键与所述通断装置的控制关系,以形成对所述通断装置关联的负载设备的不同控制模式。S205, sending the configuration parameters to the intelligent control panel, and the intelligent control panel determining the control relationship between the button and the on-off device according to the configuration parameters to form different control modes for the load equipment associated with the on-off device.

终端设备根据用户的配置操作得到按键与通断装置的配置参数并发送给智能控制面板,由所述智能控制面板根据所述配置参数确定所述按键与所述通断装置的控制关系,以形成对所述通断装置关联的负载设备的不同控制模式。其中,所述按键与通断装置的控制关系是指,根据按键与通断装置的参数关系可以确定面板中各个按键可相应进行控制的通断装置以及各个按键的开启或关闭可控制相应的通断装置闭合或断开,结合所述通断装置与受控于所述智能控制面板的物联网负载设备之间的连接关系,形成对所述通断装置关联的负载设备的不同控制模式。The terminal device obtains the configuration parameters of the button and the on-off device according to the configuration operation of the user and sends them to the intelligent control panel, and the intelligent control panel determines the control relationship between the button and the on-off device according to the configuration parameters to form different control modes for the load device associated with the on-off device. Among them, the control relationship between the button and the on-off device means that the on-off device that can be controlled by each button in the panel can be determined according to the parameter relationship between the button and the on-off device, and the opening or closing of each button can control the corresponding on-off device to be closed or opened, combined with the connection relationship between the on-off device and the IoT load device controlled by the intelligent control panel, to form different control modes for the load device associated with the on-off device.

本申请上述实施例中,终端设备接收智能控制面板发送的所述底座包括的通断装置的数量,根据所述通断装置的数量生成匹配的按键界面;基于所述按键界面获取按键与所述通断装置的配置参数;将所述配置参数发送给所述智能控制面板,由所述智能控制面板根据所述配置参数确定所述按键与所述通断装置的控制关系,以形成对所述通断装置关联的负载设备的不同控制模式;如此,通过终端设备基于通断装置的数量对按键与通断装置之间的参数关系进行配置,通过配置参数关系来定义按键与通断装置的对应关系,包含不同数量按键的面板与不同路数通断装置的底板均可进行组配,使得智能控制面板的配置更具有通用性,可避免出现错误的安装组合,并能适用于各种外接不同负载设备回路的应用场景,方便根据外接不同数量的负载设备回路时更改按键与通断装置的参数关系来完成升级,无需针对各种应用场景分别开发不同智能控制面板产品,有效地降低了成本。In the above embodiment of the present application, the terminal device receives the number of on-off devices included in the base sent by the intelligent control panel, and generates a matching button interface according to the number of on-off devices; obtains the configuration parameters of the button and the on-off device based on the button interface; sends the configuration parameters to the intelligent control panel, and the intelligent control panel determines the control relationship between the button and the on-off device according to the configuration parameters to form different control modes for the load device associated with the on-off device; in this way, the terminal device configures the parameter relationship between the button and the on-off device based on the number of on-off devices, and defines the corresponding relationship between the button and the on-off device through the configuration parameter relationship. Panels containing different numbers of buttons and base plates with different numbers of on-off devices can be assembled, so that the configuration of the intelligent control panel is more universal, which can avoid incorrect installation combinations, and can be applicable to various application scenarios of externally connected load device loops, and it is convenient to change the parameter relationship between the button and the on-off device when different numbers of load device loops are connected to complete the upgrade. There is no need to develop different intelligent control panel products for various application scenarios, which effectively reduces costs.

在一些实施例中,所述智能控制面板的多模式配置方法还包括:In some embodiments, the multi-mode configuration method of the intelligent control panel further includes:

接收所述智能控制面板发送的所述面板包括的实体按键的数量;Receiving the number of physical buttons included in the panel sent by the intelligent control panel;

所述基于所述按键界面获取按键与所述通断装置的配置参数,包括:The acquiring the configuration parameters of the button and the on-off device based on the button interface includes:

基于所述按键界面获取选定的实体按键及所述实体按键与所述通断装置的参数关系,得到按键与所述通断装置的配置参数。Based on the button interface, the selected physical button and the parameter relationship between the physical button and the on-off device are acquired to obtain the configuration parameters of the button and the on-off device.

智能控制面板可以由包含任意数量的通断装置的底座与不同类型的按键面板组配,智能控制面板将底座中包含的通断装置的数量与按键面板中包含的按键数量均发送给终端设备,终端设备根据按键数量和通断装置数量来形成对应的按键界面。有效实体按键的数量是指用户通过终端设备上的按键界面设置实际与通断装置之间建立对应关系的按键的数量。以通断装置为2,按键面板中按键数量为3为例,终端设备形成的按键界面中虚拟按键数量为3,用户可以通过该按键界面中配置其中一个或两个虚拟按键与两个通断装置的对应状态和动作状态,如配置虚拟按键1与通断装置1对应,虚拟按键2与通断装置2对应,根据所述配置操作可以相应确定面板的按键1和按键2与通断装置的参数关系,其中所述按键1和按键2为有效实体按键。The intelligent control panel can be composed of a base containing any number of on-off devices and a combination of different types of key panels. The intelligent control panel sends the number of on-off devices contained in the base and the number of keys contained in the key panel to the terminal device, and the terminal device forms a corresponding key interface based on the number of keys and the number of on-off devices. The number of valid physical keys refers to the number of keys that the user sets through the key interface on the terminal device to establish a corresponding relationship with the on-off devices. Taking the on-off devices as 2 and the number of keys in the key panel as 3 as an example, the number of virtual keys in the key interface formed by the terminal device is 3. The user can configure the corresponding state and action state of one or two virtual keys with the two on-off devices through the key interface, such as configuring virtual key 1 to correspond to on-off device 1 and virtual key 2 to correspond to on-off device 2. According to the configuration operation, the parameter relationship between key 1 and key 2 of the panel and the on-off devices can be determined accordingly, where key 1 and key 2 are valid physical keys.

终端设备根据智能控制面板中通断装置的数量以及按键数量形成匹配的按键界面,用户通过终端设备上的按键界面对按键和通断装置进行配置操作,所述配置操作可以设置各个按键与通断装置之间的对应状态参数,以及针对按键与通断装置之间一对多对应状态的情况下设置按键与通断装置的动作状态参数,终端设备基于用户的配置操作得到按键与所述通断装置的配置参数发送给智能控制面板,由智能控制面板根据所述配置参数确定按键与通断装置的参数关系。智能控制面板可由包含任意数量的通断装置的底座与包含任意个数按键的按键面板组配而成,组配完成的智能控制面板入网后,可以通过与终端设备进行交互,完成对面板中按键与底座中通断装置的逻辑关系的配置,通过配置形成面板的按键与底座中通断装置的不同控制关系,进而形成智能控制面板对所外接的物联网负载设备回路的不同控制模式,提高了该智能控制面板的通用性。The terminal device forms a matching key interface according to the number of on-off devices and the number of buttons in the intelligent control panel. The user configures the buttons and the on-off devices through the key interface on the terminal device. The configuration operation can set the corresponding state parameters between each button and the on-off device, and set the action state parameters of the buttons and the on-off devices in the case of a one-to-many correspondence between the buttons and the on-off devices. The terminal device obtains the configuration parameters of the buttons and the on-off devices based on the user's configuration operation and sends them to the intelligent control panel, and the intelligent control panel determines the parameter relationship between the buttons and the on-off devices according to the configuration parameters. The intelligent control panel can be composed of a base containing any number of on-off devices and a key panel containing any number of buttons. After the assembled intelligent control panel is connected to the network, it can interact with the terminal device to complete the configuration of the logical relationship between the buttons in the panel and the on-off devices in the base. Different control relationships between the buttons of the panel and the on-off devices in the base are formed by configuration, thereby forming different control modes of the intelligent control panel for the external Internet of Things load device circuit, thereby improving the versatility of the intelligent control panel.

在一些实施例中,所述按键界面包括与所述通断装置的数量分别对应的虚拟按键,所述基于所述按键界面获取按键与所述通断装置的配置参数,包括:In some embodiments, the key interface includes virtual keys corresponding to the number of the on-off devices, and the acquiring the configuration parameters of the keys and the on-off devices based on the key interface includes:

获取设置所述虚拟按键与所述通断装置之间一一对应关系的配置指令,根据所述配置指令得到所述按键与所述通断装置的配置参数;或,Obtaining a configuration instruction for setting a one-to-one correspondence between the virtual button and the on-off device, and obtaining configuration parameters of the button and the on-off device according to the configuration instruction; or,

获取设置所述虚拟按键与所述通断装置之间一对多同步对应关系的配置指令,根据所述配置指令得到所述按键与所述通断装置的配置参数;或,Obtaining a configuration instruction for setting a one-to-many synchronous correspondence relationship between the virtual button and the on-off device, and obtaining configuration parameters of the button and the on-off device according to the configuration instruction; or,

获取设置所述虚拟按键与所述通断装置之间一对多互斥对应关系的配置指令,据所述配置指令得到所述按键与所述通断装置的配置参数。A configuration instruction for setting a one-to-many mutually exclusive correspondence between the virtual button and the on-off device is obtained, and configuration parameters of the button and the on-off device are obtained according to the configuration instruction.

用户通过终端设备的按键界面对按键和通断装置进行配置操作,终端设备检测用户通过按键界面输入的配置指令,发送给智能控制面板。配置指令可以是所述虚拟按键与所述通断装置之间一一对应关系的配置指令、所述虚拟按键与所述通断装置之间一对多同步对应关系的配置指令、或所述虚拟按键与所述通断装置之间一对多互斥对应关系的配置指令。The user configures the button and the on-off device through the button interface of the terminal device, and the terminal device detects the configuration instruction input by the user through the button interface and sends it to the intelligent control panel. The configuration instruction can be a configuration instruction for a one-to-one correspondence between the virtual button and the on-off device, a configuration instruction for a one-to-many synchronous correspondence between the virtual button and the on-off device, or a configuration instruction for a one-to-many mutually exclusive correspondence between the virtual button and the on-off device.

不同配置指令的设置方式与智能控制面板中底座包含的通断装置的数量有关,当底座中包含的通断装置的数量仅包括一个时,则按键与通断装置之间的配置指令仅支持单开控制配置指令,不支持按键与通断装置之间一对多同步对应关系、或一对多互斥对应关系。当底座中包含的通断装置的数量为两个时,则按键与通断装置之间的配置指令可支持单开控制配置指令或者双开控制配置指令,在双开控制配置指令下,可以配置一个按键动作实现两个通断装置同时相同动作或者配置一个按键动作实现两个通断装置保持反向动作。当底座中包含的通断装置的数量为三个时,则按键与通断装置之间的配置指令可支持单开控制配置指令、双开控制配置指令或三开控制配置指令,在三开控制配置指令下,可以配置一个按键动作实现三个通断装置同时相同动作或配置一个按键动作实现两个通断装置与另一个通断装置保持反向动作。The setting method of different configuration instructions is related to the number of on-off devices contained in the base of the intelligent control panel. When the number of on-off devices contained in the base includes only one, the configuration instruction between the button and the on-off device only supports the single-open control configuration instruction, and does not support the one-to-many synchronous correspondence between the button and the on-off device, or the one-to-many mutually exclusive correspondence. When the number of on-off devices contained in the base is two, the configuration instruction between the button and the on-off device can support the single-open control configuration instruction or the double-open control configuration instruction. Under the double-open control configuration instruction, one button action can be configured to realize the same action of two on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action. When the number of on-off devices contained in the base is three, the configuration instruction between the button and the on-off device can support the single-open control configuration instruction, the double-open control configuration instruction or the three-open control configuration instruction. Under the three-open control configuration instruction, one button action can be configured to realize the same action of three on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action with another on-off device.

智能控制面板中每一通断装置对应与一个或多个负载设备连接,每一通断装置动作相应控制对应的一个或多个负载设备执行对应动作,如控制对应负载设备开启或关闭、控制对应负载设备的阀门打开或关闭、控制对应负载设备的电机正转或反转等。Each on-off device in the intelligent control panel is connected to one or more load devices. The action of each on-off device controls the corresponding one or more load devices to perform corresponding actions, such as controlling the corresponding load device to open or close, controlling the valve of the corresponding load device to open or close, controlling the motor of the corresponding load device to rotate forward or reverse, etc.

在一些实施例中,所述智能控制面板的多模式配置方法还包括:In some embodiments, the multi-mode configuration method of the intelligent control panel further includes:

基于所述按键界面获取针对按键界面中按键的操作指令;Acquire operation instructions for keys in the key interface based on the key interface;

将所述操作指令发送给所述智能控制面板,由所述智能控制面板根据所述操作指令以及所述按键与所述通断装置的控制关系,控制所述通断装置关联的负载设备执行相应动作。The operation instruction is sent to the intelligent control panel, and the intelligent control panel controls the load device associated with the on-off device to perform corresponding actions according to the operation instruction and the control relationship between the button and the on-off device.

用户可以通过终端设备对智能控制面板对应外接的物联网负载设备进行控制。终端设备检测用户对按键界面中按键的触控操作,基于对所述按键的触控操作向智能控制面板发送操作指令,智能控制面板根据所述操作指令以及所述按键与通断装置的控制关系,控制相应的通断装置执行闭合/断开动作,从而相应控制与其所述通断装置连接的关联物联网负载设备执行相应动作,如控制所述物联网负载设备开启或关闭、或控制所述物联网负载设备的电机正转或反转等。The user can control the external IoT load device corresponding to the smart control panel through the terminal device. The terminal device detects the user's touch operation on the button in the button interface, and sends an operation instruction to the smart control panel based on the touch operation on the button. The smart control panel controls the corresponding on-off device to perform a closing/opening action according to the operation instruction and the control relationship between the button and the on-off device, thereby correspondingly controlling the associated IoT load device connected to the on-off device to perform a corresponding action, such as controlling the IoT load device to turn on or off, or controlling the motor of the IoT load device to rotate forward or reverse, etc.

请参阅图7,为了能够对本申请实施例提供的智能控制面板的多模式配置方法具有更系统的理解,下面结合一具体示例进行说明,智能控制面板的多模式配置方法包括如下步骤:Please refer to FIG. 7. In order to have a more systematic understanding of the multi-mode configuration method of the intelligent control panel provided in the embodiment of the present application, a specific example is provided below to illustrate that the multi-mode configuration method of the intelligent control panel includes the following steps:

S11,智能控制面板选用包含任意数量的通断装置与触控面板组配。S11, the intelligent control panel is selected to include any number of on-off devices and touch panel combinations.

S12,当智能控制面板未入网时,触控面板读取底座中包含的通断装置的数量,根据所述通断装置数量显示对应数量的虚拟按键,根据与所述通断装置数量对应的初始配置参数形成本地按键与通断装置的参数关系。S12, when the smart control panel is not connected to the network, the touch panel reads the number of on-off devices contained in the base, displays a corresponding number of virtual buttons according to the number of on-off devices, and forms a parameter relationship between local buttons and on-off devices according to the initial configuration parameters corresponding to the number of on-off devices.

S13,当智能控制面板入网后,触控面板将通断装置的数量发送给终端设备。S13, when the intelligent control panel is connected to the network, the touch panel sends the number of on-off devices to the terminal device.

S14,终端设备根据通断装置的数量在实施智能控制面板的多模式配置方法的应用程序的对应配置页面上显示相同个数的虚拟按键。S14, the terminal device displays the same number of virtual buttons on a corresponding configuration page of an application program implementing the multi-mode configuration method of the intelligent control panel according to the number of the on-off devices.

S15,终端设备接收用户基于所述配置页面输入的配置指令,根据所述配置指令确定按键与通断装置之间的对应状态和动作状态,得到按键与通断装置之间的参数关系。S15, the terminal device receives the configuration instruction input by the user based on the configuration page, determines the corresponding state and action state between the button and the on-off device according to the configuration instruction, and obtains the parameter relationship between the button and the on-off device.

不同配置指令的设置方式与智能控制面板中底座包含的通断装置的数量有关,当底座中包含的通断装置的数量仅包括一个时,则按键与通断装置之间的配置指令仅支持单开控制配置指令,不支持按键与通断装置之间一对多同步对应关系、或一对多互斥对应关系。当底座中包含的通断装置的数量为两个时,则按键与通断装置之间的配置指令可支持单开控制配置指令或者双开控制配置指令,在双开控制配置指令下,可以配置一个按键动作实现两个通断装置同时相同动作或者配置一个按键动作实现两个通断装置保持反向动作。当底座中包含的通断装置的数量为三个时,则按键与通断装置之间的配置指令可支持单开控制配置指令、双开控制配置指令或三开控制配置指令,在三开控制配置指令下,可以配置一个按键动作实现三个通断装置同时相同动作或配置一个按键动作实现两个通断装置与另一个通断装置保持反向动作。The setting method of different configuration instructions is related to the number of on-off devices contained in the base of the intelligent control panel. When the number of on-off devices contained in the base includes only one, the configuration instruction between the button and the on-off device only supports the single-open control configuration instruction, and does not support the one-to-many synchronous correspondence between the button and the on-off device, or the one-to-many mutually exclusive correspondence. When the number of on-off devices contained in the base is two, the configuration instruction between the button and the on-off device can support the single-open control configuration instruction or the double-open control configuration instruction. Under the double-open control configuration instruction, one button action can be configured to realize the same action of two on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action. When the number of on-off devices contained in the base is three, the configuration instruction between the button and the on-off device can support the single-open control configuration instruction, the double-open control configuration instruction or the three-open control configuration instruction. Under the three-open control configuration instruction, one button action can be configured to realize the same action of three on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action with another on-off device.

S16,智能控制面板接收所述终端设备发送的按键与通断装置之间的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。S16, the intelligent control panel receives the parameter relationship between the button and the on-off device sent by the terminal device, determines the control relationship between the button and the on-off device according to the parameter relationship, and forms different control modes for the load device associated with the on-off device according to the control relationship.

其中,不同控制模式的配置与智能控制面板中底座包含的通断装置的数量有关,当底座中包含的通断装置的数量仅包括一个时,则控制模式仅支持单开控制模式,在单开控制模式下,按键与通断装置为一对一对应关系,按键打开或关闭,控制通断装置相应断开或闭合。当底座中包含的通断装置的数量包括两个时,则控制模式可支持单开控制模式或者双开控制模式,在双开控制模式下,可以配置一个按键动作实现两个通断装置同时相同动作或者配置一个按键动作实现两个通断装置保持反向动作。当底座中包含的通断装置的数量为三个时,则控制模式可支持单开控制模式、双开控制模式或三开控制模式,在三开控制模式下,可以配置一个按键动作实现三个通断装置同时相同动作或配置一个按键动作实现两个通断装置与另一个通断装置保持反向动作。而每一通断装置对应与一个或多个负载设备连接,每一通断装置动作相应控制对应的一个或多个负载设备执行对应动作,如控制对应负载设备开启或关闭、控制对应负载设备的阀门打开或关闭、控制对应负载设备的电机正转或反转等,实现不同控制模式。Among them, the configuration of different control modes is related to the number of on-off devices contained in the base of the intelligent control panel. When the number of on-off devices contained in the base includes only one, the control mode only supports the single-open control mode. In the single-open control mode, the button and the on-off device are in a one-to-one correspondence. The button is turned on or off, and the control on-off device is opened or closed accordingly. When the number of on-off devices contained in the base includes two, the control mode can support the single-open control mode or the double-open control mode. In the double-open control mode, one button action can be configured to realize the same action of the two on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action. When the number of on-off devices contained in the base is three, the control mode can support the single-open control mode, the double-open control mode or the three-open control mode. In the three-open control mode, one button action can be configured to realize the same action of the three on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action with another on-off device. Each on-off device is connected to one or more load devices, and each on-off device controls the corresponding one or more load devices to perform corresponding actions, such as controlling the corresponding load device to open or close, controlling the valve of the corresponding load device to open or close, controlling the motor of the corresponding load device to rotate forward or reverse, etc., to achieve different control modes.

请参阅图8,为了能够对本申请实施例提供的智能控制面板的多模式配置方法具有更系统的理解,下面结合另一具体示例进行说明,智能控制面板的多模式配置方法包括如下步骤:Please refer to FIG8. In order to have a more systematic understanding of the multi-mode configuration method of the intelligent control panel provided in the embodiment of the present application, another specific example is provided below to illustrate that the multi-mode configuration method of the intelligent control panel includes the following steps:

S21,智能控制面板选用包含任意数量的通断装置与按键面板组配。S21, intelligent control panel selection includes any number of on-off devices and button panel combinations.

S22,当智能控制面板未入网时,按键面板读取底座中包含的通断装置的数量,根据按键面板包含的本地按键的数量以及与所述通断装置数量对应的初始配置参数,形成本地按键与通断装置的参数关系。S22, when the intelligent control panel is not connected to the network, the button panel reads the number of on-off devices contained in the base, and forms a parameter relationship between the local buttons and the on-off devices according to the number of local buttons contained in the button panel and the initial configuration parameters corresponding to the number of on-off devices.

S23,当智能控制面板入网后,按键面板将包含的按键数量以及通断装置的数量发送给终端设备。S23, when the intelligent control panel is connected to the network, the key panel sends the number of keys and the number of on/off devices to the terminal device.

S24,终端设备根据按键数量以及通断装置的数量在实施智能控制面板的多模式配置方法的应用程序的对应配置页面上显示与按键个数相同的虚拟按键。S24, the terminal device displays virtual keys equal to the number of keys on a corresponding configuration page of an application program implementing the multi-mode configuration method of the intelligent control panel according to the number of keys and the number of on-off devices.

S25,终端设备接收用户基于所述配置页面输入的配置指令,根据所述配置指令确定按键与通断装置之间的对应状态和动作状态,得到按键与通断装置之间的参数关系。S25, the terminal device receives the configuration instruction input by the user based on the configuration page, determines the corresponding state and action state between the button and the on-off device according to the configuration instruction, and obtains the parameter relationship between the button and the on-off device.

不同配置指令的设置方式与智能控制面板中底座包含的通断装置的数量有关,当底座中包含的通断装置的数量仅包括一个时,则按键与通断装置之间的配置指令仅支持单开控制配置指令,不支持按键与通断装置之间一对多同步对应关系、或一对多互斥对应关系。当所述底座中包含的通断装置的数量为两个时,则按键与通断装置之间的配置指令可支持单开控制配置指令或者双开控制配置指令,在双开控制配置指令下,可以配置一个按键动作实现两个通断装置同时相同动作或者配置一个按键动作实现两个通断装置保持反向动作。当底座中包含的通断装置的数量为三个时,则按键与通断装置之间的配置指令可支持单开控制配置指令、双开控制配置指令或三开控制配置指令,在三开控制配置指令下,可以配置一个按键动作实现三个通断装置同时相同动作或配置一个按键动作实现两个通断装置与另一个通断装置保持反向动作。The setting method of different configuration instructions is related to the number of on-off devices contained in the base of the intelligent control panel. When the number of on-off devices contained in the base includes only one, the configuration instruction between the button and the on-off device only supports the single-open control configuration instruction, and does not support the one-to-many synchronous correspondence between the button and the on-off device, or the one-to-many mutually exclusive correspondence. When the number of on-off devices contained in the base is two, the configuration instruction between the button and the on-off device can support the single-open control configuration instruction or the double-open control configuration instruction. Under the double-open control configuration instruction, one button action can be configured to realize the same action of two on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action. When the number of on-off devices contained in the base is three, the configuration instruction between the button and the on-off device can support the single-open control configuration instruction, the double-open control configuration instruction or the three-open control configuration instruction. Under the three-open control configuration instruction, one button action can be configured to realize the same action of three on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action with another on-off device.

S26,智能控制面板接收所述终端设备发送的按键与通断装置之间的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。S26, the intelligent control panel receives the parameter relationship between the button and the on-off device sent by the terminal device, determines the control relationship between the button and the on-off device according to the parameter relationship, and forms different control modes for the load device associated with the on-off device according to the control relationship.

其中,不同控制模式的配置与智能控制面板中底座包含的通断装置的数量有关,当底座中包含的通断装置的数量仅包括一个时,则控制模式仅支持单开控制模式,在单开控制模式下,按键与通断装置为一对一对应关系,按键打开或关闭,控制通断装置相应断开或闭合。当底座中包含的通断装置的数量包括两个时,则控制模式可支持单开控制模式或者双开控制模式,在双开控制模式下,可以配置一个按键动作实现两个通断装置同时相同动作或者配置一个按键动作实现两个通断装置保持反向动作。当底座中包含的通断装置的数量为三个时,则控制模式可支持单开控制模式、双开控制模式或三开控制模式,在三开控制模式下,可以配置一个按键动作实现三个通断装置同时相同动作或配置一个按键动作实现两个通断装置与另一个通断装置保持反向动作。而每一通断装置对应与一个或多个负载设备连接,每一通断装置动作相应控制对应的一个或多个负载设备执行对应动作,如控制对应负载设备开启或关闭、控制对应负载设备的阀门打开或关闭、控制对应负载设备的电机正转或反转等,实现不同控制模式。Among them, the configuration of different control modes is related to the number of on-off devices contained in the base of the intelligent control panel. When the number of on-off devices contained in the base includes only one, the control mode only supports the single-open control mode. In the single-open control mode, the button and the on-off device are in a one-to-one correspondence. The button is turned on or off, and the control on-off device is opened or closed accordingly. When the number of on-off devices contained in the base includes two, the control mode can support the single-open control mode or the double-open control mode. In the double-open control mode, one button action can be configured to realize the same action of the two on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action. When the number of on-off devices contained in the base is three, the control mode can support the single-open control mode, the double-open control mode or the three-open control mode. In the three-open control mode, one button action can be configured to realize the same action of the three on-off devices at the same time or one button action can be configured to realize the two on-off devices to maintain reverse action with another on-off device. Each on-off device is connected to one or more load devices, and each on-off device controls the corresponding one or more load devices to perform corresponding actions, such as controlling the corresponding load device to open or close, controlling the valve of the corresponding load device to open or close, controlling the motor of the corresponding load device to rotate forward or reverse, etc., to achieve different control modes.

本申请实施例另一方面,请参阅图9,还提供一种智能控制面板的多模式配置装置,所述智能控制面板包括可拆卸连接的底座和面板,所述装置包括:获取模块11,用于获取所述底座包括的通断装置的数量;控制模块12,用于确定所述面板包括的按键与所述通断装置的参数关系,根据所述参数关系确定所述按键与所述通断装置的控制关系,根据所述控制关系形成对所述通断装置关联的负载设备的不同控制模式。On the other hand, referring to FIG. 9 , an embodiment of the present application further provides a multi-mode configuration device for an intelligent control panel, wherein the intelligent control panel includes a detachably connected base and a panel, and the device includes: an acquisition module 11 for acquiring the number of on-off devices included in the base; a control module 12 for determining a parameter relationship between a button included in the panel and the on-off devices, determining a control relationship between the button and the on-off devices based on the parameter relationship, and forming different control modes for a load device associated with the on-off devices based on the control relationship.

在一些实施例中,所述面板为触控面板,所述装置还包括按键模块,用于根据所述通断装置的数量在所述面板上形成分别与所述通断装置对应的虚拟按键。In some embodiments, the panel is a touch panel, and the device further includes a key module for forming virtual keys corresponding to the on-off devices respectively on the panel according to the number of the on-off devices.

在一些实施例中,所述控制模块12,具体用于将所述通断装置的数量发送给终端设备,由所述终端设备根据所述通断装置的数量形成匹配的按键界面;接收所述终端设备基于所述按键界面获取到的按键与所述通断装置的配置参数;根据所述配置参数确定所述按键与所述通断装置的参数关系。In some embodiments, the control module 12 is specifically used to send the number of the on-off devices to the terminal device, and the terminal device forms a matching button interface according to the number of the on-off devices; receives the configuration parameters of the buttons and the on-off devices obtained by the terminal device based on the button interface; and determines the parameter relationship between the buttons and the on-off devices according to the configuration parameters.

在一些实施例中,所述面板为按键面板,所述控制模块12,具体用于将包含的实体按键的数量发送给终端设备;接收所述终端设备基于所述按键界面获取到的按键与所述通断装置的配置参数,根据所述配置参数确定所述面板包括的有效实体按键的数量以及所述有效实体按键与所述通断装置的参数关系。In some embodiments, the panel is a button panel, and the control module 12 is specifically used to send the number of physical buttons included in it to the terminal device; receive the configuration parameters of the buttons and the on-off device obtained by the terminal device based on the button interface, and determine the number of valid physical buttons included in the panel and the parameter relationship between the valid physical buttons and the on-off device according to the configuration parameters.

在一些实施例中,所述控制模块12,具体用于在确定当前配置状态为初始状态的情况下,所述面板根据包括的实体按键的数量、及预设的不同按键数量与所述通断装置的初始配置参数,确定所述按键与所述通断装置的参数关系;在确定当前配置状态为更新状态的情况下,所述面板根据所述终端设备发送的配置参数确定所述按键与所述通断装置的参数关系。In some embodiments, the control module 12 is specifically used to determine the parameter relationship between the button and the on-off device according to the number of physical buttons included, the preset number of different buttons and the initial configuration parameters of the on-off device when the current configuration state is determined to be the initial state; when the current configuration state is determined to be the update state, the panel determines the parameter relationship between the button and the on-off device according to the configuration parameters sent by the terminal device.

在一些实施例中,所述装置还包括执行模块13,所述执行模块用于接收所述终端设备发送的基于所述按键的操作指令,或,所述面板获取针对所述按键的操作指令;根据所述操作指令和所述控制关系控制所述通断装置关联的负载设备执行相应动作。In some embodiments, the device also includes an execution module 13, which is used to receive an operation instruction based on the button sent by the terminal device, or the panel obtains an operation instruction for the button; and controls the load device associated with the on-off device to perform a corresponding action according to the operation instruction and the control relationship.

在一些实施例中,所述执行模块13,具体用于所述按键与所述通断装置之间的控制关系为一一对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备执行相应动作;在所述控制模式为双开控制模式的情况下,所述按键与所述通断装置之间的控制关系为一一对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备执行相应动作;或,所述按键与所述通断装置之间的控制关系为一对二同步对应关系,根据所述操作指令和所述控制关系控制对应的通断装置关联的负载设备同时执行相应动作;或,所述按键与所述通断装置之间的控制关系为一对二互斥对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备分别执行相反动作;在所述控制模式为三开控制模式的情况下,所述按键与所述通断装置之间的控制关系为一一对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备执行相应动作;或,所述按键与所述通断装置之间的控制关系为一对多同步对应关系,根据所述操作指令和所述控制关系控制对应的通断装置关联的负载设备同时执行相应动作;或,所述按键与所述通断装置之间的控制关系为一对多互斥对应关系,根据所述操作指令和所述控制关系控制对应的所述通断装置关联的负载设备分别执行相反动作。In some embodiments, the execution module 13 is specifically used for the control relationship between the button and the on-off device to be a one-to-one correspondence, and the load device associated with the corresponding on-off device is controlled to perform a corresponding action according to the operation instruction and the control relationship; when the control mode is a double-open control mode, the control relationship between the button and the on-off device is a one-to-one correspondence, and the load device associated with the corresponding on-off device is controlled to perform a corresponding action according to the operation instruction and the control relationship; or, the control relationship between the button and the on-off device is a one-to-two synchronous correspondence, and the load device associated with the corresponding on-off device is controlled to perform a corresponding action simultaneously according to the operation instruction and the control relationship; or, the control relationship between the button and the on-off device is a one-to-two mutually exclusive correspondence. According to the operation instruction and the control relationship, the load devices associated with the corresponding on-off devices are controlled to perform opposite actions respectively; when the control mode is the three-open control mode, the control relationship between the button and the on-off device is a one-to-one correspondence, and the load devices associated with the corresponding on-off devices are controlled to perform corresponding actions according to the operation instruction and the control relationship; or, the control relationship between the button and the on-off device is a one-to-many synchronous correspondence, and the load devices associated with the corresponding on-off devices are controlled to perform corresponding actions simultaneously according to the operation instruction and the control relationship; or, the control relationship between the button and the on-off device is a one-to-many mutually exclusive correspondence, and the load devices associated with the corresponding on-off devices are controlled to perform opposite actions respectively according to the operation instruction and the control relationship.

需要说明的是:上述实施例提供的智能控制面板的多模式配置装置在实现对外接的负载设备进行不同控制模式配置过程中,仅以上述各程序模块的划分进行举例说明,在实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即可将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分方法步骤。另外,上述实施例提供的智能控制面板的多模式配置装置与应用于智能控制面板侧的智能控制面板的多模式配置方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the multi-mode configuration device of the intelligent control panel provided in the above embodiment only uses the division of the above program modules as an example to illustrate the process of configuring different control modes for external load devices. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the method steps described above. In addition, the multi-mode configuration device of the intelligent control panel provided in the above embodiment and the multi-mode configuration method embodiment of the intelligent control panel applied to the intelligent control panel side belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

本申请实施例另一方面,请参阅图10,还提供一种智能控制面板的多模式配置装置,应用于终端设备,包括:接收模块21,用于接收所述智能控制面板发送的所述底座包括的通断装置的数量,根据所述通断装置的数量生成匹配的按键界面;配置模块22,用于基于所述按键界面获取按键与所述通断装置的配置参数;发送模块23,用于将所述配置参数发送给所述智能控制面板,由所述智能控制面板根据所述配置参数确定所述按键与所述通断装置的控制关系,以形成对所述通断装置关联的负载设备的不同控制模式。On the other hand, in an embodiment of the present application, please refer to FIG. 10 , a multi-mode configuration device of an intelligent control panel is also provided, which is applied to a terminal device, and includes: a receiving module 21, for receiving the number of on-off devices included in the base sent by the intelligent control panel, and generating a matching button interface according to the number of on-off devices; a configuration module 22, for obtaining configuration parameters of buttons and the on-off devices based on the button interface; a sending module 23, for sending the configuration parameters to the intelligent control panel, and the intelligent control panel determines the control relationship between the buttons and the on-off devices according to the configuration parameters, so as to form different control modes for the load equipment associated with the on-off devices.

在一些实施例中,所述接收模块21,还用于接收所述智能控制面板发送的所述面板包括的实体按键的数量;所述配置模块,具体用于基于所述按键界面获取选定的实体按键及所述实体按键与所述通断装置的参数关系,得到按键与所述通断装置的配置参数。In some embodiments, the receiving module 21 is also used to receive the number of physical buttons included in the panel sent by the intelligent control panel; the configuration module is specifically used to obtain the selected physical button and the parameter relationship between the physical button and the on-off device based on the button interface, and obtain the configuration parameters of the button and the on-off device.

在一些实施例中,所述按键界面包括与所述通断装置的数量分别对应的虚拟按键,所述配置模块22,具体用于获取设置所述虚拟按键与所述通断装置之间一一对应关系的配置指令,根据所述配置指令得到所述按键与所述通断装置的配置参数;或,获取设置所述虚拟按键与所述通断装置之间一对多同步对应关系的配置指令,根据所述配置指令得到所述按键与所述通断装置的配置参数;或,获取设置所述虚拟按键与所述通断装置之间一对多互斥对应关系的配置指令,据所述配置指令得到所述按键与所述通断装置的配置参数。In some embodiments, the button interface includes virtual buttons corresponding to the number of the on-off devices, and the configuration module 22 is specifically used to obtain a configuration instruction for setting a one-to-one correspondence between the virtual button and the on-off device, and obtain the configuration parameters of the button and the on-off device according to the configuration instruction; or, obtain a configuration instruction for setting a one-to-many synchronous correspondence between the virtual button and the on-off device, and obtain the configuration parameters of the button and the on-off device according to the configuration instruction; or, obtain a configuration instruction for setting a one-to-many mutually exclusive correspondence between the virtual button and the on-off device, and obtain the configuration parameters of the button and the on-off device according to the configuration instruction.

在一些实施例中,所述配置模块22,还用于基于所述按键界面获取针对按键界面中按键的操作指令;将所述操作指令发送给所述智能控制面板,由所述智能控制面板根据所述操作指令以及所述按键与所述通断装置的控制关系,控制所述通断装置关联的负载设备执行相应动作。In some embodiments, the configuration module 22 is also used to obtain operation instructions for buttons in the button interface based on the button interface; send the operation instructions to the intelligent control panel, and the intelligent control panel controls the load device associated with the on-off device to perform corresponding actions according to the operation instructions and the control relationship between the button and the on-off device.

需要说明的是:上述实施例提供的智能控制面板的多模式配置装置在实现对外接的负载设备进行不同控制模式配置过程中,仅以上述各程序模块的划分进行举例说明,在实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即可将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分方法步骤。另外,上述实施例提供的智能控制面板的多模式配置装置与应用于终端设备侧的智能控制面板的多模式配置方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the multi-mode configuration device of the intelligent control panel provided in the above embodiment only uses the division of the above program modules as an example to illustrate the process of configuring different control modes for external load devices. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the method steps described above. In addition, the multi-mode configuration device of the intelligent control panel provided in the above embodiment and the multi-mode configuration method embodiment of the intelligent control panel applied to the terminal device side belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

本申请实施例另一方面,请参阅图11,提供一种智能控制面板,包括可拆卸连接的底座和面板,所述底座包括第一控制器110、与所述第一控制器110连接的第一存储器111及至少一通断装置112,所述面板包括第二控制器113、与所述第二控制器113连接的第二存储器114及通信模块115,所述第一控制器110和所述第二控制器113之间采用串口通讯协议进行数据传输,所述第一存储器111和所述第二存储器114内存储有可被对应的所述第一控制器110和所述第二控制器113执行的计算机程序,所述计算机程序被第一控制器110和所述第二控制器113执行时实现本申请任一实施例所提供的应用于智能控制面板侧的智能控制面板的多模式配置方法。On the other hand, in an embodiment of the present application, please refer to Figure 11, which provides an intelligent control panel, including a detachably connected base and a panel, wherein the base includes a first controller 110, a first memory 111 connected to the first controller 110, and at least one on-off device 112, and the panel includes a second controller 113, a second memory 114 connected to the second controller 113, and a communication module 115, wherein the first controller 110 and the second controller 113 use a serial communication protocol for data transmission, and the first memory 111 and the second memory 114 store computer programs that can be executed by the corresponding first controller 110 and the second controller 113, and when the computer program is executed by the first controller 110 and the second controller 113, the multi-mode configuration method of the intelligent control panel applied to the intelligent control panel side provided in any embodiment of the present application is implemented.

所述第一控制器110可以采用ARM(Advanced RISC Machines)内核的MCU(Microcontroller Unit),所述第一控制器110用于负责继电器的识别和控制、功率计量、保护、过零检测等功能。所述第二控制器113可以采用触屏驱动芯片,所述通信模块115为无线模块(RF module),所述无线模块可以为zigbee无线模块或wifi无线模块,所述第二控制器113用于负责智能控制面板的按键控制、触屏控制、与终端设备的通信等功能。The first controller 110 may be an MCU (Microcontroller Unit) with an ARM (Advanced RISC Machines) core, and the first controller 110 is responsible for the functions of relay identification and control, power metering, protection, zero-crossing detection, etc. The second controller 113 may be a touch screen driver chip, and the communication module 115 is a wireless module (RF module), which may be a zigbee wireless module or a wifi wireless module. The second controller 113 is responsible for the functions of the smart control panel, such as button control, touch screen control, and communication with terminal devices.

在一些实施例中,所述面板为触控面板,所述触控面板根据所述底座包括的通断装置的数量,显示分别与所述通断装置对应的控制按键。In some embodiments, the panel is a touch panel, and the touch panel displays control buttons corresponding to the on-off devices respectively according to the number of on-off devices included in the base.

在一些实施例中,所述面板为按键面板,所述按键面板包括至少一实体按键,在确定当前配置状态为初始状态的情况下,所述按键面板根据预设的不同按键数量与所述通断装置的初始配置参数,确定所述实体按键与所述通断装置的参数关系;在确定当前配置状态为更新状态的情况下,所述按键面板根据接收到的终端设备发送的配置参数,确定所述实体按键与所述通断装置的参数关系。In some embodiments, the panel is a button panel, and the button panel includes at least one physical button. When it is determined that the current configuration state is the initial state, the button panel determines the parameter relationship between the physical button and the on-off device based on a preset number of different buttons and the initial configuration parameters of the on-off device; when it is determined that the current configuration state is the update state, the button panel determines the parameter relationship between the physical button and the on-off device based on the configuration parameters sent by the terminal device.

请参阅图12,是本申请实施例提供的智能控制面板的硬件结构框图。如图12所示,该智能控制面板可以为面板开关64。其中,面板开关64可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器64a(ProcessingUnits,CPU)(处理器64a可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据1400的存储器64b,一个或一个以上存储应用程序1500或数据1400的存储介质1600(例如一个或一个以上海量存储设备)、继电器J和机械开关K。其中,处理器64a分别与继电器J、机械开关K、存储器64b和存储介质1600连接;存储器64b和存储介质1600可以是短暂存储或持久存储。存储在存储介质1600的程序可以包括一个或一个以上模块,每个模块可以包括对服务器中的一系列指令操作。更进一步地,处理器64a可以设置为与存储介质1600通信,在开关64上执行存储介质1600中的一系列指令操作。Please refer to FIG. 12, which is a hardware structure block diagram of the intelligent control panel provided in an embodiment of the present application. As shown in FIG. 12, the intelligent control panel can be a panel switch 64. Among them, the panel switch 64 may have relatively large differences due to different configurations or performances, and may include one or more processors 64a (Processing Units, CPU) (the processor 64a may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 64b for storing data 1400, one or more storage media 1600 (such as one or more mass storage devices) for storing application programs 1500 or data 1400, a relay J, and a mechanical switch K. Among them, the processor 64a is connected to the relay J, the mechanical switch K, the memory 64b, and the storage medium 1600 respectively; the memory 64b and the storage medium 1600 may be short-term storage or permanent storage. The program stored in the storage medium 1600 may include one or more modules, and each module may include a series of instruction operations on the server. Furthermore, the processor 64 a may be configured to communicate with the storage medium 1600 and execute a series of instruction operations in the storage medium 1600 on the switch 64 .

机械开关K在按压时,处理器64a会接收到被按压的信号指令,继电器J是一个受控开关,与处理器64a的控制端连接,处理器64a可通过控制端输出控制信号控制继电器J的开启和闭合,继电器J连接在主电路中,主电路连接电源以及被控设备,电源可以是市电220V。When the mechanical switch K is pressed, the processor 64a will receive a signal instruction of being pressed. The relay J is a controlled switch connected to the control end of the processor 64a. The processor 64a can control the opening and closing of the relay J through the control end output control signal. The relay J is connected in the main circuit, and the main circuit is connected to the power supply and the controlled device. The power supply can be 220V AC.

面板开关64还可以包括一个或一个以上内置电源1000,一个或一个以上有线或无线网络接口1100,一个或一个以上输入输出接口1200,和/或,一个或一个以上操作系统1300,例如WindowsserverTM,MacOSXTM,UnixTM,LinuxTM,FreeBSDTM等等。The panel switch 64 may also include one or more built-in power supplies 1000, one or more wired or wireless network interfaces 1100, one or more input and output interfaces 1200, and/or one or more operating systems 1300, such as WindowsserverTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM, etc.

输入输出接口1200可以用于经由一个网络接收或者发送数据1400。上述的网络具体实例可包括开关64的通信供应商提供的无线网络。在一个实例中,输入输出接口1200包括一个网络适配器(NetworInterfaceController,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,输入输出接口1200可以为射频(RadioFrequency,RF)模块,其用于通过无线方式与互联网进行通讯。本领域普通技术人员可以理解,图12所示的结构仅为示意,其并不对上述面板开关64的结构造成限定。例如,面板开关64还可包括比图12中所示更多或者更少的组件,或者具有与图12所示不同的配置。The input/output interface 1200 can be used to receive or send data 1400 via a network. The specific example of the above network may include a wireless network provided by a communication provider of the switch 64. In one example, the input/output interface 1200 includes a network adapter (NetworInterfaceController, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the input/output interface 1200 can be a radio frequency (RadioFrequency, RF) module, which is used to communicate with the Internet wirelessly. It can be understood by those of ordinary skill in the art that the structure shown in FIG. 12 is only for illustration, and it does not limit the structure of the above panel switch 64. For example, the panel switch 64 may also include more or fewer components than those shown in FIG. 12, or have a configuration different from that shown in FIG. 12.

本申请实施例另一方面,请参阅图13,还提供一种终端设备,包括处理器211、存储器212及存储在所述存储器212上并可被所述处理器211执行的计算机程序,所述计算机程序被所述处理器211执行时实现本申请任一实施例所提供的应用于终端设备侧的智能控制面板的多模式配置方法,且能达到相同的技术效果,为避免重复,这里不再赘述。所述终端设备可以是智能手机、个人计算机等。On the other hand, referring to FIG. 13 , an embodiment of the present application also provides a terminal device, including a processor 211, a memory 212, and a computer program stored in the memory 212 and executable by the processor 211. When the computer program is executed by the processor 211, the multi-mode configuration method of the intelligent control panel applied to the terminal device side provided in any embodiment of the present application is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. The terminal device can be a smart phone, a personal computer, etc.

请参阅图14,是本申请实施例提供的终端设备的一种可选的硬件结构框图。如图14所示,终端设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(ProcessingUnits,CPU)1110(处理器1110可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器1130,一个或一个以上存储应用程序1123或数据1122的存储介质1120(例如一个或一个以上海量存储设备)。其中,存储器1130和存储介质1120可以是短暂存储或持久存储。存储在存储介质1120的程序可以包括一个或一个以上模块,每个模块可以包括对场景控制面板中的一系列指令操作。更进一步地,处理器1110可以设置为与存储介质1120通信,在智能设备上执行存储介质1120中的一系列指令操作。智能设备还可以包括一个或一个以上电源1160,一个或一个以上有线或无线网络接口1150,一个或一个以上输入输出接口1140,和/或,一个或一个以上操作系统1121,例如WindowsServerTM,MacOSXTM,UnixTM,LinuxTM,FreeBSDTM等等。Please refer to Figure 14, which is an optional hardware structure block diagram of a terminal device provided in an embodiment of the present application. As shown in Figure 14, the terminal device may have relatively large differences due to different configurations or performances, and may include one or more processors (Processing Units, CPU) 1110 (the processor 1110 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1130 for storing data, and one or more storage media 1120 (such as one or more mass storage devices) for storing application programs 1123 or data 1122. Among them, the memory 1130 and the storage medium 1120 can be short-term storage or persistent storage. The program stored in the storage medium 1120 may include one or more modules, each of which may include a series of instruction operations on the scene control panel. Furthermore, the processor 1110 can be configured to communicate with the storage medium 1120 to execute a series of instruction operations in the storage medium 1120 on the smart device. The smart device may also include one or more power supplies 1160, one or more wired or wireless network interfaces 1150, one or more input and output interfaces 1140, and/or one or more operating systems 1121, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.

输入输出接口1140可以用于经由一个网络接收或者发送数据。上述的网络具体实例可包括智能设备的通信供应商提供的无线网络。在一个实例中,输入输出接口1140包括一个网络适配器(NetworkInterfaceController,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,输入输出接口1140可以为射频(RadioFrequency,RF)模块,其用于通过无线方式与互联网进行通讯。The input/output interface 1140 may be used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by a communication provider of the smart device. In one example, the input/output interface 1140 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the input/output interface 1140 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

本领域普通技术人员可以理解,图14所示的结构仅为示意,其并不对上述终端设备的结构造成限定。例如,终端设备还可包括比图14中所示更多或者更少的组件,或者具有与图14所示不同的配置。Those skilled in the art will appreciate that the structure shown in FIG14 is only for illustration and does not limit the structure of the above terminal device. For example, the terminal device may also include more or fewer components than those shown in FIG14, or have a different configuration than that shown in FIG14.

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述智能控制面板的多模式配置方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-OnlyMemory,简称ROM)、随机存取存储器(RandomAccessMemory,简称RAM)、磁碟或者光盘等。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the multi-mode configuration method embodiment of the above-mentioned intelligent control panel is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围之内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (18)

1. A method of multi-mode configuration of an intelligent control panel, the intelligent control panel comprising a base and a panel detachably connected, the method comprising:
acquiring the number of on-off devices included in the base;
And determining the parameter relation between the keys and the on-off device included in the panel, determining the control relation between the keys and the on-off device according to the parameter relation, and forming different control modes of load equipment associated with the on-off device according to the control relation.
2. The method of claim 1, wherein the panel is a touch panel, and before determining the parameter relationship between the key included in the panel and the on-off device, further comprising:
And virtual keys respectively corresponding to the on-off devices are formed on the panel according to the number of the on-off devices.
3. The method of claim 1 or 2, wherein determining the parametric relationship of the keys included in the panel to the on-off device comprises:
The number of the on-off devices is sent to terminal equipment, and the terminal equipment forms a matched key interface according to the number of the on-off devices;
receiving configuration parameters of the key and the on-off device, which are acquired by the terminal equipment based on the key interface;
And determining the parameter relation between the key and the on-off device according to the configuration parameters.
4. The method of claim 3, wherein the panel is a key panel, and the determining the parametric relationship between keys included in the panel and the on-off device further comprises:
the number of the entity keys is sent to the terminal equipment;
The step of receiving the configuration parameters of the key and the on-off device, which are acquired by the terminal equipment based on the key interface, and determining the parameter relation between the key and the on-off device according to the configuration parameters comprises the following steps:
And receiving configuration parameters of the keys and the on-off device, which are acquired by the terminal equipment based on the key interface, and determining the number of the effective entity keys included in the panel and the parameter relation between the effective entity keys and the on-off device according to the configuration parameters.
5. A method according to claim 3, wherein said determining the parametric relationship of the key to the on-off device according to the configuration parameters comprises:
Under the condition that the current configuration state is determined to be an initial state, the panel determines the parameter relation between the keys and the on-off device according to the number of the included entity keys, the preset number of different keys and the initial configuration parameters of the on-off device;
And under the condition that the current configuration state is determined to be the update state, the panel determines the parameter relation between the key and the on-off device according to the configuration parameters sent by the terminal equipment.
6. The method as recited in claim 1, further comprising:
receiving an operation instruction based on the key sent by a terminal device, or acquiring the operation instruction aiming at the key by the panel;
and controlling the load equipment associated with the on-off device to execute corresponding actions according to the operation instruction and the control relation.
7. The method of claim 6, wherein controlling the load device associated with the on-off device to perform the corresponding action according to the operating instruction and the control relationship comprises:
The control relation between the keys and the on-off devices is a one-to-one correspondence relation, and corresponding load equipment associated with the corresponding on-off devices is controlled to execute corresponding actions according to the operation instruction and the control relation;
When the control mode is a double-opening control mode, the control relation between the keys and the on-off devices is a one-to-one correspondence relation, and corresponding load equipment associated with the corresponding on-off devices is controlled to execute corresponding actions according to the operation instruction and the control relation; or, the control relation between the key and the on-off device is a one-to-two synchronous corresponding relation, and corresponding actions are simultaneously executed by load equipment associated with the corresponding on-off device according to the operation instruction and the control relation; or, the control relation between the key and the on-off device is a one-to-two mutual exclusion corresponding relation, and the corresponding load equipment associated with the on-off device is controlled to execute opposite actions according to the operation instruction and the control relation;
When the control mode is a three-switch control mode, the control relation between the keys and the on-off devices is a one-to-one correspondence relation, and corresponding load equipment associated with the corresponding on-off devices is controlled to execute corresponding actions according to the operation instruction and the control relation; or the control relation between the key and the on-off device is a one-to-many synchronous corresponding relation, and corresponding actions are simultaneously executed by load equipment associated with the corresponding on-off device according to the operation instruction and the control relation; or, the control relation between the key and the on-off device is a one-to-many mutual exclusion corresponding relation, and the corresponding load equipment associated with the on-off device is controlled to execute opposite actions according to the operation instruction and the control relation.
8. A multi-mode configuration method of an intelligent control panel, applied to a terminal device, characterized in that the intelligent control panel comprises a base and a panel which are detachably connected, the method comprising:
receiving the number of on-off devices included in the base and sent by the intelligent control panel, and generating matched key interfaces according to the number of the on-off devices;
acquiring configuration parameters of keys and the on-off device based on the key interface;
and sending the configuration parameters to the intelligent control panel, and determining the control relation between the keys and the on-off device by the intelligent control panel according to the configuration parameters so as to form different control modes of load equipment associated with the on-off device.
9. The method as recited in claim 8, further comprising: receiving the number of entity keys included in the panel and sent by the intelligent control panel;
the step of obtaining the configuration parameters of the key and the on-off device based on the key interface comprises the following steps:
And acquiring the selected entity key and the parameter relation between the entity key and the on-off device based on the key interface to obtain the configuration parameters of the key and the on-off device.
10. The method of claim 8, wherein the key interface includes virtual keys corresponding to the number of on-off devices, respectively, and the obtaining configuration parameters of keys and the on-off devices based on the key interface includes:
Acquiring configuration instructions for setting one-to-one correspondence between the virtual keys and the on-off device, and acquiring configuration parameters of the keys and the on-off device according to the configuration instructions; or alternatively, the first and second heat exchangers may be,
Acquiring a configuration instruction for setting a one-to-many synchronization corresponding relation between the virtual key and the on-off device, and acquiring configuration parameters of the key and the on-off device according to the configuration instruction; or alternatively, the first and second heat exchangers may be,
And acquiring a configuration instruction for setting a one-to-many mutual exclusion corresponding relation between the virtual key and the on-off device, and acquiring configuration parameters of the key and the on-off device according to the configuration instruction.
11. The method of any one of claims 8 to 10, further comprising:
acquiring an operation instruction aiming at a key in a key interface based on the key interface;
And sending the operation instruction to the intelligent control panel, and controlling load equipment associated with the on-off device to execute corresponding actions by the intelligent control panel according to the operation instruction and the control relation between the key and the on-off device.
12. A multi-mode configuration device for an intelligent control panel, wherein the intelligent control panel comprises a base and a panel that are detachably connected, the device comprising:
The acquisition module is used for acquiring the number of the on-off devices included in the base;
the control module is used for determining the parameter relation between the keys included in the panel and the on-off device, determining the control relation between the keys and the on-off device according to the parameter relation, and forming different control modes of load equipment associated with the on-off device according to the control relation.
13. A multi-mode configuration device of an intelligent control panel, applied to a terminal device, characterized in that the intelligent control panel comprises a base and a panel which are detachably connected, the device comprising:
The receiving module is used for receiving the number of the on-off devices included in the base and sent by the intelligent control panel, and generating a matched key interface according to the number of the on-off devices;
the configuration module is used for acquiring configuration parameters of the keys and the on-off device based on the key interface;
And the sending module is used for sending the configuration parameters to the intelligent control panel, and the intelligent control panel determines the control relation between the keys and the on-off device according to the configuration parameters so as to form different control modes of load equipment associated with the on-off device.
14. An intelligent control panel is characterized by comprising a base and a panel which are detachably connected, wherein the base comprises a first controller, a first memory and at least one on-off device, the first memory is connected with the first controller, the panel comprises a second controller, a second memory and a communication module, the second memory is connected with the second controller, a serial port communication protocol is adopted between the first controller and the second controller for data transmission,
Computer programs executable by the corresponding first controller and second controller are stored in the first memory and the second memory, and when executed by the first controller and the second controller, the computer programs implement the multi-mode configuration method of the intelligent control panel according to any one of claims 1 to 7.
15. The intelligent control panel according to claim 14, wherein the panel is a touch panel, and the touch panel displays control keys respectively corresponding to the on-off devices according to the number of the on-off devices included in the base.
16. The intelligent control panel according to claim 14, wherein the panel is a key panel comprising at least one physical key,
Under the condition that the current configuration state is determined to be an initial state, the key panel determines the parameter relation between the entity keys and the on-off device according to the preset number of different keys and the initial configuration parameters of the on-off device;
And under the condition that the current configuration state is determined to be the update state, the key panel determines the parameter relation between the entity key and the on-off device according to the received configuration parameters sent by the terminal equipment.
17. A terminal device comprising a processor, a memory and a computer program stored on the memory and executable by the processor, the computer program when executed by the processor implementing a multi-mode configuration method of an intelligent control panel according to any of claims 8 to 11.
18. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements a multi-mode configuration method of an intelligent control panel according to any of claims 1 to 11.
CN202011613207.8A 2020-12-30 2020-12-30 Multi-mode configuration method and device for control panel, equipment, panel and medium Active CN114690649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011613207.8A CN114690649B (en) 2020-12-30 2020-12-30 Multi-mode configuration method and device for control panel, equipment, panel and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011613207.8A CN114690649B (en) 2020-12-30 2020-12-30 Multi-mode configuration method and device for control panel, equipment, panel and medium

Publications (2)

Publication Number Publication Date
CN114690649A CN114690649A (en) 2022-07-01
CN114690649B true CN114690649B (en) 2024-09-13

Family

ID=82131758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011613207.8A Active CN114690649B (en) 2020-12-30 2020-12-30 Multi-mode configuration method and device for control panel, equipment, panel and medium

Country Status (1)

Country Link
CN (1) CN114690649B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118139253B (en) * 2024-04-22 2024-10-01 杭州氧屋东西科技有限公司 Intelligent switch, intelligent lamp system, control method, system, device and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296523A (en) * 2007-04-24 2008-10-29 松下电工株式会社 Switch device
CA2718493A1 (en) * 2009-10-29 2011-04-29 Honeywell International Inc. Electric timer for controlling power to a fan

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4922407A (en) * 1988-03-02 1990-05-01 Pittway Corporation Modular electronic timer switch system
DE4304406C2 (en) * 1993-02-15 1998-11-19 Diehl Stiftung & Co Mode selector
US7155317B1 (en) * 2004-08-20 2006-12-26 Nhan Tran Occupant Counter Control Switch for automatic turning on and off electrical appliances in a room
CN202634487U (en) * 2012-05-31 2012-12-26 南京信息工程大学 Remote switching quantity control system based on WEB
KR101270343B1 (en) * 2013-01-10 2013-05-31 진광헌 System for control light and security using switcher with blue tooth module
CN103369047A (en) * 2013-07-18 2013-10-23 南京讯晶科技有限公司 Automatic control device and control method for switching conference system modes
CN104850101A (en) * 2015-05-11 2015-08-19 国家电网公司 Remote switch device control system with load detection
KR101882968B1 (en) * 2017-11-20 2018-07-26 주식회사 한세스 System for managing and controlling electric energy using piezo-electric and wireless technology
CN107942715A (en) * 2017-12-29 2018-04-20 深圳市欧瑞博科技有限公司 Intelligent control panel and its control method and control device
CN108490801A (en) * 2018-05-11 2018-09-04 桂林电子科技大学 A kind of multifunction switch
CN108762199A (en) * 2018-08-31 2018-11-06 佛山市南海中南机械有限公司 One kind being used for precision machined relay operation panel and its control method
CN109343359B (en) * 2018-10-17 2021-04-30 深圳绿米联创科技有限公司 Intelligent switch, intelligent control system, method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296523A (en) * 2007-04-24 2008-10-29 松下电工株式会社 Switch device
CA2718493A1 (en) * 2009-10-29 2011-04-29 Honeywell International Inc. Electric timer for controlling power to a fan

Also Published As

Publication number Publication date
CN114690649A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
KR101208212B1 (en) A network system and a control method the same
US10429869B2 (en) Wireless power, light and automation control
US9465377B2 (en) Wireless power, light and automation control
CN104412245B (en) For the apparatus and method using more than one communication pattern control electrical equipment
JP4163614B2 (en) Internet washing machine and control method thereof
KR101844211B1 (en) Network system of home appliance and network set up method the same
CN103512159B (en) Air conditioner and air conditioner control system
CN103428799A (en) WIFI network module configuring method
CN105137774B (en) A smart home appliance control method, device and mobile terminal
CN102594637B (en) Refrigerator-based smart home control system
CN106292323A (en) Switch panel is configured to the system and method for Multifunctional control panel
CN108317631A (en) Household appliance, appliance system and server unit
CN107483300A (en) Linkage control method, system and smart device for multiple smart devices
CN114690649B (en) Multi-mode configuration method and device for control panel, equipment, panel and medium
CN102291284A (en) Intelligent terminal device of wireless network digital home
CN103019208A (en) Electronic equipment double control module in smart home
CN114253143B (en) Load device control method, device and system, electronic device and storage medium
CN114637216B (en) Scene configuration method and device, control method and device, intelligent device and medium
JP2012079026A (en) Power management device, power supply device, power management system and program
CN115250561A (en) Intelligent lamp control method and device, intelligent lamp, equipment and medium
CN207281739U (en) scene switching device and system
CN202975765U (en) Intelligent household double-control module for electronic devices
CN222363162U (en) A multifunctional oscillating fan control circuit and fan device
WO2022242385A1 (en) Household appliance control method and apparatus
CN115623638A (en) Control method, device switch, storage medium and electronic device of target lamp

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant