Wireless control device, configuration device and control system thereof
By designing a wireless control device with both a first mode and a second mode, the problem of slow response to click events after networking was solved, achieving a faster response and lower power consumption, thus improving the user experience.
Patent Information
- Application Number
- CN202211224825.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-09
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-10-09
AI Technical Summary
Existing wireless control devices, after being connected to the network, suffer from slow response times for single-click events due to the need to recognize multiple operation types, resulting in a poor user experience.
Design a wireless control device with a first mode and a second mode. In the first mode, it immediately responds to click events, and in the second mode, it detects other events. The mode switching is configured via GATT direct connection to reduce the impact of network latency.
It achieves fast response speed for networked wireless control devices, reduces power consumption, supports switching between multiple operating modes, and improves user experience.
Smart Images

Figure CN115515197B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, and in particular to a wireless control device, a configuration device and a control system thereof. BACKGROUND
[0002] The wireless control device can be understood as a switch product configured with a wireless communication circuit, and the wireless communication circuit is usually paired with a receiver or interacts with the receiver after networking with a gateway, a router or the like.
[0003] In the prior art, the wireless control device responds to the operation of the switch to send a control signal corresponding to a fixed control function when implementing control. However, in the prior art, the wireless control device needs to consider the detection logic of multiple operation types such as single click, double click and long press, so that the response speed of the single click event is reduced. In the prior art, the switch product with fast response to the single click event is generally a switch product that is not connected to a network, that is, a switch product that only supports local control function. If the product is connected to a network, due to the need to consider the identification of complex operation types and the time delay of the network, the response speed of the single click event of the existing networked wireless control device is very slow, so that the user needs to wait for at least 500 ms after clicking the wireless control device to feel the response of the controlled device, which greatly reduces the user experience. SUMMARY
[0004] In order to solve the technical problem that the existing networked wireless control device has slow event response speed and poor user experience, the present application provides a wireless control device, a configuration device and a control system thereof.
[0005] According to a first aspect of the present application, a wireless control device is provided for controlling a controlled device connected to a network based on a network in which a gateway is located; the wireless control device comprises:
[0006] A control component comprising a first actuator for receiving external actuation to generate an action; the external actuation comprises a press-down actuation and a release actuation occurring in sequence, and the action comprises a press-down action and a rebound action occurring in sequence correspondingly;
[0007] A communication component for external communication;
[0008] A processing component electrically connected to the communication component and coupled to the control component to detect the external actuation accepted by the first actuator; the processing component is configured in a first mode to generate a first instruction when the press-down action of the first actuator is detected; the first instruction comprises a plurality of frames of communication data;
[0009] The processing component is further configured to send at least two frames of the communication data to the outside through the communication component before detecting the rebound action of the first actuator, so that a controlled device connected to the network executes a first result pointed by the first instruction.
[0010] Further, in the first mode, the processing component is further configured to only respond to a press-down action of the first actuator for any action of the first actuator.
[0011] Further, the processing component is further configured to a second mode to generate a second instruction after detecting the press-down action of the first actuator with a delay of at least 100 ms, and send the second instruction to the outside through the communication component so that a controlled device connected to the network executes a second result pointed by the second instruction.
[0012] Further, in the second mode, if the press-down action of the first actuator is detected again within the delay period after detecting the press-down action of the first actuator, the second result is different from the first result; otherwise, the second result is the same as the first result.
[0013] Further, in the first mode, the processing component can generate a plurality of first instructions corresponding to each press-down action of the first actuator in sequence in response to the continuous multiple press-down actions of the first actuator; in the second mode, the processing component can generate a third instruction in response to the continuous multiple press-down actions of the first actuator, the third instruction being used to instruct the controlled device to execute a preset third result associated with the multiple press-down actions.
[0014] Further, a time interval from detecting a first press-down action to sending the first instruction by the processing component is defined as a first time T1; a time interval from detecting the first press-down action to sending the second instruction by the processing component is defined as a second time T2, and a time interval from detecting the first press-down action to sending the third instruction by the processing component is defined as a third time T4; then the following relationship is satisfied: T1
[0015] Further, the wireless control device is further used for:
[0016] In the non-networking state, the wireless control device is used to join the network in which the gateway is located in response to a network configuration operation;
[0017] After joining the network, the processing component is in the first mode by default, and the processing component can switch from the first mode to the second mode in response to a switching instruction.
[0018] Further, the communication component is configured to establish a GATT communication connection with a configuration device based on a general attribute protocol (GATT), and to switch from the first mode to the second mode upon receiving a switching instruction from the configuration device.
[0019] Further, the manipulation component further comprises a second actuator for accepting a switching operation; the second actuator is coupled to the processing component so that the processing component can detect an action of the second actuator;
[0020] The processing component is further configured to switch from the first mode to the second mode upon receiving a switching instruction generated by a down press action of the second actuator.
[0021] Further, the processing component is further configured to:
[0022] After joining the network, report a status instruction to the configuration device through the communication component at a specified frequency; the status instruction represents that the wireless control device is online.
[0023] According to a second aspect of the present application, a wireless control device is provided for controlling a connected controlled device in a network based on a network in which a gateway is located; the wireless control device comprises:
[0024] A manipulation component comprising a first actuator for generating an action in response to an external action; the external action comprises a down press action and a release action occurring in sequence, and the action comprises a down press action and a rebound action occurring in sequence, respectively;
[0025] A communication component for external communication;
[0026] A processing component electrically connected to the communication component and coupled to the manipulation component to detect a control action accepted by the first actuator; the processing component is configured in a first mode to generate and send a first instruction externally through the communication component immediately upon detecting a down press action of the first actuator, and configured in a second mode to generate and send a first instruction externally through the communication component after a delay of at least 100 ms after detecting a down press action of the first actuator; so that the connected controlled device in the network performs a control result pointed by the first instruction;
[0027] The processing component can switch from the first mode to the second mode in response to a switching instruction.
[0028] Further, the first instruction comprises multiple frames of communication data.
[0029] In the first mode, the processing component is further configured to send, through the communication component, at least two frames of the communication data to the outside before detecting that the first actuator performs the rebound action.
[0030] Further, the communication component is configured to establish a GATT communication connection with a configuration device based on a general attribute protocol (GATT), and switch from the first mode to the second mode when receiving a switching instruction from the configuration device.
[0031] Further, the communication component is in a non-scanning state at any time.
[0032] Further, the processing component includes a digital processing unit and a detection switch unit, the detection switch unit includes a plurality of detection switches, each detection switch is electrically connected to the digital processing unit, and each detection switch corresponds to each actuator in the control component one by one, so that when any actuator in the control component is actuated and moves, the corresponding detection switch can be triggered, and then the digital processing unit determines the actuator that is actuated based on the triggered detection switch.
[0033] Further, the wireless control device further includes a feedback component for sending a first feedback signal to the outside in the first mode and a second feedback signal to the outside in the second mode; the first feedback signal and the second feedback signal are different.
[0034] Further, the feedback component includes at least one of an LED lamp, a loudspeaker, and a buzzer.
[0035] According to a third aspect of the present application, a configuration device is provided, including: a human-computer interaction interface and an application program; the application program is used for configuring the wireless control device provided according to the first aspect and / or the wireless control device provided according to the second aspect.
[0036] The human-computer interaction interface is used for providing a port for the application program to operate;
[0037] The configuration device is used for:
[0038] In response to the operation instruction received by the port, the configuration instruction is sent to the wireless control device, so that the wireless control device is switched from the first mode to the second mode.
[0039] Further, when the configuration device receives the operation instruction, the configuration device is specifically used for:
[0040] displaying a specified mode configuration interface;
[0041] In response to a selection operation on a selection button of the first mode and the second mode displayed in the mode configuration interface, the selected selection button is determined as the current mode;
[0042] The configuration device sends a configuration instruction representing the current mode to the wireless control device through direct connection communication, so that the wireless control device switches to the current mode in response to the configuration instruction.
[0043] Further, the configuration device establishes direct connection communication with the wireless control device based on the general attribute protocol (GATT).
[0044] Further, the configuration device is further configured to: establish direct connection communication with the wireless control device in response to an operation instruction for entering the specified mode configuration interface; and disconnect the direct connection communication with the wireless control device in response to an operation instruction for exiting the specified mode configuration interface.
[0045] According to a fourth aspect of the present application, a wireless control system is provided, comprising the wireless control device according to the first aspect or the wireless control device according to the second aspect, a gateway, at least one controlled device, and the configuration device according to the third aspect.
[0046] The wireless control device and the controlled device are connected to the network where the gateway is located, and can interact with each other based on the network.
[0047] Further, the controlled device comprises at least one of a wall switch, a smart speaker, a smart window opener, a smart window curtain motor, and a smart lamp.
[0048] The wireless control device, the configuration device and the control system according to the first aspect to the fourth aspect of the present application have at least the following beneficial effects:
[0049] (1) The wireless control device according to the embodiment of the present application has a first mode, in which the wireless control device responds immediately after detecting a single-click event without waiting for subsequent actions, so that the wireless control device after networking can also have the response speed of a local wireless control device.
[0050] (2) The wireless control device according to the embodiment of the present application also has a second mode, in which the wireless control device can detect events other than single-click, and can switch between the first mode and the second mode through a switching instruction, so that the user can switch the current mode of the wireless control device according to actual use requirements.
[0051] (3) The wireless control device and the configuration device are connected through GATT direct connection, the mode of the wireless control device is configured, and the wireless control device and the controlled device are connected through the network in which the gateway is located, so that the wireless control device can quickly switch the current mode, the switching operation is not affected by the network state, and the wireless control device does not need to start the scanning function at any moment during use, thereby greatly reducing standby power consumption or working power consumption of the wireless control device;
[0052] (4) The direct connection between the wireless control device and the configuration device is automatically disconnected after the configuration interface of the configuration device is exited, so as to further reduce the configuration power consumption of the wireless control device. BRIEF DESCRIPTION OF DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0054] Figure 1 is a structure schematic diagram of a wireless control system in an embodiment of the present application;
[0055] Figure 2 is a further refinement schematic diagram of the wireless control system based on Figure 1 in an embodiment of the present application; Figure 1
[0056] Figure 3 is a further refinement schematic diagram of the wireless control system based on Figure 1 in an embodiment of the present application; Figure 2
[0057] Figure 4 is a structure schematic diagram of a configuration device in an embodiment of the present application;
[0058] Figure 5 is a mode configuration interface schematic diagram of a configuration device in an embodiment of the present application.
[0059] REFERENCE SIGNS:
[0060] 100, wireless control device; 101, control assembly; 1011, first actuator; 1012, second actuator; 102, processing assembly; 1021, detection switch; 1022, digital processing unit; 103, communication assembly; 104, power supply assembly; 105, feedback assembly;
[0061] 200, gateway;
[0062] 300, configuration device; 301, human-computer interaction interface; 302, application program; 303, wireless communication circuit; 304, mode setting interface; 3041, first mode selection button; 3042, second mode selection button;
[0063] 400, controlled device. DETAILED DESCRIPTION
[0064] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0065] In the description of the specification of the present application, the terms "first", "second" are only used for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can be explicitly or implicitly included one or more of the features.
[0066] In the description of the present application, unless otherwise explicitly and specifically limited, the meaning of "multiple frames" is multiple, such as two frames, three frames, thirty frames, etc.; the terms such as "coupling" should be understood broadly, for example, it can be fixedly connected, or detachably connected, or integrated; it can be mechanically connected, or electrically connected, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium to form a linkage relationship, or it can be the internal communication of two elements or the interaction relationship of two elements. For a person of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.
[0067] The technical solutions of the present application will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in some embodiments.
[0068] Please refer to Figure 1 , based on Figure 1 , the wireless control system proposed in the embodiments of the present application is specifically illustrated, as Figure 1 The structure schematic diagram of the wireless control system proposed in the embodiments of the present application is shown; based on Figure 1 It can be known that the wireless control system at least includes a wireless control device 100, a gateway 200, a configuration device 300 and at least one controlled device 400;
[0069] The wireless control device 100 and the controlled device 400 are connected to the network where the gateway 200 is located, and can interact with each other based on the network.
[0070] As shown in Figure 2 , the controlled device 400 can include any smart device or combination, such as a wall switch, a smart speaker, a smart window opener, a smart curtain motor, and a smart lamp.
[0071] The wireless control device 100 is any controller that can control the controlled device 400 based on wireless signals. The wireless signals can be based on radio frequency, WIFI, ZIGBEE, Bluetooth, etc. For power-sensitive wireless control devices 100 (such as battery-powered wireless switches and self-powered wireless switches), Bluetooth or radio frequency communication with lower power consumption is preferred. In this embodiment, the wireless signal is mainly based on Bluetooth for external transmission, and the description in the following part is mainly based on Bluetooth communication.
[0072] The gateway 200 includes any gateway 200 device that can form a communication network, such as a router or a Bluetooth gateway 200. In this embodiment, the description is mainly based on power-sensitive wireless control devices 100, so the gateway 200 in the following description mainly refers to a Bluetooth gateway 200.
[0073] The configuration device 300 includes any smart device with logical processing capability and wireless communication capability. In some examples, the configuration device 300 can be a smart phone, a tablet computer, a smart watch, etc. used by people in daily life. The configuration device 300 has Bluetooth communication capability, and can control the wireless control device 100 by establishing a Bluetooth connection with the wireless control device 100.
[0074] In some schemes, the wireless control system can also include a server. The gateway 200 and the configuration device 300 can interact with the server, and the data interaction between the gateway 200 and the configuration device 300 can be realized based on the server. For example, the server can mainly function as a data forwarding device; for example, the server can also function as a data storage and processing device.
[0075] Based on the above wireless control system, the present application proposes a wireless control device 100, please refer to Figure 2 、 Figure 3 , based on Figure 2 、 Figure 3 , the wireless control device 100 proposed by the present application is specifically illustrated; the wireless control device 100 in the embodiment of the present application will be described in detail.
[0076] As Figure 2 shown, the wireless control device 100 provided by the embodiment is used to control a controlled device 400 connected in a network based on a network where a gateway 200 is located, which at least includes:
[0077] The control component 101 includes a first actuator 1011 for receiving an external actuation to generate an action; the external actuation includes a sequentially occurring press-down actuation and a release actuation, and the action includes a sequentially occurring press-down action and a rebound action correspondingly; further in an example, the first actuator 1011 can be, for example, a rotary shaft type of key panel or a knob or the like component or combination of components capable of being driven by an external force to generate a displacement action; in addition, the external actuation can also include a rotation actuation;
[0078] The communication component 103 is used for external communication; specifically, in the embodiment, the external communication is wireless communication based on a wireless communication protocol;
[0079] The processing component 102 is electrically connected to the communication component 103 and coupled to the control component 101 to detect the external actuation accepted by the first actuator 1011; the processing component 102 is configured in a first mode to generate a first instruction when the press-down action of the first actuator 1011 is detected; the first instruction includes multiple frames of communication data;
[0080] The processing component 102 is further configured to send at least two frames of the communication data to the outside through the communication component 103 before the rebound action of the first actuator 1011 is detected, so that the controlled device 400 connected in the network executes a first result pointed by the first instruction. Further in an example, the first instruction includes 30 frames of the same control packet, and the processing component 102 immediately sends 3 frames of the control packet when the trigger signal generated by the press-down action of the first actuator 1011 is detected, and successively sends the remaining 27 frames of the control packet to the outside before, after or at the same time as the rebound action of the first actuator 1011 occurs, so as to ensure the rate and stability of the execution of the first result.
[0081] Wherein, the processing component 102 and the communication component 103 can be integrated together or separately arranged. In an example, the processing component 102 and the communication component 103 can be a Bluetooth communication module integrated together, and the controlled device 400 is a receiver connected with a lamp, and further, the first instruction can include multiple frames of control packets for controlling the lamp to turn on or off. In another example, the controlled device 400 is a smart window opener, and further, the first instruction can be a control packet for controlling the window to close or open.
[0082] The wireless control device 100 further comprises an elastic assembly (not shown in the figure) which is directly or indirectly connected to each actuator of the control assembly 101, for providing support force and elastic force for each actuator; in a further example, the first actuators are multiple and are all implemented as movable keys, and the elastic assembly comprises multiple springs corresponding to each key, so that when each key is pressed, the corresponding spring is compressed and deformed downward, thus storing elastic potential energy and triggering the detection switch 1021 (multiple and corresponding to each key) in the processing assembly 102, so that the processing assembly 102 identifies the pressed key; when the pressing force on the key is removed, the spring restores the deformation in the direction of the key due to the elastic potential energy, and drives the key to rebound.
[0083] Of course, as Figure 1 shown, in addition to the control assembly 101, the communication assembly 103 and the processing assembly 102 disclosed in the above examples, the wireless control device 100 also has a power supply assembly 104, a housing assembly (not shown in the figure) and other necessary assemblies for supporting the normal operation of the wireless control device 100. The power supply assembly 104 is electrically connected to the communication assembly 103 and the processing assembly 102, for supplying power to the communication assembly 103 and the processing assembly 102; wherein the power supply assembly 104 comprises a power supply unit; the power supply unit can be understood as a component capable of providing power. In one example, the power supply unit is a self-generating motor; in another example, the power supply unit is a button cell or a rechargeable battery; in another example, the power supply unit is a solar panel. In addition, the power supply assembly 104 can also be provided with other devices or combinations of devices for voltage stabilization, filtering, rectification and the like, and the power output by the power supply unit can be processed by voltage stabilization, filtering, rectification and the like before being output to the communication assembly 103 and the processing assembly 102, thus providing usable power for the communication assembly 103 and the processing assembly 102.
[0084] The shell assembly includes a bottom shell and a supporting or fixing structure arranged in the bottom shell and matched with the operation assembly 101, the communication assembly 103, the processing assembly 102 and the power supply assembly 104; for example, when the first actuator is implemented as a key, the bottom shell has a concave cavity with an open end, the keys of the operation assembly 101 are combined to form a key panel, which is further arranged at the open end of the concave cavity, and the communication assembly 103, the processing assembly 102 and the power supply assembly 104 are encapsulated in the concave cavity to form a protective and supporting effect. The bottom shell is provided with a rotating shaft, and each key is provided with a rotating hole, the rotating holes of the keys are independent of each other, and the rotating holes of the keys are in a pivoting connection relationship with the rotating shaft on the bottom shell through the rotating holes, and the one end surface of the key is pressed to make the key perform a pivoting action, so that the opposite end surface directly or indirectly triggers the corresponding detection switch 1021.
[0085] Based on the above technical solutions, the wireless control device 100 proposed in the embodiment of the present disclosure has a first mode, in which the wireless control device 100 responds immediately after detecting the pressing action of the first actuator and no longer waits for the detection of subsequent actions; in other words, in the first mode, no matter whether there is a multi-click event or a long-press event after the single-click event, the wireless control device 100 will preferentially respond to the single-click event to ensure the rapid execution of the single-click event, so that the wireless control device 100 after networking can also have the response speed of the local wireless control device 100, and the user can have the dual use experience of the networking device with functional diversification and the local device with fast response speed through the first mode proposed in the present solution.
[0086] In a further optional solution, the processing component 102 is further configured in a second mode to generate a second instruction after detecting the downward pressing action of the first actuator 1011 for a time delay of at least 100 ms, and send the second instruction out through the communication component 103 to make the controlled device 400 connected to the network execute a second result pointed by the second instruction. In the embodiment, in the second mode, the specific time delay after detecting the downward pressing action of the first actuator 1011 can be set according to actual application requirements. For example, if only single click and double click operations are required in actual application requirements, the time delay can be set to more than 100 ms and less than 500 ms, and then it is detected whether there is a second single click within the time delay, and if yes, it is identified as a double click event. Meanwhile, in a further optional embodiment, in the second mode, if at least one downward pressing action of the first actuator 1011 is detected again within the time delay after detecting the downward pressing action of the first actuator 1011, the second result is different from the first result; otherwise, the second result is the same as the first result. Therefore, in the second mode, whether a double click event occurs or not, a corresponding instruction will be generated again after a certain time delay after detecting the first downward pressing operation. The time delay can be used for the processing component 102 to make further detection operations. In the embodiment, the time delay is set to be greater than 100 ms according to the operation speed of general users, which can meet the double click time requirement in general cases. Of course, if more complex operations are required in actual application requirements, such as long pressing for 2 seconds and triple click, the time delay can be set to be more than 2 seconds, so as to give the user more time to perform more complex operations. The processing component 102 generates a corresponding control instruction according to the specific operation within the time delay. In an example, the controlled device 400 is a receiver connected with a lamp, the second instruction corresponding to the double click event can be a control packet for controlling the receiver to enter a fast flashing state, the second instruction corresponding to the triple click event can be a control packet for controlling the receiver to enter a slow flashing state, and the second instruction corresponding to the long pressing event can be a control packet for controlling the receiver to cancel the network configuration. The cancellation of the network configuration can be understood as that the receiver cancels the key information (such as the account and password of the network) stored locally for network configuration, and thus cancels the connection with the current network.
[0087] In the above embodiment, the wireless control device 100 further has a second mode. In the second mode, other events in addition to single click can be detected, and the first mode and the second mode can be switched through a switching instruction. Therefore, the user can switch the current mode of the wireless control device 100 according to actual use requirements. The energy consumption of the first mode is lower than that of the second mode. The first mode is used to realize the fast response of the single click event of the wireless control device, and the second mode is used to realize the normal response of the double click, long pressing and other events of the wireless control device.
[0088] Further, in some embodiments, in the first mode, the processing component 102 is capable of generating a plurality of first instructions corresponding to each time of pressing action in sequence in response to a plurality of times of pressing action of the first actuator 1011; in other words, if the wireless control device 100 is currently in the first mode, after the user presses the first actuator 1011 for a plurality of times, the wireless control device 100 will recognize it as a plurality of single click events and issue a plurality of first instructions corresponding to the single click events, without recognizing it as a multiple click event; while in the second mode, the processing component 102 is capable of generating a third instruction in response to a plurality of times of pressing action of the first actuator 1011, the third instruction is used to instruct the controlled device 400 to execute a preset third result associated with the plurality of times of pressing action. If the interval from detecting the first pressing action to sending the first instruction is defined as a first time length T1, the interval from detecting the first pressing action to sending the second instruction is defined as a second time length T2, and the interval from detecting the first pressing action to sending the third instruction is defined as a third time length T3; then the first time length T1, the second time length T2 and the third time length T3 satisfy the following relationship: T1
[0089] In the embodiment, in the first mode, the wireless control device 100 only responds to the single click event, and recognizes it as a single click event as long as a pressing action is detected, without considering other events, which can maximize the response speed of the single click event and reduce the power consumption of the first mode; correspondingly, in the second mode, other events such as double click, triple click, etc. can be recognized. Further, the user can switch to the first mode when needed (for example, when the power is insufficient) to ensure the response speed of the single click event and prolong the battery life.
[0090] In addition, in some embodiments, if the wireless control device 100 is not connected to the network, it cannot be used, and the device must be connected to the network if the user wants to use it; for example, when the user gets a brand new wireless control device 100 and activates it, the user can be prompted to perform a network connection operation before using it. Further, in the embodiment, the wireless control device 100 is also used for:
[0091] In the non-networking state, joining the network in which the gateway 200 is located in response to a network configuration operation;
[0092] After joining the network, the processing component 102 is in the first mode by default, and the processing component 102 is capable of switching from the first mode to the second mode in response to a switching instruction.
[0093] Based on the technical solution provided in this embodiment, the wireless control device 100 will be in the first mode, i.e., the mode of responding to a single click event quickly, thereby ensuring the basic fast control requirement of the user. If the user wants to switch the mode, the user can operate through the switching instruction.
[0094] Specifically, the network configuration operation can specifically include:
[0095] When in the unconfigured state, in response to at least one trigger signal caused by a preset network configuration operation on the control component 101, it is determined that the wireless control device 100 enters the network configuration mode.
[0096] When in the network configuration mode, a network configuration instruction is generated and sent externally; the network configuration instruction is used to instruct the configuration device 300 or the gateway 200 to add the wireless control device 100 to the network established by the gateway 200 after receiving the network configuration instruction, so as to complete the network configuration of the wireless control device 100, and then enable the wireless control device 100 to communicate with the gateway 200 through the network after the network configuration of the wireless control device 100 is completed.
[0097] Of course, after the wireless control device 100 sends the network configuration instruction, the gateway 200 can also directly or after verification forward it to the configuration device 300 (of course, the configuration device 300 can also directly receive the network configuration instruction). In one embodiment, the configuration device 300 can be used to:
[0098] After obtaining the network configuration instruction, the wireless control device 100 is listed as a legal device, and the wireless control device 100 is instructed to join the network (such as a Bluetooth network) corresponding to the gateway 200 (the configuration device 300 and the gateway 200 have established a network connection in advance).
[0099] When the wireless control device 100 is listed as a legal device, it can be specifically used to:
[0100] The configuration device 300 displays the wireless control device 100 through a man-machine interaction interface (such as a scanning result display interface capable of displaying the scanned wireless control device 100);
[0101] In response to an addition operation on the wireless control device 100 (such as a touch operation on the scanning result display interface or an operation on other operable components of the configuration device 300), the wireless control device 100 is bound to a preset account, so that the wireless control device 100 serves as a legal device in the account.
[0102] In the case that the configuration device 300 has been as a legal device, the configuration device 300 can display the wireless control device 100 as the operable device through a man-machine interface. In turn, the configuration device 300 can send corresponding instructions to the wireless control device 100 in response to the operation of the operable wireless control device 100 displayed on the interface, and then the wireless control device 100 generates or forwards corresponding instructions to the gateway 200 based on the received instructions, and then controls other controlled devices 400 connected in the network where the gateway 200 is located. The two man-machine interfaces mentioned above can be the same interface or different interfaces.
[0103] The configuration device 300 can send the switching instruction by establishing a communication connection with the wireless control device 100; in an example, the communication component 103 is configured to establish a GATT communication connection with a configuration device 300 based on a general attribute protocol (GATT), and then switch from the first mode to the second mode when receiving the switching instruction from the configuration device 300. In turn, based on the technical solution provided in this embodiment, the wireless control device 100 and the configuration device 300 configure the mode through the GATT direct connection, and the wireless control device 100 and the controlled device 400 interact through the network where the gateway 200 is located, so that the wireless control device 100 does not need to open the scanning function at any time during use, thereby optimizing the standby power consumption or working power consumption of the wireless control device 100.
[0104] Optionally, since the configuration device 300 and the wireless control device 100 establish an interaction relationship based on the GATT protocol, and then after completing the network configuration, the processing component 102 is further configured to: when the first actuator 1011 occurs a pressing action and / or a rebound action, directly report a pressing event and / or a rebound event to the configuration device 300, without forwarding through the gateway 200, so that the configuration device 300 can quickly learn the corresponding event and prompt the event to the outside, and / or form an operation record. In turn, the processing component 102 is further configured to:
[0105] After joining the network, report a state instruction to the configuration device 300 through the communication component 103 at a specified frequency; the state instruction represents that the wireless control device 100 is online.
[0106] In this embodiment, the wireless control device 100 can realize state reporting without opening the scanning function, and then the configuration device 300 can know whether the state of the wireless control device 100 is online without issuing an instruction.
[0107] Optionally, the state instruction records power information (or can be understood as residual power information) of the power supply unit, and then the configuration device 300 can externally prompt current power information of the wireless control device 100 based on the received state instruction.
[0108] In some embodiments, the switching instruction can also be generated by local operation of the wireless control device 100. For example, as shown in FIG. 1, the operation component 101 further includes a second actuator 1012 for accepting switching operation; the second actuator 1012 is coupled to the processing component 102, so that the processing component 102 can detect the action of the second actuator 1012; the processing component 102 is further configured to switch from the first mode to the second mode when receiving the switching instruction generated by the down pressing action of the second actuator 1012. Therefore, based on the present embodiment, the switching instruction can be triggered and generated by the local actuator, which facilitates the user to manually switch the first mode and the second mode through local operation without using a third-party device (for example, the configuration device 300). Figure 3
[0109] In addition, based on the technical solutions proposed in the above embodiments, the present application further proposes a wireless control device 100 for controlling a controlled device 400 connected in a network based on a network where a gateway 200 is located; the functions and use principles of the components in the present embodiment can be explained with reference to the related texts recorded in the above embodiments. The wireless control device 100 proposed in the present embodiment includes:
[0110] The operation component 101 includes a first actuator 1011 for generating action in response to external action; the external action includes sequentially occurring down pressing action and release action, and correspondingly, the action includes sequentially occurring down pressing action and rebound action;
[0111] The communication component 103 is configured to communicate externally;
[0112] The processing component 102 is electrically connected to the communication component 103 and coupled to the operation component 101 to detect the control action accepted by the first actuator 1011; the processing component 102 is configured in a first mode to generate and send the first instruction to the outside through the communication component 103 immediately when the downward pressing action of the first actuator 1011 is detected, and configured in a second mode to generate and send the first instruction to the outside through the communication component 103 after a delay of at least 100 ms after the downward pressing action of the first actuator 1011 is detected; so that the controlled device 400 connected to the network executes the control result pointed by the first instruction; the immediate generation can be understood as generating and sending the corresponding first instruction to the outside within 30 ms after the downward pressing action of the first actuator 1011 is detected. The processing component 102 can be switched from the first mode to the second mode in response to a switching instruction.
[0113] Based on the above technical solutions, the wireless control device 100 proposed in the embodiment of the present disclosure has a first mode, in which the wireless control device 100 after networking can also have the response speed of the local wireless control device 100, and responds immediately after detecting the single-click event of the downward pressing action without waiting for subsequent other actions.
[0114] In addition, it should be noted that the first instruction includes multiple frames of communication data; in some embodiments, in the first mode, the processing component 102 is further configured to send at least two frames of the communication data to the outside through the communication component 103 before detecting the rebound action of the first actuator 1011, so that the processing component 102 sends part of the communication data immediately after detecting the downward pressing action of the first actuator 1011, so that the corresponding controlled device 400 can quickly respond to the control result pointed by the first instruction. Based on a large number of previous creative tests, the first instruction can include 30 frames of the same communication data, at least two frames of the communication data are preferentially sent after detecting the downward pressing action of the first actuator 1011, and the remaining communication data can be sent out in succession, so as to ensure that the corresponding control result can be triggered with a greater probability, and at the same time ensure the stability of the control performance of the wireless control device 100.
[0115] Optionally, the communication component 103 is configured to establish a GATT communication connection with a configuration device 300 based on a general attribute protocol GATT, and then switch from the first mode to the second mode when receiving a switching instruction from the configuration device 300.
[0116] In addition, since the mode configuration between the wireless control device 100 and the configuration device 300 is performed through the GATT direct connection, the wireless control device 100 interacts with the controlled device 400 through the network in which the gateway 200 is located, so that the wireless control device 100 does not need to start the scanning function at any moment during use. Therefore, in some embodiments, the communication component 103 is in a non-scanning state at any moment, thereby greatly reducing the standby power consumption or working power consumption of the wireless control device 100.
[0117] It should be noted that in all the above embodiments, the processing component 102 includes a digital processing unit 1022 and a detection switch unit, the detection switch unit includes a plurality of detection switches 1021 corresponding to each actuator in the control component 101, and each detection switch 1021 is electrically connected to the digital processing unit 1022, so that when any actuator in the control component 101 is actuated and moves, the corresponding detection switch 1021 can be triggered, and then the digital processing unit 1022 determines the actuator based on the triggered detection switch 1021.
[0118] In a specific example, the processing component 102 is implemented as a single-chip microcomputer with multiple IO ports, and then the corresponding detection switch 1021 is connected through the IO port, and then when the falling edge of the corresponding IO port is detected, it is determined that the corresponding actuator has a down action; when the rising edge of the corresponding IO port is detected, it is determined that the corresponding actuator has a rebound action; further, the immediate response can be understood as generating and sending the corresponding first instruction outside within 30ms after detecting the falling edge, specifically, at least two frames of the communication data can be transmitted within 30ms.
[0119] In some embodiments, the wireless control device 100 further includes a feedback component 105 for issuing a first feedback signal outside in the first mode, and issuing a second feedback signal outside in the second mode; the first feedback signal and the second feedback signal are different. Further, based on the first feedback signal and the second feedback signal, the user can easily know whether the wireless control device 100 is currently using the first mode or the second mode.
[0120] The feedback component 105 can be at least one of an LED lamp, a speaker, and a buzzer. For example, the feedback component 105 is configured as two LED lamp beads of different colors, and the corresponding feedback signals are light signals. The first feedback signal and the second feedback signal correspond to different colors of light to indicate the first mode and the second mode, respectively. For example, the feedback component 105 is configured as two LED lamp beads of the same color, and the corresponding feedback signals are light signals. The first feedback signal and the second feedback signal correspond to the same color of light but different flashing frequencies, for example, the first feedback signal is fast flashing, and the second feedback signal is slow flashing, which can indicate the first mode and the second mode, respectively. For example, the feedback component 105 is configured as a buzzer, and the corresponding feedback signals are sound signals. The first feedback signal and the second feedback signal correspond to different sounds, for example, the first feedback signal is short buzzing, and the second feedback signal is long buzzing, which can indicate the first mode and the second mode, respectively. For example, the feedback component 105 is configured as a speaker, and the local storage of the processing component 102 has a preset first voice for representing the first instruction and a preset second voice for representing the second instruction. The first feedback signal is the first voice, and the second feedback signal is the second voice, so that the user can distinguish the first mode and the second mode through different voices.
[0121] Optionally, the power supply unit in the embodiment is implemented as a button cell, and the wireless control device 100 is a power consumption sensitive wireless control device. In order to prolong the service life of the wireless control device 100 as much as possible, the power consumption of the wireless control device 100 needs to be controlled as much as possible. In some embodiments, in the first mode, the processing component 102 is further configured to not respond to actions other than the downward pressing action of the first actuator 1011. Therefore, the user can prolong the service life by only retaining the single-click function in the case of insufficient power supply unit power, and the response speed of the single-click event is not affected. In particular, when the button cell has little power left, the power consumption can be reduced as much as possible by setting only the single-click function and shielding other functions to prolong the battery life.
[0122] In addition, based on the technical solutions proposed in the above embodiments, the application further proposes a configuration device 300. The functions and use principles of the components in the embodiment can be explained with reference to the related descriptions in the above embodiments.
[0123] As shown in Figure 4 The configuration device 300 proposed in the embodiment includes a human-computer interaction interface 301 and an application program 302 for configuring the wireless control device 100.
[0124] The human-computer interaction interface is used to provide a port for the application program to operate.
[0125] The configuration device 300 is configured to:
[0126] In response to the operation instruction received by the port, send a configuration instruction to the wireless control device 100, so that the wireless control device 100 switches from the first mode to the second mode. Of course, the configuration device 300 also includes wireless communication circuit 303 and other commonly used but necessary components for transmitting the switching instruction. Those skilled in the art can easily understand these commonly used components based on the scheme provided in this embodiment combined with the prior art, and will not be repeated here.
[0127] The configuration device 300 can be a smart phone, and the application can be an app, and the port can be a login interface or a control interface of the app. The list of wireless control devices 100 that are configured to be legal devices can be listed in the APP. When a wireless control device 100 is triggered (i.e., the corresponding first actuator 1011 occurs at least once the pressing action), the APP will display the corresponding wireless control device 100 pressed event (i.e., the pressing event) or operation record. The APP can also send a notification to remind the user, and / or: with vibration, ring, etc. Remind the user.
[0128] The configuration device 300 provided in this embodiment provides an operation port for conveniently switching the first mode and the second mode, which facilitates the user to quickly switch the first mode and the second mode in a visual manner when needed.
[0129] Optionally, as shown in Figure 5 When the configuration device 300 receives the operation instruction, the configuration device 300 is specifically configured to:
[0130] Display the mode configuration interface 304;
[0131] In response to the selection operation of the first mode selection button 3041 and the second mode selection button 3042 displayed in the mode configuration interface, determine the selected current mode; for example Figure 5 As shown in If the first mode selection button 3041 is selected, it is determined that the current mode is the first mode;
[0132] The configuration device 300 sends the configuration instruction representing the current selected mode to the wireless control device 100 through a direct connection mode, so that the wireless control device 100 performs corresponding mode switching based on the configuration instruction. The direct connection mode may, for example, be a GATT communication direct connection with the wireless control device 100 based on a general attribute protocol (GATT), so that the wireless control device 100 does not need to be in a scanning mode at any time to reduce power consumption, and the safety and timeliness of the configuration process between the wireless control device 100 and the configuration device 300 are ensured due to the establishment of a dedicated communication link.
[0133] Optionally, the configuration device 300 is further configured to: establish a direct connection communication with the wireless control device 100 in response to an operation instruction for entering the specified mode configuration interface; and disconnect the direct connection communication with the wireless control device 100 in response to an operation instruction for exiting the specified mode configuration interface. In other words, if the configuration device establishes a GATT communication connection with the wireless control device 100, the GATT communication connection with the wireless control device 100 is automatically disconnected after the configuration device 300 exits the configuration interface, so as to further reduce the power consumption of the wireless control device 100. In a further example, the operation instruction for exiting the specified mode configuration interface may be an operation instruction generated by a trigger operation of an exit button for triggering the exit of the specified mode configuration interface. In this way, the Bluetooth direct connection communication with the wireless control device 100 is disconnected when it is detected that the interface button for representing the exit of the specified mode configuration interface is triggered, and the Bluetooth of the wireless control device 100 is searched and the direct connection is actively established when it is detected that the interface button for representing the entry of the specified mode configuration interface is triggered. The configuration device 300 may disconnect the direct connection communication with the wireless control device 100 immediately after the operation instruction for exiting the specified mode configuration interface is detected, or may disconnect the direct connection communication after a certain event, which can be set according to requirements.
[0134] Based on the above description of all the embodiments, the wireless control device, the configuration device and the control system thereof proposed by the present application have at least the following beneficial effects:
[0135] (1) The wireless control device proposed by the embodiment of the present application has a first mode. In the first mode, the wireless control device responds immediately after detecting a single-click event, without waiting for subsequent actions, so that the wireless control device after networking also has the response speed of a local wireless control device.
[0136] (2) The wireless control device also has a second mode, in the second mode, other events except single click can be detected, and the first mode and the second mode can be switched through a switching instruction, and then the user can switch the current mode of the wireless control device according to actual use requirements;
[0137] (3) The wireless control device and the configuration device are connected through the GATT direct connection mode, the wireless control device and the controlled device are connected through the network of the gateway, so that the wireless control device does not need to start the scanning function at any time during use, thereby greatly reducing the standby power consumption or working power consumption of the wireless control device;
[0138] (4) The direct connection between the wireless control device and the configuration device is automatically disconnected after the configuration interface of the configuration device is exited, so as to further reduce the configuration power consumption of the wireless control device.
[0139] In the description of the present specification, the description of the terms "one embodiment", "one example", "specific implementation process", "one example" and the like means that the specific features, structures, materials or characteristics described in combination with the embodiment or example are contained in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0140] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to 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 to part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A wireless control device for controlling controlled devices connected to a network based on a network where a gateway is located; characterized in that, The wireless control device includes: The control component includes a first actuator for receiving an external action to generate an action; the external action includes a pressing action and a releasing action occurring sequentially, and correspondingly, the action includes a pressing action and a rebound action occurring sequentially. Communication components, used for external communication; A processing component, electrically connected to the communication component and coupled to the control component, is used to detect external actions received by the first actuator. The processing component is configured in a first mode to generate a first instruction upon detecting a down press action of the first actuator; the first instruction includes multiple frames of communication data; the processing component is further configured to send at least two frames of the communication data outward via the communication component before detecting the rebound action of the first actuator, and to send the remaining communication data outward successively before, after, or simultaneously with the rebound action of the first actuator, so that a controlled device connected to the network executes the first result indicated by the first instruction; wherein, in the first mode, for any action of the first actuator, the processing component is configured to respond only to the down press action of the first actuator, and to recognize a click event as soon as a down press action is detected; The processing component can also be configured to a second mode, in which a certain delay is made after the first down press operation is detected before generating the corresponding instruction. After the delay time, the processing component generates the corresponding control instruction based on the specific operation that occurred during the delay time.
2. The wireless control device according to claim 1, characterized in that, In the second mode, after detecting the pressing action of the first actuator, a second instruction is generated after a delay of at least 100ms, and the second instruction is sent out through the communication component so that the controlled device connected to the network executes the second result indicated by the second instruction.
3. The wireless control device according to claim 2, characterized in that, In the second mode, if at least one more downward press of the first actuator is detected within the delay period after the downward press of the first actuator, then the second result is different from the first result; otherwise, the second result is the same as the first result.
4. The wireless control device according to claim 2, characterized in that, In the first mode, the processing component is able to generate a plurality of first instructions corresponding to each pressing action in response to multiple consecutive pressing actions of the first actuator; in the second mode, the processing component is able to generate a third instruction in response to multiple consecutive pressing actions of the first actuator, the third instruction being used to instruct the controlled device to execute a preset third result associated with the multiple pressing actions.
5. The wireless control device according to claim 4, characterized in that, Let the interval from the detection of the first press action to the sending of the first instruction by the processing component be defined as the first duration T1; let the interval from the detection of the first press action to the sending of the second instruction by the processing component be defined as the second duration T2; let the interval from the detection of the first press action to the sending of the third instruction by the processing component be defined as the third duration T4; then the following relationship is satisfied: T1 <T2,T2=T3。 6. The wireless control device according to claim 2, characterized in that, The wireless control device is also used for: In the unconfigured state, it joins the network where the gateway is located in response to the configuration operation; After joining the network, the processing component is in the first mode by default, and the processing component can switch from the first mode to the second mode in response to a switching command.
7. The wireless control device according to claim 6, characterized in that, The communication component is configured to establish a GATT communication connection with a configuration device based on the General Attribute Protocol (GATT), and then switch from the first mode to the second mode when a switching instruction is received from the configuration device.
8. The wireless control device according to claim 6, characterized in that, The control component further includes a second actuator for receiving a switching operation; the second actuator is coupled to the processing component so that the processing component can detect the action of the second actuator. The processing component is further configured to switch from the first mode to the second mode when it receives a switching instruction generated by the down press action of the second actuator.
9. The wireless control device according to claim 7, characterized in that, The processing component is also used for: After joining the network, the wireless control device reports status commands to the configuration device at a specified frequency via the communication component; the status commands indicate that the wireless control device is online.
10. A wireless control device for controlling controlled devices connected to a network based on a network where a gateway is located; characterized in that, The wireless control device includes: The control component includes a first actuator for generating an action in response to an external action; the external action includes a pressing action and a releasing action occurring sequentially, and correspondingly, the action includes a pressing action and a rebound action occurring sequentially. Communication components, used for external communication; A processing component, electrically connected to the communication component and coupled to the control component, detects a control action received by the first actuator. The processing component is configured in a first mode to immediately generate and transmit a first instruction via the communication component upon detecting a down-press action of the first actuator. The first instruction includes multiple frames of communication data. In the first mode, the processing component is further configured to transmit at least two frames of the communication data via the communication component before detecting a rebound action of the first actuator, and to transmit the remaining communication data sequentially before, after, or simultaneously with the rebound action of the first actuator. In the first mode, for any action of the first actuator, the processing component is configured to respond only to the down-press action of the first actuator, recognizing a click event as soon as a down-press action is detected. The processing component is configured in a second mode to generate and transmit the first instruction via the communication component after a delay of at least 100ms after detecting a down-press action of the first actuator, such that a controlled device connected to the network executes the control result indicated by the first instruction. The processing component is able to switch from a first mode to a second mode in response to a switching command.
11. The wireless control device according to claim 10, characterized in that, The communication component is configured to establish a GATT communication connection with a configuration device based on the General Attribute Protocol (GATT), and then switch from the first mode to the second mode when a switching instruction is received from the configuration device.
12. The wireless control device according to any one of claims 1-11, characterized in that, The communication component is in a non-scanning state at all times.
13. The wireless control device according to any one of claims 1-11, characterized in that, The processing component includes a digital processing unit and a detection switch unit. The detection switch unit includes multiple detection switches, each of which is electrically connected to the digital processing unit and corresponds one-to-one with each actuator in the control component. This allows the corresponding detection switch to be triggered when any actuator in the control component is actuated. The digital processing unit then determines the actuated actuator based on the triggered detection switch.
14. The wireless control device according to any one of claims 2-11, characterized in that, It also includes a feedback component, used to send out a first feedback signal in the first mode and a second feedback signal in the second mode; the first feedback signal and the second feedback signal are different.
15. The wireless control device according to claim 14, characterized in that, The feedback component includes at least one of an LED light, a speaker, and a buzzer.
16. A configuration device, characterized in that, include: An application for configuring the wireless control device as described in any one of claims 1-15; A human-computer interaction interface is used to provide an operable port for the application; The configuration device is used for: In response to the operation command received at the port, a configuration command is sent to the wireless control device, causing the wireless control device to switch from the first mode to the second mode.
17. The configuration device according to claim 16, characterized in that: When the configuration device receives the operation instruction, it is specifically used for: Displays the configuration interface for the specified mode; In response to the selection operation of the first mode and the second mode selection buttons displayed in the specified mode configuration interface, the mode corresponding to the selected selection button is determined to be the current mode; The wireless control device sends a configuration command carrying a characterization of the current mode via direct communication, so that the wireless control device switches to the current mode in response to the configuration command.
18. The configuration device according to claim 17, characterized in that, The configuration device establishes a direct communication connection with the wireless control device based on the General Attribute Protocol (GATT).
19. The configuration device according to claim 18, characterized in that, The configuration device is further configured to: establish direct communication with the wireless control device in response to an operation command to enter the specified mode configuration interface; and disconnect the direct communication connection with the wireless control device in response to an operation command to exit the specified mode configuration interface.
20. A wireless control system, characterized in that: Includes the wireless control device, gateway, at least one controlled device as described in any one of claims 1-15, and configuration device as described in any one of claims 16-19; Both the wireless control device and the controlled device are connected to the network where the gateway is located, and thus can interact with each other based on the network.
21. The wireless control system according to claim 20, characterized in that: The controlled device includes at least one of a wall switch, a smart speaker, a smart window opener, a smart curtain motor, and a smart light.
Citation Information
Patent Citations
Adaptable multi-mode wireless power, light and automation
CN105849655A
Control method of air conditioner, terminal equipment and air conditioner control system
CN112665140A
Control method and device of intelligent switch, intelligent switch and storage medium
CN114079443A