Switch control method, receiving end control method, self-generating switch and receiving end
AssigneeWuhan Linptech Co., Ltd.
InventorXiaoke Cheng
Life of this patent
Estimating the term…
Abstract
A switch control method, a receiving end control method, a self-generating switch, and a receiving end, the switch control method comprising: the processor sending a corresponding current control message to a receiving end via the wireless communication module, such that the receiving end verifies whether a relationship between a current verification identifier in the current control message and a stored historical verification identifier matches a pre-set transformation rule of the current verification identifier, and executing a control event corresponding to current manipulation information when the relationship matches the transformation rule.
Claims20
A switch control method based on a self-generating switch and a receiving end, which is applied to the self-generating switch, the self-generating switch comprising a processor, a memory, a button, a generator, a reset component, a rectification module, an energy storage module, a voltage output module, and a wireless communication module, the wireless communication module and the memory being electrically connected to the processor, an induction portion of the generator being electrically connected to the energy storage module via the rectification module, and the energy storage module being electrically connected to the wireless communication module, the processor and the memory via the voltage output module, the reset component being able to be transmitted with a moving portion of the generator, and the button also being able to be directly or indirectly transmitted with the moving portion of the generator;
- the switch control method comprising:
- if a control action of pressing down the button occurs, then the reset component deforming and generating a reset force to overcome the deformation, and the moving portion of the generator being directly or indirectly driven by the key, such that the generator generates a first induced voltage, and if the button undergoes a bouncing manipulation action, the reset component driving the moving portion of the generator under an action of the reset force, such that the generator generates a second induced voltage;
- the rectification module storing first electric energy corresponding to the first induced voltage and/or second electric energy corresponding to the second induced voltage in the energy storage module;
- the energy storage module transmitting the stored electric energy to the voltage output module, and the voltage output module using the received electric energy to provide a required voltage to the processor, the memory and the wireless communication module so as to power on same;
- after the processor, the memory and the wireless communication module are powered on, the processor generating and sending a corresponding current control message to the receiving end via the wireless communication module, and the current control message recording current manipulation information and the current verification identifier, such that the receiving end verifies whether a relationship between the current verification identifier in the current control message and the stored historical verification identifier matches a preset transformation rule of the current verification identifier, and executing a control event corresponding to current manipulation information when the relationship matches the transformation rule, the historical verification identifier being determined according to the verification identifier recorded in a control message or a pairing message sent to the receiving end by the self-generating switch previously;
- the current manipulation information characterizing at least one of:
- the self-generating switch;
- the button that the self-generating switch currently receives the manipulation;
- a manipulation action currently received by the button in the self-generating switch;
- in one pressing manipulation action and one bouncing manipulation action which occur successively, with regard to at least one manipulation action therein, before, after or at the same time of generating and sending a corresponding current control message to the receiving end via the wireless communication module, the processor also reading the current verification identifier from the memory, changing and updating the current verification identifier from a first numerical value to a second numerical value according to a preset transformation rule, and writing back the updated current verification identifier to the memory before the electric energy stored in the energy storage module is exhausted, the first numerical value being different from the second numerical value.
A self-generating switch, comprising a processor, a memory, a key, a generator, a reset component, a rectification module, an energy storage module, a voltage output module, and a wireless communication module, the wireless communication module and the memory being electrically connected to the processor, an induction portion of the generator being electrically connected to the energy storage module via the rectification module, and the energy storage module being electrically connected to the wireless communication module, the processor and the memory via the voltage output module, the reset component being able to be transmitted with a moving portion of the generator, and the button also being able to be directly or indirectly transmitted with the moving portion of the generator;
- the reset component is configured such that if the pressing manipulation action of the button occurs, then the reset component deforms and generates a reset force to overcome the deformation;
- and if the bouncing manipulation action of the button occurs, the reset component drives the moving portion of the generator under an action of the reset force;
- the generator is configured such that if the pressing manipulation action of the button occurs, then the moving portion of the generator is directly or indirectly driven by the button such that the induction portion of the generator generates a first induced voltage, and if the bouncing manipulation action of the button occurs, the moving portion of the generator is driven by the reset component such that the generator generates a second induction voltage;
- the rectification module is configured for storing first electric energy corresponding to the first induced voltage and/or second electric energy corresponding to the second induced voltage in the energy storage module;
- the energy storage module is configured for transmitting the stored electrical energy to the voltage output module;
- the voltage output module is configured for using the received electric energy to provide a required voltage to the processor, the memory and the wireless communication module so as to power on same;
- the processor is configured for,
- after the processor, the memory and the wireless communication module are powered on, generating and sending a corresponding current control message to the receiving end via the wireless communication module, and the current control message recording the current verification identifier and current manipulation information, such that the receiving end verifies whether a relationship between the current verification identifier and the stored historical verification identifier matches a preset transformation rule of the current verification identifier, and executing a control event corresponding to current manipulation information when the relationship matches the transformation rule, the historical verification identifier being determined according to the verification identifier recorded in a control message or a pairing message sent to the receiving end by the self-generating switch previously;
- the current manipulation information characterizing at least one of:
- the self-generating switch, the button that the self-generating switch currently receives the manipulation, a manipulation action currently occurring in the self-generating switch;
- the current manipulation information corresponding to at least one control event required to be executed by the receiving end;
- and
- in one pressing manipulation action and one bouncing manipulation action which occur successively, with regard to at least one manipulation action therein, before, after or at the same time of generating and sending a corresponding current control message to the receiving end via the wireless communication module, also reading the current verification identifier from the memory, changing and updating the current verification identifier from a first numerical value to a second numerical value according to a preset transformation rule, and writing back the updated current verification identifier to the memory before the electric energy stored in the energy storage module is exhausted, the first numerical value being different from the second numerical value.
Dependencies are inferred from the claim text.