Control method for triggering controlled equipment based on event

By adopting an event-triggered control method in the home system and using the server to manage the event subscription table, the linkage between the panel and the controlled device is improved, solving the problem of poor scalability of existing panels and achieving flexible control of a variety of controlled devices.

CN119728768APending Publication Date: 2025-03-28PUTIAN INTELLIGENT LIGHTING INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411857047.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2017-11-17
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The key function definition and implementation of the existing switch panels have problems such as simple trigger type, versatility and poor functional expansion, and it is impossible to effectively control multiple types and number of controlled devices.

Method used

Using an event trigger-based control method, the event subscription table is constructed through the server, and the panel and the controlled device establish communication connection with the server respectively. The panel generates a local key signal and sends it to the server. The server generates a trigger command based on the event subscription table and sends it to the controlled device.

Benefits of technology

It simplifies the linkage complexity between the panel and controlled devices, improves the flexibility, versatility and scalability of the panel, and can effectively control a variety of controlled devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728768A_ABST
    Figure CN119728768A_ABST
Patent Text Reader

Abstract

The invention relates to a control method for triggering controlled equipment based on an event. The control method is operated in a system comprising a panel, a server and the controlled equipment with an electrical function. The control method comprises the following steps: creating an event subscription table and storing the event subscription table in a server; the panel and the controlled equipment respectively establish communication connection with the server based on a communication protocol, and at the moment, the server obtains a panel identifier and a controlled equipment identifier; the input is recognized through the recognition unit on the panel side, then a local key signal is generated, and the local key signal is sent to the server through the communication unit; receiving the local key signal at the server side, obtaining a corresponding trigger command from an event subscription table according to the received local key signal, the panel identifier and the controlled equipment identifier, and then sending the trigger command to the controlled equipment with the corresponding controlled equipment identifier; the trigger command is received at the controlled device side with the corresponding controlled device identification and the corresponding electrical action is executed.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with application number 201711144992.5, application date November 17, 2017, and invention name "Panel, system and control method for event-triggered controlled devices". Technical Field

[0002] The invention relates to a control method for a controlled device based on event triggering. Background Art

[0003] In the home system, the panel is an indispensable and important trigger source for controlling the controlled devices. Compared with mobile terminal control such as mobile phones, it has the advantages of simple, convenient and stable control. As a device that can be directly operated by the user, the switch panel is responsible for controlling the controlled devices adapted to it. At present, the button type of most switch panels is a one-way touch button. By clicking the button, the corresponding command stored in the button can be sent, where the command contains the trigger target and the action to be performed by the trigger target. The trigger target can be, for example, a driving device (such as a lamp), and its execution action can be on / off. Of course, the trigger target can also be a scene code or a group code, and its execution action is start / stop.

[0004] At present, the main disadvantages of the function definition and implementation of switch panel buttons are simple trigger types and weak versatility and functional expansibility of the panel. Most manufacturers define the button triggering method as just single click / press. For example, the button mode includes two actions, pressing and popping up, and single click is a continuous action that includes pressing and popping up in a short or instantaneous period. As for whether to trigger the command when pressing or popping up, the manufacturer has not carefully considered the issue or defined it by itself. Limited by the design resources of the panel, the commands stored in the panel buttons are single, and the function cannot be expanded by adding commands. In addition, the commands have specific directions and cannot be universal.

[0005] So far, the methods for associating the panel with the required controlled devices mostly adopt the following method steps: sending a configuration command to the panel through a local gateway or a cloud server, and the controlled device executes the operation command after receiving the operation command. Among them, the configuration command includes the panel button code to be configured and the operation command sent when the button is clicked, wherein such operation command includes the controlled device address, control command, and command attribute. When, for example, a panel button is clicked or a rocker is pressed, the operation command corresponding to the button is sent out, and the operation command can be forwarded to the controlled device through the server, or can be sent directly to the controlled device.

[0006] The key point of the above method steps is that the operation functions of controlling the controlled devices need to be configured in the panel. On the one hand, due to the limited storage resources of the panel, it is impossible to configure too many or complex commands, thereby limiting the types and number of targets that the panel can control; on the other hand, the operation commands are related to specific targets, so the panel cannot be universal. In addition, this also increases the complexity of realizing the panel functions.

[0007] In addition, a control method is also known in which each controlled device is added to a scene or group so as to realize a panel controlling multiple controlled devices. In this method, the panel issues a scene command or a group command. Such a method also has the disadvantages of complex panel functions and poor panel versatility. Summary of the invention

[0008] The task of the present invention is to provide a panel, system and control method for event-triggered controlled devices, wherein the panel and the controlled device only need to focus on the realization of their own functions, thereby simplifying the complexity of the linkage and the design of the panel and at the same time improving the flexibility, versatility and scalability of the panel.

[0009] A first aspect of the present invention relates to a control method for a controlled device based on event triggering, the control method being executed in a system comprising a panel, a server and a controlled device having electrical functions, wherein the panel and the controlled device can respectively establish a communication connection with the server based on a communication protocol;

[0010] The server is configured to: edit and save an event subscription table, receive a panel identifier and a local key signal sent by a panel, generate a trigger command based on the received panel identifier and the local key signal and a logical association defined by the event subscription table, and send the trigger command to a controlled device having a corresponding controlled device identifier;

[0011] The controlled device is configured to receive a trigger command from a server and execute a corresponding electrical action;

[0012] The control method comprises:

[0013] In a first step, an event subscription table is created and stored in a server;

[0014] In the second step, the panel and the controlled device respectively establish communication connections with the server based on the communication protocol, and the server obtains the panel identifier and the controlled device identifier;

[0015] In the third step, the input is recognized by the recognition unit on the panel side, and then a local key signal is generated and sent to the server through the communication unit;

[0016] In the fourth step, the local key signal is received on the server side, and a corresponding trigger command is obtained from the event subscription table according to the received local key signal, the panel identifier and the controlled device identifier, and then the trigger command is sent to the controlled device with the corresponding controlled device identifier;

[0017] In the fifth step, the trigger command is received at the controlled device side having the corresponding controlled device identification and a corresponding electrical action is performed.

[0018] In some embodiments, the server includes an agent unit and a subscription unit, wherein the agent unit is constructed to manage the communication connection established with the panel and the controlled device based on the communication protocol, and the subscription unit is constructed to edit the event subscription table and to execute the subscription events in the event subscription table.

[0019] In some embodiments, the first step further comprises the following method steps:

[0020] In the first sub-step, the user selects a key action of the panel;

[0021] In the second sub-step, the user configures the trigger action of the controlled device;

[0022] In the third sub-step, the key action is associated with the trigger action into an event and the event is saved in the event subscription table;

[0023] The key action includes a panel identification and a local key signal, and the trigger action includes a controlled device identification and a trigger command.

[0024] In some embodiments, the local key signal includes a key identifier and a signal type, the key identifier indicates the key number on the panel that generates the local key signal, the trigger command includes an attribute identifier and an attribute value, the attribute identifier is used to determine the operable function of the controlled device, and the attribute value indicates the extent to which the function of the controlled device is to be operated, wherein the key action of the panel can be arbitrarily associated with the trigger action of the controlled device.

[0025] In some implementations, in the second step, the panel and the controlled device communicate with the server based on a wired or wireless short-range network protocol, respectively.

[0026] A second aspect of the present invention relates to a panel for triggering a controlled device based on an event, the panel comprising:

[0027] a base configured to mount the panel in a building surface and to receive power from the building surface through the hole;

[0028] A key layer as a contactable surface, which is configured for a pressing operation to generate a local key input;

[0029] A circuit assembly encapsulated between the key layer plate and the base, which is electrically connected to a power supply in the building surface through an interface, wherein the circuit assembly is provided with an identification unit and a communication unit, the identification unit is configured to identify a local key input and generate a local key signal, and the communication unit is configured to establish a communication connection with a server based on a communication protocol and send a panel identification and a local key signal to the server, the local key signal including an electrical signal input once or continuously in sequence on the panel;

[0030] The panel has a panel identifier for determining unique address information of the panel and the controlled device has a controlled device identifier for determining unique address information of the controlled device;

[0031] The event definition panel and the logical association between the controlled device;

[0032] The panel is configured to trigger a controlled device capable of establishing a communication connection with the server based on an event subscription table stored in the server, wherein the event subscription table includes one or more of the events;

[0033] The event defines a logical association between a panel identifier and a local key signal on the panel side and a controlled device identifier and a trigger command on the controlled device side. The trigger command is sent to a controlled device with a corresponding controlled device identifier via a server to trigger the controlled device.

[0034] In some embodiments, the local key signal includes a key identifier and a signal type, the key identifier indicates the key number on the panel that generates the local key signal, the trigger command includes an attribute identifier and an attribute value, the attribute identifier is used to determine the operable function of the controlled device, and the attribute value indicates the extent to which the function of the controlled device is to be operated, wherein the key action of the panel can be arbitrarily associated with the trigger action of the controlled device.

[0035] In some embodiments, the identification unit has a coding module for encoding the electrical signal, and the coding is used to point to an event subscription table stored in the server, and the event subscription table can be custom edited or changed according to self-learning capabilities.

[0036] In some embodiments, the key layer plate has a surface plate at an outer layer and a support plate supporting the surface plate, and the surface plate includes a first attachment sheet and at least one second attachment sheet extending from the first attachment sheet and used for press contact.

[0037] In some embodiments, the second attachment sheet is replaceable, and the identification unit is provided with a pressing component that is in contact and conductive with the second attachment sheet, wherein the second attachment sheet can contact the pressing component through a contact provided on its back side, or the second attachment sheet can movably contact the pressing component through a snap ring.

[0038] In some embodiments, the panel further has a backing plate coupled between the key layer plate and the circuit assembly, and the backing plate is configured as a pressure-bearing structure.

[0039] In some embodiments, a first hole is provided on the backing plate for the pressing component to pass through, and the first attachment sheet is buckled into a second hole at a corresponding position of the backing plate through a snap ring on the back side and passes through the second hole to buckle with the surface of the base, so that the identification unit is enclosed between the backing plate and the base through the buckling.

[0040] In some embodiments, the identification unit is provided with a sensor and a timer, the sensor being configured to detect contact or proximity to the panel, the timer being configured to start when the sensor detects that the user is contacting or approaching the panel and to record the running time of the panel from the start, thereby obtaining a trigger time by the timer, which constitutes part of the local key signal.

[0041] In some embodiments, the identification unit further includes a detection module for detecting whether a trigger signal of a panel key has arrived and a determination module for determining the type of the trigger signal and the type of the local key signal to be sent.

[0042] In some implementations, the detection module includes a registration submodule for monitoring the trigger signal and a notification submodule for notifying the determination module when the trigger signal arrives.

[0043] Another aspect of the present invention relates to a panel for triggering a controlled device based on an event, the panel having a panel identifier for determining unique address information of the panel and the controlled device having a controlled device identifier for determining unique address information of the controlled device. The event defines a logical association between the panel and the controlled device.

[0044] The panel includes: a key layer plate, which is configured for pressing operation to generate local key input; a circuit component, which has an identification unit and a communication unit, the identification unit is configured to identify local key input and generate local key signals, the communication unit is configured to establish a communication connection with a server based on a communication protocol and send a panel identification and a local key signal to the server; a base, which is configured to install the panel.

[0045] The panel is configured to trigger a controlled device that is also in communication with the server based on an event subscription table stored in the server, wherein the event subscription table includes one or more events. The event defines a logical association between a panel identifier and a local key signal on the panel side and a controlled device identifier and a trigger command on the controlled device side, and the trigger command is sent to the controlled device having the corresponding controlled device identifier via the server to trigger the controlled device.

[0046] In the meaning of the present invention, the event should be understood as the logic of realizing a certain electrical function, that is, when the panel is operated in a certain way, a trigger command for the corresponding controlled device is obtained based on the logic associated with the operation mode stored in the server, so that the corresponding controlled device performs a corresponding action. The corresponding controlled device can be a single controlled device or a plurality of predetermined associated controlled devices.

[0047] The concept of the present invention is to create a logical association between the control mode of each controlled device and the input on the panel side to generate an event and store the event in the form of an event subscription table in the server, and trigger these events through the input on the panel side to complete the control. Therefore, through the concept of the present invention, it is possible to simply meet the user's use of one panel to trigger the control of multiple controlled devices, so that the input mode of the single mechanical component of the panel itself can be expanded as much as possible.

[0048] In an extension scheme of the panel according to the present invention, the local key signal may include a key identifier and a signal type, the key identifier indicating the key number on the panel that generates the local key signal, and the trigger command may include an attribute identifier and an attribute value, the attribute identifier is used to determine the operable function of the controlled device, and the attribute value indicates the extent to which the function of the controlled device is to be operated.

[0049] In an extension of the panel according to the present invention, the local key signal may include an electrical signal input once or continuously in sequence on the panel. Preferably, the identification unit may have a coding module for encoding the electrical signal, and the coding is used to point to the event subscription table stored in the server.

[0050] In an extended solution of the panel according to the present invention, the event subscription table can be defined and edited by the user or can be automatically changed according to the user's habits, that is, the server has self-learning ability. The server can generate events according to the user's operating habits and provide them to the user for selection. This can improve the intelligence of the panel.

[0051] In an extension of the panel according to the present invention, the key layer plate may have a surface plate in the outer layer and a support plate supporting the surface plate. Preferably, the surface plate may include a first attachment sheet and at least one second attachment sheet extending from the first attachment sheet and used for press contact. Preferably, only the second attachment sheet is made of a flexible material, or both the first and second attachment sheets are made of a flexible material. Preferably, the second attachment sheet can bounce back to an initial state after the pressing action is removed. More preferably, the second attachment sheet is replaceable, which is beneficial to extend the life of the panel and enrich the appearance of the panel, because the second attachment sheet is in the outermost layer of the panel and may be more easily damaged due to being pressed.

[0052] In an extended solution of the panel according to the present invention, the identification unit may have a pressing assembly for contacting and conducting with the second attachment sheet. Preferably, the second attachment sheet may contact the pressing assembly via a contact provided on its back side, or the second attachment sheet may movably contact the pressing assembly via a snap ring.

[0053] In an extended solution of the panel according to the present invention, the panel may also have a lining plate coupled between the key layer plate and the circuit assembly, and the lining plate is configured as a pressure-bearing structure, so that the second attachment sheet has a larger surface tension, thereby bringing a better pressing tactile feeling. Preferably, a first hole groove for the pressing assembly to pass through may be opened on the lining plate, and the first attachment sheet is buckled into the second hole groove at the corresponding position of the lining plate through its back side snap ring and passes through the second hole groove to buckle the surface of the base, so that the identification unit is enclosed between the lining plate and the base through the buckling.

[0054] In an extended solution of the panel according to the present invention, the identification unit may be provided with a sensor and a timer, wherein the sensor is configured to detect contact or approach to the panel, and the timer is configured to start when the sensor detects that the user is contacting or approaching the panel and to record the operation time of the panel from the start, so that the trigger time is obtained by the timer, and the trigger time constitutes a part of the local key signal. By setting the sensor and the timer, the time of the entire process from the start of the panel operation to the end of the panel operation can be recorded, so that the local key signal type of the panel can be enriched by combining the time and the mechanical operation of the panel, for example, from a simple single-click signal to a press signal and a pop-up signal. Preferably, the sensor may be an optical sensor, a mechanical sensor or a thermal sensor.

[0055] In an extended solution of the panel according to the present invention, the identification unit may further include a detection module for detecting whether a trigger signal of a panel key has arrived and a judgment module for judging the type of the trigger signal and the type of the local key signal to be sent. More preferably, the detection module may further include a registration submodule for monitoring the trigger signal and a notification submodule for notifying the judgment module when the trigger signal arrives. This can further enrich the types of local key signals of the panel.

[0056] In one embodiment of the panel according to the invention, the circuit module can also have an interface for electrical connection to a power source in the rear building surface.

[0057] Another aspect of the present invention relates to a system for triggering controlled devices based on events, the system comprising a panel according to the present invention and comprising a server and controlled devices with electrical functions (such as air conditioners, television air detection / purification equipment, lights, curtains, cameras, etc.), the panel and the controlled devices can respectively establish communication connections with the server based on a communication protocol.

[0058] The server is configured to edit and save an event subscription table, receive a panel identifier and a local key signal sent by a panel, generate a trigger command based on the received panel identifier and the local key signal based on a logical association defined by the event subscription table, and send the trigger command to a controlled device having a corresponding controlled device identifier. The controlled device is configured to receive a trigger command from the server and perform a corresponding electrical action. Preferably, the server may be a local gateway or a cloud server.

[0059] In an extended scheme of the system according to the present invention, the server includes an agent unit and a subscription unit, wherein the agent unit is constructed to manage the communication connection established with the panel and the controlled device based on the communication protocol, and the subscription unit is constructed to edit the event subscription table and to execute the subscription events in the event subscription table.

[0060] Another aspect of the present invention relates to a control method for a controlled device based on event triggering, which is run in a system according to the present invention, and includes the following method steps: in a first step, an event subscription table is created and the event subscription table is stored in a server; in a second step, the panel and the controlled device respectively establish communication connections with the server based on a communication protocol, and the server obtains a panel identifier and a controlled device identifier; in a third step, an input is identified by an identification unit on the panel side, and then a local key signal is generated and sent to the server through a communication unit; in a fourth step, the local key signal is received on the server side and a corresponding trigger command is obtained from the event subscription table according to the local key signal, the panel identifier and the controlled device identifier, and then the trigger command is sent to the controlled device with the corresponding controlled device identifier; in a fifth step, the trigger command is received on the controlled device side with the corresponding controlled device identifier and a corresponding electrical action is performed.

[0061] In an extended solution of the control method according to the present invention, the first step further has the following sub-steps: in the first sub-step, the user selects a key action of the panel; in the second sub-step, the user configures a trigger action of the controlled device; in the third sub-step, the key action and the trigger action are associated into an event and the event is saved in the event subscription table; wherein the key action includes a panel identifier and a local key signal, and the trigger action includes a controlled device identifier and a trigger command. Preferably, the configuration includes adding, deleting or modifying.

[0062] Compared with the prior art, the advantages of the panel, system and control method according to the present invention are that neither the panel nor the controlled device stores specific control commands, wherein the panel is only responsible for processing local key signals related to itself, and the controlled device defines the function as the operation of the attribute, that is, the panel and the controlled device only realize their own functions, and the relationship between the two is all configured and processed by the server, so that the panel can achieve great versatility and can achieve scalability through the configuration of the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The present invention is described in detail below by way of example with reference to the accompanying drawings. These embodiments should not be limiting of the present invention, but are used to better understand the present invention. Among them:

[0064] Figure 1a and 1b A schematic exploded view of an exemplary embodiment of a panel according to the invention is shown.

[0065] Figure 2 A schematic diagram of a system according to the invention is shown.

[0066] Figure 3 A method for triggering a controlled device based on an event is shown. Figure 2 A schematic flow chart of a control method executed in a system.

[0067] Figure 4 Show Figure 3 Schematic diagram of the second step of the method. DETAILED DESCRIPTION

[0068] In the drawings, identical components are provided with identical or corresponding reference numerals.

[0069] Figure 1a and 1b The panel 101 does not need to be configured with trigger commands related to the controlled device 103, but provides a variety of key signals, thereby improving the versatility and functional expansibility of the panel 101.

[0070] The panel 101 has a stacked structure, which is used to respond to and identify each key action. The panel 101 includes a key layer 1 (facing the user), a circuit component, and a base 4 stacked from the outside to the inside. The key layer 1 is configured for pressing operations to generate local key inputs. The circuit component has an identification unit 3 and a communication unit (not shown). The identification unit 3 is configured to identify local key inputs and generate local key signals. The communication unit is configured to communicate with the server 102 (see FIG. 102 ) based on a communication protocol. Figure 2 ) establishes a communication connection to send a panel identification and a local key signal to the server 102. The base is configured to mount the panel. The panel 101 is configured to trigger a controlled device 103 that can communicate with the server 102 based on an event subscription table stored in the server 102. The specific control method is described in detail below. Figures 2 to 4 Provide explanation.

[0071] Furthermore, the key layer plate 1 has a surface plate at the outer layer and a support plate 10 supporting the surface plate. The surface plate includes a first attachment sheet 12 and at least one (two in this embodiment) second attachment sheet 11 extending from the first attachment sheet 12 and used for press contact.

[0072] The second attachment sheet 11 is made of a flexible material, so that the second attachment sheet 11 is flexible and has surface tension. The first attachment sheet 12 can also be made of a flexible material.

[0073] Preferably, the second attachment sheet can bounce back to the initial state after the pressing action is removed.

[0074] In addition, the identification unit 3 has a pressing component 31 in contact with the second attachment sheet 11. The second attachment sheet contacts the pressing component via a contact 14 provided on the back side thereof or the second attachment sheet can movably contact the pressing component via a snap ring 13.

[0075] Furthermore, the panel 101 also has a backing plate 2 coupled between the key layer plate 1 and the circuit assembly, and the backing plate 2 is configured as a pressure-bearing structure, so that the second attachment sheet 11 has a greater surface tension, thereby bringing a better pressing touch. The first attachment sheet 12 is buckled into the second hole groove 22 at the corresponding position of the backing plate 2 through its back side snap ring 15 and penetrates the second hole groove 22 to buckle the surface of the base 4, so that the identification unit 3 is enclosed between the backing plate and the base through the buckling.

[0076] Furthermore, the pressing component 31 may have an elastic recovery structure so that the second attachment sheet 11 can rebound to an initial state after the pressing action is removed. To this end, a first hole 21 for the pressing component 31 to pass through may be provided on the liner 2.

[0077] Furthermore, the circuit assembly has an interface 33 for electrical connection to a power source in the rear building surface (eg, via a hole 41 ).

[0078] The identification unit 3 may also be provided with a sensor and a timer, wherein the sensor is configured to detect contact or proximity to the panel, and the timer is configured to start when the sensor detects that the user is contacting or approaching the panel and to record the operation time of the panel from the start, so that the trigger time is obtained by the timer, and the trigger time constitutes a part of the local key signal. Preferably, the sensor is an optical sensor, a mechanical sensor or a thermal sensor.

[0079] In addition, the identification unit 3 may also include a detection module for detecting whether a trigger signal of a panel key has arrived and a judgment module for judging the type of the trigger signal and the type of the local key signal to be sent. Preferably, the detection module includes a registration submodule for monitoring the trigger signal and a notification submodule for notifying the judgment module when the trigger signal arrives.

[0080] Figure 2A schematic diagram of a system 100 according to the present invention is shown. The system 100 includes a panel 101 according to the present invention and includes a server 102 and a controlled device 103 having an electrical function, and the panel 101 and the controlled device 103 can respectively establish a communication connection with the server 102 based on a communication protocol. The server 102 is configured to: edit and save an event subscription table, receive a panel identifier and a local key signal sent by the panel 101, generate a trigger command based on the received panel identifier and the local key signal based on a logical association defined by the event subscription table, and send the trigger command to the controlled device 103 having the corresponding controlled device identifier. The controlled device 103 is configured to receive a trigger command from the server 103 and perform a corresponding electrical action.

[0081] In addition, the server 102 includes an agent unit and a subscription unit, wherein the agent unit is constructed to manage the communication connection established with the panel 101 and the controlled device 102 based on the communication protocol, and the subscription unit is constructed to edit the event subscription table and to execute the subscription events in the event subscription table.

[0082] Reference below Figure 3 It is described how to trigger a controlled device based on an event according to the control method of the present invention in the system according to the present invention.

[0083] Figure 3 A method of triggering a controlled device 103 based on an event is shown. Figure 2 The panel 101 has a panel identifier that determines the unique address information of the panel and the controlled device 103 has a controlled device identifier that determines the unique address information of the controlled device 103, and the event defines a logical association between the panel 101 and the controlled device 103.

[0084] In the first step S100, an event subscription table is created and stored in the server 102, wherein the event subscription table includes a panel identifier, a local key signal, a controlled device identifier, and a trigger command; in the second step S200, the panel 101 and the controlled device 103 respectively establish a communication connection with the server 102 based on a communication protocol, such as a wireless connection or a wired connection (such as Wi-Fi, ZigBee, Bluetooth, radio frequency, or TCP / IP protocol, etc.), and the server 102 obtains the panel identifier and the controlled device identifier; in the third step S300, the panel side is identified by the identification unit 3 In step S400, the local key signal is received on the server side and a corresponding trigger command is obtained from the event subscription table according to the local key signal, the panel identifier and the controlled device identifier, and then the trigger command is sent to the controlled device 103 having the corresponding controlled device identifier; in step S500, the trigger command is received on the controlled device 103 having the corresponding controlled device identifier and a corresponding electrical action is performed.

[0085] The event subscription table includes one or more events, and the event defines a logical association between a panel identifier and a local key signal on the panel side and a controlled device identifier and a trigger command on the controlled device side.

[0086] Figure 4 Show Figure 3 Schematic diagram of the first step of the control method in . The first step S100 includes the following sub-steps: in the first sub-step S110, the user selects the key action of the panel 101; in the second sub-step S120, the user configures the trigger action of the controlled device 102, wherein the configuration includes: adding, deleting, and modifying; in the third sub-step S130, the key action is associated with the trigger action into an event and the event is saved in the event subscription table. The key action includes a panel identifier for determining the unique address information of the panel and includes a local key signal, the local key signal includes a key identifier indicating the key number generating the local key signal on the panel and includes a signal type, such as single click, double click, etc. The trigger action includes a controlled device identifier for determining the unique address information of the controlled device and includes a trigger command, the trigger command includes an attribute identifier and an attribute value, the attribute identifier is used to determine the operable function of the controlled device, and the attribute value indicates the degree to which the function of the controlled device is to be operated, wherein the key action of the panel and the trigger action of the controlled device can be arbitrarily associated.

[0087] Specifically, step S300 may include the following sub-steps:

[0088] First sub-step S310: after obtaining the sensor detection signal, start the timer, wherein the timer is used to record the time when the panel 101 starts to run since power-on. The panel 101 can have two states, namely, a released state and a pressed state. The panel remains in the released state without external force triggering.

[0089] Second sub-step S320: detecting a pressing action on the panel 101, and sending a pressing signal (ie, a local key signal) when the pressing action reaches a preset threshold;

[0090] The third sub-step S330: detecting a release action on the panel 101, and sending a pop-up signal (ie, a local key signal) when the release action is reached.

[0091] The detection of the pressing action and the releasing action on the panel 101 may be used to register the signal interruption.

[0092] The arrival of the pressing action may specifically include: the panel generates a pressing signal when the released state is changed to the pressed state, and the signal is a high level. The arrival of the release signal may specifically include: the panel generates a release signal when the pressed state is changed to the released state, and the signal is a low level.

[0093] Preferably, the local key signal includes a signal type and a trigger time. For example, in one embodiment, the type of the first local key signal is press and the trigger time of the first local key signal is 0. When the first local key signal arrives, the current time is also obtained from the timer and saved. The type of the second local key signal is pop-up and the trigger time of the second local key signal is the current time obtained from the timer minus the time obtained when the first local key signal arrives.

[0094] According to the present invention, two local key signals, namely, a pressing signal and a pop-up signal, are generated by pressing and releasing the panel key, thereby converting the original one click signal into the two local key signals, enriching the trigger types of the key. In addition, different operations on the controlled device are realized by the trigger type based on the panel, so that the trigger command does not need to be stored in the panel, and the panel only focuses on the realization of its own key function attributes, thereby improving the versatility of the panel, and the combination of different trigger types also greatly expands the function of the panel.

[0095] The terms "unit", "system", "component", etc. in the above description include various hardware devices, apparatuses and machines for processing data, and may include programmable processors, computers, system chips or a combination of multiple thereof as examples. Systems or components may also include special-purpose logic circuits, such as field programmable gate arrays (FPGAs) or application-specific integrated circuits (ASICs). Components other than hardware may also include applications driven by codes that create execution environments for computer programs, such as processor firmware, protocol stacks, database management systems, operating systems (such as Android systems, OS systems, etc.), cross-platform operating environments, virtual machines or one or more combinations thereof. Codes, devices and execution environments can implement various different computing model infrastructures, such as web / browser services, distributed computing, and grid computing infrastructures.

[0096] The above-mentioned features can be combined with each other in any desired manner, as long as they are meaningful within the scope of the invention. The advantages and features described for the panel apply in a corresponding manner to the system and the control method.

[0097] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that these specific embodiments are only examples. Those skilled in the art can make various changes or modifications to these specific embodiments without departing from the principles of the present invention, and these changes and modifications all fall within the scope of protection of the present invention.

Claims

1. A control method for a controlled device based on event triggering, the control method being executed in a system comprising a panel (101), a server (102) and a controlled device (103) having an electrical function, wherein the panel (101) and the controlled device (103) can respectively establish a communication connection with the server (102) based on a communication protocol, and characterized in that: The server (102) is configured to: edit and save an event subscription table, receive a panel identifier and a local key signal sent by the panel (101), generate a trigger command based on the received panel identifier and the local key signal and a logical association defined by the event subscription table, and send the trigger command to a controlled device (103) having a corresponding controlled device identifier; The controlled device (103) is configured to receive a trigger command from a server (102) and execute a corresponding electrical action; The control method comprises: In a first step (S100), an event subscription table is created and stored in a server (102); In the second step (S200), the panel (101) and the controlled device (103) respectively establish communication connections with the server (102) based on the communication protocol, and the server (102) obtains the panel identification and the controlled device identification; In the third step (S300), the input is recognized by the recognition unit (3) on the panel side, and then a local key signal is generated and sent to the server (102) through the communication unit; In the fourth step (S400), the local key signal is received on the server side and a corresponding trigger command is obtained from the event subscription table according to the received local key signal, the panel identifier and the controlled device identifier, and then the trigger command is sent to the controlled device with the corresponding controlled device identifier (103); In the fifth step (S500), the controlled device (103) having the corresponding controlled device identification receives the trigger command and executes a corresponding electrical action.

2. The control method according to claim 1, characterized in that: The server comprises an agent unit and a subscription unit, wherein the agent unit is configured to manage a communication connection established with a panel (101) and a controlled device (103) based on a communication protocol, and the subscription unit is configured to edit the event subscription table and to execute subscription events in the event subscription table.

3. The control method according to claim 1, characterized in that: The first step (S100) also has the following method steps: In a first sub-step (S110), a user selects a key action of the panel (101); In a second sub-step (S120), the user configures a trigger action of the controlled device (102); In a third sub-step (S130), the key action and the trigger action are associated into an event and the event is saved in the event subscription table; The key action includes a panel identification and a local key signal, and the trigger action includes a controlled device identification and a trigger command.

4. The control method according to claim 1, characterized in that: The local key signal comprises a key identifier and a signal type, wherein the key identifier indicates the key number on the panel (101) that generates the local key signal, and the trigger command comprises an attribute identifier and an attribute value, wherein the attribute identifier is used to determine an operable function of the controlled device (103), and the attribute value indicates the degree to which the function of the controlled device (103) is to be operated, wherein the key action of the panel and the trigger action of the controlled device can be arbitrarily associated.

5. The control method according to claim 1, characterized in that: In the second step (S200), the panel (101) and the controlled device (103) communicate with the server (102) based on a wired or wireless short-range network protocol.