A key management method, a panel, a device and a storage medium

By setting a detachable cover and detection circuit on the intelligent button panel, the number of covers is identified and the control interface is updated, which solves the problems of high difficulty and high cost in adjusting the number of buttons in the prior art, and realizes flexible adjustment of the number of buttons and dynamic updating of the control interface.

CN119676013BActive Publication Date: 2026-02-06HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311229911.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-20
Publication Date
2026-02-06
Estimated Expiration
2043-09-20

AI Technical Summary

Technical Problem

In existing smart home appliance technologies, the number of buttons on smart button panels is fixed at the factory. Users need to replace the entire panel to adjust the number of buttons, which makes adjustment difficult and changes costly.

Method used

By setting a detachable cover and detection circuit on the smart button panel, the number of covers is identified to determine the current number of buttons, and the button information is sent to the device in real time through the communication module to dynamically update the control interface to adjust the number of buttons.

Benefits of technology

It enables flexible adjustment of the number of buttons on the intelligent button panel, reduces change costs, and improves the flexibility of the button panel and the adaptability of the control interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676013B_ABST
    Figure CN119676013B_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of intelligent household appliances, and provides a key management method, a panel, a device and a storage medium. The method comprises the following steps: if a smart key panel detects a key number feedback event, the smart key panel sends key information to a device; the key information comprises a current key number of the smart key panel; the device receives the key information sent by the smart key panel; and the device updates at least one element in a control interface of the smart key panel based on the key information. In the technical solution provided by the application, the entire smart key panel does not need to be removed and replaced with another panel with a suitable key number, but only the face shell specification of the smart key panel needs to be adjusted, so that the key number configured on the smart key panel can be changed, the flexibility of panel key number adjustment is greatly improved, and the change cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of intelligent household appliances, and particularly relates to a key management method, a panel, a device and a storage medium. BACKGROUND

[0002] With the continuous development of intelligent household appliance technology, more and more users gradually recognize the convenience brought by intelligent household appliances. In the process of deploying intelligent household appliances, as the number of intelligent household appliances is increasing, in order to more conveniently control the intelligent household appliances, a corresponding intelligent key panel can be installed. According to different use scenarios, intelligent key panels with different numbers of keys, such as one key, two keys or three keys, can be installed to control one or more specified intelligent household appliances.

[0003] In the prior art of intelligent household appliances, the number of keys of the intelligent key panel is fixed at the time of factory shipment. After the user completes the installation of the intelligent key panel, if it is necessary to increase or reduce the number of keys, the entire panel needs to be replaced, thereby greatly increasing the difficulty of adjusting the number of keys and the change cost. SUMMARY

[0004] The embodiments of the present application provide a key management method, device, panel, equipment and computer readable storage medium, which can solve the problem that in the prior art of intelligent household appliances, when it is necessary to adjust the number of keys on the intelligent key panel, the entire panel needs to be replaced, thereby increasing the difficulty of adjustment and the change cost.

[0005] The first aspect provides a key management method applied to an intelligent key panel, the key management method comprising: if a key number feedback event is detected, sending key information to a device; the key information containing the current number of keys of the intelligent key panel, and the key information being an input for updating at least one element of a control interface of the intelligent key panel on the device.

[0006] The embodiments of the present application have the following beneficial effects: the face shell in the smart key panel is a detachable face shell, the smart key panel can determine the current number of keys by identifying the installed face shell, and send the key information carrying the current number of keys to the corresponding device when detecting the key number feedback event, the device can update the corresponding elements in the control interface according to the number of keys of the current smart key panel, thereby realizing dynamic and flexible adjustment of the number of keys on the smart key panel, updating the control interface of the smart key panel, and facilitating setting of the control events associated with each key on the smart key panel. Compared with the existing smart home appliance technology, when the number of keys of the smart key panel needs to be adjusted, the entire smart key panel does not need to be removed and replaced with another panel with a suitable number of keys, but only the face shell specification on the smart key panel needs to be adjusted, which can change the number of keys configured on the smart key panel, greatly improving the flexibility of panel key number adjustment, and thereby reducing the change cost.

[0007] In a possible implementation manner of the first aspect, if the key number feedback event is detected, the key information is sent to the device, including:

[0008] If the key number feedback event is detected, a first message indicating information change is sent to the device;

[0009] In response to the second message indicating information acquisition sent by the device, the key information is sent to the device.

[0010] In a possible implementation manner of the first aspect, before the key information is sent to the device if the key number feedback event is detected, the method further includes:

[0011] According to the number of face shells configured on the smart key panel, the current number of keys is determined;

[0012] If the current number of keys is inconsistent with the number of keys recorded in the configuration file of the smart key panel, the configuration file is updated based on the current number of keys, and the key number feedback event is generated.

[0013] In a possible implementation manner of the first aspect, the smart key panel includes a plurality of detection circuits;

[0014] The current number of keys is determined according to the number of face shells configured on the smart key panel, including:

[0015] Receiving the coupling signals fed back by each detection circuit, the coupling signals are generated when the face shell is buckled on the corresponding panel area of the detection circuit;

[0016] The number of face shells is determined according to the received coupling signals.

[0017] In a possible implementation manner of the first aspect, the coupling signal is generated when a switch on the detection circuit is connected, and the switch is connected when the face shell is buckled to the panel area of the detection circuit.

[0018] In a possible implementation manner of the first aspect, if the number of feedback events of the keys is detected, the key information is sent to the device, including:

[0019] The key information is generated by a key service application.

[0020] The key information is sent to a server by the key service application, so that the key information is sent to the device by the server.

[0021] In a possible implementation manner of the first aspect, if the number of feedback events of the keys is detected, the key information is sent to the device, including:

[0022] The key information is sent to the device by a first communication module, and the smart key panel establishes a communication connection with the device by the first communication module.

[0023] The second aspect provides a smart key panel, including a panel body and at least one face shell buckled to the panel body.

[0024] The panel body includes a plurality of detection circuits and a control chip, and an output port of the detection circuit is connected to an input port of the control chip.

[0025] The detection circuit is configured to output a coupling signal to the control chip when it is detected that the face shell is buckled to the corresponding panel area of the detection circuit.

[0026] The control chip is configured to receive the coupling signal sent by each detection circuit, determine the current number of keys of the smart key panel based on the coupling signal, and send key information containing the current number of keys to the device when the current number of keys is inconsistent with the number of keys recorded in the configuration file.

[0027] In a possible implementation manner of the second aspect, the detection circuit includes a first switch pin, and the face shell includes a second switch pin.

[0028] When the face shell is buckled to the corresponding panel area of the detection circuit, the first switch pin is connected to the second switch pin, and the detection circuit generates the coupling signal when the first switch pin is connected to the second switch pin.

[0029] In a possible implementation manner of the second aspect, the detection circuit includes a first coupling coil; and the face shell includes a second coupling coil.

[0030] When the face shell is buckled to the corresponding panel area of the detection circuit, the first coupling coil and the second coupling coil generate the coupling signal.

[0031] In a possible implementation manner of the second aspect, the smart key panel includes a communication module, an input port of the communication module is connected to an output port of the control chip; and the smart key panel establishes a communication connection with the device through the communication module.

[0032] The communication module is configured to generate the key information into a communication protocol data packet corresponding to the communication module, and send the communication protocol data packet to the device through the communication connection; and / or

[0033] The communication module is configured to send the key information to a server, and send the key information to the device through the server.

[0034] In a possible implementation manner of the second aspect, the communication module includes at least one of a wireless fidelity (Wi-Fi) module, a Bluetooth module, a Bluetooth low energy (BLE) module, a ZigBee module, an ultra-wideband (UWB) module, a near field communication (NFC) module, and a power line carrier (PLC) module.

[0035] In a possible implementation manner of the second aspect, the panel body includes a control circuit board, a back plate, and a junction box, the control chip and the detection circuit are installed on the control circuit board, the control circuit board is installed on the back plate, and the back plate is installed on the junction box.

[0036] The third aspect provides a key management method applied to a device, and the key management method includes the following steps.

[0037] Receiving key information sent by a smart key panel, the key information being sent when the smart key panel detects a key number feedback event, and the key information including a current key number of the smart key panel.

[0038] Updating at least one element of a control interface corresponding to the smart key panel based on the key information.

[0039] In a possible implementation manner of the third aspect, the receiving of the key information sent by the smart key panel includes the following steps.

[0040] The key information is transmitted by the smart key panel to the server through a key service application installed in the smart key panel.

[0041] In a possible implementation of the third aspect, the receiving of the key information transmitted by the smart key panel comprises:

[0042] The key information transmitted by the smart key panel is received through a second communication module; and the device establishes a communication connection with the smart key panel through the second communication module.

[0043] In a possible implementation of the third aspect, after the updating of the at least one element of the control interface of the smart key panel based on the key information, the method further comprises:

[0044] In response to a setting operation initiated by a user in the control interface, setting a touch mode of any key of the smart key panel corresponding to the control interface and a smart device controlled by the any key;

[0045] If the smart key panel transmits touch information about one of the any keys, the smart device associated with the key is controlled, and the touch information is transmitted when the smart key panel detects that a user touches the key in a corresponding touch mode.

[0046] In a possible implementation of the third aspect, the receiving of the key information transmitted by the smart key panel comprises:

[0047] A first message for indicating information change transmitted by the smart key panel is received, and the first message is transmitted when the smart key panel detects the key number feedback event;

[0048] A second message for indicating information acquisition is transmitted to the smart key panel, so that the smart key panel feeds back the key information based on the second message.

[0049] The fourth aspect provides a smart key panel, comprising a memory, one or more processors, and one or more programs stored in the memory, and the one or more processors implement the method of the key management of any one of the first aspect when executing the one or more programs.

[0050] The fifth aspect provides a device, comprising a memory, one or more processors, and one or more programs stored in the memory, and the one or more processors implement the method of the key management of any one of the third aspect when executing the one or more programs.

[0051] The sixth aspect provides a readable storage medium, the readable storage medium stores one or more programs, and the one or more programs are executed by a processor to implement the key management method in any one of the first aspect or the third aspect.

[0052] The seventh aspect provides a program product, when the program product is run on a device, the device is caused to execute the key management method in any one of the first aspect or the third aspect.

[0053] The eighth aspect provides a chip system, including one or more processors, the one or more processors are coupled with a memory, and the one or more processors execute one or more programs stored in the memory to implement the key management method in any one of the first aspect or the third aspect.

[0054] The ninth aspect provides a smart home system, the smart home system includes at least one smart key panel in the fourth aspect and the device in the fifth aspect.

[0055] It can be understood that the beneficial effects of the second aspect to the ninth aspect can be referred to the related description in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0056] Figure 1 is a schematic diagram of different types of smart key panels;

[0057] Figure 2 is a structural schematic diagram of a smart key panel provided by an embodiment of the present application;

[0058] Figure 3 is a structural schematic diagram of a panel body provided by an embodiment of the present application;

[0059] Figure 4 is a schematic diagram of the relationship between the number of face shells and the number of keys provided by an embodiment of the present application;

[0060] Figure 5 is a schematic diagram of a detection circuit provided by an embodiment of the present application;

[0061] Figure 6 is a schematic diagram of a panel body based on contact detection provided by an embodiment of the present application;

[0062] Figure 7 is a schematic diagram of a panel body based on non-contact detection provided by an embodiment of the present application;

[0063] Figure 8 is a schematic diagram of a panel body provided by another embodiment of the present application;

[0064] Figure 9is a structural schematic diagram of a panel body provided by another embodiment of the present application;

[0065] Figure 10 is an interactive implementation flowchart of a key management method provided by an embodiment of the present application;

[0066] Figure 11 is a setting schematic diagram of a corresponding relationship between a key capability state and a key number provided by an embodiment of the present application;

[0067] Figure 12 is a schematic diagram in which a device and a smart key panel transmit key information through a key service application provided by an embodiment of the present application;

[0068] Figure 13 is a data structure schematic diagram of key information provided by an embodiment of the present application;

[0069] Figure 14 is a setting schematic diagram of a smart home provided by an embodiment of the present application;

[0070] Figure 15 is a schematic diagram of multiple scenarios in which a smart key panel establishes a connection with a device based on a communication module provided by an embodiment of the present application;

[0071] Figure 16 is an interactive flowchart in which a smart key panel sends key information to a device provided by another embodiment of the present application;

[0072] Figure 17 is a structural schematic diagram of a smart home appliance system provided by an embodiment of the present application;

[0073] Figure 18 is a schematic diagram of a control interface of a smart home appliance application provided by an embodiment of the present application;

[0074] Figure 19 is a setting schematic diagram of a control event provided by an embodiment of the present application;

[0075] Figure 20 is an implementation flowchart of a key management method on a smart key panel side provided by an embodiment of the present application;

[0076] Figure 21 is an implementation flowchart of a key management method on a device side provided by an embodiment of the present application;

[0077] Figure 22 is a structural schematic diagram of a device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0078] In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular architectures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known methods, devices, circuits, and

[0079] It is to be understood that the terminology "includes", "has", "holds", "contains" or "comprising", when used in this specification and in the following claims, indicates the presence of the described features, integers, steps, operations, elements, and / or components but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0080] As used in this specification and claims, the terms "if" and "when" can, depending upon the context, be interpreted to mean "upon determination" or "in response to a determination" or "upon detection" or "in response to a detection". Similarly, the phrases "if determined" or "if detected [the described condition or event]" can, depending upon the context, be interpreted to mean "upon determination" or "in response to a determination" or "upon detection" or "in response to a detection" of [the described condition or event].

[0081] In addition, the terms "first", "second", "third", etc. in the description of the present application and the appended claims are used only to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0082] Reference throughout this specification to "one embodiment" or "an embodiment" or "some embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in some embodiments" or "in other embodiments" or "in still other embodiments" or the like in various places throughout this specification are not necessarily all referring to the same embodiment, unless otherwise specified. Furthermore, the terms "comprises", "comprising", "includes", "including", "has", "having", and the like are intended to be open-ended terms that do not exclude additional, unrecited elements or methods. Thus, such terms are specifically not intended to exclude the presence of additional, unrecited elements or methods.

[0083] With the continuous development of smart home appliance technology, smart home appliances are gradually popularized in user households. In order to better control the smart home appliances and general home appliances in the house, such as controlling the on-off state of the home appliances or changing the running gear, the smart key panel can be used to control the home appliances. Each key in the smart key panel can set different functions according to the user's use demand, for example, a key is used to control the on-off state of the smart lamp, and another key is used to control the color temperature of the smart lamp. Due to the flexible setting of the smart key panel and the good compatibility with the smart home appliances, the smart key panel has gradually become one of the important members in the smart home appliances and is widely used. Exemplarily, Figure 1 The schematic diagram of different types of smart key panels is shown. Referring to Figure 1 As shown, according to the different number of keys on the smart key panel, it can be divided into one-key panel, two-key panel and three-key panel, etc. The user can install the corresponding smart key panel according to the actual use demand.

[0084] However, the existing smart key panel has a fixed number of keys on each panel. Correspondingly, in the application of smart home appliances, the number of keys in the control interface corresponding to each smart key panel is also fixed, and the panel model of the smart key panel is mutually bound, that is, the number of keys and the corresponding control interface are both unchangeable. However, with the continuous change of user's use demand, the number of keys of the smart key panel will also change, for example, when a smart home appliance is added, more keys are needed to control the newly added smart home appliance; if a smart home appliance is removed, there will be idle keys on the smart key panel, thereby reducing the utilization rate of the keys. At this time, if the number of keys on the smart key panel needs to be adjusted, the entire smart key panel needs to be removed and replaced with another smart key panel that meets the key demand. For example, in the scenario of adding a smart home appliance, the user needs to remove the two-key panel and reinstall a three-key panel, which is complex to change. As can be seen, the existing smart key panel has the problems of great adjustment difficulty and low flexibility of changing the number of keys when the number of keys needs to be adjusted. Moreover, the control interface in the application of smart home appliances cannot be updated according to the actual number of keys, which is not conducive to the setting of the smart key panel.

[0085] Embodiment one:

[0086] In order to solve the above problems existing in the existing smart key panel, the embodiment of the present application provides a smart key panel, which comprises a panel body and at least one face shell buckled to the panel body. Exemplarily, Figure 2 The structural schematic diagram of the smart key panel provided by an embodiment of the present application is shown. Referring to Figure 2As shown in (a) of FIG. 1, the smart key panel is a two-key panel, which includes a panel body 21 and two face shells 22 and 23 coupled to the panel body 21. In some implementation scenarios, when a user needs to adjust the number of keys on the smart key panel, for example, to adjust the two-key panel to a three-key panel, the face shells 22 and 23 can be removed and replaced with four face shells of a four-key specification, such as Figure 2 As shown in (b) of FIG. 1, the face shells 24-27 can be used to adjust the smart key panel from a two-key specification to a four-key specification.

[0087] Therefore, the smart key panel provided by the embodiments of the present application can adjust the number of keys on the smart key panel according to different specifications and numbers of face shells, so as to achieve the purpose of flexibly adjusting the number of keys on the panel. In order to identify the real-time number of keys on the smart key panel, the panel body of the smart key panel is provided with a control chip and a plurality of detection circuits. For example, Figure 3 FIG. 2 shows a structural schematic diagram of a panel body provided by an embodiment of the present application. As shown in FIG. 2, the smart control panel includes a panel body 21, and a control chip 31 and four detection circuits 32-35 are arranged on the panel body 21. Figure 3 The control chip 31 includes a memory, one or more processors, and one or more programs stored in the memory. When the one or more processors execute the one or more programs, the key management method provided by the subsequent embodiments is implemented. The configuration file of the smart key panel can also be stored in the memory of the control chip 31.

[0088] The output port of each detection circuit on the panel body is connected to the input port of the control chip 31. For example, the output port of the detection circuit 32 is connected to the input port of the control chip, and the output port of the detection circuit 33 is connected to the input port of the control chip.

[0089] For example, the detection circuit 32 is used to detect whether the detection area corresponding to the detection circuit 32 has a coupled face shell. If the detection area corresponding to the detection circuit 32 has a coupled face shell, the detection circuit 32 can output a coupling signal through the output port, and the control chip 31 can receive the coupling signal sent by the detection circuit 32 through the input port, so as to determine that the detection area corresponding to the detection circuit 32 has a face shell. Based on this, the control chip 31 can receive the number of coupling signals fed back by each detection circuit, so as to determine the number of face shells coupled to the smart panel, and determine the current number of keys of the smart key panel according to the number of face shells.

[0090] In one possible implementation, the number of face shells configured on the smart key panel is the current number of keys on the smart key panel. For example, Figure 4A schematic diagram showing the relationship between the number of face shells and the number of keys provided by an embodiment of the present application is shown. Referring to Figure 4 In (a) of FIG. 21, the number of keys on each face shell is one, in which case the number of face shells is the same as the number of keys of the smart key panel, and the number of keys can be determined according to the number of face shells.

[0091] In a possible implementation, if two keys are configured on one face shell, the number of keys on the smart key panel can be determined according to the number of keys of each face shell. Referring to Figure 4 In (b) of FIG. 21, the number of keys of each face shell is two, in which case the number of keys is equal to 2 times the number of face shells. Specifically, the number of keys configured on each face shell can be set according to requirements, which is not limited herein.

[0092] If the number of keys on the face shells is not fixed, the detection circuit can determine the number of keys on the face shell according to the preset characteristic parameters when the face shell is actually buckled, and then generate a coupling signal matching the number of keys of the face shell. Exemplarily, Figure 5 A schematic diagram of a detection circuit provided by an embodiment of the present application is shown. Referring to Figure 5 As shown in FIG. 22, the detection circuit includes a plurality of different physical switches. When face shells with different numbers of keys are buckled in the corresponding detection areas of the detection circuit, the number of physical switches turned on is different. For example, a face shell with two keys can turn on two physical switches, and a face shell with one key can turn on one physical switch. The detection circuit can generate a coupling signal corresponding to the number of physical switches turned on, and send the coupling signal to the control chip, so that the control chip determines the number of keys based on the coupling signal.

[0093] In the present embodiment, the manner in which the detection circuit detects whether a face shell is buckled in the corresponding detection area can include the following two manners:

[0094] Manner 1: Contact detection

[0095] In the present embodiment, each detection circuit includes a first switch pin. Exemplarily, Figure 6 A schematic diagram of a panel body based on contact detection provided by an embodiment of the present application is shown. Referring to Figure 6As shown, the panel body includes a control chip 31, and four first switch pins, namely switch pin 11 to switch pin 14. Correspondingly, each face shell buckled on the panel body can also contain a second switch pin. Taking the example of buckling four face shells on the panel body, face shell 1 is configured with switch pin 21, face shell 2 is configured with switch pin 22, face shell 3 is configured with switch pin 23, and face shell 4 is configured with switch pin 24. When each face shell is buckled on the panel body, switch pin 11 and switch pin 21 will be connected, switch pin 12 and switch pin 22 will be connected, switch pin 13 and switch pin 23 will be connected, and switch pin 14 and switch pin 24 will be connected. When each pair of pins is connected, a coupling signal will be generated and transmitted to the control chip 31. The control chip 31 can determine the number of face shells according to the number of received coupling signals, and then determine the number of current keys of the current smart key panel.

[0096] It should be noted that the number of switch pins configured on each panel body is different, which can be determined according to the maximum number of face shells or the maximum number of keys supported by the panel body, and is not limited here.

[0097] Method 2: Non-contact detection

[0098] In this embodiment, each detection circuit contains a first coupling coil. Exemplarily, Figure 7 A schematic diagram of a panel body based on non-contact detection according to an embodiment of the application is shown. Referring to Figure 7 As shown, the panel body includes a control chip 31, and four first coupling coils, namely coupling coil 11 to coupling coil 14. Correspondingly, each face shell buckled on the panel body can also contain a second coupling coil. Taking the example of buckling four face shells on the panel body, face shell 1 is configured with coupling coil 21, face shell 2 is configured with coupling coil 22, face shell 3 is configured with coupling coil 23, and face shell 4 is configured with coupling coil 24. When each face shell is buckled on the panel body, coupling coil 11 and coupling coil 21 will generate a coupling signal, coupling coil 12 and coupling coil 22 will generate a coupling signal, coupling coil 13 and coupling coil 23 will generate a coupling signal, and coupling coil 14 and coupling coil 24 will generate a coupling signal. The coupling signals generated by each pair of coupling coils can be transmitted to the control chip 31 through the corresponding output pins. The control chip 31 can determine the number of face shells according to the number of received coupling signals, and then determine the number of current keys of the current smart key panel.

[0099] It should be noted that the number of coupling coils configured on each panel body is different, which can be determined according to the maximum number of face shells or the maximum number of keys supported by the panel body, and is not limited here.

[0100] In the embodiment, the control chip 31 can further include a memory, which can record a configuration file of the smart key panel, the configuration file recording a number of keys determined by the smart key panel last time. The control chip 31 compares the number of keys determined based on the coupling signal currently with the number of keys recorded in the configuration file, so as to identify whether the number of keys of the smart key panel changes, and determine whether the changed key information needs to be sent to the device.

[0101] In a possible implementation, the panel body can be configured with a communication module. Exemplarily, Figure 8 A schematic diagram of a panel body provided by another embodiment of the application is shown. In addition to including the control chip 31 and the plurality of detection circuits such as the detection circuit 32, the panel body further includes a communication module 81. The output port of the control chip 31 is connected to the input module of the communication module, and the control chip 31 can send the output key information to the communication module 81, so as to send the key information to the device through the communication module 81. According to different communication connections established with the device, the communication module 81 includes at least one of a wireless fidelity (Wi-Fi) module, a Bluetooth module, a Bluetooth low energy module, a ZigBee module, a near field communication (NFC) module, an ultra wide band (UWB) module, and a power line communication (PLC) module.

[0102] In a possible implementation, the panel body can be divided into a plurality of parts. Exemplarily, Figure 9 A structural schematic diagram of a panel body provided by still another embodiment of the application is shown. Referring to Figure 9 As shown, the above-mentioned modules (i.e., the control chip 31, the detection circuits 32 to 35, and the communication module 81) can be installed on a control circuit board 91, the control circuit board 91 can be installed on a back plate 92, and the back plate 92 can be installed on a junction box 93, so as to constitute a panel body. The panel body can include a plurality of buckling members, and a face shell can be installed on the panel body by buckling with the buckling members.

[0103] Embodiment Two

[0104] In the embodiments of the present application, based on the structure of the intelligent key panel, the intelligent key panel can monitor the number of face shells installed on the panel body in real time, thereby determining the current number of keys of the intelligent key panel, so that the current number of keys of the intelligent key panel can be updated to the device in real time, and the device can update at least one element in the control interface according to the current number of keys of the intelligent key panel, thereby achieving the purpose of flexibly adjusting the number of keys of the intelligent key panel. The specific implementation process of the key management method provided by the embodiments of the present application is described below from the perspective of the interaction process between the intelligent key panel and the device. Exemplarily, Figure 10 An interaction implementation flowchart of the key management method provided by an embodiment of the present application is shown. As shown in Figure 10 The key management method is applied to a smart home system, and the smart home system includes a device and at least one intelligent key panel. Specifically, the device can be a management terminal of a smart home, such as a smart router or a computer, and the device can manage and control other smart home appliances in a scene through the management terminal. Specifically, the specific implementation process of the intelligent key control method is described as follows:

[0105] In S1001, if the intelligent key panel detects a key number feedback event, the intelligent key panel sends key information to the device, and the key information includes the current number of keys of the intelligent key panel.

[0106] In S1002, the device receives the key information sent by the intelligent key panel.

[0107] In the embodiments, the intelligent key panel can determine the number of face shells installed on the panel body through a detection circuit, and then determine the current number of keys of the intelligent key panel through the number of face shells. If the current number of keys is different from the number of keys recorded in the configuration file in advance, it can be determined that there is a key number feedback event. At this time, the intelligent key panel will perform the operation of S1001, that is, generate a key information and encapsulate the current number of keys of the intelligent key panel into the key information.

[0108] In a possible implementation manner, the key information can further include a panel identifier of the intelligent key panel. The panel identifier can be one or a combination of two or more of a panel number, a network address, and a physical address.

[0109] In one possible implementation, the aforementioned button information may further include the button capability status of each button. This button capability status includes both enabled and disabled states. If a button's capability status is enabled, it indicates that the button is usable; if a button's capability status is disabled, it indicates that the button is unusable. The smart button panel can assign a button number to different detection areas. If a detection area is closed with the top cover, the button corresponding to that detection area is usable, meaning the button capability status corresponding to that button number is enabled. Conversely, if a detection area is not closed with the top cover, the button corresponding to that detection area is unusable, meaning the button capability status corresponding to that button number is disabled. The smart button panel can add the correspondence between all button numbers and their enabled states to the aforementioned button information.

[0110] For example, Figure 11 This diagram illustrates the correspondence between button capability states and button numbers according to an embodiment of this application. See also... Figure 11 As shown, the smart button panel can be divided into four detection areas, namely areas 1 to 4, with corresponding button numbers button1 to button4. Area 1 (the detection area corresponding to button1) has a cover 1 attached to it, and this cover 1 obscures the detection area of ​​button2 (area 2). That is, button1 has a cover 1, i.e., button 1, while button2 does not have a cover and therefore no corresponding button. Thus, button1's button capability is enabled, while button2's button capability is disabled. Correspondingly, area 3 has a cover 2 attached to it, i.e., button 2, and cover 4. Button3's button capability is enabled, while button 4's button capability is disabled. Therefore, the button information generated by the smart button panel can be as shown in Table 1. In other implementations, the above button information can include not only the button number but also a custom number corresponding to each button and the button type (such as touch button type and press button type).

[0111] Button number Button capability status button1 Enabled state button2 Disabled state button3 Enabled state button4 Disabled state

[0112] Table 1

[0113] In this embodiment, after detecting the current number of keys, the smart button panel can determine whether the number of keys on the smart button panel has changed. If the number of keys has changed, it indicates that there is a key count feedback event, and the operation S1001 is executed; otherwise, if the number of keys has not changed, it indicates that there is no key count feedback event, and there is no need to send key information to the device.

[0114] Specifically, the triggering of the above key press feedback event includes at least the following two situations:

[0115] Scenario 1: Triggered when the panel is powered on

[0116] In this embodiment, when the smart button panel is installed and powered on, the current number of buttons on the smart button panel can be determined by detecting the coupling signal fed back by the detection circuit. Since the device does not record the information of the smart button panel, that is, it is not registered in the device, the smart button panel can detect the existence of a button count feedback event and send the above button information to the device.

[0117] Scenario 2: Triggered when faceplate is changed

[0118] In this embodiment, the smart button panel has a configuration file in its memory, which records the number of buttons on the smart button panel during the last detection. The smart button panel can be configured with corresponding detection timings, such as periodic detection or power-on detection. When a preset detection timing is reached, the number of buttons on the smart button panel is determined, written into the aforementioned configuration file, and stored in the memory. In this case, the number of buttons recorded in the configuration file is the same as the number of buttons collected during the previous detection timing.

[0119] In one possible implementation, when the smart button panel is manufactured, a preset number of buttons can be written into the aforementioned configuration file. When the smart button panel is powered on for the first time, it can also detect whether the current number of buttons is consistent with the pre-configured number of buttons. If they are consistent, button information is generated based on the number of buttons recorded in the configuration file and sent to the device; otherwise, if they are inconsistent, the configuration file is updated based on the current number of buttons, and button information recording the current number of buttons is sent to the device.

[0120] In one possible implementation, when the smart button panel detects a discrepancy between the current number of keys and the number of keys recorded in the configuration file, it can send key information back to the device to synchronously update the associated elements in the control interface of the smart button panel. The smart button panel can write the current number of keys into a data packet corresponding to the communication method with the device, thereby generating key information, and then send this key information to the device.

[0121] In one possible implementation, when the smart button panel detects that the current number of buttons is inconsistent with the number of buttons recorded in the configuration file, in addition to sending button information to the device, it can also update the configuration file and update the number of buttons in the configuration file, so that the number of buttons recorded in the configuration file is consistent with the actual number of buttons on the smart button panel.

[0122] In the embodiment of the present application, the number of keys of the intelligent key panel at the last detection opportunity is recorded through a configuration file, and whether the current number of keys is consistent with the recorded number of keys is compared to determine whether there is a key number feedback event, so as to determine whether the key information needs to be sent to the device, thereby improving the timeliness of key information feedback.

[0123] In the embodiment, the device for controlling the smart home appliance and the intelligent key panel can establish a communication connection, and the intelligent key panel can send the key information to the device through the communication connection between the intelligent key panel and the device. The communication connection established between the intelligent key panel and the device can include the following two modes.

[0124] Mode 1: The intelligent key panel establishes a communication connection with the device through a key service application

[0125] Exemplarily, Figure 12 A schematic diagram of transmitting key information by the device and the intelligent key panel through a key service application is shown. Referring to Figure 12 The intelligent key panel and the device in the embodiment of the present application can be installed with a key service application. After the intelligent key panel and the device are started, the key service application can be run, and the intelligent key panel and the device can establish a communication connection therebetween through the key service application. The process of transmitting the key information includes the following steps.

[0126] In S1201, the intelligent key panel runs the key service application.

[0127] In S1202, the intelligent key panel connects to the server through the key service application.

[0128] In the embodiment, the intelligent key panel is installed with the key service application, and after the intelligent key panel is powered on, the intelligent key panel can run the key service application. When the intelligent key panel can communicate with the Internet, for example, by connecting to a router in the scene through a Wi-Fi module or a network cable, and connecting to the Internet through the router, the key service application can send a login request to the server. When the server identifies that the login request is legal, it is identified that the intelligent key panel is in an online state, that is, a connection between the intelligent key panel and the server is established.

[0129] In a possible implementation, the server can be a server of the smart home appliance, to provide the user with related management and control functions of the smart home appliance. For example, the user can divide multiple smart home appliances into a smart home through the server, set the device as a smart host of the smart home, and control multiple different smart home appliances in the smart home through the smart host, such as the intelligent key panel.

[0130] In S1203, the device runs the key service application.

[0131] In S1204, the device connects with the server through the key service application.

[0132] Similarly, the device in the embodiment can also be installed with the key service application. When the device can communicate with the Internet, a login request can be sent to the server through the key service application. When the server identifies that the login request is legal, it is identified that the device is in the online state, that is, the connection between the device and the server is established.

[0133] In S1205, the smart key panel sends the key information to the server through the key service application.

[0134] In the embodiment, the smart key panel and the device access the server through the key service application. In this case, the two can send interaction data between the two through the server. Based on this, the smart key panel needs to inform the device that the number of keys has changed. Therefore, the smart key panel can send the key information to the server through the key service application, and send the key information to the device through the server.

[0135] In a possible implementation, the smart key panel can generate corresponding key information based on the JavaScript Object Notation (json) format. The key information can be a product physical model profile, which is used to describe the product type, what can be done, and the services that can be provided externally. For example, Figure 13 A data structure diagram of the key information provided by an embodiment of the application is shown. The data structure of the key information includes a product information data group and a plurality of service information groups. The product information data group includes product type, product model, and product identification. For the smart key panel, the product type can be a smart key panel, the product model can be determined as a panel model, such as A0001, and the product identification can be a physical number of the smart key panel, such as TCM00001. Each service information group carries information of a key on the smart key panel. The service information group includes a key attribute field and a key command field, which record the relevant information of each key and can include a command field and a response field.

[0136] In S1206, the device receives the key information sent by the server through the key service application.

[0137] In this embodiment, the device accesses the server through the key service application. After receiving the key information of the smart key panel, the server can determine the management device associated with the smart key panel. When it is determined that the management device of the smart key panel is the device, the key information can be sent to the device, so that the device updates the elements related to the key in the control interface through the key information.

[0138] In a possible implementation, the server can record the correspondence between the smart key panel and the management device. For example, Figure 14 A setting diagram of a smart home provided by an embodiment of the present application is shown. Referring to Figure 14 As shown, the user can open the management interface of the smart home appliance on the user terminal (such as a smart phone or a portable computer, etc.). The management interface of the smart home appliance displays a plurality of different smart home appliances in the smart home 1, such as a smart TV 141, a smart door lock 142, a smart host 143, and a smart key panel 144. The smart host 143 can be the device described above. Since the smart host 143 is the management device in the smart home, it can be used to control the smart key panel 144, the smart TV 141, and the smart door lock 142. The server can record the correspondence between the management device and the managed device. After receiving the key information of the smart key panel 144, the server can determine that the management device of the smart key panel 144 is the smart host 143 through the correspondence, and thus the key information can be sent to the smart host 143.

[0139] In the embodiment of the present application, the communication connection between the device and the smart key panel is established through the key service application. The smart key panel can be controlled by the device even at a long distance, without being limited to the same scene. This makes the deployment of the smart home appliance more flexible, and also facilitates the user to update the key information of the smart key panel in a remote control scene.

[0140] Method 2: The smart key panel establishes a connection with the device based on the communication module

[0141] In this embodiment, the smart key panel is configured with a first communication module, and the device is configured with a second communication module. The communication connection between the device and the smart key panel can be established through the communication module.

[0142] For example, Figure 15 A plurality of scene diagrams in which the smart key panel establishes a connection with the device based on the communication module are shown.

[0143] Referring to Figure 15As shown in (a) of FIG. 1, the communication module is a Wi-Fi module, the smart key panel and the device can access the same local area network through the Wi-Fi module, and then the smart key panel can transmit the key information to the device through the local area network.

[0144] Referring to Figure 15 As shown in (b) of FIG. 1, the communication module is a PLC module, the smart key panel can be directly connected with the device through the power transmission line, and then the smart key panel can transmit the key information to the device through the power transmission line.

[0145] Referring to Figure 15 As shown in (c) of FIG. 1, the communication module is a Bluetooth module, the distance between the smart key panel and the device is within the communication range of the Bluetooth module, the smart key panel can establish a communication connection with the device through the Bluetooth module, and then the smart key panel can transmit the key information through the Bluetooth connection.

[0146] In the embodiment of the present application, the smart key panel can encapsulate the key information according to the type of the communication module connected with the device, using the data protocol associated with the communication module, and then transmit the key information to the device through the communication module, so as to realize the diversity of the communication connection, and also improve the efficiency and stability of the data transmission through the direct connection between the smart key panel and the device, thereby improving the timeliness of the key update.

[0147] Further, as another embodiment of the present application, Figure 16 FIG. 2 shows an interaction flowchart of the smart key panel transmitting the key information to the device according to another embodiment of the present application. Referring to Figure 16 As shown in FIG. 2, the method for managing the key provided by the embodiment of the present application, S1001 specifically includes S1601-S1603, S1002 includes S1604, and the specific description is as follows:

[0148] In S1601, the smart key panel transmits a first message for indicating the change of information to the device if the key number feedback event is detected.

[0149] In the embodiment, the smart key panel transmits a first message to the device when the key number is detected to change, i.e., the key number feedback event is detected.

[0150] In S1602, the device transmits a second message for indicating the acquisition of information to the smart key panel in response to the first message.

[0151] In this embodiment, the device sends a corresponding second message to the smart key panel upon receiving the first message sent by the smart key panel, where the device and the smart key panel can transmit data in one of the above-mentioned multiple transmission modes, for example, through the key application service to realize data transmission, or through the communication module to perform data transmission after direct connection.

[0152] In S1603, the smart key panel sends key information to the device in response to the second message.

[0153] In this embodiment, the smart key panel generates corresponding key information based on the current number of keys after receiving the second message sent by the device, and sends the key information to the device.

[0154] In S1604, the device receives the key information sent by the smart key panel.

[0155] In this embodiment, the smart key panel can send a first message indicating information change first, and then send corresponding key information upon receiving a second message indicating information acquisition sent by the device. Since the device can obtain key information through other ways, if the device has updated the control interface of the smart key panel, the smart key panel does not need to repeatedly send key information, which can improve the efficiency of data transmission and reduce unnecessary data transmission.

[0156] In S1003, the device updates at least one element in the control interface of the smart key panel based on the key information.

[0157] In this embodiment, the device updates information about the smart key panel after receiving the key information of the smart key panel, so that the number of keys recorded in the device about the smart key panel is consistent with the current number of keys. The device can be connected to a server of the smart home appliance, and send the key information to the server. The server can update the corresponding element in the control interface of the smart key panel based on the key information, so that the number of keys configured on the control interface is consistent with the number of keys of the current smart key panel.

[0158] In a possible implementation, the control interface includes a virtual panel corresponding to the smart key panel, and the number of keys corresponding to the virtual panel can be updated according to the number of keys recorded in the key information sent by the device, that is, the above-mentioned element can be the virtual panel of the smart key panel in the control interface.

[0159] In a possible implementation, the control interface can configure a corresponding setting control for different keys in the smart key panel, and the above-mentioned element can be the corresponding setting control of each key in the control interface, and the setting control of part of the keys is added or deleted based on the current number of keys of the smart key panel.

[0160] In a possible implementation, the control interface can include a setting control of the smart key panel. The setting control displays the key identifiers of the keys on the smart key panel, that is, the element can be the key identifiers of the keys displayed in the setting control of the smart key panel in the control interface. Based on the current number of keys of the smart key panel, some key identifiers are added or deleted.

[0161] Exemplarily, Figure 17 A structural schematic diagram of a smart home appliance system provided by an embodiment of the present application is shown. Referring to Figure 17 As shown, the smart home appliance system includes a smart key panel, a device, and a server. The process of updating the control interface can include the following steps:

[0162] ①The smart key panel can determine the number of face shells buckled to the smart key panel through the coupling signal fed back by the detection circuit, and determine the number of keys of the smart key panel according to the number of face shells.

[0163] ②The smart key panel detects a key feedback event if the current number of keys is inconsistent with the number of keys in the configuration file.

[0164] ③The smart key panel sends key information to the device.

[0165] ④After receiving the key information, the device can send the key information to the server of the corresponding application. The corresponding application can be a smart home application and / or a device management application.

[0166] ⑤After receiving the key information, the server can update the control interface of the corresponding application based on the number of keys.

[0167] The server can be the server of the smart home application, which is used to control the running state of each smart home appliance, that is, the control interface generated by the server is the state control interface of the smart key panel, such as the on-off state of each key in the smart key panel. Exemplarily, Figure 18 A schematic diagram of a control interface of a smart home appliance application provided by an embodiment of the present application is shown. Referring to Figure 18 As shown in (a) of FIG. 10, the current number of keys of the smart key panel is 3. After the device receives the key information, the related key information can be synchronized to the server of the smart home appliance application, and the smart home appliance application can generate a corresponding control interface, such as Figure 18As shown in (b) of FIG. 1C, the control interface displays a virtual panel 181 with the same number of keys as the smart key panel, and clicking the keys on the virtual panel 181 can control the on-off state of the corresponding keys on the smart key panel. The control interface also includes setting controls corresponding to each key on the smart key panel, such as setting control 182 for the left key, setting control 183 for the middle key, and setting control 184 for the right key. Since the control interface is generated based on the key information received by the device, the number of keys on the control interface is consistent with the actual number of keys on the smart key panel, and will be updated when the number of keys on the smart key panel is updated. Correspondingly, the elements of the control interface that are updated include the virtual panel 181 and the setting controls 182-184 corresponding to each key, thereby ensuring that the virtual panel on the control interface is synchronized with the actual smart key panel, and improving the accuracy of smart key panel management.

[0168] Similarly, if the smart key panel changes from three keys to two keys, as shown in (c) of FIG. 1C, the smart key panel sends key information to the device. In this case, the device updates the elements in the control interface based on the number of keys in the key information, for example, updating the virtual panel 181 to obtain a virtual panel 185; for another example, deleting the setting control 184 and adjusting the key identifiers displayed on the setting controls 182 and 183 to obtain setting controls 186 and 187, as shown in (d) of FIG. 1C, which changes the number of keys from three to two, thereby maintaining the synchronization between the virtual panel and the smart key panel. Figure 18 Figure 18 Similarly, if the smart key panel changes from three keys to two keys, as shown in (c) of FIG. 1C, the smart key panel sends key information to the device. In this case, the device updates the elements in the control interface based on the number of keys in the key information, for example, updating the virtual panel 181 to obtain a virtual panel 185; for another example, deleting the setting control 184 and adjusting the key identifiers displayed on the setting controls 182 and 183 to obtain setting controls 186 and 187, as shown in (d) of FIG. 1C, which changes the number of keys from three to two, thereby maintaining the synchronization between the virtual panel and the smart key panel.

[0169] In the above embodiments, the server can also be a device management application server. The device management application is used to set the control events of each key on the smart key panel, such as the touch mode of the key and the device associated with the key. For example, as shown in (a) of FIG. 2A, the smart key panel currently has two keys, and the smart key panel can send key information to the device. The device updates the relevant elements in the control interface of the device management application based on the current number of keys in the key information, as shown in (b) of FIG. 2A. Figure 19 FIG. 2B shows a schematic diagram of setting a control event according to an embodiment of the present application. As shown in (a) of FIG. 2B, the smart key panel currently has two keys, and the smart key panel can send key information to the device. The device updates the relevant elements in the control interface of the device management application based on the current number of keys in the key information, as shown in (b) of FIG. 2B. Figure 19 Figure 19 As shown in (b) of FIG. 2B, the control interface displays a setting item 191 of the smart key panel, which indicates the panel identifier of the smart key panel, such as smart key panel 1, and the function of each key. For example, switch 1 and color temperature control key, which means that the smart key panel 1 includes two keys, one of which controls the on-off state of the device, and the other of which controls the color temperature of the smart lamp. ​​

[0170] Since the device has updated the device management application according to the key information, that is, the multi-terminal interface is synchronized through the server of the device management application, the user can start the device management application through a local user terminal such as a mobile phone or a portable computer, and generate a corresponding control interface on the user terminal. In some implementation scenarios, the user can also open the control interface on the device, and the display device of the control interface is not limited in particular. When the user needs to set each key, the user can click the setting item 191 of the smart key panel in the control interface, and enter a corresponding setting interface, such as (c) shown in FIG. 13. In the setting interface, the user can set the touch mode of each key, for example, the touch mode of switch 1 is single click or double click, and the touch mode of the color temperature control key is single click or double click. Of course, in other implementation scenarios, the touch mode can also include click and long press, and the specific touch mode can be set according to actual conditions. Figure 19

[0171] In the case where the control interface is the control interface corresponding to the device management application, the elements included in the updated control interface can be the key identifiers displayed in the setting item 191 in FIG. 13, and the identifiers corresponding to each key in the setting interface obtained after clicking the setting item 191. Figure 19

[0172] In one possible implementation, in addition to setting the corresponding touch mode, the user can also set the control device corresponding to each key. For example, continuing to slide the setting interface, the user can set the device associated with each key and the corresponding function, such as (d) shown in FIG. 13. For example, switch 1 is used to control smart lamp 1, and the corresponding function is switch; the color temperature control key is used to control smart lamp 1, and the corresponding function is color temperature control. Figure 19

[0173] After the user completes the corresponding setting operation, the device stores the control event corresponding to each key in the smart control panel. When the smart key panel feeds back the touch information of the corresponding key, the device controls the specified device according to the control event associated with the key.

[0174] For example, the smart key panel detects that the user clicks switch 1, and generates touch information about the click of switch 1. The device determines that the click touch information is used to control the switch state of smart lamp 1, and controls smart lamp 1 to switch the switch state, for example, from the on state to the off state, or from the off state to the on state.

[0175] ​​​For example, the smart key panel detects that the user clicks the color temperature control key, and generates touch information about the click of the color temperature control key. The device determines that the touch information of the click is to adjust the color temperature of the smart lamp 1, and adjusts the color temperature of the smart lamp 1 based on the preset color temperature switching sequence.

[0176] As can be seen from the above, in the key management method provided by the embodiments of the present application, the face shell of the smart key panel is a detachable face shell. The smart key panel can determine the current number of keys by identifying the installed face shell, and send the key information carrying the current number of keys to the corresponding device when detecting the key number feedback event. The device can update the corresponding elements in the control interface according to the number of keys of the current smart key panel, thereby achieving dynamic and flexible adjustment of the number of keys on the smart key panel and updating the control interface of the smart key panel, which facilitates setting of control events associated with each key on the smart key panel. Compared with the existing smart home appliance technology, when the number of keys of the smart key panel needs to be adjusted, the entire smart key panel does not need to be removed and replaced with another panel with a suitable number of keys, but only the face shell specification of the smart key panel needs to be adjusted, which can change the number of keys configured on the smart key panel, greatly improving the flexibility of panel key number adjustment and thereby reducing the change cost.

[0177] Embodiment Three

[0178] Compared with Embodiment Two, Embodiment Two explains the key management method provided by the embodiments of the present application from the perspective of the interaction between the device and the smart key panel, while Embodiment Three explains the key management method provided by the embodiments of the present application from the perspective of the smart key panel. Exemplarily, Figure 20 Fig. 3 shows an implementation flowchart of the key management method provided by an embodiment of the present application from the perspective of the smart key panel, and the specific description is as follows:

[0179] In S2001, if a key number feedback event is detected, key information is sent to the device; the key information contains the current number of keys of the smart key panel, and the key information is an input for updating at least one element of the control interface of the smart key panel on the device.

[0180] Optionally, if the key number feedback event is detected, the key information is sent to the device, including:

[0181] If the key number feedback event is detected, a first message indicating information change is sent to the device;

[0182] In response to the second message indicating information acquisition sent by the device, the key information is sent to the device.

[0183] Optionally, if the number of keys feedback event is detected, the method further comprises:

[0184] determining the current number of keys according to the number of face shells arranged on the smart key panel;

[0185] if the current number of keys is inconsistent with the number of keys recorded in the configuration file of the smart key panel, updating the configuration file based on the current number of keys, and generating the number of keys feedback event.

[0186] Optionally, the smart key panel comprises a plurality of detection circuits.

[0187] determining the current number of keys according to the number of face shells arranged on the smart key panel, comprises:

[0188] receiving the coupling signal fed back by each detection circuit, the coupling signal being generated when the face shell is buckled on the panel area corresponding to the detection circuit;

[0189] determining the number of face shells according to the received coupling signal.

[0190] Optionally, the coupling signal is generated when the switch on the detection circuit is connected, and the switch is connected when the face shell is buckled on the panel area of the detection circuit.

[0191] Optionally, if the number of keys feedback event is detected, the method further comprises:

[0192] generating the key information through a key service application;

[0193] sending the key information to a server through the key service application, so that the server sends the key information to the device.

[0194] Optionally, if the number of keys feedback event is detected, the method further comprises:

[0195] sending the key information to the device through a first communication module; the smart key panel establishes a communication connection with the device through the first communication module.

[0196] In the embodiment of the present application, the face shell in the intelligent key panel is a detachable face shell. The intelligent key panel can determine the current number of keys by identifying the installed face shell, and send the key information carrying the current number of keys to the corresponding device when detecting the key number feedback event. The device can update the corresponding elements in the control interface according to the number of keys of the current intelligent key panel, thereby achieving dynamic and flexible adjustment of the number of keys on the intelligent key panel, updating the control interface of the intelligent key panel, and facilitating the setting of the control events associated with each key on the intelligent key panel. Compared with the existing smart home appliance technology, when the number of keys of the intelligent key panel needs to be adjusted, the entire intelligent key panel does not need to be removed and replaced with another panel with appropriate number of keys, but only the face shell specification on the intelligent key panel needs to be adjusted, which can change the number of keys configured on the intelligent key panel, greatly improving the flexibility of panel key number adjustment, and thereby reducing the change cost.

[0197] Embodiment Four

[0198] Compared with Embodiment Two, Embodiment Two illustrates the method for managing keys provided by the present application from the perspective of the interaction between the device and the intelligent key panel, while Embodiment Five illustrates the method for managing keys provided by the present application from the perspective of the device. Exemplarily, Figure 21 The method for managing keys provided by an embodiment of the present application is shown in the implementation flowchart of the device side, and the specific description is as follows:

[0199] In S2101, the key information sent by the intelligent key panel is received, the key information is sent when the intelligent key panel detects a key number feedback event, and the key information contains the current number of keys of the intelligent key panel.

[0200] In S2102, at least one element of the control interface corresponding to the intelligent key panel is updated based on the key information.

[0201] Optionally, the receiving of the key information sent by the intelligent key panel comprises:

[0202] The key information sent by the server is received through the key service application. The key information is sent by the intelligent key panel to the server through the key service application installed in the intelligent key panel.

[0203] Optionally, the receiving of the key information sent by the intelligent key panel comprises:

[0204] The key information sent by the intelligent key panel is received through the second communication module. The device establishes a communication connection with the intelligent key panel through the second communication module.

[0205] Optionally, after the updating the at least one element of the control interface of the smart key panel based on the key information, the method further comprises:

[0206] in response to a setting operation initiated by a user in the control interface, setting a touch mode of any key of the smart key panel corresponding to the control interface and a smart device controlled by the any key;

[0207] if the smart key panel sends touch information about one key of the any key, controlling the smart device associated with the key, the touch information being sent when the smart key panel detects that the user touches the key in the corresponding touch mode.

[0208] Optionally, the receiving the key information sent by the smart key panel comprises:

[0209] receiving a first message sent by the smart key panel for indicating information change, the first message being sent when the smart key panel detects the key number feedback event;

[0210] sending a second message for indicating information acquisition to the smart key panel, so that the smart key panel feeds back the key information based on the second message.

[0211] It should be understood that the first message and the second message described herein can also be described as a first instruction and a second instruction, or a first request and a second request, or a first message and a second message.

[0212] Figure 22 A structural schematic diagram of a device provided by an embodiment of the present application is shown in FIG. 2. As shown in the figure, the device 22 of the embodiment comprises at least one processor 220 (only one processor is shown in the figure), a memory 221, and a program 222 stored in the memory 221 and executable on the at least one processor 220, wherein the processor 220 implements the steps in any of the method embodiments of the key management described above when executing the program 222. Figure 22 Figure 22 The device 23 can be a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The device can comprise, but is not limited to, the processor 220 and the memory 221. Those skilled in the art can understand that the device 23 can include more or fewer components than those shown in the figure, or combine certain components, or include different components, for example, the device 23 can further comprise an input / output device, a network access device, etc.

[0213] The device 22 shown in the figure is merely an example and does not constitute a limitation on the device 22, and the device 22 can include more or fewer components than those shown in the figure, or combine certain components, or include different components, for example, the device 22 can further comprise an input / output device, a network access device, etc. Figure 22

[0214] ​​The processor 220 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0215] The memory 221 can be an internal storage unit of the device 22, such as a hard disk or a memory of the device 22 in some embodiments. The memory 221 can also be an external storage device of the device 22, such as a plug-in hard disk, a smart memory card, a secure digital card, a flash memory card, or the like, in other embodiments. Further, the memory 221 can include both an internal storage unit and an external storage device of the device 22. The memory 221 is configured to store an operating system, an application program, a boot loader, data, and other programs, such as program codes of the programs, and the like. The memory 221 can also be configured to temporarily store data that has been output or is to be output.

[0216] The embodiments of the present application also provide a device, which includes at least one processor, a memory, and one or more programs stored in the memory and executable on the at least one processor, and the processor implements the steps in any of the above method embodiments when executing the one or more programs.

[0217] The embodiments of the present application also provide a readable storage medium, which stores one or more programs, and the one or more programs are executable on a processor to implement the steps in any of the above method embodiments.

[0218] The embodiments of the present application provide a program product, which, when running on a device, enables the device to implement the steps in any of the above method embodiments.

[0219] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the present application can implement all or part of the processes in the above-mentioned embodiment methods, which can be completed by programs instructing relevant hardware. The programs can be stored in a readable storage medium, and the programs can implement the steps of the above-mentioned various method embodiments when executed by a processor. The programs include program codes, which can be in the form of source code, object code, executable files or some intermediate forms. The readable medium at least includes any entity or device capable of carrying the program codes to the smart key panel / device, recording medium, memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc. In the above-mentioned embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in a certain embodiment can be referred to the relevant description of other embodiments.

[0220] The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A method for managing buttons, characterized in that, The method, applied to a smart button panel, includes: The current number of buttons is determined based on the number of faceplates configured on the smart button panel; If the current number of buttons is inconsistent with the number of buttons recorded in the configuration file of the smart button panel, the configuration file is updated based on the current number of buttons, and a button count feedback event is generated. If the key count feedback event is detected, key information is sent to the device. The key information includes the current key count of the smart key panel and is an input to update at least one element of the control interface corresponding to the smart key panel on the device.

2. The method according to claim 1, characterized in that, If the key press feedback event is detected, key information is sent to the device, including: If the key press feedback event is detected, a first message indicating a change in information is sent to the device; In response to a second message sent by the device indicating the need to obtain information, the key information is sent to the device.

3. The method according to claim 1, characterized in that, The intelligent button panel includes multiple detection circuits; Determining the current number of buttons based on the number of faceplates configured on the smart button panel includes: The system receives coupling signals fed back by each of the detection circuits, the coupling signals being generated when the shell is fastened to the panel area corresponding to the detection circuit; The number of faceplates is determined based on the received coupling signal.

4. The method according to claim 3, characterized in that, The coupling signal is generated when the switch on the detection circuit is connected, and the switch is connected when the shell is fastened to the panel area of ​​the detection circuit.

5. The method according to any one of claims 1-4, characterized in that, If the key press feedback event is detected, key information is sent to the device, including: The key information is generated through a key service application; The button information is sent to the server through the button service application, and then the button information is sent to the device through the server.

6. The method according to any one of claims 1-4, characterized in that, If the key press feedback event is detected, key information is sent to the device, including: The key information is sent to the device via the first communication module, and the smart key panel establishes a communication connection with the device through the first communication module.

7. A method for managing buttons, characterized in that, Applied to a device, the method includes: The system receives key information sent by a smart key panel. This key information is sent when the smart key panel detects a key count feedback event. The key information includes the current key count of the smart key panel. The key count feedback event is generated by the smart key panel when it detects that the current key count is inconsistent with the key count recorded in the configuration file of the smart key panel. The current key count is determined based on the number of faceplates on the smart key panel. Update at least one element of the control interface corresponding to the smart button panel based on the button information.

8. The method according to claim 7, characterized in that, The receiving of key information sent by the smart keypad includes: The button information is received from the server via a button service application. The button information is sent to the server by the smart button panel through the button service application installed in the smart button panel.

9. The method according to claim 7, characterized in that, The receiving of key information sent by the smart keypad includes: The device receives the key information sent by the smart key panel through the second communication module, and establishes a communication connection with the smart key panel through the second communication module.

10. The method according to any one of claims 7-9, characterized in that, After updating at least one element of the control interface of the smart button panel based on the button information, the method further includes: In response to a setting operation initiated by the user within the control interface, the touch mode of any button corresponding to the smart button panel on the control interface and the smart device controlled by any button are set. If the smart button panel receives touch information about one of the buttons, the smart device associated with the button is controlled. The touch information is sent when the smart button panel detects that the user touches the button in a corresponding touch manner.

11. The method according to any one of claims 7-9, characterized in that, The receiving of key information sent by the smart keypad includes: Receive a first message from the smart button panel to indicate a change in information, wherein the first message is sent when the smart button panel detects the key count feedback event; A second message is sent to the smart button panel to indicate the acquisition of information, so that the smart button panel can provide feedback on the button information based on the second message.

12. A smart button panel applied to the button management method of any one of claims 1-6, characterized in that, include: A panel body and at least one faceplate fastened to the panel body; The panel body includes multiple detection circuits and control chips; The output port of the detection circuit is connected to the input port of the control chip; The detection circuit is used to output a coupling signal to the control chip when it detects that the faceplate is fastened to the panel area corresponding to the detection circuit; The control chip is used to receive the coupling signals sent by each of the detection circuits, determine the current number of buttons on the smart button panel based on the coupling signals, and send button information containing the current number of buttons to the device when the current number of buttons is inconsistent with the number of buttons recorded in the configuration file.

13. The intelligent button panel according to claim 12, characterized in that, The detection circuit includes a first switch pin, and the faceplate includes a second switch pin; When the faceplate is fastened to the panel area corresponding to the detection circuit, the first switch pin and the second switch pin are connected, and the detection circuit generates the coupling signal when the first switch pin and the second switch pin are connected.

14. The intelligent button panel according to claim 12, characterized in that, The detection circuit includes a first coupling coil, and the faceplate includes a second coupling coil; When the faceplate is fastened to the panel area corresponding to the detection circuit, the first coupling coil and the second coupling coil generate the coupling signal.

15. The intelligent button panel according to any one of claims 12-14, characterized in that, The smart button panel includes a communication module, the input port of which is connected to the output port of the control chip; the smart button panel establishes a communication connection with the device through the communication module. The communication module is used to generate a communication protocol data packet corresponding to the communication module from the key information, and send the communication protocol data packet to the device through the communication connection; and / or The communication module is used to send the key information to the server, so that the server can send the key information to the device.

16. The intelligent button panel according to claim 15, characterized in that, The communication module includes at least one of the following: a Wi-Fi module, a Bluetooth module, a Bluetooth Low Energy module, a ZigBee module, an UWB module, a Near Field Communication (NFC) module, and a Power Line Carrier Communication (PLC) module.

17. The intelligent button panel according to any one of claims 12-14, characterized in that, The panel body includes a control circuit board, a back panel, and a junction box. The control chip and the detection circuit are mounted on the control circuit board, the control circuit board is mounted on the back panel, and the back panel is mounted on the junction box.

18. A smart button panel, characterized in that, The smart button panel includes a memory, one or more processors, and one or more programs stored in the memory, wherein the one or more processors execute the one or more programs as described in any one of claims 1 to 6.

19. A device, characterized in that, The device includes a memory, one or more processors, and one or more programs stored in the memory, wherein the one or more processors execute the one or more programs as steps of the method as claimed in any one of claims 7 to 11.

20. A readable storage medium storing one or more programs, characterized in that, When the one or more programs are executed by a processor, they implement the steps of the method as claimed in any one of claims 1 to 6, or the steps of the method as claimed in any one of claims 7 to 11.

Citation Information

Patent Citations

  • Touch panel enabling users to perform self-defining of keys

    CN105786259A

  • Key number configurable LoRa switch

    CN110456677A