Multi-mode configuration method and device, equipment, panel and medium for control panel
Through the multi-mode configuration method of the intelligent control panel, the number of on-off devices in the base and the parameter relationship of the panel are used to realize flexible assembly of panels, which solves the problem of non-universal configuration of existing smart home equipment, improves versatility and reduces cost.
Patent Information
- Application Number
- CN202011613207.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-30
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-12-30
AI Technical Summary
The panel switch configuration of existing smart home devices is not versatile, error-prone, costly, and inconvenient to upgrade.
Through the multi-mode configuration method of the intelligent control panel, the detachably connected base and panel are used to obtain the number of on-off devices in the base, determine the parameter relationship between the buttons and the on-off devices, form different control modes, and realize the control of the buttons and on-off devices. Flexible combination, suitable for various load equipment circuits.
It improves the versatility of the intelligent control panel, avoids incorrect installation combinations, reduces costs, and supports the updating of button and on-off device parameters according to changes in the load equipment circuit, making it easy to upgrade.
Smart Images

Figure CN114690649B
Abstract
Description
Technical Field
[0001] 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
[0002] 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.
[0003] 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
[0004] 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.
[0005] To achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:
[0006] 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:
[0007] Obtaining the number of on-off devices included in the base;
[0008] 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.
[0009] 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:
[0010] An acquisition module, used for acquiring the number of the on-off devices included in the base;
[0011] 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.
[0012] 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.
[0013] 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, it implements the multi-mode configuration method of the intelligent control panel described in any embodiment of the present application applied to the intelligent control panel.
[0014] 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.
[0015] 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:
[0016] 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;
[0017] Acquiring configuration parameters of the button and the on-off device based on the button interface;
[0018] 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.
[0019] 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:
[0020] 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;
[0021] A configuration module, used for acquiring configuration parameters of the button and the on-off device based on the button interface;
[0022] 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.
[0023] 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 the computer program, when executed by the processor, implements the multi-mode configuration method of the intelligent control panel described in any embodiment of the present application applied to the terminal device.
[0024] 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.
[0025] 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.
[0026] 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
[0027] Figure 1 This is an Internet of Things system framework diagram of an optional application scenario of the multi-mode configuration method of the intelligent control panel in the embodiment of the present application;
[0028] Figure 2 This is a schematic diagram of the structure of the intelligent control panel in the embodiment of the present application;
[0029] Figure 3 Another structural diagram of the intelligent control panel in the embodiment of the present application;
[0030] Figure 4 A flowchart of a multi-mode configuration method of an intelligent control panel in an embodiment of the present application;
[0031] Figure 5 A schematic diagram of the parameter relationship between the button and the on-off device in the embodiment of the present application;
[0032] Figure 6 This is a flow chart of a multi-mode configuration method of an intelligent control panel in another embodiment of the present application;
[0033] Figure 7 A flowchart of a multi-mode configuration method of an intelligent control panel in an optional example of the present application;
[0034] Figure 8 A flowchart of a multi-mode configuration method of an intelligent control panel in another optional example of the present application;
[0035] Fig. 9 A schematic diagram of a multi-mode configuration device of an intelligent control panel in an embodiment of the present application;
[0036] Fig.10 A schematic diagram of a multi-mode configuration device of an intelligent control panel in another embodiment of the present application;
[0037] Fig.11 This is a schematic diagram of the structure of an intelligent control panel in an embodiment of the present application;
[0038] Fig.12 This is a schematic diagram of the structure of an intelligent control panel in another embodiment of the present application;
[0039] Fig.13 This is a schematic diagram of the structure of a terminal device in an embodiment of the present application;
[0040] Fig.14 This is a schematic diagram of the structure of an intelligent control panel in another embodiment of the present application. DETAILED DESCRIPTION
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] See also Figure 1 , which is an IoT system framework diagram of an optional application scenario of the multi-mode configuration method of the intelligent control panel provided in the embodiment of the present application. Among them, the IoT 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 IoT load device is controlled by the intelligent control panel 10. It can be pre-added to the gateway device 53. For example, the IoT 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.
[0046] 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.
[0047] 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.
[0048] 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.
[0049] 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.
[0050] Please refer to Figure 2 and Figure 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 of on-off devices. 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.
[0051] 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.
[0052] 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.
[0053] See also Figure 4 , a multi-mode configuration method of an intelligent control panel provided in an embodiment of the present application, which can be applied to Figure 1 The smart control panel shown. The smart control panel includes a detachably connected base and a panel, and the multi-mode configuration method of the smart control panel includes but is not limited to S101 and S103, which are specifically described as follows:
[0054] S101, obtaining the number of the on-off devices included in the base.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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 two on-off devices in a one-to-two manner, or configuring the right button 2 to correspond to 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 action according to the closing or opening of the same on-off device associated with them.
[0060] 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.
[0061] 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 externally connected 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.
[0062] 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:
[0063] Virtual buttons respectively corresponding to the on-off devices are formed on the panel according to the number of the on-off devices.
[0064] 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.
[0065] 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.
[0066] In some embodiments, determining the parameter relationship between the buttons included in the panel and the on-off device includes:
[0067] 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;
[0068] Receiving configuration parameters of the buttons and the on-off device acquired by the terminal device based on the button interface;
[0069] A parameter relationship between the button and the on-off device is determined according to the configuration parameters.
[0070] 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.
[0071] 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.
[0072] 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 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 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.
[0073] 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:
[0074] Sending the number of included physical keys to the terminal device;
[0075] The receiving the configuration parameters of the key and the on-off device acquired by the terminal device based on the key interface, and determining the parameter relationship between the key and the on-off device according to the configuration parameters, comprises:
[0076] The terminal device receives configuration parameters of the buttons and the on-off device acquired based on the button interface, and determines 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.
[0077] 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.
[0078] 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.
[0079] In some embodiments, determining the parameter relationship between the button and the on-off device according to the configuration parameter includes:
[0080] 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;
[0081] 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.
[0082] 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.
[0083] 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:
[0084] Table 1
[0085]
[0086]
[0087] By setting the initial configuration parameters corresponding to different numbers of on-off devices, it can be ensured that after the intelligent control panel uses bases with different numbers of on-off devices and is combined with different types of panels, it can achieve control of external IoT load devices and avoid the occurrence of incorrect installation combinations; and supporting the updating of the corresponding status and action status of buttons and on-off devices 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.
[0088] Optionally, the multi-mode configuration method of the intelligent control panel further includes:
[0089] Receiving an operation instruction based on the button sent by the terminal device, or the panel acquiring the operation instruction for the button;
[0090] 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.
[0091] 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.
[0092] 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 users' growing high-end usage needs.
[0093] 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:
[0094] In the case where 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;
[0095] 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;
[0096] 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.
[0097] Among them, Figure 5As shown in 5-1, 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 close or open. Figure 5 As shown in 5-2, the control relationship between the button and the on-off device is a one-to-many synchronous correspondence relationship, which means that a 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 close or open. Figure 5 As shown in 5-3, the control relationship between the button and the switch is a one-to-many mutually exclusive correspondence, which means that a button on the panel of the intelligent control panel corresponds to multiple switch devices at the same time. When the button is turned on, some of the corresponding multiple switch devices are closed, and the other parts are disconnected. Conversely, when the button is turned off, some of the corresponding multiple switch devices are disconnected, and the other parts are closed. For example, when button 1 controls switch device 1 to be turned on, it will control switch device 3 to be turned off at the same time; when button 3 controls switch device 3 to be turned on, it will control switch device 1 to be turned off at the same time.
[0098] 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:
[0099] Table 2-1
[0100]
[0101] 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:
[0102] Table 2-2
[0103]
[0104] 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:
[0105] Table 2-3
[0106]
[0107] 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.
[0108] See also Figure 6 On the other hand, the present application also provides a multi-mode configuration method for an intelligent control panel, which can be applied to Figure 1 The terminal devices shown include but are not limited to S201, S203 and S205, which are described in detail as follows:
[0109] 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.
[0110] 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.
[0111] S203: Acquire configuration parameters of the buttons and the on-off device based on the button interface.
[0112] 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 as 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.
[0113] 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.
[0114] 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.
[0115] 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.
[0116] In some embodiments, the multi-mode configuration method of the intelligent control panel further includes:
[0117] Receiving the number of physical buttons included in the panel sent by the intelligent control panel;
[0118] The acquiring the configuration parameters of the button and the on-off device based on the button interface includes:
[0119] Based on the button interface, a selected physical button and a parameter relationship between the physical button and the on-off device are acquired to obtain configuration parameters of the button and the on-off device.
[0120] 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.
[0121] 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.
[0122] 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:
[0123] 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,
[0124] 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,
[0125] 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.
[0126] 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.
[0127] 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.
[0128] 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.
[0129] In some embodiments, the multi-mode configuration method of the intelligent control panel further includes:
[0130] Acquire operation instructions for keys in the key interface based on the key interface;
[0131] 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.
[0132] 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.
[0133] See also Figure 7In 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:
[0134] S11, the intelligent control panel is selected to include any number of on-off devices and touch panel combinations.
[0135] 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.
[0136] 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.
[0137] 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.
[0138] 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.
[0139] 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.
[0140] 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.
[0141] 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.
[0142] See also Figure 8 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:
[0143] S21, intelligent control panel selection includes any number of on-off devices and button panel combinations.
[0144] 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.
[0145] 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.
[0146] 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.
[0147] 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.
[0148] 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.
[0149] 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.
[0150] 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.
[0151] On the other hand, please refer to Fig. 9 , a multi-mode configuration device of an intelligent control panel is also provided, the intelligent control panel includes a detachably connected base and a panel, the device includes: an acquisition module 11, used to obtain the number of on-off devices included in the base; a control module 12, used to determine the parameter relationship between the buttons included in the panel and the on-off devices, determine the control relationship between the buttons and the on-off devices according to the parameter relationship, and form different control modes for the load equipment associated with the on-off devices according to the control relationship.
[0152] 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.
[0153] 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.
[0154] 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.
[0155] 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.
[0156] 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.
[0157] 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.
[0158] 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.
[0159] On the other hand, 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, which is used to receive the number of on-off devices included in the base sent by the intelligent control panel, and generate a matching button interface according to the number of on-off devices; a configuration module 22, which is used to obtain configuration parameters of buttons and the on-off devices based on the button interface; a sending module 23, which 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, so as to form different control modes for the load device associated with the on-off device.
[0160] 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.
[0161] 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.
[0162] 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.
[0163] 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.
[0164] On the other hand, please refer to Fig.11 , provides an intelligent control panel, including a detachably connected base and a panel, the base including a first controller 110, a first memory 111 connected to the first controller 110, and at least one on-off device 112, the panel including a second controller 113, a second memory 114 connected to the second controller 113, and a communication module 115, the first controller 110 and the second controller 113 use a serial communication protocol for data transmission, 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.
[0165] 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.
[0166] 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.
[0167] 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.
[0168] See also Fig.12 , is a hardware structure diagram of the intelligent control panel provided in the embodiment of the present application. Fig.12 As shown, the intelligent control panel can be a panel switch 64. 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. 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, each of which may include a series of instruction operations on the server. Furthermore, the processor 64a 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.
[0169] 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.
[0170] 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.
[0171] The input / output interface 1200 may be used to receive or send data 1400 via a network. The specific example of the 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 may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 1200 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly. It will be understood by those skilled in the art that Fig.12 The structure shown is only for illustration and does not limit the structure of the panel switch 64. For example, the panel switch 64 may also include Fig.12 More or fewer components as shown, or with Fig.12 Different configurations are shown.
[0172] On the other hand, please refer to Fig.13 , a terminal device is also provided, including a processor 211, a memory 212, and a computer program stored in the memory 212 and executable by the processor 211, the computer program is executed by the processor 211 to implement the multi-mode configuration method of the intelligent control panel applied to the terminal device side provided by any embodiment of the present application, and can achieve the same technical effect, to avoid repetition, it is not repeated here. The terminal device can be a smart phone, a personal computer, etc.
[0173] See also Fig.14 , is an optional hardware structure block diagram of a terminal device provided in an embodiment of the present application. Fig.14As shown, 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.
[0174] 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.
[0175] It can be understood by those skilled in the art that Fig.14 The structure shown is for illustration only and does not limit the structure of the above terminal device. Fig.14 More or fewer components as shown, or with Fig.14 Different configurations are shown.
[0176] 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.
[0177] 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
1. A multi-mode configuration method for an intelligent control panel, characterized in that: The intelligent control panel comprises a detachably connected base and a panel, and the method comprises: 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.
2. The method according to claim 1, characterized in that 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.
3. The method according to claim 1 or 2, characterized in that The determining of 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.
4. The method according to claim 3, characterized in that The panel is a button panel, and the determining of 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 key and the on-off device acquired by the terminal device based on the key interface, and determining the parameter relationship between the key and the on-off device according to the configuration parameters, comprises: The terminal device receives configuration parameters of the buttons and the on-off device acquired based on the button interface, and determines 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.
5. The method according to claim 3, characterized in that The determining the parameter relationship between the button and the on-off device according to the configuration parameters 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.
6. The method according to claim 1, characterized in that Also includes: Receiving an operation instruction based on the button sent by a 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.
7. The method according to claim 6, characterized in that The 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: 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.
8. A multi-mode configuration method for an intelligent control panel, applied to a terminal device, characterized in that: The intelligent control panel comprises a detachably connected base and a panel, and the method comprises: 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.
9. The method according to claim 8, characterized in that Also 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.
10. The method according to claim 8, characterized in that The key interface includes virtual keys corresponding to the number of the on-off devices, and the acquiring of 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 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.
11. The method according to any one of claims 8 to 10, characterized in that Also 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.
12. A multi-mode configuration device for an intelligent control panel, characterized in that: The intelligent control panel comprises a detachably connected base and a panel, and the device comprises: 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.
13. A multi-mode configuration device for an intelligent control panel, applied to a terminal device, characterized in that: The intelligent control panel comprises a detachably connected base and a panel, and the device comprises: 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 button 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.
14. An intelligent control panel, characterized in that: It comprises a detachably connected base and a panel, wherein the base comprises a first controller, a first memory connected to the first controller, and at least one on-off device, and the panel comprises 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 programs are executed by the first controller and the second controller, the multi-mode configuration method of the intelligent control panel as described in any one of claims 1 to 7 is implemented.
15. The intelligent control panel according to claim 14, characterized in that: 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.
16. The intelligent control panel according to claim 14, characterized in that: The panel is a key panel, and the key panel includes at least one physical key. 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 according to 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 the updating state, the button panel determines the parameter relationship between the physical button and the on-off device according to the configuration parameters received from the terminal device.
17. A terminal device, characterized in that: The invention comprises 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 according to any one of claims 8 to 11 is implemented.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the multi-mode configuration method of the intelligent control panel according to any one of claims 1 to 11 is implemented.
