CN114336918A - Self-generating switch and processing method and processing system thereof - Google Patents
Self-generating switch and processing method and processing system thereof Download PDFInfo
- Publication number
- CN114336918A CN114336918A CN202210022802.7A CN202210022802A CN114336918A CN 114336918 A CN114336918 A CN 114336918A CN 202210022802 A CN202210022802 A CN 202210022802A CN 114336918 A CN114336918 A CN 114336918A
- Authority
- CN
- China
- Prior art keywords
- module
- self
- switch
- network
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides a self-generating switch, a processing method and a processing system thereof, wherein the self-generating switch is characterized by comprising the following steps: at least one key, a generator configured to convert mechanical energy into electrical energy in response to the displacement; the switching circuit comprises a communication processing module, an energy storage module, a rectification module, a voltage output module, a storage module and a near field communication module; the near field communication module is electrically connected with the storage module directly or indirectly and is used for: the power generator executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target equipment under the condition that mechanical energy is not converted into electric energy; the communication processing module is used for: and under the condition that the generator converts mechanical energy into electric energy, generating a control message after the communication processing module and the storage module are powered on, and sending the control message through the target network.
Description
Technical Field
The invention relates to the field of switches, in particular to a self-generating switch and a processing method and a processing system thereof.
Background
An autonomous switch is understood to be a switch equipped with a generator, in which the electrical energy required by the circuit can be provided by the electrical energy generated by the generator. Meanwhile, the self-generating switch can be also provided with a communication processing module, and then the communication processing module is utilized for external communication.
In the prior art, the distribution process of the self-generating switch can only be realized by electric energy generated by the self-generating switch, however, the electric energy generated by the self-generating switch is limited, so that the data quantity transmitted and processed in the distribution process is greatly limited, and the realization of a distribution network is not facilitated.
Disclosure of Invention
The invention provides a self-generating switch, a processing method and a processing system thereof, which aim to solve the problem that the electric energy generated by self-generating electricity is limited.
According to a first aspect of the present invention, there is provided a self-generating switch comprising:
at least one key, wherein at least part of the key is set to be capable of generating displacement in response to external action, and the external action comprises an action of pressing the key;
a generator arranged to be able to convert mechanical energy into electrical energy in response to the displacement;
the switching circuit comprises a communication processing module, an energy storage module, a rectification module, a voltage output module, a storage module and a near field communication module;
the generator comprises an induction part and a motion part; the communication processing module is electrically connected with the storage module, the induction part is electrically connected with the energy storage module through the rectifying module, and the energy storage module is electrically connected with the communication processing module and the storage module through the voltage output module; the key is directly or indirectly transmitted to the motion part; wherein: the moving part is set to be capable of being transmitted to generate a first direction movement when the key is pressed down; the induction part is arranged to be capable of generating a first induction voltage in response to the movement of the movement part in the first direction; the rectifying module can rectify first electric energy corresponding to the first induction voltage and store the first electric energy in the energy storage module; the energy storage module can deliver the stored electric energy to the voltage output module;
the near field communication module is electrically connected with the storage module directly or indirectly and is used for: the power generator executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target equipment under the condition that mechanical energy is not converted into electric energy;
the communication processing module is used for: and under the condition that the generator converts mechanical energy into electric energy, generating a control message after the communication processing module and the storage module are powered on, and sending the control message through the target network.
According to a second aspect of the present invention, there is provided a method of processing a self-generating switch, the self-generating switch comprising: the switch circuit comprises a communication processing module, an energy storage module, a rectification module, a voltage output module, a storage module and a near field communication module; the generator comprises an induction part and a motion part; the communication processing module is electrically connected with the storage module, the induction part is electrically connected with the energy storage module through the rectifying module, and the energy storage module is electrically connected with the communication processing module and the storage module through the voltage output module; the key is directly or indirectly transmitted to the motion part; the near field communication module is electrically connected with the storage module;
the processing method comprises the following steps:
under the condition that the generator does not convert mechanical energy into electric energy, the near field communication module executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target equipment;
and under the condition that the generator converts mechanical energy into electric energy, after the communication processing module and the storage module are powered on, the communication processing module generates a control message and sends the control message through the target network.
According to a third aspect of the present invention, there is provided a switch-based processing system comprising a self-generating switch according to the first aspect and its alternatives, or a self-generating switch performing the processing method of the second aspect and its alternatives, and the target network.
In the self-generating switch, the processing method and the processing system thereof provided by the invention, under the condition that the generator, the rectifying module and the energy storage module are used for realizing the generation and the use of the self-generating electric energy, the near field communication module is also used for realizing the distribution network through the near field communication, as long as the near field communication is realized, the data can be transmitted by using the capacity of the near field communication, the data volume is not limited by the self-generating electric energy, and therefore, the invention is beneficial to realizing a more complex distribution network process.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of the construction of a processing system in accordance with one embodiment of the present invention;
fig. 2 is a schematic diagram of the construction of a self-generating switch according to an embodiment of the present invention;
FIG. 3 is a schematic view of the construction of a self-generating switch in another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a self-generating switch in accordance with an embodiment of the present invention;
fig. 5 is a flow chart illustrating a processing method of the self-generating switch according to an embodiment of the invention.
Description of reference numerals:
101-key press;
102-a communication processing module;
103-a generator; 1031-a motion portion; 1032-a sensing part;
104-a rectification module;
105-an energy storage module;
106-voltage output module;
107-near field communication module; 1071-NFC antenna;
108-a storage module;
109-a reset piece;
110-a key identification module; 1101-a detection unit;
111-action recognition module;
112-a circuit board;
113-a bottom shell;
114-a light guide;
115-mesochite;
116-waterproof sheathing;
117 — a transmission;
200-a target network;
201-a device;
202-a gateway;
300-a mobile terminal;
400-target device.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "upper surface", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
In the description of the present invention, "a plurality" means a plurality, e.g., two, three, four, etc., unless specifically limited otherwise.
In the description of the present invention, unless otherwise explicitly specified or limited, the terms "connected" and the like are to be construed broadly, e.g., as meaning fixedly attached, detachably attached, or integrally formed; can be mechanically connected, electrically connected or can communicate with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Referring to fig. 1 and 2, an embodiment of the present invention provides a switch-based processing system, and also provides a self-generating switch 100 and a processing method thereof, wherein the processing system includes the self-generating switch 100.
In addition, please refer to fig. 1, the processing system may further include a target network 200, where the target network 200 may be a Zigbee network or a bluetooth network.
The gateway 202 may be any device or combination of devices capable of forming and/or managing the corresponding target network 200, and the number of the gateways 202 may be one or multiple, but is not limited thereto. In a specific example, the gateway 202 is a gateway device or a sound box with a gateway function.
The device 201 in the target network 200 may for example comprise at least one of: intelligent wall opening, intelligent curtain and intelligent lamp. The devices 201 can be controlled by the control message sent by the self-generating switch to execute corresponding actions.
In one embodiment, the processing system may further include a mobile terminal 300 that may be configured to communicate with the self-generating switch, with devices in the target network, and/or with a gateway, where the communication may be direct or indirect. The mobile terminal 300 may be, for example, a mobile phone, a tablet computer, a computer, etc. In addition, the mobile terminal 300 may also obtain a control message from the power switch, so as to control or implement forwarding of the control message, or implement control based on the control message.
In one example, the designated device in the target network is further configured to:
receiving the control message through the target network, and sending the control message to a cloud end;
the mobile terminal is further configured to: and acquiring the control message from the cloud.
In an example, the network distribution process of the self-power-generation switch may be implemented by relying on the mobile terminal 300, and then the mobile terminal is configured to send the network access password of the target network to the self-power-generation switch when the network distribution is executed.
In an example, the network distribution process of the gateway may be implemented by relying on the mobile terminal 300, and further, the mobile terminal is further configured to: and sending security information (such as a network access password) to the gateway so that the gateway joins the target network.
In addition, referring to fig. 2, at least one of the device 201 and the gateway 202 in the target network may be used as the target device 400, the mobile terminal 300 may also be used as the target device 400, and the target device 400 may also be any other device that can communicate with the near field communication module 107 of the self-generating switch, that is: the target device 400 is also configured with corresponding circuitry for near field communication.
Referring to fig. 2, a self-generating switch 100 provided in the embodiment of the present invention includes:
at least one key 101, at least part of which is configured to be displaced in response to an external action, the external action including an action of pressing the key;
a generator 103 arranged to convert mechanical energy into electrical energy in response to the displacement;
the switch circuit comprises a communication processing module 102, an energy storage module 105, a rectification module 104, a voltage output module 106, a storage module 108 and a near field communication module 107.
The generator 103 comprises a sensing part 1032 and a moving part 1031;
the moving part 1031 may be understood as a component or a combination of components that can be driven by at least one of a button, a reset member, and the like to move, and the sensing part 1032 may be understood as a component or a combination of components that can interact with the moving part 1031 to sense and generate electric energy when the moving part moves, and any structure that can generate electric energy based on the movement in the art may be used as an alternative to the embodiment of the present invention.
In a specific example, the generator 103 may include a permanent magnet portion, a magnetic conductive portion, and a coil portion, the coil portion may be disposed on the magnetic conductive portion, and the coil portion may generate an induced voltage when the permanent magnet portion and the magnetic conductive portion move relative to each other. The coil part can be regarded as the above mentioned induction part 1032, and the permanent magnet part or the magnetic conductive part can be regarded as the above mentioned movement part 1031, that is: in the other part, the magnetic conduction part moves so as to be directly and indirectly transmitted with the key, the reset piece and the like. It can be seen that the sensing part 1032 may or may not move with the moving part 1031.
The communication processing module 102 is electrically connected to the storage module 108, the sensing part 1032 is electrically connected to the energy storage module 105 through the rectifying module 104, and the energy storage module 105 is electrically connected to the communication processing module 102 and the storage module 108 through the voltage output module 106; the key is directly or indirectly transmitted to the motion part;
wherein: the moving part is set to be capable of being transmitted to generate a first direction movement when the key is pressed down; the induction part is arranged to be capable of generating a first induction voltage in response to the movement of the movement part in the first direction; the rectifying module can rectify first electric energy corresponding to the first induction voltage and store the first electric energy in the energy storage module; the energy storage module is capable of delivering the stored electrical energy to the voltage output module.
The voltage output module 106 can output the required power supply voltage to the communication processing module and the storage module by using the transmitted electric energy, so that the communication processing module and the storage module are powered on;
in an embodiment of the present invention, the near field communication module 107 is electrically connected to the storage module 108 directly or indirectly (for example, directly electrically connected, or electrically connected through a communication processing module), and configured to: under the condition that the generator 103 does not convert the mechanical energy into the electrical energy, the self-generating switch 100 and the distribution network of the target network are executed through data exchange between the storage module 108 and the target device 400;
meanwhile, when the near field communication module 107 interacts with the target device 400, for further example, the power may be obtained from the target device 400 and then fed back to the storage module 108, and for another example, the power may also be fed back to the communication processing module.
The near field communication module 107 may be, for example, an NFC communication module.
The communication processing module 102 is configured to: under the condition that the generator 103 converts mechanical energy into electrical energy, after the communication processing module 102 and the storage module 108 are powered on, a control message is generated, and the control message is sent out through the target network.
The voltage output module 106 may, for example, be capable of performing voltage conversion (e.g., voltage reduction and/or voltage stabilization) on the received power, and then delivering the converted voltage to the communication processing module 102 and the storage module 108 to supply power thereto and power the same.
The reset member 109 is configured to be directly or indirectly transmitted to the moving portion 1031 of the generator 103, the reset member 109 is configured to be deformed in response to the moving portion 1031 moving in a first direction and generate a reset acting force to overcome the deformation, the reset member 109 is further configured to transmit the moving portion 1031 to move in a second direction by using the reset acting force after the acting force for pressing the key is removed, and the key 101 rebounds;
when the motion part moves in a second direction, a second induced voltage can be generated; the rectifying module 104 is further configured to store second electric energy corresponding to the second induced voltage in the energy storage module.
The storage module 108 may be configured to store the current channel information, and in particular, the current channel information may be stored in the storage module 108 based on any processing procedure and interaction manner. The storage module 108 may be a memory that does not lose data after a power loss.
Meanwhile, the storage module 108 can be configured to work only after being powered on, and the power is cut off after the work, so that the storage module 108 can ensure the storage and maintenance of the information and ensure the accuracy of the information by the configuration of the storage module.
Furthermore, a memory integrated in the communication processing module 102 may be included in the self-generating switch 1, and the memory may store, for example, codes required for processing by the communication processing module 102.
The storage module 108 may be integrated with the communication processing module 102 or may be independent of the communication processing module 102.
In the scheme, under the condition that the generator, the rectifying module and the energy storage module are used for realizing the generation and the use of the self-generating electric energy, the near field communication module is also used for realizing the distribution network through the near field communication, the data can be transmitted by using the capacity of the near field communication as long as the near field communication is realized, and the data volume is not limited by the self-generating electric energy.
In one embodiment, the communication processing module 102 is further configured to:
before the near field communication module executes the self-generating switch and a distribution network of a target network through data exchange between the storage module and a target device,
determining that the self-generating switch is in a state without a distribution network, and/or: determining that the self-generating switch is in a distributed network state, but detecting a reset operation.
In an example of the foregoing process, after the self-generating switch approaches the target device, the near field communication module may trigger the communication processing module to detect whether the self-generating switch is in a state of being connected with a network or in a state of not being connected with the network, and if the self-generating switch is in the state of not being connected with the network, the near field communication module may implement the process of being connected with the network through data exchange under the control of the communication processing module;
in another example of the foregoing process, after the self-generating switch approaches the target device, the near field communication module may trigger the communication processing module to detect whether the self-generating switch is in a state of being connected to a network or in a state of not being connected to the network, and if the self-generating switch is in the state of being connected to the network, whether a reset operation occurs may be detected, and if the reset operation occurs, the near field communication module may implement the process of being connected to the network through data exchange under the control of the communication processing module;
in other examples, the communication processing module may not be required to participate, for example, the near field communication module may read a signal representing a self-power-generation switch state (that is, in a state of being connected to the network or in a state of not being connected to the network) from the storage module, transmit the signal to the target device, determine the state by the target device, and instruct the near field communication module to execute the network distribution when the self-power-generation switch is in the state of not being connected to the network; for another example, it is not necessary to determine whether the network is in the connected state or the disconnected state.
The reset operation is used for instructing the communication processing module to trigger the near field communication module to re-execute the distribution network. The reset operation may be, for example: the user's operation of the reset button (or key 101) may be one or more presses (e.g., 2) or a long press.
Furthermore, the distribution network is executed only when the network is not distributed and near field communication is realized and the network is distributed but needs to be reset, so that unnecessary distribution network process is avoided, energy consumption is saved, and the requirement of a user on the distribution network is met.
In one embodiment, when the near field communication module executes a distribution network between the self-generating switch and a target network through data exchange between the storage module and a target device, the near field communication module is specifically configured to:
reading the switch information of the self-generating switch from the storage module and transmitting the switch information to the target device when the near field communication module approaches or contacts the target device, so that: and after the target equipment or the gateway of the target network verifies that the switch information passes, adding the self-generating switch into the target network.
Further, the near field communication module is further configured to:
receiving network channel information of the target network from the target device;
taking the network channel information as the information of the target channel, and storing the information of the target channel in the storage module;
the control message is sent out through the target channel.
In the above scheme, the storage of the network channel information can be applied to a case where the target network is a Zigbee network, for example.
In a specific example, if the near field communication module is an NFC communication module, the distribution network therein is an NFC distribution network, and specifically, when the power generation switch leaves the factory, the switch information such as a product ID is written into the nonvolatile memory of the storage module; when a user needs to distribute a network, the gateway is operated to enter a network distribution mode (when an NFC communication module is adopted, the NFC read-write mode can be understood), the user enables the self-generating switch to be close to an NFC transmitting module of target equipment (such as a gateway), the target equipment (such as the gateway) firstly reads switch information such as product ID of the self-generating switch and checks the switch information, if the switch information is legal, the network ID and a secret key are distributed to the self-generating switch, for network safety, the network ID and the secret key can be used as safety information (namely network distribution safety information), and the safety information and information such as a zigbee network channel are encrypted and then written into a nonvolatile memory of a storage module of the self-generating switch through the NFC communication module. The target channel information can be obtained by reading the nonvolatile memory through the self-generating switch, and compared with a scheme that a channel needs to be searched, the target channel information can be efficiently determined after the near field communication module is adopted.
In one embodiment, when the near field communication module executes a network distribution between the self-generating switch and a target network, the near field communication module is specifically configured to:
when the near field communication module approaches or contacts the target device, reading and sending out switch information of the self-generating switch from the storage module to the outside so as to: after the switch information is verified, the target device acquiring the switch information feeds back security information (such as at least one of a network access key, a network identifier and the like) of a target network to the self-generating switch;
and storing the safety information in the storage module.
In the above scheme, the network distribution may be implemented by storing the security information (e.g., at least one of the network access key, the network identifier, etc.), and further, based on the stored network access password, the communication and control of the self-generating device with respect to the device in the target network may be implemented, that is: the use of the target network is realized.
The above is only an example of a distribution network, which can be understood as an example that the target network is a bluetooth network.
In a specific example, the mobile terminal 300 (e.g., a mobile phone) may implement a distribution network through the app and the self-generating switch 100 in a near field communication manner such as NFC.
In a distribution network mode, the app of the mobile terminal 300 can directly write a distribution network key (i.e., security information) into the self-generating switch through NFC according to the device type of the self-generating switch.
In the self-generating switch, device triplet information (each device is unique, triplets are information such as device types, addresses and private keys and can be regarded as switch information) can be prestored, app of the mobile terminal reads whether the triplet information in the self-generating switch is legal or not through NFC, and if the triplet information is legal, a networking secret key (namely safety information) is written into the self-generating switch through NFC. The self-generating switch can realize the network access of the self-generating switch according to the secret key (namely the safety information). The self-generating switch is in a non-electricity state in the whole process. (higher safety)
In addition, the smart speaker or the gateway device has a bluetooth gateway function, and may be regarded as the gateway 202, and the app of the mobile terminal 300 may scan the smart speaker and the gateway device, and complete network access of the smart speaker and the gateway device.
When the self-generating switch 100 and the gateway 202 (e.g., smart speaker or gateway) may belong to the same network key (i.e., security information). Through pressing from the electricity generation switch in order to realize the electricity generation, utilize this energy, from electricity generation switch can send a series of beacon incident (for example can be control message), until the electric quantity exhausts, intelligent audio amplifier or gateway are in the bluetooth broadcast monitoring state all the time, so the audio amplifier can receive from the beacon incident of electricity generation bluetooth wireless switch.
After the audio amplifier received the beacon incident of half self-generating electricity bluetooth wireless switch, can report this incident to the IOT high in the clouds.
The app of the mobile terminal can acquire the event of pressing the self-generating switch from the IOT cloud.
The electricity generation that adopts to press spontaneous electric switch, whether spontaneous electric switch can judge at first has joined in marriage the net, if join in marriage net then from the storage module read network key (safety information promptly) to and the message serial number (because many packages can be sent to the bluetooth message once, the serial number is used for the repetition removal), read the back, the serial number increases by 1, shows as new message, and stores the serial number after the update. And encrypting the effective load of the message according to the network secret key and the serial number, and continuously sending the Bluetooth beacon message after encryption is finished until the electric quantity is exhausted.
In one embodiment, referring to fig. 4, the self-generating switch further includes a bottom case 113, a waterproof jacket 116, and a circuit board 112;
the waterproof jacket 116 is disposed on the bottom case 113 to form a waterproof space between the bottom surface of the bottom case and the waterproof jacket, the switch circuit is disposed on the circuit board 112, the circuit board 112 is disposed on the bottom case 113, and the switch circuit is disposed in the waterproof space.
Further, near field communication module 107 (e.g., including NFC antenna 1071) may be electrically connected to circuit board 112 and directly or indirectly to the memory module through the circuit board 112.
In the scheme, the waterproof function is mainly used for protecting the circuit board, the electronic components of the switch circuit and the generator.
In addition, referring to fig. 4, each of the self-generating switches 100 may further include a transmission member 117, a middle case 115, and a light guide member 114, transmission between the key 101 and the generator 103 may be achieved through the transmission member, the middle case 115 may cover the upper side of the waterproof jacket 116, the key 101 may be movably connected to the middle case 115 or the bottom case 113, and the light guide member 114 may pass through the middle case 115, the key 101, and the middle case 115 and extend to the LED module on the circuit board 112, thereby achieving external light guide.
In one embodiment, when the communication processing module generates the control packet, the communication processing module is specifically configured to: acquiring current control information; the current control information represents the control currently received by the self-generating switch; and writing the current control information into the control message.
The current operation information can be understood as the aforementioned key value.
When the communication processing module generates the control message, the communication processing module is further configured to:
acquiring switch information, wherein the switch information represents the self-generating switch;
writing the switch information and control safety information (which may be the same as or different from the safety information adopted during distribution) into the control message, so that: and the gateway of the target network verifies that the switch information passes, and after the gateway or the corresponding equipment in the target network verifies that the control safety information passes, the corresponding equipment executes the control result corresponding to the control message.
The current control information comprises current key information representing the currently received key; referring to fig. 4, the self-generating switch 100 further includes a key identification module 110 for detecting the current key information, and the key identification module 110 is electrically connected to the communication processing module.
By way of further example, the key identification module 110 includes at least one detection unit 1101, the detection switch is directly or indirectly driven to the corresponding key, and the detection unit is electrically connected to the communication processing module;
the detection unit is arranged to feed back a switch signal to the communication processing module when the corresponding key is pressed, so that the communication processing module can determine the current key information based on the switch signal.
In one example, the detection unit includes a micro switch, the micro switch is directly or indirectly driven to the corresponding key, and the micro switch is electrically connected to the communication processing module;
the detection switch is configured to: and when the corresponding key is pressed down, the corresponding key is triggered, and the switching signal is fed back to the communication processing module after the corresponding key is triggered.
In one embodiment, please refer to fig. 3, the current manipulation information includes current motion information representing whether a currently received manipulation is a key press motion or a key rebound motion, the self-generating switch further includes a motion recognition module 111 for recognizing the current motion information, and the motion recognition module 111 is electrically connected to the generator 103 and the communication processing module 102.
In addition, the reset member 109 is configured to be directly or indirectly transmitted to the moving portion of the generator, the reset member is configured to be deformed in response to the moving portion moving in the first direction and generate a reset acting force to overcome the deformation, and the reset member is further configured to be capable of transmitting the moving portion to move in the second direction by using the reset acting force after the acting force to press the key is removed, and the key rebounds.
The induction part can generate a second induction voltage when the motion part moves in a second direction; the rectifying module is further used for storing second electric energy corresponding to the second induction voltage in the energy storage module.
Referring to fig. 5, an embodiment of the present invention provides a processing method, including:
s501: under the condition that the generator does not convert mechanical energy into electric energy, the near field communication module executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target equipment;
s502: and under the condition that the generator converts mechanical energy into electric energy, after the communication processing module and the storage module are powered on, the communication processing module generates a control message and sends the control message through the target network.
Optionally, before the near field communication module executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target device, the near field communication module further includes:
and the communication processing module determines that the self-generating switch is in a state of not being distributed with a network.
Optionally, before the near field communication module executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target device, the near field communication module further includes:
the communication processing module determines that the self-generating switch is in a distributed network state, but detects a reset operation, and the reset operation is used for instructing the communication processing module to control the near field communication module to re-execute the distribution network.
Optionally, the near field communication module executes the network distribution of the self-generating switch and the target network through data exchange between the storage module and the target device, and specifically includes:
when the near field communication module approaches the target device, the near field communication module reads the switch information of the self-generating switch from the storage module and sends the switch information of the self-generating switch to the outside, so that: after the switch information is verified, the target equipment acquiring the switch information feeds back the safety information of the target network to the self-generating switch;
the near field communication module stores the security information in the storage module.
Optionally, the near field communication module executes the network distribution of the self-generating switch and the target network through data exchange between the storage module and the target device, and specifically includes:
when the near field communication module approaches the target device, the near field communication module reads the switch information of the self-generating switch from the storage module and sends the switch information to the target device, so that: and after the target equipment or the gateway of the target network verifies that the switch information passes, adding the self-generating switch into the target network.
Optionally, the processing method is characterized in that,
further comprising:
the near field communication module receives network channel information of the target network from the target device;
taking the network channel information as the information of the target channel, and storing the information of the target channel in the storage module;
in the description herein, reference to the terms "an implementation," "an embodiment," "a specific implementation," "an example" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (22)
1. A self-generating switch, comprising:
at least one key, wherein at least part of the key is set to be capable of generating displacement in response to external action, and the external action comprises an action of pressing the key;
a generator arranged to be able to convert mechanical energy into electrical energy in response to the displacement;
the switching circuit comprises a communication processing module, an energy storage module, a rectification module, a voltage output module, a storage module and a near field communication module;
the generator comprises an induction part and a motion part; the communication processing module is electrically connected with the storage module, the induction part is electrically connected with the energy storage module through the rectifying module, and the energy storage module is electrically connected with the communication processing module and the storage module through the voltage output module; the key is directly or indirectly transmitted to the motion part; wherein: the moving part is set to be capable of being transmitted to generate a first direction movement when the key is pressed down; the induction part is arranged to be capable of generating a first induction voltage in response to the movement of the movement part in the first direction; the rectifying module can rectify first electric energy corresponding to the first induction voltage and store the first electric energy in the energy storage module; the energy storage module can deliver the stored electric energy to the voltage output module;
the near field communication module is electrically connected with the storage module directly or indirectly and is used for: the power generator executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target equipment under the condition that mechanical energy is not converted into electric energy;
the communication processing module is used for: and under the condition that the generator converts mechanical energy into electric energy, generating a control message after the communication processing module and the storage module are powered on, and sending the control message through the target network.
2. The self-generating switch according to claim 1,
the communication processing module is further configured to:
before the near field communication module executes the self-generating switch and a distribution network of a target network through data exchange between the storage module and a target device,
and determining that the self-generating switch is in a state of not being distributed with a network.
3. The self-generating switch according to claim 1,
the communication processing module is further configured to:
before the near field communication module executes a distribution network of the self-generating switch and a target network through data exchange between the storage module and a target device, the self-generating switch is determined to be in a distributed network state, but a reset operation is detected, and the reset operation is used for indicating the communication processing module to trigger the near field communication module to execute the distribution network again.
4. The self-generating switch according to claim 1,
the near field communication module is specifically configured to, when the distribution network of the self-generating switch and the target network is executed through data exchange between the storage module and the target device:
when the near field communication module approaches or contacts the target device, reading and sending out switch information of the self-generating switch from the storage module to the outside so as to: after the switch information is verified, the target equipment acquiring the switch information feeds back the safety information of the target network to the self-generating switch;
and storing the safety information in the storage module.
5. The self-generating switch according to claim 1,
the near field communication module is specifically configured to, when the distribution network of the self-generating switch and the target network is executed through data exchange between the storage module and the target device:
reading the switch information of the self-generating switch from the storage module and transmitting the switch information to the target device when the near field communication module approaches or contacts the target device, so that: and after the target equipment or the gateway of the target network verifies that the switch information passes, adding the self-generating switch into the target network.
6. The self-generating switch according to claim 5,
the near field communication module is further configured to:
receiving network channel information of the target network from the target device;
taking the network channel information as the information of the target channel, and storing the information of the target channel in the storage module;
the control message is sent out through the target channel.
7. The autonomous switch of any of claims 1 through 6 wherein the near field communication module is an NFC communication module.
8. The self-generating switch according to any one of claims 1 to 6, further comprising a bottom case and waterproof jacket, a circuit board; the waterproof sleeve is arranged on the bottom shell so as to form a waterproof space between the bottom surface of the bottom shell and the waterproof sleeve, the switch circuit is arranged on the circuit board, the circuit board is arranged on the bottom shell, and the switch circuit and the near field communication module are arranged in the waterproof space.
9. A method of handling an autonomous switch, the autonomous switch comprising: the switch circuit comprises a communication processing module, an energy storage module, a rectification module, a voltage output module, a storage module and a near field communication module; the generator comprises an induction part and a motion part; the communication processing module is electrically connected with the storage module, the induction part is electrically connected with the energy storage module through the rectifying module, and the energy storage module is electrically connected with the communication processing module and the storage module through the voltage output module; the key is directly or indirectly transmitted to the motion part; the near field communication module is electrically connected with the storage module;
the processing method comprises the following steps:
under the condition that the generator does not convert mechanical energy into electric energy, the near field communication module executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target equipment;
and under the condition that the generator converts mechanical energy into electric energy, after the communication processing module and the storage module are powered on, the communication processing module generates a control message and sends the control message through the target network.
10. The processing method according to claim 9,
the near field communication module performs data exchange between the storage module and the target device, and before the self-generating switch and the distribution network of the target network are executed, the near field communication module further includes:
and the communication processing module determines that the self-generating switch is in a state of not being distributed with a network.
11. The processing method according to claim 9,
the near field communication module performs data exchange between the storage module and the target device, and before the self-generating switch and the distribution network of the target network are executed, the near field communication module further includes:
the communication processing module determines that the self-generating switch is in a distributed network state, but detects a reset operation, and the reset operation is used for instructing the communication processing module to control the near field communication module to re-execute the distribution network.
12. The processing method according to claim 9,
the near field communication module executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target device, and specifically comprises:
when the near field communication module approaches the target device, the near field communication module reads the switch information of the self-generating switch from the storage module and sends the switch information of the self-generating switch to the outside, so that: after the switch information is verified, the target equipment acquiring the switch information feeds back the safety information of the target network to the self-generating switch;
the communication processing module stores the safety information in the storage module.
13. The processing method according to claim 9,
the near field communication module executes the distribution network of the self-generating switch and the target network through data exchange between the storage module and the target device, and specifically comprises:
when the near field communication module approaches the target device, the near field communication module reads the switch information of the self-generating switch from the storage module and sends the switch information to the target device, so that: and after the target equipment or the gateway of the target network verifies that the switch information passes, adding the self-generating switch into the target network.
14. The processing method according to claim 13,
further comprising:
the near field communication module receives network channel information of the target network from the target device;
taking the network channel information as the information of the target channel, and storing the information of the target channel in the storage module;
the control message is sent out through the target channel.
15. The processing method according to any of claims 9 to 14, characterized in that the near field communication module is an NFC communication module.
16. A switch-based processing system comprising the self-generating switch of any one of claims 1 to 8, or a self-generating switch performing the processing method of any one of claims 9 to 15, and the target network.
17. The processing system of claim 16, wherein at least one device is provided in the target network;
the at least one device comprises at least one of: intelligent wall opening, intelligent curtain, intelligent lamp, intelligent audio amplifier.
18. The processing system of claim 16, wherein the target network is a Zigbee network or a bluetooth network.
19. The processing system of any one of claims 16 to 18, further comprising: the mobile terminal is used as the target device.
20. The processing system of claim 19, wherein the target device in the target network is further configured to:
receiving the control message through the target network, and sending the control message to a cloud end;
the mobile terminal is further configured to: and acquiring the control message from the cloud.
21. The processing system of claim 19, wherein the mobile terminal is further configured to:
and sending safety information to the gateway so that the gateway is added into the target network.
22. The processing system of claim 16, wherein the gateway is a gateway device or a speaker with gateway functionality.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210022802.7A CN114336918A (en) | 2022-01-10 | 2022-01-10 | Self-generating switch and processing method and processing system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210022802.7A CN114336918A (en) | 2022-01-10 | 2022-01-10 | Self-generating switch and processing method and processing system thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114336918A true CN114336918A (en) | 2022-04-12 |
Family
ID=81027104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210022802.7A Pending CN114336918A (en) | 2022-01-10 | 2022-01-10 | Self-generating switch and processing method and processing system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114336918A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115118586A (en) * | 2022-06-13 | 2022-09-27 | 武汉领普科技有限公司 | Self-generating switch and processing method thereof, electronic equipment and control system |
-
2022
- 2022-01-10 CN CN202210022802.7A patent/CN114336918A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115118586A (en) * | 2022-06-13 | 2022-09-27 | 武汉领普科技有限公司 | Self-generating switch and processing method thereof, electronic equipment and control system |
CN115118586B (en) * | 2022-06-13 | 2024-02-06 | 武汉领普科技有限公司 | Self-generating switch, processing method thereof, electronic equipment and control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106981900B (en) | Wireless charging method and device | |
WO2023005393A1 (en) | Wireless charging system | |
CN109168101B (en) | Earphone box, earphone set and earphone connecting method | |
JP2008542996A (en) | System for checking genuine battery products on mobile devices | |
WO2006085246A1 (en) | Method for ensuring a secure nfc functionality of a wireless mobile communication device and wireless mobile communication device having a secure nfc functionality | |
CN109195055B (en) | Wireless earphone, TWS earphone and Bluetooth connection method | |
CN114336918A (en) | Self-generating switch and processing method and processing system thereof | |
US20160087480A1 (en) | Charging Apparatus Including Remote Device Reset | |
WO2023131295A1 (en) | Self-power generating switch, processing method therefor, and processing system | |
CN216959409U (en) | Self-generating switch and processing system | |
KR101651279B1 (en) | Power supply for the electrical equipment to be installed on the door | |
CN217307326U (en) | Self-generating switch and processing system | |
CN208589981U (en) | A kind of photovoltaic chest card | |
CN114156101A (en) | Self-generating switch and network distribution method and processing system thereof | |
US20240356464A1 (en) | Self-power generating switch, processing method therefor, and processing system | |
KR20110135271A (en) | Usb memory device | |
CN214850581U (en) | Earphone control system based on fingerprint unblock | |
KR102266645B1 (en) | Smartphone-mounted industrial equipment control device | |
CN210428579U (en) | Passive electric coding lock | |
CN108702018A (en) | The system and method for carrying out wireless charging by multiple receiving devices | |
US20170195172A1 (en) | Assembly of electronic devices intended to be connected to at least one computer network and method of transferring digital data in this assembly | |
CN204481920U (en) | A kind of audio conversion infrared remote-control device, governor circuit and mobile terminal | |
JP6655517B2 (en) | Receiving machine | |
CN215897978U (en) | Earphone box and earphone device | |
CN214377676U (en) | Sound recording pen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |